1 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4 after `=' is probably a new expression.
6 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8 * man.el (man-imenu-title): New option.
9 (Man-mode-map): Add menu. (Bug#15722)
10 (Man-mode): Add imenu to menu.
12 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
14 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
15 specific in what the first arg can be: a non-keyword word,
16 string/regexp/percent literal opener, opening paren, or unary
17 operator followed directly by word.
19 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
21 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
22 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
23 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
24 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
25 Remove vars, they do not apply any more.
26 (prolog-mode-abbrev-table): Remove redundant declaration.
27 (prolog-upper-case-string, prolog-lower-case-string): Remove.
28 (prolog-use-smie): Remove.
29 (prolog-smie-rules): Add indentation rule for the if-then-else layout
30 supported by prolog-electric-if-then-else-flag.
31 (prolog-mode-variables, prolog-menu): Use setq-local.
32 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
33 Remove binding to `Backspace' since this key doesn't exist anyway.
34 Remove bindings for electric self-inserting keys.
35 (prog-mode): Assume it's defined.
36 (prolog-post-self-insert): New function.
37 (prolog-mode): Use it.
38 (prolog-indent-line, prolog-indent-level)
39 (prolog-find-indent-of-matching-paren)
40 (prolog-indentation-level-of-line, prolog-goto-comment-column)
41 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
42 (prolog-goto-next-paren, prolog-in-string-or-comment)
43 (prolog-tokenize, prolog-inside-mline-comment)
44 (prolog-find-start-of-mline-comment): Remove functions.
45 (prolog-find-unmatched-paren, prolog-clause-end)
46 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
47 (prolog-electric--if-then-else): Rename from
48 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
49 (prolog-tokenize-searchkey): Remove const.
50 (prolog-clause-info): Use forward-sexp.
51 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
52 (prolog-electric-if-then-else): Remove commands.
53 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
54 for use in post-self-insert-hook.
55 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
56 for use in post-self-insert-hook.
57 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
58 for use in post-self-insert-hook.
59 (prolog-electric--underscore): Rename from prolog-electric--underscore;
60 adapt it for use in post-self-insert-hook.
62 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
64 * emacs-lisp/ert.el (ert-run-tests-interactively):
65 Use `completing-read'. (Bug#9756)
67 2013-10-25 Eli Zaretskii <eliz@gnu.org>
69 * simple.el (line-move): Call line-move-1 instead of
70 line-move-visual when the current window hscroll is zero, but
71 temporary-goal-column indicates we will need to hscroll as result
72 of the movement. (Bug#15712)
74 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
76 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
77 capitalization. Use :visible instead of :active.
78 Fix `ruby-indent-exp' reference. Add menu items for the generic
79 commands that are used with SMIE.
80 (ruby-do-end-to-brace): Insert space after `{'.
82 2013-10-25 John Anthony <john@jo.hnanthony.com>
84 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
86 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
88 2013-10-25 Glenn Morris <rgm@gnu.org>
90 * vc/vc.el (vc-print-log): Don't use a working revision unless
91 one was explicitly specified. (Bug#15322)
93 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
95 * subr.el (add-to-list): Preserve return value in compiler-macro
98 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
100 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
101 result. Ask user to retry using '-all' flag. (Bug#15701)
103 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
105 * emacs-lisp/smie.el: New smie-config system.
106 (smie-config): New defcustom.
107 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
108 (smie-config-guess, smie-config-save): New commands.
109 (smie-config--mode-local, smie-config--buffer-local)
110 (smie-config--trace, smie-config--modefuns): New vars.
111 (smie-config--advice, smie-config--mode-hook)
112 (smie-config--setter, smie-config-local, smie-config--get-trace)
113 (smie-config--guess-value, smie-config--guess): New functions.
114 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
115 text properties. Treat "string fence" syntax like string syntax.
117 * progmodes/sh-script.el (sh-use-smie): Change default.
118 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
119 (sh-var-value): Simplify by CSE.
120 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
121 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
123 (sh-guess-basic-offset): Use cl-incf.
124 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
126 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
128 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
131 2013-10-24 Glenn Morris <rgm@gnu.org>
133 * Makefile.in (abs_top_srcdir): Remove.
134 (update-subdirs): Use relative path to update-subdirs.
136 2013-10-24 Eli Zaretskii <eliz@gnu.org>
138 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
139 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
140 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
141 Call unmsys--file-name before expand-file-name, not after it.
143 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
145 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
146 (ert-test-skipped): New error.
147 (ert-skip, ert-stats-skipped): New defuns.
148 (ert--skip-unless): New macro.
149 (ert-test-skipped): New struct.
150 (ert--run-test-debugger, ert-test-result-type-p)
151 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
152 (ert--stats-set-test-and-result, ert-char-for-test-result)
153 (ert-string-for-test-result, ert-run-tests-batch)
154 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
155 Handle skipped tests. (Bug#9803)
157 2013-10-24 Glenn Morris <rgm@gnu.org>
159 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
161 * Makefile.in (abs_top_srcdir): New, set by configure.
162 (update-subdirs): Correct build-aux location.
164 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
166 * vc/vc.el (vc-print-root-log): Always set `default-directory'
167 value, whether we could auto-deduce `backend', or not.
169 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
170 with parameters" example. Simplify the "is it block or is it
171 hash" check, but also make it more thorough.
173 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
175 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
177 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
179 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
182 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
185 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
187 * progmodes/compile.el (compilation-directory-matcher)
188 (compilation-page-delimiter):
189 Support GNU Make-4.0 directory quoting. (Bug#15678)
191 2013-10-23 Leo Liu <sdl.web@gmail.com>
193 * ido.el (ido-tidy): Handle read-only text.
195 2013-10-23 Glenn Morris <rgm@gnu.org>
197 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
198 (emacs, compile, compile-always):
199 Quote entities that might contain whitespace.
200 (custom-deps, finder-data, autoloads): Use abs_lisp.
201 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
202 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
203 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
205 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
207 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
208 Use `following-char'.
210 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
212 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
213 * progmodes/ruby-mode.el (ruby-smie-rules):
214 Remove corresponding workaround. Fix indentation rule of ";" so it
215 also applies when ";" is the parent.
217 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
219 * frame.el (display-screens, display-pixel-height)
220 (display-pixel-width, display-mm-width, display-backing-store)
221 (display-save-under, display-planes, display-color-cells)
222 (display-visual-class, display-monitor-attributes-list):
223 Mention the optional ‘display’ argument in doc strings.
225 2013-10-22 Michael Gauland <mikelygee@amuri.net>
227 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
228 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
230 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
232 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
233 TODO. Add "." after " @ ".
234 (ruby-smie--at-dot-call): New function. Checks if point at method
235 call with explicit target.
236 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
237 to the method name tokens when it precedes them.
238 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
239 (ruby-smie-rules): Add rule for indentation before and after "."
242 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
244 * textmodes/remember.el (remember-diary-extract-entries):
247 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
250 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
252 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
253 (ruby-smie--implicit-semi-p): Add new operator chars.
255 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
257 (ruby-smie--args-separator-p): Check that there's no newline
258 between method call and its arguments.
260 2013-10-20 Alan Mackenzie <acm@muc.de>
262 Allow comma separated lists after Java "implements".
264 * progmodes/cc-engine.el (c-backward-over-enum-header):
266 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
267 from a "disallowed" list in enum fontification.
269 2013-10-20 Johan Bockgård <bojohan@gnu.org>
271 * startup.el (default-frame-background-mode): Remove unused defvar.
273 * progmodes/verilog-mode.el (verilog-mode): Don't set
274 comment-indent-function globally.
276 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
278 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
279 Move Info menu item creation to ns-win.el.
281 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
284 * menu-bar.el: Move GNUStep specific menus...
286 * term/ns-win.el (ns-initialize-window-system): ... to here.
288 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
290 * simple.el (newline): Only run post-self-insert-hook when
291 called interactively.
293 2013-10-19 Johan Bockgård <bojohan@gnu.org>
295 * icomplete.el (icomplete-with-completion-tables): Add :version.
297 2013-10-19 Alan Mackenzie <acm@muc.de>
299 Fix fontification bugs with constructors and const.
301 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
302 CASE 2) Remove the check for the absence of a suffix construct
303 after a function declaration with only types (no identifiers) in
304 the parentheses. Also, accept a function declaration with just a
305 type inside the parentheses, if this type can be positively
306 recognised as such, or if a prefix keyword like "explicit" nails
307 down the construct as a declaration.
309 2013-10-19 Eli Zaretskii <eliz@gnu.org>
311 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
312 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
313 the problem whereby selecting a menu item that leads to a
314 minibuffer prompt moves the cursor out of the minibuffer window,
315 making it hard to type at the prompt. Suggested by Stefan Monnier
316 <monnier@iro.umontreal.ca>.
318 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
320 * menu-bar.el: Don't make Services menu.
322 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
324 * ffap.el: Handle "/usr/include/c++/<version>" directories.
325 (ffap-alist): Use ffap-c++-mode for c++-mode.
326 (ffap-c++-path): New variable.
327 (ffap-c++-mode): New function.
329 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
331 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
333 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
335 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
336 introduced on 2013-09-08, which results in an infinite loop
337 requesting a password.
339 2013-10-18 Glenn Morris <rgm@gnu.org>
341 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
343 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
345 Sync with upstream verilog-mode revision 1a6ecec7.
346 * progmodes/verilog-mode.el (verilog-mode-version): Update.
347 (verilog-mode-release-date): Remove.
348 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
349 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
350 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
351 (verilog-auto-tieoff-ignore-regexp)
352 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
353 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
354 (verilog-signals-with, verilog-dir-cache-preserving)
355 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
357 (verilog-case-fold): New option, to control case folding in
358 regexp searches, bug597.
359 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
360 (verilog-string-match-fold, verilog-in-paren-count)
361 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
362 (verilog-at-close-struct-p): New functions.
363 (verilog-beg-block-re-ordered, verilog-extended-case-re)
364 (verilog-forward-sexp, verilog-set-auto-endcomments):
365 (verilog-leap-to-case-head): Handle "unique0" case.
366 (verilog-in-constraint-re): New constant.
367 (verilog-keywords, verilog-type-font-keywords):
368 Add some SystemVerilog 1800-2012 keywords.
369 (verilog-label-be): Remove unimplemented argument, bug669.
370 (verilog-batch-execute-func): When batch expanding clear
371 create-lockfiles to prevent spurious user locks when a file ends
373 (verilog-calculate-indent, verilog-calc-1)
374 (verilog-at-close-constraint-p, verilog-at-constraint-p)
375 (verilog-do-indent): Fix indentation of nested constraints
377 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
378 (verilog-auto-inst-param): Use verilog-string-match-fold.
379 (verilog-read-inst-module-matcher):
380 Fix AUTOINST on gate primitives with #1.
381 (verilog-read-decls): Fix double-declaring user-defined typed signals.
382 Reads all user-defined typed variables.
383 (verilog-read-defines): Fix reading definitions inside comments, bug647.
384 (verilog-signals-matching-regexp)
385 (verilog-signals-not-matching-regexp, verilog-auto):
386 Respect verilog-case-fold.
387 (verilog-diff-report): Fix line count.
388 (verilog-auto-assign-modport): Remove unused local `modi'.
389 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
390 better handle multidimensional arrays.
391 Fix packed array ports misadding bit index in AUTOINST, bug637.
392 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
393 to not double-declare existing outputs and inputs, respectively.
394 (verilog-template-map): Bind U to verilog-sk-uvm-component.
395 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
396 (verilog-sk-uvm-component): New skeleton.
397 (verilog-submit-bug-report): Add verilog-case-fold,
398 remove verilog-mode-release-date.
400 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
402 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
405 2013-10-18 Reuben Thomas <rrt@sc3d.org>
407 * textmodes/remember.el (remember): set buffer-offer-save in
408 remember buffers (bug#13566).
410 2013-10-18 Daniel Colascione <dancol@dancol.org>
412 When evaluating forms in ielm, direct standard output to ielm
413 buffer. Add new ielm-return-for-effect command. Remove trailing
414 whitespace throughout.
416 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
417 (ielm-return-for-effect): New command.
418 (ielm-send-input): Accept optional `for-effect' parameter.
419 (ielm-eval-input): Accept optional `for-effect' parameter.
420 Bind `standard-output' to stream we create using
421 `ielm-standard-output-impl'. Suppress printing result when
423 (ielm-standard-output-impl): New function.
424 (inferior-emacs-lisp-mode): Explain new features in documentation.
426 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
430 * net/tramp.el (tramp-debug-message): Do not check for connection
432 (tramp-message): Use "vector" connection property.
434 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
435 (tramp-equal-remote, tramp-eshell-directory-change)
436 * net/tramp-adb.el (tramp-adb-handle-copy-file)
437 (tramp-adb-handle-rename-file)
438 * net/tramp-cmds.el (tramp-list-remote-buffers)
439 (tramp-cleanup-connection, tramp-cleanup-this-connection)
440 * net/tramp-compat.el (tramp-compat-process-running-p)
441 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
442 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
443 (tramp-gvfs-handle-rename-file)
444 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
445 (tramp-set-file-uid-gid)
446 * net/tramp-smb.el (tramp-smb-handle-copy-file)
447 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
450 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
451 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
452 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
453 (tramp-gw-open-network-stream): Suppress unrelated traces.
455 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
456 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
457 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
458 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
461 * net/tramp-cache.el (top): Suppress traces when reading
464 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
465 Refactor common code. Improve debug message.
466 (tramp-maybe-open-connection)
467 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
468 connection buffer too early.
470 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
471 from `tramp-smb-actions-with-acl'.
472 (tramp-smb-actions-set-acl): New defconst.
473 (tramp-smb-handle-copy-directory)
474 (tramp-smb-action-get-acl): New defun, renamed from
475 `tramp-smb-action-with-acl'.
476 (tramp-smb-action-set-acl): New defun.
477 (tramp-smb-handle-set-file-acl): Rewrite.
479 2013-10-17 Glenn Morris <rgm@gnu.org>
481 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
483 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
485 * skeleton.el (skeleton-newline): Remove.
486 (skeleton-internal-1): Use (insert "\n") instead.
488 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
491 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
492 forward-sexp-function while we redo its job (bug#15613).
494 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
496 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
497 represented by lists.
499 2013-10-16 Glenn Morris <rgm@gnu.org>
501 * tmm.el (tmm--history): New dynamic variable.
502 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
504 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
506 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
507 (tramp-smb-errors): Add error messages.
508 (tramp-smb-actions-with-acl): New defconst.
509 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
510 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
511 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
512 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
513 (tramp-smb-get-stat-capability): Fix tests.
515 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
517 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
520 2013-10-16 Glenn Morris <rgm@gnu.org>
522 * ansi-color.el (ansi-color-drop-regexp):
523 Add 1J, 1K, 2K. (Bug#15617)
525 * files.el (hack-local-variables--warned-lexical): New.
526 (hack-local-variables):
527 Warn about misplaced lexical-binding. (Bug#15616)
529 * net/eww.el (eww-render): Always set eww-current-url,
530 and update header line. (Bug#15622)
531 (eww-display-html): ... Rather than just doing it here.
533 2013-10-15 Eli Zaretskii <eliz@gnu.org>
535 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
536 menu navigations commands.
538 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
540 * progmodes/subword.el (subword-capitalize): Be careful when
541 the search for [[:alpha:]] fails (bug#15580).
543 2013-10-14 Eli Zaretskii <eliz@gnu.org>
545 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
546 to commands that scroll the menu.
548 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
550 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
551 Handle methods ending with `?' and `!'.
553 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
555 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
556 `japanese-cp932' to `cp932' to fix the problem where saving a
557 source file written in Shift_JIS twice would end up having
558 `coding: japanese-cp932' which Ruby could not recognize.
559 (ruby-mode-set-encoding): Add support for encodings mapped to nil
560 in `ruby-encoding-map'.
561 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
562 doesn't need to be explicitly declared in magic comment.
563 (ruby-encoding-map): Add type declaration for better customize UI.
565 2013-10-13 Glenn Morris <rgm@gnu.org>
567 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
568 Occur buffers are read-only. http://bugs.debian.org/720775
570 * emacs-lisp/authors.el (authors-fixed-entries):
571 Comment out old alpha stuff.
573 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
575 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
576 to `after-save-hook' instead of `before-save-hook'.
577 (ruby-mode-set-encoding): Use the value of coding system used to
578 write the file. Call `basic-save-buffer-1' after modifying the
581 2013-10-13 Alan Mackenzie <acm@muc.de>
583 Fix indentation/fontification of Java enum with
584 "implements"/generic.
586 * progmodes/cc-engine.el (c-backward-over-enum-header):
587 Extracted from the three other places and enhanced to handle generics.
588 (c-inside-bracelist-p): Uses new function above.
589 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
591 (c-font-lock-enum-tail): Uses new function above.
593 2013-10-13 Kenichi Handa <handa@gnu.org>
595 * international/mule-cmds.el (select-safe-coding-system): Remove a
596 superfluous condition in chekcing whether a coding system is safe
599 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
601 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
603 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
605 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
607 2013-10-13 Glenn Morris <rgm@gnu.org>
609 * menu-bar.el (menu-bar-update-buffers):
610 Unify Buffers menu prompt string. (Bug#15576)
612 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
614 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
616 (authors-fixed-entries): Use accented form of name.
618 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
620 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
621 method calls (bug#15594).
622 (ruby-smie--args-separator-p): New function.
623 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
624 recognize paren-free method calls.
626 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
627 internals of universal-argument.
629 2013-10-11 Eli Zaretskii <eliz@gnu.org>
631 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
632 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
633 dropped menu on second mouse click on the menu bar.
635 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
637 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
638 (explicit-shell-file-name): Declare.
639 (sh--vars-before-point, sh--cmd-completion-table): New functions.
640 (sh-completion-at-point-function): New function.
642 (sh-smie--keyword-p): Remove unused argument.
643 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
645 (sh-set-shell): Always setup SMIE, even if we use the
646 old indentation code.
648 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
650 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
652 (ruby-smie-rules): Simplify the "do" rule. The cases when the
653 predicate would return nil are almost non-existent.
654 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
656 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
657 cache also after commands that modify the buffer but don't move
660 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
662 * env.el (substitute-env-in-file-name): New function.
663 (substitute-env-vars): Extend the meaning of the optional arg.
665 2013-10-10 Eli Zaretskii <eliz@gnu.org>
667 * term/w32-win.el (dynamic-library-alist): Define separate lists
668 of GIF DLLs for versions before and after 5.0.0 of giflib.
671 2013-10-10 João Távora <joaotavora@gmail.com>
673 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
674 not locked, use last revision and current source as
675 defaults. (Bug#15569)
677 2013-10-10 Masatake YAMATO <yamato@redhat.com>
679 * menu-bar.el (menu-bar-open): Don't use popup-menu if
682 2013-10-10 Martin Rudalics <rudalics@gmx.at>
684 * window.el (pop-to-buffer-same-window): Fix doc-string.
687 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
689 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
691 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
693 * calendar/icalendar.el (icalendar-import-file):
694 Fix interactive spec. (Bug#15482)
696 2013-10-10 Glenn Morris <rgm@gnu.org>
698 * desktop.el (desktop-save): Default to saving in .emacs.d,
699 since PWD is no longer in desktop-path by default. (Bug#15319)
701 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
702 now that text mode has a menu with the same entry.
703 (menu-bar-text-mode-auto-fill): Remove now unused func.
704 * textmodes/text-mode.el (text-mode-map):
705 Use auto-fill help text from menu-bar.el.
707 2013-10-10 John Anthony <john@jo.hnanthony.com>
709 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
711 2013-10-09 Juri Linkov <juri@jurta.org>
713 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
714 instead of this-command-keys. Add universal-argument-more and
715 universal-argument-minus to the list of prefix commands. (Bug#15568)
717 2013-10-09 Glenn Morris <rgm@gnu.org>
719 * vc/vc-svn.el (vc-svn-create-repo):
720 Expand paths in file://... url. (Bug#15446)
722 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
724 (authors): Remove unused local variables.
726 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
728 * profiler.el: Create a more coherent calltree from partial backtraces.
729 (profiler-format): Hide the tail with `invisible' so that C-s can still
730 find the hidden elements.
731 (profiler-calltree-depth): Don't recurse so enthusiastically.
732 (profiler-function-equal): New hash-table-test.
733 (profiler-calltree-build-unified): New function.
734 (profiler-calltree-build): Use it.
735 (profiler-report-make-name-part): Indent the calltree less.
736 (profiler-report-mode): Add visibility specs for profiler-format.
737 (profiler-report-expand-entry, profiler-report-toggle-entry):
738 Expand the whole subtree when provided with a prefix arg.
740 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
742 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
744 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
745 hanging iuwu-mod token.
746 (ruby-smie--forward-token): Do not include a dot after a token in
748 (ruby-smie--backward-token): Likewise.
750 2013-10-08 Juri Linkov <juri@jurta.org>
752 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
753 to isearch-other-control-char.
754 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
755 and isearch-post-command-hook to post-command-hook.
756 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
757 and isearch-post-command-hook from post-command-hook.
758 (isearch-unread-key-sequence)
759 (isearch-reread-key-sequence-naturally)
760 (isearch-lookup-scroll-key, isearch-other-control-char)
761 (isearch-other-meta-char): Remove functions.
762 (isearch-pre-command-hook, isearch-post-command-hook):
763 New functions based on isearch-other-meta-char rewritten
764 relying on the new behavior of overriding-terminal-local-map
765 that does not replace the local keymaps any more. (Bug#15200)
767 2013-10-08 Eli Zaretskii <eliz@gnu.org>
769 Support menus on text-mode terminals.
770 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
773 * tooltip.el (tooltip-mode): Don't error out on TTYs.
775 * menu-bar.el (popup-menu, popup-menu-normalize-position):
776 Move here from mouse.el.
777 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
779 (tty-menu-navigation-map): New map for TTY menu navigation.
781 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
783 * frame.el (display-mouse-p): Report text-mode mouse as available
785 (display-popup-menus-p): Report availability if mouse is
786 available; don't condition on window-system.
788 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
789 (tty-menu-selected-face): New faces.
791 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
793 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
794 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
795 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
796 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
798 (lisp-mode-variables): New `elisp' argument.
799 (emacs-lisp-mode): Use it.
800 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
801 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
803 * indent.el: Use lexical-binding.
804 (indent-region): Add progress reporter.
805 (tab-stop-list): Make it implicitly extend to infinity by repeating the
807 (indent--next-tab-stop): New function to implement this behavior.
808 (tab-to-tab-stop, move-to-tab-stop): Use it.
810 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
812 * indent.el (indent-rigidly--current-indentation): New function.
813 (indent-rigidly-map): New var.
814 (indent-rigidly): Use it to provide interactive mode (bug#8196).
816 2013-10-08 Bastien Guerry <bzg@gnu.org>
818 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
820 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
822 * progmodes/perl-mode.el: Use lexical-binding.
823 Remove redundant :group args.
824 (perl-nochange): Change default to be closer to other major modes's
826 (perl-indent-line): Don't consider text on current line as a
827 valid beginning of function from which to indent.
829 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
830 with more than one argument (bug#15538).
832 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
834 * vc/pcvs.el: Use lexical-binding.
835 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
836 environment of `eval'.
837 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
838 than a list of expressions. Adjust callers.
839 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
841 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
843 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
844 case of the dot in a chained method call being on the following line.
846 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
848 * electric.el (electric-indent-inhibit): New var.
849 (electric-indent-post-self-insert-function): Use it.
850 * progmodes/python.el (python-mode): Set it.
852 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
855 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
857 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
858 (css-mode): Use electric-indent-chars.
860 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
861 (font-lock-beg, font-lock-end): Move before first use.
862 (nxml-mode): Use syntax-propertize-function.
863 (nxml-after-change, nxml-after-change1): Adjust accordingly.
864 (nxml-extend-after-change-region): Remove.
865 * nxml/xmltok.el: Use lexical-binding.
866 (xmltok-save): Use `declare'.
867 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
868 * nxml/nxml-util.el: Use lexical-binding.
869 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
871 * nxml/nxml-ns.el: Use lexical-binding.
872 (nxml-ns-save): Use `declare'.
873 (nxml-ns-prefixes-for): Avoid add-to-list.
874 * nxml/rng-match.el: Use lexical-binding.
875 (rng--ipattern): Use cl-defstruct.
876 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
877 (rng-cons-group-after, rng-subst-group-after)
878 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
879 Use closures instead of `(lambda...).
881 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
883 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
886 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
887 Use `tramp-handle-insert-file-contents'.
888 (tramp-gvfs-handle-insert-file-contents): Remove function.
890 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
891 Use `save-restriction' in order to keep markers.
893 * net/trampver.el: Update release number.
895 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
897 * progmodes/compile.el (compilation-parse-errors):
898 Use compilation--put-prop.
899 (compilation--ensure-parse): Check compilation-multiline.
901 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
903 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
906 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
908 * progmodes/ruby-mode.el: Fix recently added tests.
909 (ruby-smie-grammar): Add - and +.
910 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
911 (ruby-smie--backward-id): New functions.
912 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
913 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
916 2013-10-07 Leo Liu <sdl.web@gmail.com>
918 * register.el (register-preview-delay)
919 (register-preview-functions): New variables.
920 (register-read-with-preview, register-preview)
921 (register-describe-oneline): New functions.
922 (point-to-register, window-configuration-to-register)
923 (frame-configuration-to-register, jump-to-register)
924 (number-to-register, view-register, insert-register)
925 (copy-to-register, append-to-register, prepend-to-register)
926 (copy-rectangle-to-register): Use register-read-with-preview to
927 read register. (Bug#15525)
929 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
931 * net/network-stream.el (network-stream-open-starttls): Don't add
932 --insecure if it's already present, because that gnutls-cli
933 rejects getting that parameter twice.
935 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
937 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
940 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
942 * newcomment.el (comment-use-global-state): Change default value
943 to t, mark obsolete (Bug#15251).
944 (comment-beginning): In addition to `comment-to-syntax', check the
945 value of `comment-use-global-state'.
947 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
949 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
950 (ruby-comment-column): Follow the global default, by default.
951 (ruby-smie-grammar): Add assignment syntax.
952 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
953 open-paren, a comma, or a \.
954 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
955 and line continuations.
956 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
957 followed by implicit semi-colons. Add rule for string concatenation
958 and for indentation at BOB.
959 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
961 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
962 calling next-sexp, since next-token may have skipped chars which
963 next-sexp doesn't know should be skipped!
965 2013-10-05 Leo Liu <sdl.web@gmail.com>
967 * progmodes/octave.el (octave-send-region):
968 Call compilation-forget-errors.
970 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
972 * vc/vc-svn.el (vc-svn-find-admin-dir):
973 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
974 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
975 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
976 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
978 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
980 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
982 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
984 * subr.el (read-passwd): Hide chars even when called within a context
985 where after-change-functions is disabled (bug#15501).
986 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
987 until we removed ourself from overriding-terminal-local-map.
989 2013-10-04 Leo Liu <sdl.web@gmail.com>
991 * progmodes/octave.el (inferior-octave-mode):
992 Call compilation-forget-errors.
994 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
996 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
998 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1000 * net/secrets.el (secrets-create-collection): Add optional
1001 argument ALIAS. Use proper Label keyword. Append ALIAS as
1002 dbus-call-method argument. (Bug#15516)
1004 2013-10-04 Leo Liu <sdl.web@gmail.com>
1006 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1007 (inferior-octave-compilation-font-lock-keywords): New variables.
1008 (compilation-error-regexp-alist)
1009 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1010 (inferior-octave-mode): Use compilation-shell-minor-mode.
1012 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1014 * minibuffer.el (completion--replace): Be careful that `end' might be
1017 2013-10-03 Daiki Ueno <ueno@gnu.org>
1019 Add support for package signature checking.
1020 * emacs-lisp/package.el (url-http-file-exists-p)
1021 (epg-make-context, epg-context-set-home-directory)
1022 (epg-verify-string, epg-context-result-for)
1023 (epg-signature-status, epg-signature-to-string)
1024 (epg-check-configuration, epg-configuration)
1025 (epg-import-keys-from-file): Declare.
1026 (package-check-signature): New user option.
1027 (package-unsigned-archives): New user option.
1028 (package-desc): Add `signed' field.
1029 (package-load-descriptor): Set `signed' field if .signed file exists.
1030 (package--archive-file-exists-p): New function.
1031 (package--check-signature): New function.
1032 (package-install-from-archive): Check package signature.
1033 (package--download-one-archive): Check archive signature.
1034 (package-delete): Remove .signed file.
1035 (package-import-keyring): New command.
1036 (package-refresh-contents): Import default keyring.
1037 (package-desc-status): Add "unsigned" status.
1038 (describe-package-1, package-menu--print-info)
1039 (package-menu-mark-delete, package-menu--find-upgrades)
1040 (package-menu--status-predicate): Support "unsigned" status.
1042 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1044 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1045 the new compilation scheme using the new byte-codes.
1047 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1048 (byte-pophandler): New byte codes.
1049 (byte-goto-ops): Adjust accordingly.
1050 (byte-compile--use-old-handlers): New var.
1051 (byte-compile-catch): Use new byte codes depending on
1052 byte-compile--use-old-handlers.
1053 (byte-compile-condition-case--old): Rename from
1054 byte-compile-condition-case.
1055 (byte-compile-condition-case--new): New function.
1056 (byte-compile-condition-case): New function that dispatches depending
1057 on byte-compile--use-old-handlers.
1058 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1061 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1062 Optimize under `condition-case' and `catch' if
1063 byte-compile--use-old-handlers is nil.
1064 (disassemble-offset): Handle new bytecodes.
1066 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1068 * subr.el (error): Use `declare'.
1069 (decode-char, encode-char): Use advertised-calling-convention instead
1070 of the docstring to discourage use of the `restriction' arg.
1072 2013-10-03 Daiki Ueno <ueno@gnu.org>
1074 * epg.el (epg-verify-file): Add a comment saying that it does not
1075 notify verification error as a return value nor a signal.
1076 (epg-verify-string): Ditto.
1078 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1080 * progmodes/compile.el (compilation-start): Try globbing the arg to
1083 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1085 Sync with Tramp 2.2.8.
1087 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1088 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1089 * net/trampver.el: Update release number.
1091 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1093 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1094 and default-process-coding-system for darwin only.
1096 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1098 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1100 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1102 * vc/vc-git.el (vc-git-grep): Disable pager.
1104 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1106 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1107 Use :url instead of :homepage, as per
1108 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1110 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1111 non-nil, use `syntax-ppss' (Bug#15251).
1113 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1115 * progmodes/octave.el (inferior-octave-startup-file):
1116 Prefer ~/.emacs.d/init_octave.m.
1118 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1120 * emacs-lisp/package.el (package-desc-from-define):
1121 Accept additional arguments as plist, convert them to an alist and store
1122 them in the `extras' slot.
1123 (package-generate-description-file): Convert extras alist back to
1124 plist and append to the `define-package' form arguments.
1125 (package--alist-to-plist): New function.
1126 (package--ac-desc): Add `extras' slot.
1127 (package--add-to-archive-contents): Check if the archive-contents
1128 vector is long enough, and if it is, pass its `extras' slot value
1129 to `package-desc-create'.
1130 (package-buffer-info): Call `lm-homepage', pass the returned value
1131 to `package-desc-from-define'.
1132 (describe-package-1): Render the homepage button (Bug#13291).
1134 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1135 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1137 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1139 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1140 and default-process-coding-system to utf-8-unix (Bug#15402).
1142 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1144 * subr.el (looking-back): Do not recommend using looking-back.
1146 2013-09-28 Alan Mackenzie <acm@muc.de>
1148 Fix indentation/fontification of Java enum with "implements".
1150 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1151 regexp which matches "implements", etc., in Java.
1152 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1153 specifier clauses coming after "enum".
1154 * progmodes/cc-fonts.el (c-font-lock-declarations)
1155 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1158 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1160 * faces.el (region): Change ns_selection_color to
1161 ns_selection_fg_color, add ns_selection_bg_color.
1163 2013-09-28 Leo Liu <sdl.web@gmail.com>
1165 * progmodes/octave.el (inferior-octave-completion-table)
1166 (inferior-octave-completion-at-point): Minor tweaks.
1168 * textmodes/ispell.el (ispell-lookup-words): Rename from
1169 lookup-words. (Bug#15460)
1170 (lookup-words): Obsolete.
1171 (ispell-complete-word, ispell-command-loop): All uses changed.
1173 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1175 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1176 (octave-mode-menu): Add octave-send-buffer.
1177 (octave-send-buffer): New function.
1179 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1181 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1183 (octave-mode-menu): Add octave-lookfor.
1184 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1186 (octave-lookfor): New function.
1188 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1190 * emacs-lisp/cl-macs.el:
1191 (cl--loop-destr-temps): Remove.
1192 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1194 (cl--loop-set-iterator-function): New function.
1195 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1196 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1197 Bind `it' with `let' instead of substituting it with `cl-subst'.
1198 (cl--unused-var-p): New function.
1199 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1200 Eliminate some unused variable warnings (bug#15326).
1202 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1204 * doc-view.el (doc-view-scale-reset): Rename from
1205 `doc-view-reset-zoom-level'.
1206 (doc-view-scale-adjust): New command.
1207 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1208 `doc-view-scale-adjust'.
1210 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1212 * doc-view.el (doc-view-reset-zoom-level): New command.
1213 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1214 zoom commands (bug#15466).
1216 2013-09-26 Kenichi Handa <handa@gnu.org>
1218 * international/quail.el (quail-help): Make it not a command.
1220 2013-09-26 Leo Liu <sdl.web@gmail.com>
1222 * minibuffer.el (completion-all-sorted-completions): Make args
1223 optional as they are.
1225 2013-09-25 Daniel Colascione <dancol@dancol.org>
1227 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1228 specs are and that they're not evaluated.
1230 2013-09-24 Sam Steingold <sds@gnu.org>
1232 * midnight.el (clean-buffer-list-kill-regexps)
1233 (clean-buffer-list-kill-buffer-names): Update for the new Man
1234 buffer naming which includes the object name.
1236 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1239 (eshell-parse-command, eshell-parse-pipeline): Use it since
1240 eshell-separate-commands requires a dynamic scoped var.
1241 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1243 2013-09-23 Leo Liu <sdl.web@gmail.com>
1245 * autoinsert.el (auto-insert-alist): Make the value of
1246 lexical-binding match its file setting.
1248 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
1250 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1252 * autoarg.el (autoarg-kp-digit-argument):
1253 * electric.el (Electric-command-loop):
1254 * kmacro.el (kmacro-step-edit-insert):
1255 Do not set universal-argument-num-events.
1257 2013-09-22 Leo Liu <sdl.web@gmail.com>
1259 * files.el (interpreter-mode-alist): Add octave.
1261 2013-09-21 Alan Mackenzie <acm@muc.de>
1263 C++: fontify identifier in declaration following "public:" correctly.
1264 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1265 to match "public", etc.
1266 (c-decl-prefix-re): Add ":" into the C++ value.
1267 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1268 bit. Add a check for a ":" preceded by "public", etc.
1270 2013-09-21 Eli Zaretskii <eliz@gnu.org>
1272 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1273 recognized by GDB 7.5 and later.
1275 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1277 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1279 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1281 * subr.el (internal--call-interactively): New const.
1282 (called-interactively-p): Use it (bug#3984).
1284 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1286 * vc/pcvs.el (cvs-mode-ignore):
1287 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1288 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1290 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1292 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1293 (eshell-ls-orig-insert-directory): Remove.
1294 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1295 (eshell-ls-use-in-dired): Use advice-add/remove.
1296 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1297 Add `orig-fun' arg for use in :around advice.
1298 Make it check (redundantly) eshell-ls-use-in-dired.
1300 2013-09-19 Glenn Morris <rgm@gnu.org>
1302 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1304 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1306 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1308 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
1310 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1311 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1312 (tramp-get-remote-python): New defuns.
1313 (tramp-get-remote-uid-with-perl)
1314 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1315 contributed by yary <not.com@gmail.com> (tiny change).
1316 (tramp-get-remote-uid-with-python)
1317 (tramp-get-remote-gid-with-python): New defuns. Python code
1318 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1319 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1321 2013-09-19 Glenn Morris <rgm@gnu.org>
1323 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1325 * eshell/em-unix.el (eshell-remove-entries):
1326 Rename argument to avoid name-clash with global `top-level'.
1328 * eshell/esh-proc.el (eshell-kill-process-function):
1329 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1330 (eshell-reset-after-proc): Remove unused arg `proc'.
1332 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1333 (directory-files-and-attributes): Mark unused arg.
1335 * eshell/em-unix.el (eshell-remove-entries):
1336 Remove unused arg `path'. Update callers.
1338 * eshell/em-hist.el (eshell-hist-parse-arguments):
1339 Remove unused arg `silent'. Update callers.
1341 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1342 Fix (f)boundp mix-up.
1344 * eshell/em-smart.el (eshell-smart-scroll-window)
1345 (eshell-disable-after-change):
1346 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1348 2013-09-18 Alan Mackenzie <acm@muc.de>
1350 Fix fontification of type when followed by "const".
1351 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1352 "known" types from fontification.
1354 2013-09-18 Glenn Morris <rgm@gnu.org>
1356 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1357 (chart-face-list): Drop Emacsen without display-color-p.
1359 * net/eww.el (libxml-parse-html-region): Declare.
1360 (eww-display-html): Explicit error if no libxml2 support.
1362 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1364 * image.el (image-type-from-buffer, image-multi-frame-p):
1365 Remove --without-x warning/error.
1367 * mouse.el (mouse-yank-primary):
1368 * term.el (term-mouse-paste):
1369 Reorder to silence --without-x compilation.
1371 * mpc.el (doc-view-mode): Silence --without-x compilation.
1373 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1374 Silence --without-x compilation.
1376 * progmodes/gud.el (gud-find-file, gud-mode):
1377 Silence --without-x compilation.
1378 (tooltip-mode): Declare.
1380 * wdired.el (dired-backup-overwrite): Remove declaration.
1381 (wdired-mode-map): Add doc string.
1383 * custom.el (x-get-resource): Declare.
1385 * eshell/em-glob.el (ange-cache):
1386 * eshell/em-unix.el (ange-cache): Declare.
1388 * faces.el (x-display-list, x-open-connection, x-get-resource):
1391 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1392 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1395 * frame.el (x-display-grayscale-p, x-display-name): Declare.
1397 * net/gnutls.el (gnutls-log-level): Declare.
1399 * net/shr.el (image-size, image-animate): Declare.
1401 * simple.el (font-info): Declare.
1403 * subr.el (x-popup-dialog): Declare.
1405 * term/common-win.el (x-select-enable-primary)
1406 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1409 * term/ns-win.el (x-handle-args): Declare.
1411 * term/x-win.el (x-select-enable-clipboard): Declare.
1413 * term/w32-win.el (create-default-fontset): Declare.
1415 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1418 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1419 (fit-frame-to-buffer): Explicit error if --without-x.
1420 (mouse-autoselect-window-select): Silence compiler.
1422 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1424 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1425 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1426 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
1427 * eshell/esh-util.el (eshell-sublist):
1428 Remove unused local variables.
1430 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1432 * textmodes/two-column.el: Make 2C-split work for --without-x.
1433 (scroll-bar-columns): Autoload.
1434 (top-level): Require fringe when compiling.
1436 2013-09-18 Leo Liu <sdl.web@gmail.com>
1438 * subr.el (add-hook): Robustify to handle closure as well.
1440 2013-09-17 Glenn Morris <rgm@gnu.org>
1442 * simple.el (messages-buffer-mode-map): Unbind "g".
1444 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1446 * help-mode.el (help-mode-finish): Use derived-mode-p.
1447 Remove obsolete highlighting.
1449 * play/life.el (life-mode): Use define-derived-mode. Derive from
1451 (life): Let-bind inhibit-read-only.
1452 (life-setup): Avoid `setq'. Use `life-mode'.
1454 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1455 which should not be needed any more.
1456 (package-menu-refresh, package-menu-describe-package): Use user-error.
1458 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1459 (eshell-post-rewrite-command-hook): Make obsolete.
1460 (eshell-parse-command): Simplify.
1461 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1462 (eshell--cmd): Declare.
1463 (eshell-parse-pipeline): Remove unused var `final-p'.
1464 Pass a dynvar to eshell-post-rewrite-command-hook.
1465 Implement the new eshell-post-rewrite-command-function.
1466 (eshell-invoke-directly): Remove unused arg `input'.
1467 * eshell/esh-io.el (eshell-io-initialize):
1468 Use eshell-post-rewrite-command-function (bug#15399).
1469 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1470 adjust to new calling convention.
1471 (eshell-create-handles): Rename args to avoid clashing with dynvar
1474 2013-09-17 Glenn Morris <rgm@gnu.org>
1476 * simple.el (messages-buffer-mode): New major mode.
1477 (messages-buffer): New function.
1478 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1479 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
1480 (ert-run-test): Use `messages-buffer' function.
1481 (ert--force-message-log-buffer-truncation): Ignore read-only.
1482 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1483 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
1485 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1487 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1489 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1491 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1493 * icomplete.el (icomplete-in-buffer): New var.
1494 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1495 vars and replace them with functions.
1496 (icomplete-minibuffer-setup): Adjust accordingly.
1497 (icomplete--completion-table, icomplete--completion-predicate)
1498 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1500 (icomplete-forward-completions, icomplete-backward-completions)
1501 (icomplete-simple-completing-p, icomplete-exhibit)
1502 (icomplete-completions): Use them.
1503 (icomplete--in-region-buffer): New var.
1504 (icomplete--in-region-setup): New function.
1505 (icomplete-mode): Use it.
1507 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1509 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1510 return args and options.
1511 (eshell-eval-using-options): Use the new return value of
1512 eshell--do-opts to set the options's vars in their scope.
1513 (eshell--set-option): Rename from eshell-set-option.
1515 (eshell--process-option): Rename from eshell-process-option.
1517 (eshell--process-args): Use an `opt-vals' alist to store the options's
1518 values during their processing and return them additionally to the
1521 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1523 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1524 continuation character an operator, as far as indentation is
1525 concerned (Bug#15369).
1527 2013-09-15 Martin Rudalics <rudalics@gmx.at>
1529 * window.el (window--state-put-2): Don't process buffer state
1530 when buffer doesn't exist any more (Bug#15382).
1532 2013-09-15 Glenn Morris <rgm@gnu.org>
1534 * eshell/em-unix.el (eshell/rm):
1535 Make -f ignore missing files. (Bug#15373)
1537 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1538 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1539 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1541 2013-09-14 Glenn Morris <rgm@gnu.org>
1543 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1545 2013-09-13 Glenn Morris <rgm@gnu.org>
1547 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1548 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1550 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1552 * frame.el (x-focus-frame): Mark as declared in frame.c.
1554 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1556 * ls-lisp.el: Use advice-add.
1557 (original-insert-directory): Remove.
1558 (ls-lisp--insert-directory): Rename from insert-directory; add
1559 `orig-fun' argument.
1560 (insert-directory): Advise.
1562 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1564 * term.el (term-emulate-terminal): Decode the command string
1565 before passing it to term-command-hook. (Bug#15337)
1567 2013-09-13 Glenn Morris <rgm@gnu.org>
1569 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1571 * eshell/esh-ext.el (eshell-search-path): Declare.
1573 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1574 Otherwise an error occurs if eshell-dirs module not loaded.
1576 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1578 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1580 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1581 `tramp-check-proper-host'. Check for a valid method name.
1583 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1584 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1585 * net/tramp-sh.el (tramp-maybe-open-connection):
1586 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1588 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1589 also for hash values.
1591 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1593 * term/ns-win.el (parameters): Don't declare as dynamic.
1594 (before-make-frame-hook): Don't add ineffective function.
1596 * eshell/*.el: Use lexical-binding (bug#15231).
1598 2013-09-12 Kenichi Handa <handa@gnu.org>
1600 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1602 2013-09-12 Glenn Morris <rgm@gnu.org>
1604 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1605 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1607 * subr.el (do-after-load-evaluation): Also give compiler warnings
1608 when obsolete files are used (except by obsolete files).
1610 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1611 in the status output, assume `filename' is the first. (Bug#15322)
1613 * vc/vc.el (vc-deduce-fileset): Doc fix.
1615 * calc/calc-help.el (Info-goto-node):
1616 * progmodes/cperl-mode.el (Info-find-node):
1617 * vc/ediff.el (Info-goto-node): Update declarations.
1619 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1621 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1622 (vc-bzr-pull): Require vc-dispatcher.
1623 * vc/vc-git.el (vc-compilation-mode): Declare.
1624 (vc-git-pull): Require vc-dispatcher.
1626 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1628 * progmodes/octave.el (help-button-action): Declare.
1630 * shell.el (shell-directory-tracker): Output error as a message
1631 rather than just returning it as a string.
1632 (shell-process-pushd): Remove useless use of message.
1634 * dframe.el (dframe-timer-fn):
1635 * files.el (dir-locals-read-from-file):
1636 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1638 * reveal.el (reveal-post-command):
1639 * saveplace.el (load-save-place-alist-from-file):
1640 * shell.el (shell-resync-dirs):
1641 * w32-common-fns.el (x-get-selection-value):
1642 * emacs-lisp/copyright.el (copyright-find-copyright):
1643 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1644 * emulation/tpu-edt.el (tpu-copy-keyfile):
1645 * play/bubbles.el (bubbles--mark-neighbourhood):
1646 * progmodes/executable.el
1647 (executable-make-buffer-file-executable-if-script-p):
1648 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1650 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1652 Cleanup Eshell to rely less on dynamic scoping.
1653 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1654 last-value, and ext-command here. Bind `args' closer to `body'.
1655 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1656 (eshell--args): Declare new dynamic var.
1657 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1658 last-value, and ext-command. Pass `args' to `body'.
1659 (eshell-process-args): Bind eshell--args.
1660 (eshell-set-option): Use eshell--args.
1661 * eshell/eshell.el (eshell): Use derived-mode-p.
1662 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1663 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1664 (eshell-glob-function): Declare.
1665 * eshell/esh-util.el: Require cl-lib.
1666 (eshell-read-hosts-file): Avoid add-to-list.
1667 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1669 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1671 (eshell/diff): Remove unused var `err'.
1672 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1674 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1675 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1677 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1678 Move declaration before first use.
1679 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1680 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1683 2013-09-12 Glenn Morris <rgm@gnu.org>
1685 * term/ns-win.el (global-map): Remove binding for ispell-next,
1686 deleted 1999-05-29. (Bug#15357)
1688 2013-09-11 Glenn Morris <rgm@gnu.org>
1690 * echistory.el (electric-command-history): Remove call to deleted func.
1692 * play/landmark.el (landmark-mode): Fix typos.
1694 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1695 Check cvs-sort-ignore-file is bound.
1697 * savehist.el: No need for cl when compiling on Emacs.
1699 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1701 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1703 (eshell-self-insert-command, eshell-send-invisible):
1704 Remove unused argument.
1705 (eshell-handle-control-codes): Remove unused var `orig'.
1706 Avoid delete-backward-char.
1708 * files.el (set-auto-mode): Simplify a bit further.
1710 2013-09-11 Glenn Morris <rgm@gnu.org>
1712 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1713 (set-auto-mode): Don't regexp-quote elements.
1714 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1715 * progmodes/cc-mode.el (interpreter-mode-alist):
1716 * progmodes/ruby-mode.el (interpreter-mode-alist):
1717 Revert previous change.
1719 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1721 * play/snake.el (snake-mode):
1722 * play/mpuz.el (mpuz-mode):
1723 * play/landmark.el (lm-mode):
1724 * play/blackbox.el (blackbox-mode):
1725 * play/5x5.el (5x5-mode):
1726 * obsolete/options.el (Edit-options-mode):
1727 * net/quickurl.el (quickurl-list-mode):
1728 * net/newst-treeview.el (newsticker-treeview-mode):
1729 * mail/rmailsum.el (rmail-summary-mode):
1730 * mail/mspools.el (mspools-mode):
1731 * locate.el (locate-mode):
1732 * ibuffer.el (ibuffer-mode):
1733 * emulation/ws-mode.el (wordstar-mode):
1734 * emacs-lisp/debug.el (debugger-mode):
1735 * array.el (array-mode):
1736 * net/eudc.el (eudc-mode): Use define-derived-mode.
1737 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1738 Move initialization into declaration.
1739 (mairix-searches-mode): Use define-derived-mode.
1740 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1741 (eudc-edit-hotlist): Use dolist.
1742 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1743 (Man-mode): Use define-derived-mode.
1744 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1745 (Info-edit-mode): Use define-derived-mode.
1746 (Info-cease-edit): Use Info-mode.
1747 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1749 (eshell-mode): Use define-derived-mode.
1750 * chistory.el (command-history-mode-map): Rename from
1751 command-history-map.
1752 (command-history-mode): Use define-derived-mode.
1753 (Command-history-setup): Remove function.
1754 * calc/calc.el (calc-trail-mode-map): New var.
1755 (calc-trail-mode): Use define-derived-mode.
1756 (calc-trail-buffer): Set calc-main-buffer manually.
1757 * bookmark.el (bookmark-insert-annotation): New function.
1758 (bookmark-edit-annotation): Use it.
1759 (bookmark-edit-annotation-mode): Make it a proper major mode.
1760 (bookmark-send-edited-annotation): Use derived-mode-p.
1761 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1762 closer to its ideal place. Use \' to match EOS.
1764 * profiler.el (profiler-calltree-find): Use function-equal.
1766 2013-09-10 Glenn Morris <rgm@gnu.org>
1768 * files.el (interpreter-mode-alist): Convert to regexps.
1769 (set-auto-mode): Adapt for this. (Bug#15306)
1770 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1771 Comment out unused variable.
1772 * progmodes/cc-mode.el (interpreter-mode-alist):
1773 * progmodes/python.el (interpreter-mode-alist):
1774 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1775 * progmodes/sh-script.el (sh-set-shell):
1776 No longer use interpreter-mode-alist to get list of shells.
1778 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1780 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1782 * simple.el: Use set-temporary-overlay-map for universal-argument.
1783 (universal-argument-map): Don't use default-bindings (bug#15317).
1784 Bind switch-frame explicitly. Replace universal-argument-minus with
1785 a conditional binding.
1786 (universal-argument-num-events, saved-overriding-map): Remove.
1787 (restore-overriding-map): Remove.
1788 (universal-argument--mode): Rename from save&set-overriding-map,
1790 (universal-argument, universal-argument-more, negative-argument)
1791 (digit-argument): Adjust accordingly.
1792 (universal-argument-minus): Remove.
1793 (universal-argument-other-key): Remove.
1795 * subr.el (with-demoted-errors): Add `format' argument.
1797 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
1799 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1800 `tramp-cleanup-connection'.
1802 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1803 parameters KEEP-DEBUG and KEEP-PASSWORD.
1805 * net/tramp.el (tramp-file-name-handler):
1806 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1807 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1808 (tramp-maybe-open-connection):
1809 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1810 Use `tramp-cleanup-connection'.
1812 * net/tramp-sh.el (tramp-maybe-open-connection):
1813 Catch 'uname-changed inside the progress reporter.
1815 2013-09-10 Glenn Morris <rgm@gnu.org>
1817 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1819 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1820 returns "alternate access method" in mode (eg "-rw-r--r--.").
1822 2013-09-08 Glenn Morris <rgm@gnu.org>
1824 * saveplace.el (load-save-place-alist-from-file):
1825 Demote errors. (Bug#15305)
1827 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
1829 Improve compatibility with older Emacsen, and XEmacs.
1831 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1832 only if it is bound. It isn't for XEmacs.
1833 (with-tramp-progress-reporter): Do not let-bind `result'.
1834 This yields to scoping errors in XEmacs.
1835 (tramp-handle-make-auto-save-file-name): New function, moved from
1838 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1839 for `make-auto-save-file-name'.
1840 (tramp-adb--gnu-switches-to-ash):
1841 Use `tramp-compat-replace-regexp-in-string'.
1843 * net/tramp-cache.el (tramp-cache-print): Call
1844 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1846 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1847 bound. It isn't for XEmacs.
1849 * net/tramp-compat.el (tramp-compat-copy-file):
1850 Catch `wrong-number-of-arguments' error.
1851 (tramp-compat-replace-regexp-in-string): New defun.
1853 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1854 for `make-auto-save-file-name'.
1855 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1857 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1858 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1859 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1861 * net/tramp-gw.el (tramp-gw-open-network-stream):
1862 Use `tramp-compat-replace-regexp-in-string'.
1864 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1865 Call `tramp-handle-make-auto-save-file-name'.
1866 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1867 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1868 (tramp-sh-file-inotifywait-process-filter):
1869 Use `tramp-compat-replace-regexp-in-string'.
1870 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1872 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1873 for `make-auto-save-file-name'.
1874 (tramp-smb-handle-copy-directory):
1875 Call `tramp-compat-replace-regexp-in-string'.
1876 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1877 (tramp-smb-handle-copy-file): Improve error message.
1878 (tramp-smb-handle-rename-file): Rename directly only in case
1879 `newname' does not exist yet. This is a restriction of smbclient.
1880 (tramp-smb-maybe-open-connection): Rerun the function only when
1881 `auth-sources' is non-nil.
1883 2013-09-08 Kenichi Handa <handa@gnu.org>
1885 * international/characters.el: Set category "^" (Combining) for
1888 2013-09-07 Alan Mackenzie <acm@muc.de>
1890 Correctly fontify Java class constructors.
1891 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1893 (c-recognize-typeless-decls): Set the Java value to t.
1894 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1895 While handling a "(", add a check for, effectively, Java, and handle a
1896 "typeless" declaration there.
1898 2013-09-07 Roland Winkler <winkler@gnu.org>
1900 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1901 field subtitle for entry type book.
1903 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1905 * minibuffer.el: Make minibuffer-complete call completion-in-region
1906 rather than other way around.
1907 (completion--some, completion-pcm--find-all-completions):
1908 Don't delay signals when debugging.
1909 (minibuffer-completion-contents): Beware fields within the
1910 minibuffer contents.
1911 (completion-all-sorted-completions): Use defvar-local.
1912 (completion--do-completion, completion--cache-all-sorted-completions)
1913 (completion-all-sorted-completions, minibuffer-force-complete):
1914 Add args `beg' and `end'.
1915 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1916 (minibuffer-complete): Use completion-in-region.
1917 (completion-complete-and-exit): New fun, extracted from
1918 minibuffer-complete-and-exit.
1919 (minibuffer-complete-and-exit): Use it.
1920 (completion--complete-and-exit): Rename from
1921 minibuffer--complete-and-exit.
1922 (completion-in-region--single-word): New function, extracted from
1923 minibuffer-complete-word.
1924 (minibuffer-complete-word): Use it.
1925 (display-completion-list): Make `common-substring' argument obsolete.
1926 (completion--in-region): Call completion--in-region-1 instead of
1927 minibuffer-complete.
1928 (completion-help-at-point): Pass boundaries to
1929 minibuffer-completion-help as args rather than via an overlay.
1930 (completion-pcm--string->pattern): Use `any-delim'.
1931 (completion-pcm--optimize-pattern): New function.
1932 (completion-pcm--pattern->regex): Handle `any-delim'.
1933 * icomplete.el (icomplete-forward-completions)
1934 (icomplete-backward-completions, icomplete-completions):
1935 Adjust calls to completion-all-sorted-completions and
1936 completion--cache-all-sorted-completions.
1937 (icomplete-with-completion-tables): Default to t.
1938 * emacs-lisp/crm.el (crm--current-element): Rename from
1939 crm--select-current-element. Don't put an overlay but return the
1941 (crm--completion-command): Take two new args to bind to the boundaries.
1942 (crm-completion-help): Adjust accordingly.
1943 (crm-complete): Use completion-in-region.
1944 (crm-complete-word): Use completion-in-region--single-word.
1945 (crm-complete-and-exit): Use completion-complete-and-exit.
1947 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1949 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1952 2013-09-06 Juri Linkov <juri@jurta.org>
1954 * info.el (Info-display-images-node): When image file doesn't exist
1955 display text version of the image if it's provided in the Info file.
1956 Otherwise, display the location of missing image from SRC attribute.
1957 Add help-echo text property from ALT attribute. (Bug#15279)
1959 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1961 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1962 (edit-abbrevs-mode): Use define-derived-mode.
1964 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1965 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1967 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1968 Use define-derived-mode.
1970 * epg.el (epg-start-encrypt): Minor CSE simplification.
1972 2013-09-06 William Xu <william.xwl@gmail.com>
1974 * arc-mode.el: Add support for 7za (bug#15264).
1975 (archive-7z-program): New var.
1976 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1977 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1978 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1980 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
1984 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1985 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1986 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1987 (tramp-postfix-host-format, tramp-file-name-regexp)
1988 (tramp-completion-file-name-regexp)
1989 (tramp-completion-dissect-file-name)
1990 (tramp-handle-substitute-in-file-name): Remove 'url case.
1991 (tramp-file-name-regexp-url)
1992 (tramp-completion-file-name-regexp-url): Remove constants.
1994 2013-09-06 Glenn Morris <rgm@gnu.org>
1996 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1998 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2000 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2001 keywords" below "here-doc beginnings" (Bug#15270).
2003 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2005 * subr.el (pop): Use `car-safe'.
2006 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2007 to detect unused `pop' return value.
2009 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2011 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2012 (python-fill-string): Remove unused var `marker'.
2013 (python-skeleton-add-menu-items): Remove unused var `items'.
2015 * international/mule-cmds.el: Require CL.
2016 (find-coding-systems-for-charsets): Avoid add-to-list.
2017 (sanitize-coding-system-list): New function, extracted from
2018 select-safe-coding-system-interactively.
2019 (select-safe-coding-system-interactively): Use it.
2020 (read-input-method-name): Accept symbols for `default'.
2022 * emacs-lisp/advice.el (defadvice): Add indent rule.
2024 2013-09-05 Daniel Hackney <dan@haxney.org>
2028 * net/browse-url.el:
2031 * net/eudcb-ldap.el:
2044 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2045 byte compiler. Remove some unused let-bound variables.
2047 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2049 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2050 a "ref-cell", since it gets better optimized (bug#14883).
2052 2013-09-05 Glenn Morris <rgm@gnu.org>
2054 * progmodes/cc-awk.el (c-forward-sws): Declare.
2056 2013-09-04 Glenn Morris <rgm@gnu.org>
2058 * generic-x.el [rul-generic-mode]: Require cc-mode.
2059 (c++-mode-syntax-table): Declare.
2060 (rul-generic-mode-syntax-table): Init in the defvar.
2062 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2064 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2065 (vc-do-command, vc-set-async-update):
2066 * vc/vc-mtn.el (vc-mtn-dir-status):
2067 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2068 (vc-hg-pull, vc-hg-merge-branch):
2069 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2070 (vc-git-merge-branch):
2071 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2072 (vc-cvs-dir-status-files):
2073 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2074 (vc-bzr-dir-status-files):
2075 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2076 * vc/vc-annotate.el: Use lexical-binding.
2077 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2078 (vc-sentinel-movepoint): Declare.
2079 (vc-annotate): Don't use `goto-line'.
2080 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2081 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2082 (vc-sentinel-movepoint): Declare.
2083 * vc/vc-svn.el: Use lexical-binding.
2084 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2086 * vc/vc-rcs.el: Use lexical-binding.
2088 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2089 `deleted'. Don't drop errors silently.
2091 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2093 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2095 * vc/vc.el (vc-ignore): Rewrite.
2096 (vc-default-ignore): New function.
2097 (vc-default-ignore-completion-table): Use find-ignore-file.
2099 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2100 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2101 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2102 Remove. Most code moved to vc.el.
2104 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2106 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2107 * net/tramp-smb.el (tramp-smb-get-file-entries):
2108 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2109 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2111 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2113 (eww-change-select): Remove unused var `properties'.
2114 (eww-make-unique-file-name): Remove unused var `base'.
2116 * finder.el (finder-compile-keywords): Don't mess with windows.
2118 * calculator.el (calculator-funcall): Fix typo in last change.
2120 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2122 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2123 <pkg>-autoloads.el file stop us.
2125 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2126 warnings, and factor out common code.
2128 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2130 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2131 two-character operators and whether the character preceding them
2132 changes their meaning (Bug#15208).
2134 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2136 Format code sent to Python shell for robustness.
2137 * progmodes/python.el (python-shell-buffer-substring):
2139 (python-shell-send-region, python-shell-send-buffer): Use it.
2141 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
2143 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2144 * net/tramp.el (tramp-user-error): ... here.
2145 (tramp-find-method, tramp-check-proper-host)
2146 (tramp-dissect-file-name, tramp-debug-message)
2147 (tramp-handle-shell-command):
2148 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2149 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2151 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2153 2013-09-02 Martin Rudalics <rudalics@gmx.at>
2155 * avoid.el (mouse-avoidance-point-position)
2156 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2159 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2161 * progmodes/python.el (python-shell-completion-get-completions):
2162 Drop use of deleted `comint-last-prompt-overlay'.
2163 (python-nav-if-name-main): New command.
2165 2013-09-01 Glenn Morris <rgm@gnu.org>
2167 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2168 Avoid leading space in $wins. Otherwise the sed command used by
2169 eg compile-main ends up containing "/*.el". (Bug#15170)
2171 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2173 2013-08-30 Glenn Morris <rgm@gnu.org>
2175 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2176 Fix is-this-a-directory logic. (Bug#15220)
2178 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2180 * textmodes/css-mode.el: Use SMIE.
2181 (css-smie-grammar): New var.
2182 (css-smie--forward-token, css-smie--backward-token)
2183 (css-smie-rules): New functions.
2184 (css-mode): Use them.
2185 (css-navigation-syntax-table): Remove var.
2186 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2187 (css-indent-calculate, css-indent-line): Remove functions.
2189 Misc changes to reduce use of `(lambda...); and other cleanups.
2190 * cus-edit.el: Use lexical-binding.
2191 (customize-push-and-save, customize-apropos)
2192 (custom-buffer-create-internal): Use closures.
2193 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2194 * progmodes/ada-xref.el: Use setq.
2195 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2196 * dframe.el: Use lexical-binding.
2197 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2198 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2199 * descr-text.el: Use lexical-binding.
2200 (describe-text-widget, describe-text-sexp, describe-property-list):
2202 * comint.el (comint-history-isearch-push-state): Use a closure.
2203 * calculator.el: Use lexical-binding.
2204 (calculator-number-to-string): Make it work with lexical-binding.
2205 (calculator-funcall): Same and use cl-letf.
2207 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2208 (lisp--company-doc-string, lisp--company-location): New functions.
2209 (lisp-completion-at-point): Use them to improve Company support.
2211 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2212 params of lambda expressions.
2213 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2214 (ruby-smie--opening-pipe-p): New function.
2215 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2216 symbols and matched |...| for formal params.
2217 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2218 from being treated as hanging. Handle "rescue".
2220 2013-08-29 Glenn Morris <rgm@gnu.org>
2222 * progmodes/cc-engine.el (c-pull-open-brace):
2223 Move definition before use.
2225 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2227 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2228 are immutable. Don't use `unsafe' any more.
2229 (cl--defsubst-expand): Don't substitute at the same time as keeping
2230 a residual unused let-binding. Don't use `unsafe' any more.
2232 2013-08-29 Glenn Morris <rgm@gnu.org>
2234 * calendar/cal-china.el (calendar-chinese-year-cache):
2237 * nxml/nxml-util.el (nxml-debug-clear-inside):
2238 Use cl-loop rather than loop.
2240 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2242 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2244 2013-08-28 Glenn Morris <rgm@gnu.org>
2246 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2248 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2250 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2252 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2254 * simple.el (repeat-complex-command--called-interactively-skip):
2256 (repeat-complex-command): Use it (bug#14136).
2258 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2259 (c-define-abbrev-table): Add `doc' argument.
2260 (c-mode-abbrev-table, c++-mode-abbrev-table)
2261 (objc-mode-abbrev-table, java-mode-abbrev-table)
2262 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2263 (awk-mode-abbrev-table): Use it.
2264 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2265 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2266 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2267 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2268 Move initialization into the declaration; and remove any
2271 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2272 and dynamic let binding.
2274 * vc/smerge-mode.el: Remove redundant :group args.
2276 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2279 2013-08-28 Juri Linkov <juri@jurta.org>
2281 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2282 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2283 (isearch-other-meta-char): Handle an undefined shifted printing
2284 character by downshifting it. (Bug#15200)
2286 2013-08-28 Juri Linkov <juri@jurta.org>
2288 * isearch.el (isearch-search): Change regexp error message for
2289 non-regexp searches. (Bug#15166)
2291 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2293 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2294 for portability to hosts where /bin/sh has problems.
2296 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2298 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2300 2013-08-27 Juri Linkov <juri@jurta.org>
2302 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2303 in the keyboard macro. (Bug#15126)
2305 2013-08-27 Juri Linkov <juri@jurta.org>
2307 * isearch.el (isearch-quote-char): Comment out converting unibyte
2308 to multibyte, thus syncing with its `quoted-insert' counterpart.
2311 2013-08-27 Martin Rudalics <rudalics@gmx.at>
2313 * window.el (display-buffer-use-some-window): Add missing
2314 argument in call of get-largest-window (Bug#15185).
2315 Reported by Stephen Leake.
2317 2013-08-27 Glenn Morris <rgm@gnu.org>
2319 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2321 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2323 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2324 from a matcher-function unless there's no more matches (bug#15161).
2326 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2328 * minibuffer.el: Revert change from 2013-08-20.
2330 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2331 with text property `tramp-default', if appropriate.
2332 (tramp-check-proper-host): New defun.
2333 (tramp-dissect-file-name): Do not check hostname. Revert change
2335 (tramp-backtrace): Make VEC-OR-PROC optional.
2337 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2338 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2339 * net/tramp-sh.el (tramp-maybe-open-connection):
2340 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2341 Apply `tramp-check-proper-host'.
2343 2013-08-26 Tassilo Horn <tsdh@gnu.org>
2345 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2346 lambda expression in order to have `describe-variable' display it.
2348 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2350 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2351 BUF can be optional. (Bug#15186)
2353 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2355 * progmodes/flymake.el (flymake-get-real-file-name-function):
2356 Fix broken customization. (Bug#15184)
2358 2013-08-25 Alan Mackenzie <acm@muc.de>
2360 Improve indentation of bracelists defined by macros (without "=").
2362 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2363 expansion begins with "{", regard it as bracelist when it doesn't
2366 Parse C++ inher-intro when there's a template split over 2 lines.
2368 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2369 rigorously the search for "class" etc. followed by ":".
2371 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2372 random languages a regexp which never matches rather than nil.
2374 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2376 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2377 (c-awk-regexp-one-line-possibly-open-char-list-re)
2378 (c-awk-one-line-possibly-open-regexp-re)
2379 (c-awk-one-line-non-syn-ws*-re): Remove.
2380 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2381 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2382 (c-awk-space*-unclosed-regexp-/-re): New constants.
2383 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2384 aren't regexp delimiters.
2386 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2387 handling for a rare situation in AWK Mode involving unterminated
2390 2013-08-23 Glenn Morris <rgm@gnu.org>
2392 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2394 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2396 * files.el (create-file-buffer): If the result would begin with
2397 spaces, prepend a "|" instead of removing them. (Bug#15162)
2399 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2401 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2402 text-properties (bug#15155).
2404 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2406 (calc-keypad-redraw): Remove unused var `pad'.
2407 (calc-keypad-press): Remove unused var `menu'.
2409 2013-08-23 Martin Rudalics <rudalics@gmx.at>
2411 * window.el (display-buffer-pop-up-frame):
2412 Call pop-up-frame-function with BUFFER current so `make-frame' will
2413 use it as the new frame's buffer (Bug#15133).
2415 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2417 * calendar/timeclock.el: Minor cleanups.
2418 (timeclock-ask-before-exiting, timeclock-use-display-time):
2420 (timeclock-modeline-display): Define as alias before the
2422 (timeclock-mode-line-display): Use define-minor-mode.
2423 (timeclock-day-list-template): Make it a function, add an argument.
2424 (timeclock-day-list-required, timeclock-day-list-length)
2425 (timeclock-day-list-debt, timeclock-day-list-span)
2426 (timeclock-day-list-break): Adjust calls accordingly.
2428 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2430 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2431 Use read--expression so that completion works again.
2433 2013-08-21 Sam Steingold <sds@gnu.org>
2435 Add rudimentary inferior shell interaction
2436 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2437 (sh-set-shell): Reset it.
2438 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2439 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
2441 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2443 * align.el: Use lexical-binding.
2444 (align-region): Simplify accordingly.
2446 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
2448 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2450 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2453 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
2457 * net/tramp-cmds.el:
2459 * net/tramp-gvfs.el:
2461 * net/tramp-sh.el: Don't wrap external variable declarations by
2462 `eval-when-compile'.
2464 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2466 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2467 now that Emacs supports ImageMagick animations.
2469 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
2471 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2472 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2474 2013-08-16 Martin Rudalics <rudalics@gmx.at>
2476 * window.el (mouse-autoselect-window-select): Do autoselect when
2477 mouse pointer is on margin.
2479 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2481 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2483 2013-08-16 Glenn Morris <rgm@gnu.org>
2485 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2486 Handle "Remote Directory" response of some clients. (Bug#15058)
2488 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2489 Tweak warning. (Bug#14926)
2491 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2492 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2494 * image-mode.el (image-mode-map): Add menu items to reverse,
2495 increase, decrease, reset animation speed.
2496 (image--set-speed, image-increase-speed, image-decrease-speed)
2497 (image-reverse-speed, image-reset-speed): New functions.
2498 (image-mode-map): Add bindings for speed commands.
2500 * image.el (image-animate-get-speed, image-animate-set-speed):
2502 (image-animate-timeout): Respect image :speed property.
2504 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2506 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2507 previous line (bug#15101).
2508 (debugger-eval-expression, debugger-record-expression):
2509 Use read--expression (bug#15102).
2511 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
2513 Remove byte compiler warnings, visible when compiling with
2514 `byte-compile-force-lexical-warnings' set to t.
2516 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2517 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2518 (tramp-handle-unhandled-file-name-directory)
2519 (tramp-handle-file-notify-add-watch, tramp-action-login)
2520 (tramp-action-succeed, tramp-action-permission-denied)
2521 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2524 * net/tramp-adb.el (tramp-adb-parse-device-names)
2525 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2526 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2527 (tramp-adb-handle-file-truename): Remove unused arguments.
2529 * net/tramp-cache.el (tramp-flush-directory-property)
2530 (tramp-flush-connection-property, tramp-list-connections)
2531 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2533 * net/tramp-compat.el (tramp-compat-make-temp-file):
2534 Rename FILENAME to F.
2536 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2537 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2538 (tramp-zeroconf-parse-workstation-device-names)
2539 (tramp-zeroconf-parse-webdav-device-names)
2540 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2542 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2543 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2545 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2547 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2548 (tramp-sh-handle-insert-file-contents-literally)
2549 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2551 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2552 Remove unused variables.
2554 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2555 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2556 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2558 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2559 Make them a defconst.
2560 (tramp-uuencode-region): Remove unused variable.
2562 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2564 * frameset.el (frameset--prop-setter): New function.
2565 (frameset-prop): Add gv-setter declaration.
2566 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2567 parameter was already set in FILTERED. Doc fix.
2568 (frameset--record-minibuffer-relationships): Allow saving a
2569 minibufferless frame without its corresponding minibuffer frame.
2570 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2571 frame, if the frame id matches.
2572 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2573 frames before orphaned ones.
2574 (frameset-restore): Warn about orphaned windows, instead of error out.
2576 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2578 * window.el (window-make-atom): Don't overwrite parameter
2580 (display-buffer-in-atom-window): Handle special case where we
2581 split an already atomic window.
2582 (window--major-non-side-window, display-buffer-in-side-window)
2583 (window--side-check): Ignore minibuffer window when walking
2585 (window-deletable-p): Return 'frame only if no other frame uses
2586 our minibuffer window.
2587 (record-window-buffer): Run buffer-list-update-hook.
2588 (split-window): Make sure window--check-frame won't destroy an
2589 existing atomic window in case the new window gets nested
2591 (display-buffer-at-bottom): Ignore minibuffer window when
2592 walking window tree. Don't split a side window.
2593 (pop-to-buffer): Don't set-buffer here, the select-window call
2595 (mouse-autoselect-window-select): Autoselect only if we are in the
2596 text portion of the window.
2598 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2600 * net/shr.el (shr-parse-image-data): New function to grab both the
2601 data itself and the Content-Type.
2602 (shr-put-image): Use it.
2604 * net/eww.el (eww-display-image): Ditto.
2606 * image.el (image-content-type-suffixes): New variable.
2608 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2610 * progmodes/python.el (python-imenu--build-tree)
2611 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2613 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2615 * simple.el (backward-word): Mention the optional argument.
2617 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2619 * frameset.el (frameset--make): Rename constructor from make-frameset.
2620 (frameset-p, frameset-valid-p): Don't autoload.
2621 (frameset-valid-p): Use normal accessors.
2623 2013-08-13 Glenn Morris <rgm@gnu.org>
2625 * progmodes/compile.el (compile-command): Tweak example in doc.
2626 * obsolete/scribe.el (scribe-mode):
2627 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2629 * mail/feedmail.el (feedmail-confirm-outgoing)
2630 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2632 * cus-start.el (truncate-partial-width-windows): Fix type.
2634 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2636 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2638 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2640 * emacs-lisp/timer.el (timer--time-setter): New function.
2641 (timer--time): Use it as gv-setter.
2643 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2644 setter is not a symbol.
2646 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2648 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2649 if sending fails. This makes debugging easier.
2651 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2653 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2654 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2655 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2657 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2659 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2661 2013-08-12 Glenn Morris <rgm@gnu.org>
2663 * format.el (format-annotate-function):
2664 Handle read-only text properties in the source. (Bug#14887)
2666 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2668 * net/eww.el (eww-display-html): Ignore coding system errors.
2669 One web site uses "utf-8lias" as the coding system.
2671 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2673 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2675 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2677 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2678 (tutorial--detailed-help): Remove unused local variables.
2679 (tutorial--save-tutorial-to): Use ignore-errors.
2680 (help-with-tutorial): Use looking-at-p.
2682 * view.el (view-buffer-other-window, view-buffer-other-frame):
2683 Mark unused arguments.
2685 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2686 (woman-select-symbol-fonts, woman, woman-find-file)
2687 (woman-insert-file-contents, woman-non-underline-faces):
2689 (woman1-unquote): Move declaration.
2691 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2692 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2693 argument. Remove unused local variable.
2694 (xml-parse-elem-type): Use string-match-p.
2695 (xml-substitute-numeric-entities): Use ignore-errors.
2697 * calculator.el (calculator): Mark unused argument.
2698 (calculator-paste, calculator-quit, calculator-integer-p):
2700 (calculator-string-to-number, calculator-decimal, calculator-exp)
2701 (calculator-op-or-exp): Use string-match-p.
2703 * dired.el (dired-buffer-more-recently-used-p): Declare.
2704 (dired-insert-set-properties, dired-insert-old-subdirs):
2707 * dired-aux.el (dired-compress): Use ignore-errors.
2708 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2709 (dired-do-async-shell-command, dired-do-shell-command)
2710 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2711 (dired-insert-subdir-validate): Use string-match-p.
2712 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2713 (dired-add-entry): Use string-match-p, looking-at-p.
2714 (dired-insert-subdir-newpos): Remove unused local variable.
2716 * filenotify.el (file-notify-callback): Remove unused local variable.
2718 * filesets.el (filesets-error): Mark unused argument.
2719 (filesets-which-command-p, filesets-filter-dir-names)
2720 (filesets-directory-files, filesets-get-external-viewer)
2721 (filesets-ingroup-get-data): Use string-match-p.
2723 * find-file.el (ff-other-file-name, ff-other-file-name)
2724 (ff-find-the-other-file, ff-cc-hh-converter):
2725 Remove unused local variables.
2726 (ff-get-file-name): Use string-match-p.
2727 (ff-all-dirs-under): Use ignore-errors.
2729 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2730 (follow-select-if-visible): Remove unused local variable.
2732 * forms.el (read-file-filter): Move declaration.
2733 (forms--make-format, forms--make-parser, forms-insert-record):
2734 Quote function with #'.
2735 (forms--update): Use string-match-p. Quote function with #'.
2737 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2738 (help-make-xrefs): Use looking-at-p.
2739 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2741 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2742 (ibuffer-confirm-operation-on): Use string-match-p.
2744 * msb.el (msb-item-handler, msb-dired-item-handler):
2745 Mark unused arguments.
2747 * ses.el (ses-decode-cell-symbol)
2748 (ses-kill-override): Remove unused local variable.
2749 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2750 (ses-load): Use ignore-errors, looking-at-p.
2751 (ses-jump-safe): Use ignore-errors.
2752 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2754 * tabify.el (untabify, tabify): Mark unused arguments.
2756 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2757 Mark unused argument.
2758 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2759 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2761 * emacs-lisp/timer.el (timer--time): Define setter with
2762 gv-define-setter to avoid deprecation warning.
2764 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2765 (*record-cmpl-statistics-p*): Remove (was commented out).
2766 (cmpl-statistics-block): Remove (body was commented out).
2767 All callers changed.
2768 (add-completions-from-buffer, load-completions-from-file):
2769 Remove unused variables.
2771 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2773 * filecache.el (file-cache-delete-file-list):
2774 Print message only when told so.
2775 (file-cache-files-matching): Use #' in mapconcat argument.
2777 * ffap.el (ffap-url-at-point): Fix reference to variable
2778 thing-at-point-default-mail-uri-scheme.
2780 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2782 * subr.el (define-error): New function.
2783 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2784 error-file-not-found and define with define-error.
2785 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2786 and define with define-error.
2787 * userlock.el (file-locked, file-supersession):
2788 * simple.el (mark-inactive):
2789 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2790 * progmodes/ada-mode.el (ada-mode-errors):
2791 * play/life.el (life-extinct):
2792 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2793 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2794 * nxml/rng-util.el (rng-error):
2795 * nxml/rng-uri.el (rng-uri-error):
2796 * nxml/rng-match.el (rng-compile-error):
2797 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2798 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2799 * nxml/nxml-rap.el (nxml-scan-error):
2800 * nxml/nxml-outln.el (nxml-outline-error):
2801 * net/soap-client.el (soap-error):
2802 * net/gnutls.el (gnutls-error):
2803 * net/ange-ftp.el (ftp-error):
2804 * mpc.el (mpc-proc-error):
2805 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2806 (json-number-format, json-string-escape, json-string-format)
2807 (json-key-format, json-object-format):
2808 * jka-compr.el (compression-error):
2809 * international/quail.el (quail-error):
2810 * international/kkc.el (kkc-error):
2811 * emacs-lisp/ert.el (ert-test-failed):
2812 * calc/calc.el (calc-error, inexact-result, math-overflow)
2814 * bookmark.el (bookmark-error-no-filename):
2815 * epg.el (epg-error): Define with define-error.
2817 * time.el (display-time-event-handler)
2818 (display-time-next-load-average): Don't call sit-for since it seems
2819 unnecessary (bug#15045).
2821 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2822 Use #' instead of ' to quote functions.
2823 (checkdoc-output-mode): Use setq-local.
2824 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2825 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2826 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2827 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2828 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2829 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2830 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2831 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2833 * ido.el (ido-completion-help): Fix up compiler warning.
2835 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2837 * frameset.el (frameset-p): Add autoload cookie.
2838 (frameset--jump-to-register): New function, based on code moved from
2840 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2842 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2843 (frameset-restore, frameset-save, frameset-session-filter-alist):
2844 Remove declarations.
2845 (register-alist): Doc fix.
2846 (frameset-to-register): Move to frameset.el.
2847 (jump-to-register, describe-register-1): Remove frameset-specific code.
2849 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2851 * allout-widgets.el (allout-widgets-pre-command-business)
2852 (allout-widgets-post-command-business)
2853 (allout-widgets-after-change-handler)
2854 (allout-decorate-item-and-context, allout-set-boundary-marker)
2855 (allout-body-modification-handler)
2856 (allout-graphics-modification-handler): Mark ignored arguments.
2857 (allout-widgets-post-command-business)
2858 (allout-widgets-exposure-change-processor)
2859 (allout-widgets-exposure-undo-processor)
2860 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2861 (allout-parse-item-at-point, allout-decorate-item-guides)
2862 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2863 * allout.el (epa-passphrase-callback-function): Declare.
2864 (allout-overlay-insert-in-front-handler)
2865 (allout-overlay-interior-modification-handler)
2866 (allout-isearch-end-handler, allout-chart-siblings)
2867 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2868 (allout-yank-processing, allout-process-exposed)
2869 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
2870 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
2871 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2872 (lisp-indent-defform): Mark ignored arguments.
2873 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2874 (calculate-lisp-indent): Remove unused variables.
2875 * international/characters.el (indian-2-column, arabic-2-column)
2876 (tibetan): Mark ignored arguments.
2877 (use-cjk-char-width-table): Mark ignored arguments.
2878 Remove unused variables.
2879 * international/fontset.el (build-default-fontset-data)
2880 (x-compose-font-name, create-fontset-from-fontset-spec):
2881 Mark ignored arguments.
2882 (fontset-plain-name): Remove unused variables.
2883 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2884 (keyboard-coding-system): Mark ignored arguments.
2885 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2886 * help.el (resize-temp-buffer-window):
2887 * window.el (display-buffer-in-major-side-window)
2888 (display-buffer-in-side-window, display-buffer-in-previous-window):
2889 Remove unused variables.
2890 * isearch.el (isearch-forward-symbol):
2891 * version.el (emacs-bzr-version-bzr):
2892 * international/mule-cmds.el (current-language-environment):
2893 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2895 * term/pc-win.el (x-list-fonts, x-display-planes)
2896 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2897 (x-server-version, x-display-screens, x-display-mm-height)
2898 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2899 (x-selection-owner-p, x-own-selection-internal)
2900 (x-disown-selection-internal, x-get-selection-internal)
2901 (msdos-initialize-window-system):
2902 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2903 * term/x-win.el (x-handle-no-bitmap-icon):
2904 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2905 (vc-default-find-file-hook, vc-default-extra-menu):
2906 Mark ignored arguments.
2908 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2910 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2911 break-condition in the context of the debugged code (bug#12685).
2913 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2916 Do not use an overlay to highlight the last prompt. (Bug#14744)
2917 (comint-mode): Make comint-last-prompt buffer local.
2918 (comint-last-prompt): New variable.
2919 (comint-last-prompt-overlay): Remove. Superseded by
2921 (comint-snapshot-last-prompt, comint-output-filter):
2922 Use comint-last-prompt.
2924 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2926 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
2927 (frameset-save): Check validity of the resulting frameset.
2929 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2931 * ido.el (ido-record-command): Add doc string.
2933 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2935 * frameset.el (frameset): Do not disable creation of the default
2936 frameset-p predicate. Doc fix.
2937 (frameset-valid-p): New function, copied from the old predicate-p.
2938 Add additional checks.
2939 (frameset-restore): Check with frameset-valid-p.
2940 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2941 (frameset-name, frameset-description, frameset-properties)
2942 (frameset-states): Add docstring.
2943 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2944 (frameset-filter-alist): Doc fixes.
2946 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2948 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2950 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2952 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2953 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2954 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2955 (byte-compile-normal-call): Remove obsolescence check.
2957 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2959 * frameset.el (frameset-restore): Doc fix.
2961 * register.el (frameset-frame-id, frameset-frame-with-id)
2962 (frameset-p, frameset-restore, frameset-save): Declare.
2963 (register-alist): Document framesets.
2964 (frameset-session-filter-alist): Declare.
2965 (frameset-to-register): New function.
2966 (jump-to-register): Implement jumping to framesets. Doc fix.
2967 (describe-register-1): Describe framesets.
2969 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2971 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
2973 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2974 Use lexical-binding.
2976 * frameset.el (frameset): Use type vector, not list (incompatible
2977 change). Do not declare a new constructor, use the default one.
2978 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2979 `name' and `description', respectively, and add read-only slot
2980 `timestamp'. Doc fixes.
2981 (frameset-copy, frameset-persistent-filter-alist)
2982 (frameset-filter-alist, frameset-switch-to-gui-p)
2983 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2984 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2985 (frameset-filter-iconified, frameset-keep-original-display-p):
2987 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2988 Rename from frameset-filter-(save|restore)-param. All callers changed.
2990 (frameset-p): Adapt to change to vector and be more thorough.
2991 Change arg name to OBJECT. Doc fix.
2992 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2993 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2994 All callers changed.
2995 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2996 All callers changed.
2997 (frameset--record-minibuffer-relationships): Rename from
2998 frameset--process-minibuffer-frames. All callers changed.
2999 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3000 Use new default constructor (again). Doc fix.
3001 (frameset--find-frame-if): Rename from `frameset--find-frame.
3002 All callers changed.
3003 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3004 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3006 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3007 PARAMETERS and WINDOW-STATE, respectively.
3008 (frameset-restore): Add new keyword argument PREDICATE.
3009 Reset frameset--target-display to nil. Doc fix.
3011 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3013 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3015 (bat-mode-syntax-table): Mark \n as end-of-comment.
3016 (bat-font-lock-keywords): Remove comment rule.
3018 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3019 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3021 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3022 (byte-compile-callargs-warn): Use `push'.
3023 (byte-compile-arglist-warn): Ignore higher-order "calls".
3024 (byte-compile-file-form-autoload): Use `pcase'.
3025 (byte-compile-function-form): If quoting a symbol, check that it exists.
3027 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3029 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3030 and add a few popular commands found in batch files.
3031 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3032 (dos-mode): Doc fixes.
3034 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3036 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3037 (dos-mode): Use setq-local. Add space after "rem".
3038 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3039 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3041 2013-08-07 Arni Magnusson <arnima@hafro.is>
3043 * progmodes/dos.el: New file.
3044 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3047 2013-08-06 Glenn Morris <rgm@gnu.org>
3049 * calendar/calendar.el: Add new faces, and day-header-array.
3050 (calendar-weekday-header, calendar-weekend-header)
3051 (calendar-month-header): New faces.
3052 (calendar-day-header-construct): New function.
3053 (calendar-day-header-width): Also :set calendar-day-header-array.
3054 (calendar-american-month-header, calendar-european-month-header)
3055 (calendar-iso-month-header): Use calendar- faces.
3056 (calendar-generate-month):
3057 Use calendar-day-header-array for day headers; apply faces to them.
3058 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3059 (calendar-abbrev-construct): Add optional maxlen argument.
3060 (calendar-day-name-array): Doc fix.
3061 (calendar-day-name-array, calendar-abbrev-length)
3062 (calendar-day-abbrev-array):
3063 Also :set calendar-day-header-array, and maybe redraw.
3064 (calendar-day-header-array): New option. (Bug#15007)
3065 (calendar-font-lock-keywords): Set to nil and make obsolete.
3066 (calendar-day-name): Add option to use header array.
3068 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3070 * net/shr.el (shr-render-td): Remove debugging.
3071 (shr-render-td): Make width computation consistent by defaulting
3072 all zero-width columns to 10 characters. This may not be optimal,
3073 but it's at least consistent.
3074 (shr-make-table-1): Redo last change to fix the real problem in
3077 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3079 * files.el (cache-long-line-scans):
3080 Make obsolete alias to `cache-long-scans'.
3082 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3084 * frameset.el (frameset, frameset-filter-alist)
3085 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3086 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3087 (frameset-compute-pos): Rename from frameset--compute-pos,
3089 (frameset-move-onscreen): Use frameset-compute-pos.
3090 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3092 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3093 Fix typos in docstrings.
3095 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3097 * frame.el (get-other-frame): Tiny cleanup.
3099 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3101 * vc/vc.el (vc-default-ignore-completion-table):
3102 Silence byte-compiler warning.
3104 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3105 slot , which can indeed be nil.
3106 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3107 Move entry for `left' from persistent to live filter alist.
3108 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3110 (frameset-filter-params): When restoring a frame, copy items added to
3111 `filtered', to avoid unwittingly modifying the original parameters.
3112 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3113 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3115 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3116 to use looking-at-p instead of looking-at. (Bug#15028)
3118 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3120 Revert introduction of isearch-filter-predicates (bug#14714).
3121 Rely on add-function instead.
3122 * isearch.el (isearch-filter-predicates): Rename it back to
3123 isearch-filter-predicate.
3124 (isearch-message-prefix): Use advice-function-mapc and advice
3125 properties to get the isearch-message-prefix.
3126 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3127 instead of run-hook-with-args-until-failure.
3128 (isearch-filter-visible): Not obsolete any more.
3129 * loadup.el: Preload nadvice.
3130 * replace.el (perform-replace): Revert to funcall
3131 instead of run-hook-with-args-until-failure.
3132 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3133 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3134 dired-isearch-filenames-toggle; make it into a proper minor mode.
3135 Use add/remove-function.
3136 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3137 Call the minor-mode rather than add/remove-hook.
3138 (dired-isearch-filter-filenames):
3139 Remove isearch-message-prefix property.
3140 * info.el (Info--search-loop): New function, extracted from Info-search.
3141 Funcall isearch-filter-predicate instead of
3142 run-hook-with-args-until-failure isearch-filter-predicates.
3143 (Info-search): Use it.
3144 (Info-mode): Use isearch-filter-predicate instead of
3145 isearch-filter-predicates.
3147 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3149 Do not call to `selected-window' where it is assumed by default.
3150 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3151 `window-hscroll', `window-width', `window-height', `window-buffer',
3152 `window-frame', `window-start', `window-point', `next-window'
3153 and `window-display-table'.
3154 * abbrev.el (abbrev--default-expand):
3155 * bs.el (bs--show-with-configuration):
3156 * buff-menu.el (Buffer-menu-mouse-select):
3157 * calc/calc.el (calc):
3158 * calendar/calendar.el (calendar-generate-window):
3159 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3161 * comint.el (send-invisible, comint-dynamic-complete-filename)
3162 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3163 * completion.el (complete):
3164 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3165 * disp-table.el (describe-current-display-table):
3166 * doc-view.el (doc-view-insert-image):
3167 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3168 * ehelp.el (with-electric-help):
3169 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3170 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3171 * emacs-lisp/helper.el (Helper-help-scroller):
3172 * emulation/cua-base.el (cua--post-command-handler-1):
3173 * eshell/esh-mode.el (eshell-output-filter):
3174 * ffap.el (ffap-gnus-wrapper):
3175 * help-macro.el (make-help-screen):
3176 * hilit-chg.el (highlight-compare-buffers):
3177 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3178 * hl-line.el (global-hl-line-highlight):
3179 * icomplete.el (icomplete-simple-completing-p):
3180 * isearch.el (isearch-done):
3181 * jit-lock.el (jit-lock-stealth-fontify):
3182 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3183 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3184 * mpc.el (mpc-tagbrowser, mpc):
3185 * net/rcirc.el (rcirc-any-buffer):
3186 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3187 * play/landmark.el (landmark-max-width, landmark-max-height):
3188 * play/zone.el (zone):
3189 * progmodes/compile.el (compilation-goto-locus):
3190 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3191 * progmodes/etags.el (find-tag-other-window):
3192 * progmodes/fortran.el (fortran-column-ruler):
3193 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3194 * progmodes/verilog-mode.el (verilog-point-text):
3195 * reposition.el (reposition-window):
3196 * rot13.el (toggle-rot13-mode):
3197 * server.el (server-switch-buffer):
3198 * shell.el (shell-dynamic-complete-command)
3199 (shell-dynamic-complete-environment-variable):
3200 * simple.el (insert-buffer, set-selective-display)
3201 (delete-completion-window):
3202 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3203 (speedbar-recenter):
3204 * startup.el (fancy-splash-head):
3205 * textmodes/ispell.el (ispell-command-loop):
3206 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3207 * tutorial.el (help-with-tutorial):
3208 * vc/add-log.el (add-change-log-entry):
3209 * vc/compare-w.el (compare-windows):
3210 * vc/ediff-help.el (ediff-indent-help-message):
3211 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3212 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3213 (ediff-setup-control-frame):
3214 * vc/emerge.el (emerge-position-region):
3215 * vc/pcvs-util.el (cvs-bury-buffer):
3216 * window.el (walk-windows, mouse-autoselect-window-select):
3217 * winner.el (winner-set-conf, winner-undo): Related users changed.
3219 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3221 * frameset.el (frameset--set-id): Doc fix.
3222 (frameset-frame-id, frameset-frame-id-equal-p)
3223 (frameset-locate-frame-id): New functions.
3224 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3225 (frameset-restore): Use them.
3227 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3229 Do not call to `selected-frame' where it is assumed by default.
3230 Affected functions are `raise-frame', `redraw-frame',
3231 `frame-first-window', `frame-terminal' and `delete-frame'.
3232 * calendar/appt.el (appt-disp-window):
3233 * epg.el (epg-wait-for-completion):
3234 * follow.el (follow-delete-other-windows-and-split)
3235 (follow-avoid-tail-recenter):
3236 * international/mule.el (set-terminal-coding-system):
3237 * mail/rmail.el (rmail-mail-return):
3238 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3239 * progmodes/f90.el (f90-add-imenu-menu):
3240 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3241 * server.el (server-switch-buffer):
3242 * simple.el (delete-completion-window):
3244 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3245 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3246 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3247 * vc/ediff.el (ediff-documentation): Related users changed.
3248 * frame.el (selected-terminal): Remove the leftover.
3250 2013-08-05 Glenn Morris <rgm@gnu.org>
3252 * calendar/calendar.el (calendar-generate-month):
3253 Fix for calendar-column-width != 1 + calendar-day-digit-width.
3254 (calendar-generate-month, calendar-font-lock-keywords):
3255 Fix for calendar-day-header-width > length of any day name.
3257 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3259 * desktop.el (desktop-clear): Use new name of sort predicate.
3261 * frameset.el (frameset): Add docstring. Move :version property to its
3263 (frameset-copy): Rename from copy-frameset.
3264 (frameset-p): Check more thoroughly.
3265 (frameset-prop): Do not check for :version, which is no longer a prop.
3266 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3267 Use new :never value instead of t.
3268 (frameset-filter-alist): Expand and clarify docstring.
3269 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3270 (frameset-filter-minibuffer, frameset-filter-save-param)
3271 (frameset-filter-restore-param, frameset-filter-iconified):
3272 Add pointer to docstring of frameset-filter-alist.
3273 (frameset-filter-params): Rename filter values to be more meaningful:
3274 :never instead of t, and reverse the meanings of :save and :restore.
3275 (frameset--process-minibuffer-frames): Clarify error message.
3276 (frameset-save): Avoid unnecessary and confusing call to framep.
3277 Use new BOA constructor for framesets.
3278 (frameset--reuse-list): Doc fix.
3279 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3280 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3281 (frameset-minibufferless-first-p): Doc fix.
3282 Rename from frameset-sort-frames-for-deletion.
3283 (frameset-restore): Doc fixes. Use new function names.
3284 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3286 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3288 * desktop.el (desktop-restore-forces-onscreen)
3289 (desktop-restore-reuses-frames): Document :keyword constant values.
3290 (desktop-filter-parameters-alist): Remove, now identical to
3291 frameset-filter-alist.
3292 (desktop--filter-tty*): Remove, moved to frameset.el.
3293 (desktop-save-frameset, desktop-restore-frameset):
3294 Do not pass :filters argument.
3296 * frameset.el (frameset-live-filter-alist)
3297 (frameset-persistent-filter-alist): New variables.
3298 (frameset-filter-alist): Use them. Add autoload cookie.
3299 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3300 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3301 `frameset--id' (it's supposed to be internal to frameset.el).
3302 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3303 (frameset--initial-params): New function.
3304 (frameset--get-frame): Use it. Doc fix.
3305 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3306 Accept :all, not 'all.
3307 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3308 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3309 with fbound symbols. Fix frame id matching, and remove matching ids if
3310 the frame being restored is deleted. Obey :delete.
3312 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3314 * subr.el (macrop): New function.
3315 (text-clone--maintaining): New var.
3316 (text-clone--maintain): Rename from text-clone-maintain. Use it
3317 instead of inhibit-modification-hooks.
3319 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3320 a proxy, so as handle autoloads and redefinitions of the target.
3321 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3323 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3324 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3325 (pcase--mutually-exclusive-p): New function.
3326 (pcase--split-consp): Use it.
3327 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3328 mutually exclusive with the current predicate.
3330 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3331 (edebug-macrop): Remove. Use `macrop' instead.
3332 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3334 * eshell/esh-cmd.el (eshell-macrop):
3335 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3337 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3339 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3340 (advice-mapc): New function, using it.
3341 (advice-function-member-p): New function.
3342 (advice--normalize): Store the cdr in advice--saved-rewrite since
3343 that's the part that will be changed.
3344 (advice--symbol-function): New function.
3345 (advice-remove): Handle removal before the function is defined.
3346 Adjust to new advice--saved-rewrite.
3347 (advice-member-p): Use advice-function-member-p and
3348 advice--symbol-function.
3350 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3352 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3353 (frameset-filter-minibuffer): Doc fix.
3354 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
3355 (frameset--set-id, frameset--process-minibuffer-frames)
3356 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3357 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3359 * desktop.el (desktop-clear): Only delete frames when called
3360 interactively and desktop-restore-frames is non-nil. Doc fix.
3361 (desktop-read): Set desktop-saved-frameset to nil.
3363 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3365 * vc/vc.el (vc-ignore): Rewrite.
3366 (vc-default-ignore-completion-table):
3368 (vc--add-line, vc--remove-regexp): New functions.
3370 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3371 (vc-svn-ignore-completion-table): New function.
3373 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3374 (vc-hg-ignore-completion-table):
3375 (vc-hg-find-ignore-file): New functions.
3377 * vc/vc-git.el (vc-git-ignore): Rewrite.
3378 (vc-git-ignore-completion-table):
3379 (vc-git-find-ignore-file): New functions.
3381 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3383 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3384 (vc-bzr-ignore-completion-table):
3385 (vc-bzr-find-ignore-file): New functions.
3387 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
3389 * frameset.el (frameset-prop): New function and setter.
3390 (frameset-save): Do not modify frame list passed by the caller.
3392 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3394 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3396 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3398 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3399 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3401 * custom.el (custom-initialize-default, custom-initialize-set)
3402 (custom-initialize-reset, custom-initialize-changed): Affect the
3403 toplevel-default-value (bug#6275, bug#14586).
3404 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3407 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3409 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3410 Add cl-def* expressions.
3412 * frameset.el (frameset-filter-params): Fix order of arguments.
3414 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3416 Move code related to saving frames to frameset.el.
3417 * desktop.el: Require frameset.
3418 (desktop-restore-frames): Doc fix.
3419 (desktop-restore-reuses-frames): Rename from
3420 desktop-restoring-reuses-frames.
3421 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3422 (desktop-clear): Clear frames too.
3423 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3424 (desktop--filter-tty*, desktop-save, desktop-read):
3425 Use frameset functions.
3426 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3427 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3428 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3429 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3430 (desktop--process-minibuffer-frames, desktop-save-frames)
3431 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3432 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3433 (desktop--sort-states, desktop-restoring-frames-p)
3434 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3435 (desktop-restoring-frameset-p, desktop-restore-frameset)
3436 (desktop--check-dont-save, desktop-save-frameset): New functions.
3437 (desktop--app-id): New constant.
3438 (desktop-first-buffer, desktop-buffer-ok-count)
3439 (desktop-buffer-fail-count): Move before first use.
3440 * frameset.el: New file.
3442 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3444 * files.el: Use lexical-binding.
3445 (dir-locals-read-from-file): Remove unused `err' variable.
3446 (hack-dir-local-variables--warned-coding): New var.
3447 (hack-dir-local-variables): Use it to avoid repeated warnings.
3448 (make-backup-file-name--default-function): New function.
3449 (make-backup-file-name-function): Use it as default.
3450 (buffer-stale--default-function): New function.
3451 (buffer-stale-function): Use it as default.
3452 (revert-buffer-insert-file-contents--default-function): New function.
3453 (revert-buffer-insert-file-contents-function): Use it as default.
3454 (insert-directory): Avoid add-to-list.
3456 * autorevert.el (auto-revert-handler): Simplify.
3457 Use buffer-stale--default-function.
3459 2013-08-01 Tassilo Horn <tsdh@gnu.org>
3461 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3463 * whitespace.el (whitespace-ensure-local-variables): New function.
3464 (whitespace-cleanup-region): Call it.
3465 (whitespace-turn-on): Call it.
3467 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
3469 Complete file name handlers.
3471 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3472 (tramp-handle-verify-visited-file-modtime)
3473 (tramp-handle-file-notify-rm-watch): New functions.
3474 (tramp-call-process): Do not bind `default-directory'.
3476 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3477 Order alphabetically.
3478 [access-file, add-name-to-file, dired-call-process]:
3479 [dired-compress-file, file-acl, file-notify-rm-watch]:
3480 [file-ownership-preserved-p, file-selinux-context]:
3481 [make-directory-internal, make-symbolic-link, set-file-acl]:
3482 [set-file-selinux-context, set-visited-file-modtime]:
3483 [verify-visited-file-modtime]: Add handler.
3484 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3486 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3487 [file-notify-add-watch, file-notify-rm-watch]:
3488 [set-file-times, set-visited-file-modtime]:
3489 [verify-visited-file-modtime]: Add handler.
3490 (with-tramp-gvfs-error-message)
3491 (tramp-gvfs-handle-set-visited-file-modtime)
3492 (tramp-gvfs-fuse-file-name): Remove.
3493 (tramp-gvfs-handle-file-notify-add-watch)
3494 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3495 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3497 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3498 Order alphabetically.
3499 [file-notify-rm-watch ]: Use default Tramp handler.
3500 [executable-find]: Remove private handler.
3501 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3502 `default-directory'.
3503 (tramp-sh-handle-executable-find)
3504 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3505 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3506 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3507 Do not use `format' in `tramp-message'.
3509 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3510 [file-notify-rm-watch, set-visited-file-modtime]:
3511 [verify-visited-file-modtime]: Add handler.
3512 (tramp-smb-call-winexe): Do not bind `default-directory'.
3514 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3516 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3518 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3520 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3522 (log-view-diff-changeset): Same.
3523 (log-view-diff-common): Call backend command `previous-revision'
3524 to find out the previous revision, in both cases. Swap the
3525 variables `to' and `fr', so that `fr' usually refers to the
3526 earlier revision (Bug#14989).
3528 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
3530 * ibuf-ext.el (ibuffer-filter-by-filename):
3531 Make it work with dired buffers too.
3533 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3535 * emacs-lisp/re-builder.el (reb-color-display-p):
3536 * files.el (save-buffers-kill-terminal):
3537 * net/browse-url.el (browse-url):
3538 * server.el (server-save-buffers-kill-terminal):
3539 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3540 Prefer nil to selected-frame for the first arg of frame-parameter.
3542 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3544 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3546 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
3548 * minibuffer.el (completion--twq-all): Try and preserve each
3549 completion's case choice (bug#14907).
3551 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3553 * net/network-stream.el (open-network-stream): Mention the new
3554 :nogreeting parameter.
3555 (network-stream-open-starttls): Use the :nogreeting parameter
3558 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3560 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3561 more natural than popping.
3563 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3564 (shr-urlify): Highlight under mouse.
3566 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3568 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3570 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3572 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3575 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3576 point-min==1. Fix search string. Fix parentheses missing.
3578 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3579 assume point-min==1. Fix search string. Fix parentheses missing.
3581 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3583 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3586 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3588 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3589 initial frame is minibuffer-less. (Bug#14841)
3591 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3593 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3596 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3597 (tramp-maybe-open-connection): Use it.
3599 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3601 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3602 minimal set of parameters passed when creating a frame, because
3603 the minibuffer status of a frame cannot be changed later.
3605 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3607 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3608 replace-regexp-in-string and inadvertent omissions in previous change.
3609 (todo-filter-items): Ensure only file names are comma-separated in
3610 name of filtered items buffer.
3612 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3614 * desktop.el: Optionally force offscreen frames back onscreen.
3615 (desktop-restoring-reuses-frames): New option.
3616 (desktop--compute-pos, desktop--move-onscreen): New functions.
3617 (desktop--make-frame): Use desktop--move-onscreen.
3619 2013-07-27 Alan Mackenzie <acm@muc.de>
3621 Fontify a Java generic method as a function.
3622 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3625 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3627 * calendar/todo-mode.el: Add command to rename todo files.
3628 (todo-rename-file): New command.
3629 (todo-key-bindings-t): Add key binding for it. Change the
3630 bindings of todo-filter-regexp-items(-multifile) to use `x'
3631 instead of `r', since the latter is better suited to the new
3634 2013-07-27 Alan Mackenzie <acm@muc.de>
3636 Make Java try-with-resources statement parse properly.
3637 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3638 (c-block-stmt-1-2-key): New language constants/variables.
3639 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3640 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3641 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3642 with c-block-stmt-1-2-key.
3644 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3646 * desktop.el (desktop--make-frame): Apply most frame parameters after
3647 creating the frame to force (partially or totally) offscreen frames to
3648 be restored as such.
3650 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3652 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3655 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3657 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3658 `base' arg of backtrace-frame.
3660 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3662 * simple.el (list-processes): Doc fix.
3664 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3666 * desktop.el (desktop--select-frame):
3667 Try harder to reuse existing frames.
3669 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3671 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3672 (edebug-eval): Use backtrace-eval.
3673 (edebug--display, edebug--recursive-edit): Don't let-bind the
3674 edebug-outer-* vars that keep track of variables we locally let-bind.
3675 (edebug-outside-excursion): Don't restore outside values of locally
3677 (edebug--display): Use user-error.
3678 (cl-lexical-debug, cl-debug-env): Remove.
3680 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3682 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3683 are restored to be sure that they are visible before deleting any
3686 2013-07-26 Matthias Meulien <orontee@gmail.com>
3688 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3689 vc-print-root-log. (Bug#14948)
3691 2013-07-26 Richard Stallman <rms@gnu.org>
3693 Add aliases for encrypting mail.
3694 * epa.el (epa-mail-aliases): New option.
3695 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3696 Bind inhibit-read-only so read-only text doesn't ruin everything.
3697 (epa-mail-default-recipients): New subroutine broken out.
3698 Handle epa-mail-aliases.
3700 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3702 Add support for lexical variables to the debugger's `e' command.
3703 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3704 vars, except for debugger-outer-match-data.
3705 (debugger-frame-number): Move check for "on a function call" from
3706 callers into it. Add `skip-base' argument.
3707 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3708 (debugger-env-macro): Only reset the state stored in non-variables,
3709 i.e. current-buffer and match-data.
3710 (debugger-eval-expression): Rewrite using backtrace-eval.
3711 * subr.el (internal--called-interactively-p--get-frame): Remove.
3712 (called-interactively-p):
3713 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3714 `base' arg of backtrace-frame instead.
3716 2013-07-26 Glenn Morris <rgm@gnu.org>
3718 * align.el (align-regexp): Doc fix. (Bug#14857)
3719 (align-region): Explicit error if subexpression missing/does not match.
3721 * simple.el (global-visual-line-mode):
3722 Do not duplicate the mode lighter. (Bug#14858)
3724 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3726 * window.el (display-buffer): In display-buffer bind
3727 split-window-keep-point to t, bug#14829.
3729 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3731 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3732 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3733 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3734 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3736 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3737 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3739 2013-07-25 Glenn Morris <rgm@gnu.org>
3741 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3743 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3745 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3746 parameter to modify-frame-parameters if the value has not changed;
3747 this is a workaround for bug#14949.
3748 (desktop--make-frame): On cl-delete-if call, check parameter name,
3751 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3753 * vc/vc.el (vc-ignore): New function.
3755 * vc/vc-svn.el (vc-svn-ignore): New function.
3757 * vc/vc-hg.el (vc-hg-ignore): New function.
3759 * vc/vc-git.el (vc-git-ignore): New function.
3761 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3762 (vc-dir-ignore): New function.
3764 * vc/vc-cvs.el (vc-cvs-ignore): New function.
3765 (cvs-append-to-ignore): Move here from pcvs.el.
3767 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3769 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3771 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
3773 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3774 (desktop-restore-frames): Warn when deleting an existing frame failed.
3776 2013-07-24 Glenn Morris <rgm@gnu.org>
3778 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3780 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
3782 * filenotify.el (file-notify-supported-p):
3783 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3786 * autorevert.el (auto-revert-use-notify):
3787 (auto-revert-notify-add-watch):
3788 * net/tramp.el (tramp-file-name-for-operation):
3789 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3790 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3791 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3792 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3793 Remove `file-notify-supported-p' entry.
3795 2013-07-24 Glenn Morris <rgm@gnu.org>
3797 * printing.el: Replace all uses of deleted ps-windows-system,
3798 ps-lp-system, ps-flatten-list with lpr- versions.
3800 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3802 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3803 checked with memq (bug#14935).
3805 * files.el (revert-buffer-function): Use a non-nil default.
3806 (revert-buffer-preserve-modes): Declare var to
3807 provide access to the `preserve-modes' argument.
3808 (revert-buffer): Let-bind it.
3809 (revert-buffer--default): New function, extracted from revert-buffer.
3811 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3813 * lpr.el: Signal print errors more prominently.
3814 (print-region-function): Don't default to nil.
3815 (lpr-print-region): New function, extracted from print-region-1.
3816 Check lpr's return value and signal an error in case of problem.
3817 (print-region-1): Use it.
3818 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3820 (ps-printer-name): Default to nil.
3821 (ps-printer-name-option): Default to lpr-printer-switch.
3822 (ps-print-region-function): Don't default to nil.
3823 (ps-postscript-code-directory): Simplify default.
3824 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3825 (ps-string-list, ps-eval-switch, ps-flatten-list)
3826 (ps-flatten-list-1): Remove.
3827 (ps-multibyte-buffer): Avoid setq.
3828 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3829 (print-region-function, ps-print-region-function): Don't set them here.
3831 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3833 * ido.el (ido-fractionp):
3834 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3835 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3836 (ido-max-directory-size, ido-max-dir-file-cache)
3837 (ido-decorations): Doc fix.
3839 * ansi-color.el: Fix old URL.
3841 2013-07-23 Michael R. Mauger <michael@mauger.com>
3843 * progmodes/sql.el: Version 3.3
3844 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3845 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3846 (sql-interactive-remove-continuation-prompt): Rewrite, use
3847 functions above. Fix continuation prompt and complete output line
3849 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3850 redirected output buffer.
3851 (sql-mode): Restore deleted code (Bug#13591).
3853 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3855 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3857 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
3859 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3861 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3862 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3863 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3865 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3867 * desktop.el (desktop-clear): Simplify; remove useless checks
3868 against invalid buffer names.
3869 (desktop-list*): Use cl-list*.
3870 (desktop-buffer-info, desktop-create-buffer): Simplify.
3872 2013-07-23 Leo Liu <sdl.web@gmail.com>
3874 * bookmark.el (bookmark-make-record): Restore NAME as a default
3877 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3879 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3880 extracted from autoload--insert-text.
3881 (autoload--insert-text): Remove.
3882 (autoload--print-cookie-text): New function, extracted from
3883 autoload--insert-cookie-text.
3884 (autoload--insert-cookie-text): Remove.
3885 (autoload-generate-file-autoloads): Adjust calls accordingly.
3887 * winner.el (winner-hook-installed-p): Remove.
3888 (winner-mode): Simplify accordingly.
3890 * subr.el (add-to-list): Fix compiler-macro when `append' is
3891 not constant. Don't use `cl-member' for the base case.
3893 * progmodes/subword.el: Fix boundary case (bug#13758).
3894 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3896 (subword-backward-regexp): Make it a constant.
3897 (subword-forward-internal): Don't treat a trailing capital as the
3898 beginning of a word.
3900 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3902 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3903 global value of tabulated-list-revert-hook (bug#14930).
3905 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
3907 * desktop.el: Require 'cl-lib.
3908 (desktop-before-saving-frames-functions): New hook.
3909 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3910 for frames being saved. Rename from desktop--save-minibuffer-frames.
3911 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
3912 Do not save frames with non-nil `desktop-dont-save' parameter.
3913 Filter out deleted frames.
3914 (desktop--find-frame): Use cl-find-if.
3915 (desktop--select-frame): Use cl-(first|second|third) to access values
3917 (desktop--make-frame): Use cl-delete-if.
3918 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3919 (desktop-restore-frames): Use cl-(first|second|third) to access values
3920 of desktop-mini. Look for visible frame at the end, not while
3923 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3924 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3925 Use string-match-p, looking-at-p (bug#14927).
3927 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
3929 * desktop.el (desktop-saved-frame-states):
3930 Rename from desktop--saved-states; all users changed.
3931 (desktop-save-frames): Rename from desktop--save-frames.
3932 Do not save state to desktop file.
3933 (desktop-save): Save desktop-saved-frame-states to desktop file
3935 (desktop-restoring-frames-p): New function.
3936 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3937 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3938 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3940 * desktop.el: Correctly restore iconified frames.
3941 (desktop--filter-iconified-position): New function.
3942 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3944 2013-07-20 Glenn Morris <rgm@gnu.org>
3946 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3947 Let `message' do the formatting.
3948 (def-gdb-preempt-display-buffer): Add explicit format.
3950 * image-dired.el (image-dired-track-original-file):
3951 Use with-current-buffer.
3952 (image-dired-track-thumbnail): Use with-current-buffer.
3953 Avoid changing point of wrong window.
3955 * image-dired.el (image-dired-track-original-file):
3956 Avoid changing point of wrong window. (Bug#14909)
3958 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
3960 * progmodes/gdb-mi.el (gdb-done-or-error):
3961 Guard against "%" in gdb output. (Bug#14127)
3963 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3965 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3968 * international/mule.el (coding-system-iso-2022-flags): Fix last
3971 2013-07-20 Kenichi Handa <handa@gnu.org>
3973 * international/mule.el (coding-system-iso-2022-flags):
3974 Add `8-bit-level-4'. (Bug#8522)
3976 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3978 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3981 * net/eww.el (eww-process-text-input): Allow inputting when the
3982 point is at the start of the line, as the properties aren't
3985 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3988 2013-07-19 Richard Stallman <rms@gnu.org>
3990 * epa.el (epa-popup-info-window): Doc fix.
3992 * subr.el (split-string): New arg TRIM.
3994 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
3996 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3997 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3999 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4001 * filenotify.el (file-notify--library): Rename from
4002 `file-notify-support'. Do not autoload. Adapt all uses.
4003 (file-notify-supported-p): New defun.
4005 * autorevert.el (auto-revert-use-notify):
4006 Use `file-notify-supported-p' instead of `file-notify-support'.
4008 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4010 * net/tramp.el (tramp-file-name-for-operation):
4011 Add `file-notify-supported-p'.
4013 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4015 (tramp-sh-file-name-handler-alist): Add it as handler for
4016 `file-notify-supported-p '.
4018 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4019 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4020 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4021 Add `ignore' as handler for `file-notify-*' functions.
4023 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4025 * simple.el (line-move-partial, line-move): Don't start vscroll or
4026 scroll-up if the current line is not taller than the window.
4029 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4031 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4032 highlight question marks in the method names as strings.
4033 (ruby-block-beg-keywords): Inline.
4034 (ruby-font-lock-keyword-beg-re): Extract from
4035 `ruby-font-lock-keywords'.
4037 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4039 * frame.el (blink-cursor-blinks): New defcustom.
4040 (blink-cursor-blinks-done): New defvar.
4041 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4042 (blink-cursor-timer-function): Check if number of blinks has been
4044 (blink-cursor-suspend, blink-cursor-check): New defuns.
4046 2013-07-15 Glenn Morris <rgm@gnu.org>
4048 * edmacro.el (edmacro-format-keys): Fix previous change.
4050 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4052 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4053 The hack didn't work outside English locales anyway.
4055 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4057 * simple.el (define-alternatives): Rename from alternatives-define,
4058 per RMS' suggestion.
4060 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4062 * desktop.el (desktop-restore-frames): Change default to t.
4063 (desktop-restore-in-current-display): Now offer more options.
4064 (desktop-restoring-reuses-frames): New customization option.
4065 (desktop--saved-states): Doc fix.
4066 (desktop-filter-parameters-alist): New variable, renamed and expanded
4067 from desktop--excluded-frame-parameters.
4068 (desktop--target-display): New variable.
4069 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4070 (desktop--filter-tty*, desktop--filter-*-color)
4071 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4072 (desktop--filter-save-desktop-parm)
4073 (desktop-restore-in-original-display-p): New functions.
4074 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4075 (desktop--save-minibuffer-frames): New function, inspired by a similar
4076 function from Martin Rudalics.
4077 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4078 (desktop--restore-in-this-display-p): Remove.
4079 (desktop--find-frame): Rename from desktop--find-frame-in-display
4080 and add predicate argument.
4081 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4082 (desktop--reuse-list): New variable.
4083 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4085 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4087 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
4089 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4091 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4093 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4094 Highlight conversion methods on Kernel.
4096 2013-07-13 Alan Mackenzie <acm@muc.de>
4098 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4099 and comment it out. This out-commenting enables certain C++
4100 declarations to be parsed correctly.
4102 2013-07-13 Eli Zaretskii <eliz@gnu.org>
4104 * international/mule.el (define-coding-system): Doc fix.
4106 * simple.el (default-font-height): Don't call font-info if the
4107 frame's default font didn't change since the frame was created.
4110 2013-07-13 Leo Liu <sdl.web@gmail.com>
4112 * ido.el (ido-read-file-name): Guard against non-symbol value.
4114 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4116 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4119 2013-07-13 Leo Liu <sdl.web@gmail.com>
4121 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4122 ido-set-matches call. (Bug#6852)
4124 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4126 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4127 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4129 (ruby-font-lock-keywords): Distinguish calls to functions with
4130 module-like names from module references. Highlight character
4133 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4135 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4136 (gdb-send): Handle continued commands. (Bug#14847)
4138 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4140 * desktop.el (desktop--v2s): Remove unused local variable.
4141 (desktop-save-buffer): Make defvar-local; adjust docstring.
4142 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4143 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4145 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4147 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4149 2013-07-12 Eli Zaretskii <eliz@gnu.org>
4151 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4154 2013-07-12 Glenn Morris <rgm@gnu.org>
4156 * doc-view.el: Require cl-lib at runtime too.
4157 (doc-view-remove-if): Remove.
4158 (doc-view-search-next-match, doc-view-search-previous-match):
4161 * edmacro.el: Require cl-lib at runtime too.
4162 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4163 (edmacro-mismatch, edmacro-subseq): Remove.
4165 * shadowfile.el: Require cl-lib.
4166 (shadow-remove-if): Remove.
4167 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4170 * wid-edit.el: Require cl-lib.
4171 (widget-choose): Use cl-remove-if.
4172 (widget-remove-if): Remove.
4174 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4175 (ebrowse-delete-if-not): Remove.
4176 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4177 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4178 Use cl-delete-if-not.
4180 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4182 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4183 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4185 2013-07-12 Leo Liu <sdl.web@gmail.com>
4187 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4189 2013-07-11 Glenn Morris <rgm@gnu.org>
4191 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4192 (edebug-gensym-index, edebug-gensym):
4193 Remove reimplementation of cl-gensym.
4194 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4196 * thumbs.el: Require cl-lib at run-time too.
4197 (thumbs-gensym-counter, thumbs-gensym):
4198 Remove reimplementation of cl-gensym.
4199 (thumbs-temp-file): Use cl-gensym.
4201 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4202 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4203 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4204 (ert--union, ert--gensym-counter, ert--gensym-counter)
4205 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4206 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4207 (ert-make-test-unbound, ert--expand-should-1)
4208 (ert--expand-should, ert--should-error-handle-error)
4209 (should-error, ert--explain-equal-rec)
4210 (ert--plist-difference-explanation, ert-select-tests)
4211 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4212 Use cl-lib functions rather than reimplementations.
4214 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4216 * net/tramp.el (tramp-methods): Extend docstring.
4217 (tramp-connection-timeout): New defcustom.
4218 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4219 (with-tramp-progress-reporter): Simplify.
4220 (tramp-process-actions): Improve messages.
4222 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4223 * net/tramp-sh.el (tramp-maybe-open-connection):
4224 Use `tramp-connection-timeout'.
4225 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4228 2013-07-11 Leo Liu <sdl.web@gmail.com>
4230 * ido.el (ido-read-file-name): Conform to the requirements of
4231 read-file-name. (Bug#11861)
4232 (ido-read-directory-name): Conform to the requirements of
4233 read-directory-name.
4235 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
4237 * subr.el (delay-warning): New function.
4239 2013-07-10 Eli Zaretskii <eliz@gnu.org>
4241 * simple.el (default-line-height): New function.
4242 (line-move-partial, line-move): Use it instead of computing the
4244 (line-move-partial): Always compute ROWH. If the last line is
4245 partially-visible, but its text is completely visible, allow
4246 cursor to enter such a partially-visible line.
4248 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
4250 Improve error messages. (Bug#14808)
4252 * net/tramp.el (tramp-current-connection): New defvar, moved from
4254 (tramp-message-show-progress-reporter-message): Remove, not
4256 (tramp-error-with-buffer): Show message in minibuffer.
4257 Discard input before waiting. Reset connection timestamp.
4258 (with-tramp-progress-reporter): Improve messages.
4259 (tramp-process-actions): Use progress reporter. Delete process in
4260 case of error. Improve messages.
4262 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4263 Call `tramp-error-with-buffer' with vector and buffer.
4264 (tramp-current-connection): Remove.
4265 (tramp-maybe-open-connection): The car of
4266 `tramp-current-connection' are the first 3 slots of the vector.
4268 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4270 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4271 inside continued strings.
4273 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4275 Timestamp fixes for undo (Bug#14824).
4276 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4278 2013-07-10 Leo Liu <sdl.web@gmail.com>
4280 * files.el (require-final-newline): Allow safe local value.
4283 2013-07-09 Leo Liu <sdl.web@gmail.com>
4285 * ido.el (ido-read-directory-name): Handle fallback.
4286 (ido-read-file-name): Update DIR to ido-current-directory.
4288 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
4290 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4292 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4293 "autoload". Remove "warn lower camel case" section, previously
4294 commented out. Highlight negation char. Do not highlight the
4295 target in singleton method definitions.
4297 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4299 * faces.el (tty-setup-hook): Declare the hook.
4301 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4302 and detect when a guard/pred depends on local vars (bug#14773).
4303 (pcase--u1): Adjust caller.
4305 2013-07-08 Eli Zaretskii <eliz@gnu.org>
4307 * simple.el (line-move-partial, line-move): Account for
4309 (line-move-partial): Avoid setting vscroll when the last
4310 partially-visible line in window is of default height.
4312 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4314 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4317 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
4319 * subr.el (read-quoted-char): Remove unused local variable `char'.
4321 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4323 * ediff.el (ediff-version): Version update.
4324 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4325 (ediff-merge-with-ancestor-command, ediff-directories-command)
4326 (ediff-directories3-command, ediff-merge-directories-command)
4327 (ediff-merge-directories-with-ancestor-command): New functions.
4328 All are command-line interfaces to ediff: to facilitate calling
4329 Emacs with the appropriate ediff functions invoked.
4331 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4332 (viper-save-kill-buffer): Check if buffer is modified.
4334 * viper.el (viper-version): Version update.
4335 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4337 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4339 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4340 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4341 (viper-intercept-ESC-key): Simplify.
4342 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4343 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4344 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4345 (viper-setup-ESC-to-escape): New functions.
4346 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4347 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
4349 2013-07-07 Eli Zaretskii <eliz@gnu.org>
4351 * simple.el (default-font-height, window-screen-lines):
4353 (line-move, line-move-partial): Use them instead of
4354 frame-char-height and window-text-height. This makes scrolling
4355 text smoother when the buffer's default face uses a font that is
4356 different from the frame's default font.
4358 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4360 * files.el (write-file): Do not display confirm dialog for NS,
4361 it does its own dialog, which can't be cancelled (Bug#14578).
4363 2013-07-06 Eli Zaretskii <eliz@gnu.org>
4365 * simple.el (line-move-partial): Adjust the row returned by
4366 posn-at-point for the current window-vscroll. (Bug#14567)
4368 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
4370 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4371 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4374 2013-07-06 Martin Rudalics <rudalics@gmx.at>
4376 * window.el (window-state-put-stale-windows): New variable.
4377 (window--state-put-2): Save list of windows without matching buffer.
4378 (window-state-put): Remove "bufferless" windows if possible.
4380 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4382 * simple.el (alternatives-define): Remove leftover :group keyword.
4385 2013-07-06 Leo Liu <sdl.web@gmail.com>
4387 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4388 (ido-enable-virtual-buffers): New variable.
4389 (ido-buffer-internal, ido-toggle-virtual-buffers)
4390 (ido-make-buffer-list): Use it.
4391 (ido-exhibit): Support turning on and off virtual buffers
4394 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4396 * simple.el (alternatives-define): New macro.
4398 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4400 * subr.el (read-quoted-char): Use read-key.
4401 (sit-for): Let read-event decode tty input (bug#14782).
4403 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
4405 * calendar/todo-mode.el: Add handling of file deletion, both by
4406 mode command and externally. Fix various related bugs.
4407 Clarify Commentary and improve some documentation strings and code.
4408 (todo-delete-file): New command.
4409 (todo-check-file): New function.
4410 (todo-show): Handle external deletion of the file we're trying to
4411 show (bug#14688). Replace called-interactively-p by an optional
4412 prefix argument to avoid problematic interaction with catch form
4413 when byte compiled (bug#14702).
4414 (todo-quit): Handle external deletion of the archive's todo file.
4415 Make sure the buffer that was visiting the archive file is still
4416 live before trying to bury it.
4417 (todo-category-completions): Handle external deletion of any
4418 category completion files.
4419 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4420 of todo files, in case of external deletion.
4421 (todo-add-file): Replace unnecessary setq by let-binding.
4422 (todo-find-archive): Check whether there are any archives.
4423 Replace unnecessary setq by let-binding.
4424 (todo-archive-done-item): Use find-file-noselect to get the
4425 archive buffer whether or not the archive already exists.
4426 Remove superfluous code. Use file size instead of buffer-file-name to
4427 check if the archive is new; if it is, update list of archives.
4428 (todo-default-todo-file): Allow nil to be a valid value for when
4429 there are no todo files.
4430 (todo-reevaluate-default-file-defcustom): Use corrected definition
4431 of todo-default-todo-file.
4432 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4433 (todo-delete-category, todo-show-categories-table)
4434 (todo-category-number): Clarify comment.
4435 (todo-filter-items): Clarify documentation string.
4436 (todo-show-current-file, todo-display-as-todo-file)
4437 (todo-reset-and-enable-done-separator): Tweak documentation string.
4438 (todo-done-separator): Make separator length window-width, since
4439 bug#2749 is now fixed.
4441 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
4443 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4444 Support both "gvfs-monitor-dir" and "inotifywait".
4445 (tramp-sh-file-inotifywait-process-filter): Rename from
4446 `tramp-sh-file-notify-process-filter'.
4447 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4448 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4450 2013-07-05 Leo Liu <sdl.web@gmail.com>
4452 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4454 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4456 * frame.el (display-pixel-height, display-pixel-width)
4457 (display-mm-height, display-mm-width): Mention behavior on
4458 multi-monitor setups in docstrings.
4459 (w32-display-monitor-attributes-list): Declare function.
4460 (display-monitor-attributes-list): Use it.
4462 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
4464 * filenotify.el: New package.
4466 * autorevert.el (top): Require filenotify.el.
4467 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4469 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4470 (auto-revert-notify-handler): Use `file-notify-*' functions.
4472 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4474 * net/tramp.el (tramp-file-name-for-operation):
4475 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
4477 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4478 for `file-notify-add-watch' and `file-notify-rm-watch'.
4479 (tramp-process-sentinel): Improve trace.
4480 (tramp-sh-handle-file-notify-add-watch)
4481 (tramp-sh-file-notify-process-filter)
4482 (tramp-sh-handle-file-notify-rm-watch)
4483 (tramp-get-remote-inotifywait): New defuns.
4485 2013-07-03 Juri Linkov <juri@jurta.org>
4487 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4488 call of `occur-read-primary-args' to interactive spec.
4490 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4491 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4493 2013-07-03 Matthias Meulien <orontee@gmail.com>
4495 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4496 `Buffer-menu-multi-occur'. Add it to the menu.
4497 (Buffer-menu-mode): Document it in docstring.
4498 (Buffer-menu-multi-occur): New command. (Bug#14673)
4500 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4502 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4503 keywords and built-ins.
4505 2013-07-03 Glenn Morris <rgm@gnu.org>
4507 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4509 Make info-xref checks case-sensitive by default
4510 * info.el (Info-find-node, Info-find-in-tag-table)
4511 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4512 Add option for exact case matching of nodes.
4513 * info-xref.el (info-xref): New custom group.
4514 (info-xref-case-fold): New option.
4515 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4517 2013-07-03 Leo Liu <sdl.web@gmail.com>
4519 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4521 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4523 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4524 middle of block statement initially, lower the depth. Remove
4525 FIXME comment, not longer valid. Remove middle of block statement
4526 detection, no need to do that anymore since we've been using
4527 `ruby-parse-region' here.
4529 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4531 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4533 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
4535 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4537 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
4539 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4540 (desktop-restore-in-current-display): New customization option.
4541 (desktop--excluded-frame-parameters): Add `font'.
4542 (desktop--save-frames): Rename from desktop--save-windows.
4543 (desktop--restore-in-this-display-p): New function.
4544 (desktop--make-full-frame): Remove unwanted width/height from
4545 full(width|height) frames.
4546 (desktop--restore-frames): Rename from desktop--restore-windows.
4547 Obey desktop-restore-current-display. Do not delete old frames or
4548 select a new frame unless we were able to restore at least one frame.
4550 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
4552 * files.el (find-file-noselect): Simplify conditional expression.
4554 * remember.el (remember-append-to-file):
4555 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4557 Add `remember-notes' function to store random notes across Emacs
4559 * remember.el (remember-data-file): Add :set callback to affect
4560 notes buffer (if any).
4561 (remember-notes): New command.
4562 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4563 New defcustoms for the `remember-notes' function.
4564 (remember-notes-save-and-bury-buffer): New command.
4565 (remember-notes-mode-map): New variable.
4566 (remember-mode): New minor mode.
4567 (remember-notes--kill-buffer-query): New function.
4568 * startup.el (initial-buffer-choice): Add notes to custom type.
4570 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4572 * bindings.el (right-char, left-char): Don't call sit-for, this is
4573 no longer needed. Use arithmetic comparison only for numerical
4576 * international/mule-cmds.el (select-safe-coding-system):
4577 Handle the case of FROM being a string correctly. (Bug#14755)
4579 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4581 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4582 progression on degenerate tables.
4583 (shr-rescale-image): ImageMagick animated images currently don't work.
4585 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4587 Some fixes and improvements for desktop frame restoration.
4588 It is still experimental and disabled by default.
4589 * desktop.el (desktop--save-windows): Put the selected frame at
4590 the head of the list.
4591 (desktop--make-full-frame): New function.
4592 (desktop--restore-windows): Try to re-select the frame that was
4593 selected upon saving. Do not abort if some frames fail to restore,
4594 just show an error message and continue. Set up maximized frames
4595 so they have default non-maximized dimensions.
4597 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4599 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4600 Don't start heredoc inside a string or comment.
4602 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4604 * bindings.el (visual-order-cursor-movement): New defcustom.
4605 (right-char, left-char): Provide visual-order cursor motion by
4606 calling move-point-visually. Update the doc strings.
4608 2013-06-28 Kenichi Handa <handa@gnu.org>
4610 * international/mule.el (define-coding-system): New coding system
4611 properties :inhibit-null-byte-detection,
4612 :inhibit-iso-escape-detection, and :prefer-utf-8.
4613 (set-buffer-file-coding-system): If :charset-list property of
4614 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4615 appropriate for setting.
4617 * international/mule-cmds.el (select-safe-coding-system):
4618 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4619 multibyte characters, return utf-8 (or one of its siblings).
4621 * international/mule-conf.el (prefer-utf-8): New coding system.
4622 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4625 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4627 * net/shr.el (shr-render-region): New function.
4629 * net/eww.el: Autoload `eww-browse-url'.
4631 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4633 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4634 Adapt to `package-desc-version' being a list.
4635 Use `package--ac-desc-version' to retrieve version from a package
4638 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4640 New experimental feature to save&restore window and frame setup.
4641 * desktop.el (desktop-save-windows): New defcustom.
4642 (desktop--saved-states): New var.
4643 (desktop--excluded-frame-parameters): New defconst.
4644 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4645 (desktop--restore-windows, desktop--save-windows): New functions.
4646 (desktop-save): Call `desktop--save-windows'.
4647 (desktop-read): Call `desktop--restore-windows'.
4649 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4651 * net/shr.el (add-face-text-property): Remove compat definition.
4653 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4655 * info.el (Info-try-follow-nearest-node): Move search for footnote
4656 above search for node name to prevent missing a footnote (bug#14717).
4658 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4660 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4662 2013-06-27 Leo Liu <sdl.web@gmail.com>
4664 * net/eww.el (eww-read-bookmarks): Check file size.
4666 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4668 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4669 advice--pending if newdef is nil or an autoload (bug#13820).
4670 (advice-mapc): New function.
4672 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4674 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4676 (eww-mode-map): Add a menu bar.
4677 (eww-add-bookmark): New command.
4678 (eww-bookmark-mode): New mode and commands.
4679 (eww-add-bookmark): Remove newlines from the title.
4680 (eww-bookmark-browse): Don't bug out if it's the only window.
4682 2013-06-26 Glenn Morris <rgm@gnu.org>
4684 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4685 (hfy-size): Handle ttys. (Bug#14668)
4687 * info-xref.el: Update for Texinfo 5 change in *note format.
4688 (info-xref-node-re, info-xref-note-re): New constants.
4689 (info-xref-check-buffer): Use info-xref-note-re.
4691 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4693 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4695 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4696 nil terminate the loop (bug#14718).
4698 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4700 * net/eww.el: Rework history traversal. When going forward/back,
4701 put these actions into the history, too, so that they can be
4703 (eww-render): Move the history reset to the correct buffer.
4705 2013-06-25 Juri Linkov <juri@jurta.org>
4707 * files-x.el (modify-dir-local-variable): Change the header comment
4708 in the file with directory local variables. (Bug#14692)
4710 * files-x.el (read-file-local-variable-value): Add `default'.
4713 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4715 * net/eww.el (eww-make-unique-file-name): Create a unique file
4716 name before saving to entering `y' accidentally asynchronously.
4718 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4720 * net/eww.el (eww-download): New command and keystroke.
4722 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4724 * net/eww.el (eww-copy-page-url): Change name of command.
4726 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4727 be more consistent with Info and dired.
4729 * net/eww.el (eww-mode-map): Ditto.
4731 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4733 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4734 packages from archives.
4735 (package-archive-contents): Change format; include obsolete packages.
4736 (package-desc): Use `dir' to mark builtin packages.
4737 (package--from-builtin): Set the `dir' field to `builtin'.
4738 (generated-autoload-file, version-control): Declare.
4739 (package-compute-transaction): Change first arg and return value to be
4740 lists of package-descs. Adjust to new package-archive-contents format.
4741 (package--add-to-archive-contents): Adjust to new
4742 package-archive-contents format.
4743 (package-download-transaction): Arg is now a list of package-descs.
4744 (package-install): If `pkg' is a package name, pass it as
4745 a requirement, so it is subject to the usual (e.g. disabled) checks.
4746 (describe-package): Accept package-desc as well.
4747 (describe-package-1): Describe a specific package-desc. Add links to
4748 other package-descs for the same package name.
4749 (package-menu-describe-package): Pass the actual package-desc.
4750 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4752 (package-desc-status): New function.
4753 (package-menu--refresh): New function, extracted
4754 from package-menu--generate.
4755 (package-menu--generate): Use it.
4756 (package-delete): Update package-alist.
4757 (package-menu-execute): Don't call package-initialize.
4759 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4760 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4761 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4762 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4763 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4764 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4766 2013-06-25 Martin Rudalics <rudalics@gmx.at>
4768 * window.el (window--state-get-1): Workaround for bug#14527.
4769 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4771 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4773 * net/eww.el (eww-back-url): Implement the history by stashing all
4774 the data into a list.
4775 (eww-forward-url): Allow going forward in the history, too.
4777 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4779 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4780 for values and use read--expression for expressions (bug#14710).
4781 (read-file-local-variable): Avoid setq.
4782 (read-file-local-variable-mode): Use minor-mode-list.
4784 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4786 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4789 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4791 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4792 Update imenu-support when dialect changes.
4794 2013-06-25 Leo Liu <sdl.web@gmail.com>
4796 * ido.el (ido-read-internal): Allow forward slash on windows.
4798 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4800 * net/eww.el (eww): Start of strings is \\`, not ^.
4802 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4804 * net/shr.el (shr-browse-url): Fix interactive spec.
4806 * net/eww.el (eww): Add a trailing slash to domain names.
4808 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
4810 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4812 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4814 * net/shr.el (shr-browse-url): Use an external browser if given a
4817 * net/eww.el (eww-external-browser): Move to shr.
4819 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4821 * net/eww.el (eww): Work more correctly for file: URLs.
4822 (eww-detect-charset): Allow quoted charsets.
4823 (eww-yank-page-url): New command and keystroke.
4825 2013-06-24 Daiki Ueno <ueno@gnu.org>
4827 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4828 file name of gpg executable.
4829 (epg-context-program): New function.
4830 (epg-context-home-directory): New function.
4831 (epg-context-set-program): New function.
4832 (epg-context-set-home-directory): New function.
4833 (epg--start): Use `epg-context-program' instead of
4835 (epg--list-keys-1): Likewise.
4837 2013-06-24 Leo Liu <sdl.web@gmail.com>
4839 * ido.el (ido-read-internal): Fix bug#14620.
4841 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4843 * faces.el (face-documentation): Simplify.
4844 (read-face-attribute, tty-find-type, x-resolve-font-name):
4845 Use `string-match-p'.
4846 (list-faces-display): Use `string-match-p'. Simplify.
4847 (face-spec-recalc): Check face to avoid face alias loops.
4848 (read-color): Use `string-match-p' and non-capturing parenthesis.
4850 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4852 * net/shr.el (shr-rescale-image): Use the new
4853 :max-width/:max-height functionality.
4855 2013-06-23 Ivan Kanis <ivan@kanis.fr>
4857 * net/eww.el (eww-search-prefix): New variable.
4859 (eww-external-browser): New variable.
4860 (eww-mode-map): New keystroke.
4861 (eww-browse-with-external-browser): New command.
4863 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4865 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4867 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4868 Don't skip aligning the next header field when padding is 0;
4869 otherwise, field width is not respected unless the title is as
4872 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4874 * emacs-lisp/package.el (package-el-version): Remove.
4875 (package-process-define-package): Fix inf-loop.
4876 (package-install): Allow symbols as arguments again.
4878 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4880 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4881 add some more keyword-like methods.
4882 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4884 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
4886 * bs.el (bs-buffer-show-mark): Make defvar-local.
4887 (bs-mode): Use setq-local.
4889 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4890 (emacs-lock--try-unlocking): Make defvar-local.
4892 2013-06-22 Glenn Morris <rgm@gnu.org>
4894 * play/cookie1.el (cookie-apropos): Minor simplification.
4896 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4898 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4900 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4901 `regexp-opt', it breaks the build during dumping.
4903 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4905 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4906 Highlight keyword-like methods on Kernel and Module with
4907 font-lock-builtin-face.
4908 (auto-mode-alist): Consolidate different entries into one regexp
4909 and add more *file-s.
4911 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
4913 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4915 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4916 (diary-entry): Use it in the action of this button type instead of
4919 * calendar/todo-mode.el: New version.
4920 (todo-add-category): Append new category to end of file and give
4921 it the highest number, instead of putting it at the beginning and
4922 giving it 0. Incorporate noninteractive functionality.
4923 (todo-forward-category): Adapt to 1-based category numbering.
4924 Allow skipping over archived categories.
4925 (todo-backward-category): Derive from todo-forward-category.
4926 (todo-backward-item, todo-forward-item): Make noninteractive and
4927 delegate interactive part to new commands. Make sensitive to done items.
4928 (todo-categories): Make value an alist of category names and
4929 vectors of item counts.
4930 (todo-category-beg): Make a defconst.
4931 (todo-category-number): Use 1 instead of 0 as initial value.
4932 (todo-category-select): Make sensitive to overlays, optional item
4933 highlighting and done items.
4934 (todo-delete-item): Make sensitive to overlays and marked and done items.
4935 (todo-edit-item): Make sensitive to overlays and editing of
4936 date/time header optional. Add format checks.
4937 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4938 no-op if point is not on an item. Advertise using todo-edit-quit.
4939 (todo-edit-mode): Make sensitive to new format, font-locking, and
4940 multiple todo files.
4941 (todo-insert-item, todo-insert-item-here): Derive from
4942 todo-basic-insert-item and extend functionality.
4943 (todo-item-end, todo-item-start): Make sensitive to done items.
4944 (todo-item-string): Don't return text properties. Restore point.
4945 (todo-jump-to-category): Make sensitive to multiple todo files and
4946 todo archives. Use extended category completion.
4947 (todo-lower-item, todo-raise-item): Rename to *-priority and
4948 derive from todo-set-item-priority.
4949 (todo-mode): Derive from special-mode. Make sensitive to new
4950 format, font-locking and multiple todo files. Make read-only.
4951 (todo-mode-map): Don't suppress digit keys, so they can supply
4952 prefix arguments. Add many new key bindings.
4953 (todo-prefix): Insert as an overlay instead of file text.
4954 Change semantics from diary date expression to purely visual mark.
4955 (todo-print): Rename to todo-print-buffer. Make buffer display
4956 features printable. Remove option to restrict number of items
4957 printed. Add option to print to file.
4958 (todo-print-function): Rename to todo-print-buffer-function.
4959 (todo-quit): Extend to handle exiting new todo modes.
4960 (todo-remove-item): Make sensitive to overlays.
4961 (todo-save): Extend to buffers of filtered items.
4962 (todo-show): Make sensitive to done items, multiple todo files and
4963 new todo modes. Offer to convert legacy todo file before creating
4964 first new todo file.
4965 (todo-show-priorities): Rename to todo-top-priorities.
4966 Change semantics of value 0.
4967 (todo-top-priorities): Rename to todo-filter-top-priorities,
4968 derive from todo-filter-items and extend functionality.
4969 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4970 and extend functionality to other types of filtered items.
4971 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4972 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4973 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4974 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4975 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4976 (todo-edit-mode-hook, todo-entry-prefix-function)
4977 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4978 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4979 (todo-initials, todo-insert-threshold, todo-item-string-start)
4980 (todo-line-string, todo-menu, todo-mode-hook)
4981 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4982 (todo-print-priorities, todo-remove-separator)
4983 (todo-save-top-priorities-too, todo-string-count-lines)
4984 (todo-string-multiline-p, todo-time-string-format)
4985 (todo-tmp-buffer-name): Remove.
4986 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4987 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4988 (todo-edit-category-diary-inclusion)
4989 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4990 (todo-edit-file, todo-edit-item-date-day)
4991 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4992 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4993 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4994 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4995 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4996 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4997 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4998 (todo-filter-top-priorities-multifile, todo-find-archive)
4999 (todo-find-filtered-items-file, todo-go-to-source-item)
5000 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5001 (todo-jump-to-archive-category, todo-lower-category)
5002 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5003 (todo-move-category, todo-move-item, todo-next-button)
5004 (todo-next-item, todo-padded-string, todo-powerset)
5005 (todo-previous-button, todo-previous-item)
5006 (todo-print-buffer-to-file, todo-raise-category)
5007 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5008 (todo-set-category-number, todo-set-item-priority)
5009 (todo-set-top-priorities-in-category)
5010 (todo-set-top-priorities-in-file, todo-show-categories-table)
5011 (todo-sort-categories-alphabetically-or-numerically)
5012 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5013 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5014 (todo-toggle-item-header, todo-toggle-item-highlighting)
5015 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5016 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5017 (todo-unarchive-items, todo-unmark-category): New commands.
5018 (todo-absolute-file-name, todo-add-to-buffer-list)
5019 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5020 (todo-basic-insert-item, todo-category-completions)
5021 (todo-category-number, todo-category-string-matcher-1)
5022 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5023 (todo-check-format, todo-clear-matches)
5024 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5025 (todo-current-category, todo-date-string-matcher)
5026 (todo-define-insertion-command, todo-diary-expired-matcher)
5027 (todo-diary-goto-entry, todo-diary-item-p)
5028 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5029 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5030 (todo-done-item-section-p, todo-done-separator)
5031 (todo-done-string-matcher, todo-files, todo-filter-items)
5032 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5033 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5034 (todo-insert-category-line, todo-insert-item-from-calendar)
5035 (todo-insert-sort-button, todo-insert-with-overlays)
5036 (todo-insertion-command-name, todo-insertion-key-bindings)
5037 (todo-label-to-key, todo-longest-category-name-length)
5038 (todo-make-categories-list, todo-mode-external-set)
5039 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5040 (todo-modes-set-3, todo-multiple-filter-files)
5041 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5042 (todo-read-category, todo-read-date, todo-read-dayname)
5043 (todo-read-file-name, todo-read-time)
5044 (todo-reevaluate-category-completions-files-defcustom)
5045 (todo-reevaluate-default-file-defcustom)
5046 (todo-reevaluate-filelist-defcustoms)
5047 (todo-reevaluate-filter-files-defcustom)
5048 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5049 (todo-reset-done-separator, todo-reset-done-separator-string)
5050 (todo-reset-done-string, todo-reset-global-current-todo-file)
5051 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5052 (todo-reset-prefix, todo-set-categories)
5053 (todo-set-date-from-calendar, todo-set-show-current-file)
5054 (todo-set-top-priorities, todo-short-file-name)
5055 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5056 (todo-total-item-counts, todo-update-buffer-list)
5057 (todo-update-categories-display, todo-update-categories-sexp)
5058 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5060 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5062 (todo-categories, todo-display, todo-edit, todo-faces)
5063 (todo-filtered): New defgroups.
5064 (todo-archived-only, todo-button, todo-category-string, todo-date)
5065 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5066 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5067 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5068 (todo-add-item-if-new-category, todo-always-add-time-string)
5069 (todo-categories-align, todo-categories-archived-label)
5070 (todo-categories-category-label, todo-categories-diary-label)
5071 (todo-categories-done-label, todo-categories-number-separator)
5072 (todo-categories-todo-label, todo-categories-totals-label)
5073 (todo-category-completions-files, todo-completion-ignore-case)
5074 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5075 (todo-done-separator-string, todo-done-string)
5076 (todo-files-function, todo-filter-done-items, todo-filter-files)
5077 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5078 (todo-initial-category, todo-initial-file, todo-item-mark)
5079 (todo-legacy-date-time-regexp, todo-mode-line-function)
5080 (todo-nondiary-marker, todo-number-prefix)
5081 (todo-print-buffer-function, todo-show-current-file)
5082 (todo-show-done-only, todo-show-first, todo-show-with-done)
5083 (todo-skip-archived-categories, todo-top-priorities-overrides)
5084 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5085 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5087 (todo-category-done, todo-date-pattern, todo-date-string-start)
5088 (todo-diary-items-buffer, todo-done-string-start)
5089 (todo-filtered-items-buffer, todo-item-start)
5090 (todo-month-abbrev-array, todo-month-name-array)
5091 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5092 (todo-top-priorities-buffer): New defconsts.
5093 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5094 (todo-categories-with-marks, todo-category-string-face)
5095 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5096 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5097 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5098 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5099 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5100 (todo-font-lock-keywords, todo-global-current-todo-file)
5101 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5102 (todo-insertion-commands-args)
5103 (todo-insertion-commands-args-genlist)
5104 (todo-insertion-commands-names, todo-insertion-map)
5105 (todo-key-bindings-t, todo-key-bindings-t+a)
5106 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5107 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5108 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5109 (todo-visited): New variables.
5111 2013-06-21 Glenn Morris <rgm@gnu.org>
5113 * play/cookie1.el (cookie-apropos): Add optional display argument.
5114 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5115 (psychoanalyze-pinhead): Use cookie-doctor.
5117 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5119 * emacs-lisp/package.el (tar-get-file-descriptor)
5120 (tar--extract): Declare.
5122 2013-06-21 Eduard Wiebe <usenet@pusto.de>
5124 Extend flymake's warning predicate to be a function (bug#14217).
5125 * progmodes/flymake.el (flymake-warning-predicate): New.
5126 (flymake-parse-line): Use it.
5127 (flymake-warning-re): Make obsolete alias to
5128 `flymake-warning-predicate'.
5130 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5132 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5133 (package-obsolete-list): Remove.
5134 (package-activate): Remove min-version argument. Add `force' argument.
5135 Adjust to new package-alist format.
5136 (package-mark-obsolete): Remove.
5137 (package-unpack): Force reload of the package's autoloads.
5138 (package-installed-p): Check builtins if the installed package is not
5140 (package-initialize): Don't reset package-obsolete-list.
5141 Don't specify which package version to activate.
5142 (package-process-define-package, describe-package-1)
5143 (package-menu--generate): Adjust to new package-alist format.
5145 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5147 * allout-widgets.el (allout-widgets-mode-off)
5148 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5149 (allout-widgets-post-command-business)
5150 (allout-widgets-after-copy-or-kill-function)
5151 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5152 (allout-decorate-item-and-context)
5153 (allout-graphics-modification-handler): Fix typos in docstrings.
5154 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5156 * cmuscheme.el (scheme-start-file): Doc fix.
5157 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5158 (scheme-input-filter): Use `string-match-p'.
5160 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5162 * dired-x.el: Use Dired consistently in docstrings.
5164 * dired.el: Use Dired consistently in docstrings.
5165 (dired-readin, dired-mode): Use `setq-local'.
5166 (dired-switches-alist): Make defvar-local.
5167 (dired-buffers-for-dir): Use `zerop'.
5168 (dired-safe-switches-p, dired-switches-escape-p)
5169 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5170 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5171 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5172 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5173 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5174 (dired-toggle-marks, dired-mark-files-containing-regexp)
5175 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5176 (dired-flag-auto-save-files, dired-flag-backup-files):
5178 (dired-mark-files-regexp, dired-build-subdir-alist):
5179 Use `string-match-p', `looking-at-p'.
5181 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5182 (direct-print-region-helper): Use `string-match-p'.
5184 2013-06-21 Leo Liu <sdl.web@gmail.com>
5186 * comint.el (comint-redirect-results-list-from-process):
5189 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5191 * net/eww.el (eww-update-header-line-format): Quote % characters.
5193 2013-06-21 Glenn Morris <rgm@gnu.org>
5195 * play/cookie1.el (cookie): New custom group.
5196 (cookie-file): New option.
5197 (cookie-check-file): New function.
5198 (cookie): Make it interactive. Make start and end messages optional.
5199 Interactively, display the result. Default to cookie-file.
5200 (cookie-insert): Default to cookie-file.
5201 (cookie-snarf): Make start and end messages optional.
5202 Default to cookie-file. Use with-temp-buffer.
5203 (cookie-read): Rename from read-cookie.
5204 Make start and end messages optional. Default to cookie-file.
5205 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5207 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5208 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5210 2013-06-21 Leo Liu <sdl.web@gmail.com>
5212 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5214 2013-06-21 Glenn Morris <rgm@gnu.org>
5216 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5218 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5219 Daniel Hackney <dan@haxney.org>
5221 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5222 Consolidate the single-file vs tarball code.
5223 (package-desc-suffix): New function.
5224 (package-desc-full-name): Don't bother inlining it.
5225 (package-load-descriptor): Return the new package-desc.
5226 (package-mark-obsolete): Remove unused arg `package'.
5227 (package-unpack): Make it work for single files as well.
5228 Make it update package-alist.
5229 (package--make-autoloads-and-stuff): Rename from
5230 package--make-autoloads-and-compile. Don't compile any more.
5231 (package--compile): New function.
5232 (package-generate-description-file): New function, extracted from
5233 package-unpack-single.
5234 (package-unpack-single): Remove.
5235 (package--with-work-buffer): Add indentation and debugging info.
5236 (package-download-single): Remove.
5237 (package-install-from-archive): Rename from package-download-tar, make
5238 it take a pkg-desc, and make it work for single files as well.
5239 (package-download-transaction): Simplify.
5240 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5241 external tar program.
5242 (package-install-from-buffer): Remove `pkg-desc' argument.
5243 Use package-tar-file-info for tar-mode buffers.
5244 (package-install-file): Simplify accordingly.
5245 (package-archive-base): Change to take a pkg-desc.
5246 * tar-mode.el (tar--check-descriptor): New function, extracted from
5248 (tar-get-descriptor): Use it.
5249 (tar-get-file-descriptor): New function.
5250 (tar--extract): New function, extracted from tar-extract.
5251 (tar--extract): Use it.
5252 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5253 case the summary uses non-ascii. Adjust to new calling convention of
5254 package-tar-file-info.
5256 2013-06-21 Leo Liu <sdl.web@gmail.com>
5258 * comint.el (comint-redirect-results-list-from-process):
5259 Fix random delay. (Bug#14681)
5261 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5263 * profiler.el (profiler-format-number): Use log, not log10.
5265 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5267 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5269 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5271 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5272 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5274 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5275 (AUTOGENEL): ... here.
5276 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5277 (cl--defsubst-expand): Use it.
5279 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5281 * subr.el (log10): Move here from C code, and declare as obsolete.
5282 All uses of (log10 X) replaced with (log X 10).
5284 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5286 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5287 Declare with `defvar-local'.
5288 (tabulated-list-use-header-line, tabulated-list-entries)
5289 (tabulated-list-padding, tabulated-list-printer)
5290 (tabulated-list-sort-key): Declare with `defvar-local'.
5291 (tabulated-list-init-header, tabulated-list-print-fake-header):
5294 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
5296 * arc-mode.el (archive-mode): Add `archive-write-file' to
5297 `write-contents-functions' also for remote files. (Bug#14652)
5299 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5301 * cus-edit.el (custom-commands): Fix typos.
5302 (custom-display): Fix tooltip text.
5303 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5304 Fix typos in docstrings.
5305 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5306 (custom-unlispify-menu-entry, custom-magic-value-create)
5307 (custom-add-see-also, custom-group-value-create): Use ?\s.
5308 (custom-guess-type, customize-apropos, editable-field)
5309 (custom-face-value-create): Use `string-match-p'.
5310 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5312 * custom.el (custom-load-symbol): Use `string-match-p'.
5314 * ansi-color.el: Convert to lexical binding.
5315 (ansi-colors): Fix URL.
5316 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5317 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5318 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5320 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5322 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5324 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5326 2013-06-19 Tom Tromey <tromey@redhat.com>
5328 * net/eww.el (eww-top-url): Remove.
5329 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5330 (eww-render): Set new variables. Don't set eww-top-url.
5331 (eww-handle-link): Handle "prev", "home", and "contents".
5332 Downcase the rel text.
5333 (eww-top-url): Choose best top URL.
5335 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5337 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5338 relying in widget.el. Using widget.el leads to too many
5339 user interface inconsistencies.
5340 (eww-self-insert): Implement entering commands in text fields.
5341 (eww-process-text-input): New function to make text input field editing
5343 (eww-submit): Rewrite to use the new-style form methods.
5344 (eww-select-display): Display the correct selected item.
5345 (eww-change-select): Implement changing the select value.
5346 (eww-toggle-checkbox): Implement radio/checkboxes.
5347 (eww-update-field): Fix compilation error.
5348 (eww-tag-textarea): Implement <textarea>.
5350 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5351 we don't shadow mode-specific bindings.
5353 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5356 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5358 2013-06-19 Glenn Morris <rgm@gnu.org>
5360 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5362 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5364 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5367 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5369 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5371 * net/browse-url.el (browse-url-browser-function):
5372 `eww-browse-url' has the right calling signature, `eww' does not.
5374 2013-06-19 Glenn Morris <rgm@gnu.org>
5376 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5377 Only eval autoloaded macros.
5378 (byte-compile-autoload): Only give the macro warning for macros.
5380 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5381 (ps-underlined-faces): Declare.
5383 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5384 (speedbar-add-supported-extension): Declare.
5386 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5387 Don't include a date stamp in the header of the generated file;
5388 it leads to needless differences between output files.
5390 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5392 * net/secrets.el (secrets-struct-secret-content-type):
5393 Replace check of introspection data by a test call of "CreateItem".
5394 Some servers do not offer introspection.
5396 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5398 * electric.el (electric-pair-mode): Improve interaction with
5399 electric-layout-mode.
5400 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5401 (electric-pair-syntax): Use text-mode-syntax-table in comments
5403 (electric-pair--insert): New function.
5404 (electric-pair-post-self-insert-function): Use it and
5405 electric--after-char-pos.
5407 2013-06-19 Leo Liu <sdl.web@gmail.com>
5409 * progmodes/octave.el (octave-help): Fix regexp.
5411 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5413 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5414 (shr-table-horizontal-line): Allow nil as a value, and change the
5416 (shr-insert-table-ruler): Respect the nil value.
5418 2013-06-18 Tom Tromey <tromey@barimba>
5420 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5422 (eww-open-file): New defun.
5423 (eww-render): Initialize new variables.
5424 (eww-display-html): Handle "link" and "a".
5425 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5426 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5427 (eww-back-url): Rename from eww-previous-url.
5428 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5431 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5433 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5434 Distinguish ternary operator tokens from slash symbol and slash
5437 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5439 Convert symbol prettification into minor mode and global minor mode.
5441 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5442 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5443 (prettify-symbols--keywords): Rename from
5444 `prog-prettify-symbols-alist' and make a local defvar.
5445 (prettify-symbols--compose-symbol): Rename from
5446 `prog--prettify-font-lock-compose-symbol'.
5447 (prettify-symbols--make-keywords): Rename from
5448 `prog-prettify-font-lock-symbols-keywords' and simplify.
5449 (prog-prettify-install): Remove.
5450 (prettify-symbols-mode): New minor mode, based on
5451 `prog-prettify-install'.
5452 (turn-on-prettify-symbols-mode): New function.
5453 (global-prettify-symbols-mode): New globalized minor mode.
5455 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5456 * progmodes/cfengine.el (cfengine3-mode):
5457 * progmodes/perl-mode.el (perl-mode): Don't call
5458 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5460 2013-06-18 Juri Linkov <juri@jurta.org>
5462 * files-x.el (modify-file-local-variable-message): New function.
5463 (modify-file-local-variable)
5464 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5465 and call `modify-file-local-variable-message' when it's non-nil.
5466 (add-file-local-variable, delete-file-local-variable)
5467 (add-file-local-variable-prop-line)
5468 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5469 and use it. (Bug#9820)
5471 2013-06-18 Juri Linkov <juri@jurta.org>
5473 * emulation/vi.el (vi-shell-op):
5474 * emulation/vip.el (vip-execute-com, ex-command):
5475 * emulation/viper-cmd.el (viper-exec-bang):
5476 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5477 the call of `shell-command-on-region'. (Bug#14637)
5479 * simple.el (shell-command-on-region): Doc fix.
5481 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5483 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5486 2013-06-18 Glenn Morris <rgm@gnu.org>
5488 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5490 * newcomment.el (comment-search-forward, comment-search-backward):
5491 Doc fix. (Bug#14376)
5493 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5495 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5496 (buffer-face-mode-invoke): Doc fix.
5498 2013-06-18 Matthias Meulien <orontee@gmail.com>
5500 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
5501 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
5503 2013-06-18 Glenn Morris <rgm@gnu.org>
5505 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5506 Replace obsolete function generic-make-keywords with its expansion.
5508 * progmodes/python.el (ffap-alist): Declare.
5510 * textmodes/reftex.el (bibtex-mode-map): Declare.
5512 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5514 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5515 (package-unpack, package-unpack-single): Return the pkg-dir.
5516 (package-download-transaction): Use it to update package-alist.
5518 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5520 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5523 2013-06-17 Juri Linkov <juri@jurta.org>
5525 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5527 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5529 * emacs-lisp/package.el (package-load-descriptor):
5530 Remove `with-syntax-table' call, `read' doesn't need it.
5531 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5533 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5535 * startup.el (command-line): Expand package name returned by
5536 `package--description-file' (bug#14639).
5538 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5540 * emacs-lisp/package.el (package-load-descriptor): Do not call
5541 `emacs-lisp-mode', just use its syntax table.
5543 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5545 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5546 `font-lock-extra-managed-props' if any prettifying keyword is added.
5547 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5548 (prog-mode): Use `setq-local'.
5550 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5552 * international/characters.el (standard-case-table): Set syntax of ?»
5553 and ?« to punctuation.
5555 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5557 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5558 Save relevant match data before calling `syntax-ppss' (bug#14595).
5560 2013-06-15 Juri Linkov <juri@jurta.org>
5562 * files-x.el (modify-file-local-variable-prop-line): Add local
5563 variables to the end of the existing comment on the first line.
5564 Use `file-auto-mode-skip' to skip interpreter magic line,
5565 and also skip XML declaration.
5567 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5569 * startup.el (package--builtin-versions): New var.
5570 (package-subdirectory-regexp): Remove.
5571 (package--description-file): Hard code its value instead.
5573 * emacs-lisp/package.el: Don't activate packages older than builtin.
5574 (package-obsolete-list): Rename from package-obsolete-alist, and make
5575 it into a simple list of package-desc.
5576 (package-strip-version): Remove.
5577 (package-built-in-p): Use package--builtin-versions.
5578 (package-mark-obsolete): Simplify.
5579 (package-process-define-package): Mark it obsolete if older than the
5581 (package-handle-response): Use line-end-position.
5582 (package-read-archive-contents, package--download-one-archive):
5584 (package--add-to-archive-contents): Skip if older than the builtin or
5586 (package-menu-describe-package): Fix last change.
5587 (package-list-unversioned): New var.
5588 (package-menu--generate): Use it.
5590 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5591 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5592 (autoload-builtin-package-versions): New variable.
5593 (autoload-generate-file-autoloads): Use them.
5594 Remove the list of autoloaded functions/macros from the
5595 (autoload...) comments.
5597 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5599 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5601 * simple.el (line-move-partial): Don't jump to the next screen
5602 line as soon as it becomes visible. Instead, continue enlarging
5603 the vscroll until the portion of a tall screen line that's left on
5604 display is about the height of the frame's default font.
5607 2013-06-15 Glenn Morris <rgm@gnu.org>
5609 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5610 compilation-error-regexp-alist void, or local while let-bound.
5612 * progmodes/make-mode.el (makefile-mode-syntax-table):
5613 Treat "=" as punctuation. (Bug#14614)
5615 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5617 * help-fns.el (describe-variable):
5618 Add extra line for permanent-local variables.
5620 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5622 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5623 Add export, import, library. (Bug#9164)
5624 (library): Set indent function.
5626 2013-06-14 Glenn Morris <rgm@gnu.org>
5628 * term/xterm.el (xterm--query):
5629 Stop after first matching handler. (Bug#14615)
5631 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5633 Add support for dired in saveplace.
5634 * dired.el (dired-initial-position-hook): New variable.
5635 (dired-initial-position): Call hook to place cursor position.
5636 * saveplace.el (save-place-to-alist): Add dired position.
5637 (save-place-dired-hook): New function.
5639 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5641 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5642 through a symbol rather than letrec.
5644 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5645 (package-desc): Add `dir' field.
5646 (package-desc-full-name): New function.
5647 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5648 (package-maybe-load-descriptor): Remove.
5649 (package-load-all-descriptors): Just call package-load-descriptor.
5650 (package--disabled-p): New function.
5651 (package-desc-vers, package-desc-doc): Remove aliases.
5652 (package--dir): Remove function.
5653 (package-activate): Check if a package is disabled.
5654 (package-process-define-package): New function, extracted from
5656 (define-package): Turn into a place holder.
5657 (package-unpack-single, package-tar-file-info):
5658 Use package--description-file.
5659 (package-compute-transaction): Use package--disabled-p.
5660 (package-download-transaction): Don't call
5661 package-maybe-load-descriptor since they're all loaded anyway.
5662 (package-install): Change argument to be a pkg-desc.
5663 (package-delete): Use a single pkg-desc argument.
5664 (describe-package-1): Use package-desc-dir instead of package--dir.
5665 Use package-desc property instead of package-symbol.
5666 (package-install-button-action): Adjust accordingly.
5667 (package--push): Rewrite.
5668 (package-menu--print-info): Adjust accordingly. Change the ID format
5670 (package-menu-describe-package, package-menu-get-status)
5671 (package-menu--find-upgrades, package-menu-mark-upgrades)
5672 (package-menu-execute, package-menu--name-predicate):
5674 * startup.el (package--description-file): New function.
5675 (command-line): Use it.
5676 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5677 Use package-desc-version.
5679 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5680 (byte-compile-preprocess): Use it.
5681 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5682 can't quite recognize.
5683 (byte-compile-add-to-list): Remove.
5684 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5685 (cconv-closure-convert): Add assertion.
5687 * emacs-lisp/map-ynp.el: Use lexical-binding.
5688 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5689 Factor out some repeated code.
5691 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5693 * subr.el (with-eval-after-load): New macro.
5694 (eval-after-load): Allow form to be a function.
5695 take advantage of lexical-binding.
5696 (do-after-load-evaluation): Use dolist and adjust to new format.
5697 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5699 2013-06-13 Juri Linkov <juri@jurta.org>
5701 * replace.el (perform-replace): Display "symbol " and other search
5702 modes from `isearch-message-prefix' in the *Help* buffer.
5704 * isearch.el (isearch-query-replace): Add " symbol" and other
5705 possible search modes from `isearch-message-prefix' to the prompt.
5706 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5707 when reading a regexp to collect.
5709 2013-06-13 Juri Linkov <juri@jurta.org>
5711 * isearch.el (word-search-regexp): Match whitespace if the search
5712 string begins or ends in whitespace. The LAX arg is applied to
5713 both ends of the search string. Use `regexp-quote' and explicit
5714 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5715 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5716 boundaries are replaced with symbol boundaries, and characters
5717 between symbols match non-word non-symbol syntax. (Bug#14602)
5719 2013-06-13 Juri Linkov <juri@jurta.org>
5721 * isearch.el (isearch-del-char): Don't exceed the length of
5722 `isearch-string' by the prefix arg. (Bug#14563)
5724 2013-06-13 Juri Linkov <juri@jurta.org>
5726 * isearch.el (isearch-yank-word, isearch-yank-line)
5727 (isearch-char-by-name, isearch-quote-char)
5728 (isearch-printing-char, isearch-process-search-char):
5729 Add optional count prefix arg. (Bug#14563)
5731 * international/isearch-x.el
5732 (isearch-process-search-multibyte-characters):
5733 Add optional count prefix arg.
5735 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5737 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5738 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5741 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5743 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5745 2013-06-13 Glenn Morris <rgm@gnu.org>
5747 * startup.el (tty-handle-args):
5748 Don't just discard "--" and anything after. (Bug#14608)
5750 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5752 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5754 Implement changes in Secret Service API. Make it backward compatible.
5755 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5756 (secrets-create-item): Use it. Prefix properties with interface.
5758 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5760 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5761 (term-emulate-terminal): Respect term-suppress-hard-newline.
5763 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5765 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5766 Only remove a `thumb-file' overlay. (Bug#14548)
5768 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
5770 * mail/reporter.el (reporter-submit-bug-report):
5771 Handle missing package-name. (Bug#14600)
5773 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5775 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5776 (reftex-citation-prompt, reftex-default-bibliography)
5777 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5778 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5779 (reftex-bib-sort-author, reftex-bib-sort-year)
5780 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5781 (reftex-extract-bib-entries-from-thebibliography)
5782 (reftex-get-bibkey-default, reftex-get-bib-names)
5783 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5784 (reftex-format-bib-entry, reftex-parse-bibitem)
5785 (reftex-format-bibitem, reftex-do-citation)
5786 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5787 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5788 (reftex-insert-bib-matches, reftex-format-citation)
5789 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5790 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5791 existing comments into docstrings.
5793 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5795 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5797 2013-06-12 Andreas Schwab <schwab@suse.de>
5799 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5800 for auto-save files.
5802 2013-06-12 Glenn Morris <rgm@gnu.org>
5804 * ido.el (ido-delete-ignored-files): Remove.
5805 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5806 Go back to calling ido-ignore-item-p directly.
5808 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5810 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5812 * ido.el (ido-delete-ignored-files): New function,
5813 split from ido-make-file-list-1.
5814 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5815 (ido-make-file-list-1): Use ido-delete-ignored-files.
5817 2013-06-12 Leo Liu <sdl.web@gmail.com>
5819 * progmodes/octave.el (inferior-octave-startup)
5820 (inferior-octave-completion-table)
5821 (inferior-octave-track-window-width-change)
5822 (octave-eldoc-function-signatures, octave-help)
5823 (octave-find-definition): Use single quoted strings.
5824 (inferior-octave-startup-args): Change default value.
5825 (inferior-octave-startup): Do not hard code "-i" and
5826 "--no-line-editing".
5827 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5828 (inferior-octave-directory-tracker): Use it.
5829 (octave-goto-function-definition): Robustify.
5830 (octave-help): Support highlighting operators in 'See also'.
5831 (octave-find-definition): Find subfunctions only in Octave mode.
5833 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5835 * help-fns.el (help-fns--compiler-macro): If the handler function is
5836 named, then put a link to it.
5837 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5838 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5840 (cl-eval-when): Simplify debug spec.
5841 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5842 compiler-macro function instead of setting `compiler-macro-file'.
5844 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5846 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5847 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5849 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5850 Daniel Hackney <dan@haxney.org>
5852 First part of Daniel Hackney's patch to package.el.
5853 * emacs-lisp/package.el: Use defstruct.
5854 (package-desc): New, main struct.
5855 (package--bi-desc, package--ac-desc): New structs, used to describe the
5856 format in external files.
5857 (package-desc-vers): Replace with package-desc-version accessor.
5858 (package-desc-doc): Replace with package-desc-summary accessor.
5859 (package-activate-1): Remove `package' arg since the pkg-vec now
5861 (define-package): Use package-desc-from-define.
5862 (package-unpack-single): Change file-name arg to be a symbol.
5863 (package--add-to-archive-contents): Use package-desc-create and new
5864 accessor functions to package--ac-desc.
5865 (package-buffer-info, package-tar-file-info): Return a package-desc.
5866 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5867 arg to be a package-desc.
5868 (package-install-file): Adjust accordingly. Use \' to match EOS.
5869 (package--from-builtin): New function.
5870 (describe-package-1, package-menu--generate): Use it.
5871 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5872 (package-generate-autoloads): Idem and return the name of the file.
5873 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5874 Change pkg-info arg to be a package-desc.
5875 Use package-make-ac-desc.
5876 (package-upload-file): Use \' to match EOS.
5877 * finder.el (finder-compile-keywords): Use package-make-builtin.
5879 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5881 * vc/vc.el (vc-deduce-fileset): Change error message.
5882 (vc-read-backend): New function.
5883 (vc-next-action): Use it.
5885 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5887 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5888 (prolog-font-lock-keywords): Use regexp-opt instead.
5889 Don't manually highlight strings.
5890 (prolog-mode-variables): Simplify comment-start-skip.
5891 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5893 * emacs-lisp/generic.el (generic--normalise-comments)
5894 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5895 (generic-mode-set-comments): Use them.
5896 (generic-bracket-support): Use setq-local.
5897 (generic-make-keywords-list): Declare obsolete.
5899 2013-06-11 Glenn Morris <rgm@gnu.org>
5901 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5902 Prettify after setting font-lock-defaults. (Bug#14574)
5904 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
5906 * replace.el (query-replace, occur-read-regexp-defaults-function)
5908 * subr.el (declare-function, number-sequence, local-set-key)
5909 (substitute-key-definition, locate-user-emacs-file)
5910 (with-silent-modifications, split-string, eval-after-load):
5911 Fix typos, remove unneeded backslashes and reflow some docstrings.
5913 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5915 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5916 default for Elisp files.
5918 2013-06-11 Glenn Morris <rgm@gnu.org>
5920 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5921 although define-derived-mode was doing this anyway. (Bug#14583)
5923 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
5925 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5926 Fix make-variable-buffer-local call to refer to the correct variable.
5928 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
5930 * eshell/em-term.el (eshell-visual-commands)
5931 (eshell-visual-subcommands, eshell-visual-options):
5932 Add summary line to docstrings. Add cross-references.
5934 2013-06-10 Glenn Morris <rgm@gnu.org>
5936 * epa.el (epa-read-file-name): New function. (Bug#14510)
5937 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5939 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5941 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5942 output redirection to be ignored with visual commands.
5944 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5946 * eshell/em-term.el (eshell-visual-command-p): New function.
5947 (eshell-term-initialize): Move long lambda to separate function
5948 eshell-visual-command-p.
5949 * eshell/em-dirs.el (eshell-dirs-initialise):
5950 * eshell/em-script.el (eshell-script-initialize):
5951 Add missing #' to lambda.
5953 2013-06-08 Leo Liu <sdl.web@gmail.com>
5955 * progmodes/octave.el (octave-add-log-current-defun): New function.
5956 (octave-mode): Set add-log-current-defun-function.
5957 (octave-goto-function-definition): Do not move point if not found.
5958 (octave-find-definition): Enhance to try subfunctions first.
5960 2013-06-08 Glenn Morris <rgm@gnu.org>
5962 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5963 (byte-compile-backward-char, byte-compile-backward-word):
5964 Improve previous change, to handle non-explicit nil.
5966 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5968 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5969 (smie--opener/closer-at-point): New function.
5970 (smie--matching-block-data): Use it. Don't match from right after an
5971 opener or right before a closer. Obey smie-blink-matching-inners.
5972 Don't signal a mismatch for repeated inners like "switch..case..case".
5974 2013-06-07 Leo Liu <sdl.web@gmail.com>
5976 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5978 (octave-function-header-regexp): Fix. (Bug#14570)
5979 (octave-help-mode-finish-hook, octave-help-mode-finish):
5980 Remove. Just use temp-buffer-show-hook.
5982 * newcomment.el (comment-search-backward): Revert last change.
5985 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5987 2013-06-07 Eli Zaretskii <eliz@gnu.org>
5989 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5990 through xargs, to avoid failure due to MS-Windows limitations on
5991 command-line length.
5993 2013-06-06 Glenn Morris <rgm@gnu.org>
5995 * font-lock.el (lisp-font-lock-keywords-2):
5996 Treat user-error like error.
5998 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5999 (byte-compile-backward-char, byte-compile-backward-word):
6000 Handle explicit nil arguments. (Bug#14565)
6002 2013-06-05 Alan Mackenzie <acm@muc.de>
6004 * isearch.el (isearch-allow-prefix): New user option.
6005 (isearch-other-meta-char): Don't exit isearch when a prefix
6006 argument is typed whilst `isearch-allow-prefix' is non-nil.
6009 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6011 * autorevert.el (auto-revert-notify-handler): Use memq.
6012 Hide assertion failure.
6014 * skeleton.el: Use cl-lib.
6015 (skeleton-further-elements): Use defvar-local.
6016 (skeleton-insert): Use cl-progv.
6018 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6020 * progmodes/prog-mode.el (prog-prettify-symbols)
6021 (prog-prettify-install): Update docstrings.
6023 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6025 * simple.el: Move all the prog-mode code to prog-mode.el.
6026 * progmodes/prog-mode.el: New file.
6027 * loadup.el: Add prog-mode.el.
6029 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6031 * simple.el (prog-prettify-symbols): Add version.
6032 (prog-prettify-install): Add convenience function to prettify symbols.
6034 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6035 (perl--augmented-font-lock-keywords-1)
6036 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6037 variables and use it.
6039 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6040 (cfengine3-mode): Remove unneeded variable and use it.
6042 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6043 (lisp--augmented-font-lock-keywords-1)
6044 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6045 Remove unneeded variables and use it.
6047 2013-06-05 João Távora <joaotavora@gmail.com>
6049 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6050 to point when opening the connection. (Bug#14380)
6052 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6054 * subr.el (load-history-regexp, load-history-filename-element)
6055 (eval-after-load, after-load-functions, do-after-load-evaluation)
6056 (eval-next-after-load, display-delayed-warnings)
6057 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6058 definition of save-match-data.
6059 (overriding-local-map): Remove accidental obsolescence declaration.
6061 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6063 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6065 Generalize symbol prettify support to prog-mode and implement it
6066 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6067 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6068 (prog--prettify-font-lock-compose-symbol)
6069 (prog-prettify-font-lock-symbols-keywords): New variables and
6070 functions to support symbol prettification.
6071 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6072 (lisp--augmented-font-lock-keywords-1)
6073 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6074 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6075 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6076 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6077 Implement prettify of -> => :: strings.
6078 * progmodes/perl-mode.el (perl-prettify-symbols)
6079 (perl--font-lock-compose-symbol)
6080 (perl--font-lock-symbols-keywords): Move to prog-mode.
6081 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6082 (perl-font-lock-keywords-1)
6083 (perl-font-lock-keywords-2): Remove explicit prettify support.
6084 (perl--augmented-font-lock-keywords)
6085 (perl--augmented-font-lock-keywords-1)
6086 (perl--augmented-font-lock-keywords-2, perl-mode):
6087 Implement prettify support.
6089 2013-06-05 Leo Liu <sdl.web@gmail.com>
6091 Re-implement smie matching block highlight using
6092 show-paren-data-function. (Bug#14395)
6093 * emacs-lisp/smie.el (smie-matching-block-highlight)
6094 (smie--highlight-matching-block-overlay)
6095 (smie--highlight-matching-block-lastpos)
6096 (smie-highlight-matching-block)
6097 (smie-highlight-matching-block-mode): Remove.
6098 (smie--matching-block-data-cache): New variable.
6099 (smie--matching-block-data): New function.
6100 (smie-setup): Use smie--matching-block-data for
6101 show-paren-data-function.
6103 * progmodes/octave.el (octave-mode-menu): Fix.
6104 (octave-find-definition): Skip garbage lines.
6106 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6108 Fix compilation error with simultaneous dynamic+lexical scoping.
6109 Add warning when a defvar appears after the first let-binding.
6110 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6111 (byte-compile-close-variables): Initialize it.
6112 (byte-compile--declare-var): New function.
6113 (byte-compile-file-form-defvar)
6114 (byte-compile-file-form-define-abbrev-table)
6115 (byte-compile-file-form-custom-declare-variable): Use it.
6116 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6117 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6118 (byte-compile-bind): Handle dynamic bindings that shadow
6120 (byte-compile-unbind): Make arg non-optional.
6121 (byte-compile-let): Simplify.
6122 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6123 (cconv--analyse-function, cconv-analyse-form): Populate it.
6124 Protect byte-compile-bound-variables to limit the scope of defvars.
6125 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6126 Remove unneeded rule for `declare'.
6128 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6129 so as to avoid depending on cl-adjoin at run-time.
6130 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6132 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6133 (macroexp--warn-and-return): Use it.
6135 2013-06-05 Leo Liu <sdl.web@gmail.com>
6137 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6139 2013-06-04 Leo Liu <sdl.web@gmail.com>
6141 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6142 (compilation-auto-jump): Suppress the "Mark set" message to give
6143 way to exit message.
6145 2013-06-04 Alan Mackenzie <acm@muc.de>
6147 Remove faulty optimisation from indentation calculation.
6148 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6149 search limit based on 2000 characters back from indent-point.
6151 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6153 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6155 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6157 * emacs-lisp/lisp.el: Use lexical-binding.
6158 (lisp--local-variables-1, lisp--local-variables): New functions.
6159 (lisp--local-variables-completion-table): New var.
6160 (lisp-completion-at-point): Use it complete let-bound vars.
6162 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6163 eagerly (bug#14422).
6165 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
6167 * autorevert.el (auto-revert-notify-enabled)
6168 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6169 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6170 (auto-revert-notify-handler): Handle also gfilenotify.
6172 * subr.el (file-notify-handle-event): New defun. Replacing ...
6173 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6176 2013-06-03 Juri Linkov <juri@jurta.org>
6178 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6179 `M-s h .'. (Bug#14427)
6181 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6182 command `hi-lock-face-symbol-at-point'.
6183 (hi-lock-face-symbol-at-point): New command.
6184 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6185 (hi-lock-menu): Add `highlight-symbol-at-point'.
6186 (hi-lock-mode): Doc fix.
6188 * isearch.el (isearch-forward-symbol-at-point): New command.
6189 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6190 (isearch-highlight-regexp): Add a regexp which matches
6191 words/symbols for word/symbol mode.
6193 * subr.el (find-tag-default-bounds): New function with the body
6194 mostly moved from `find-tag-default'.
6195 (find-tag-default): Move most code to `find-tag-default-bounds',
6196 call it and apply `buffer-substring-no-properties' afterwards.
6198 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6200 * eshell/em-term.el (eshell-term-initialize):
6201 Use `cl-intersection' rather than `intersection'.
6203 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6205 * vc/log-view.el: Doc fix.
6206 (log-view-mode-map): Copy keymap from `special-mode-map'.
6208 2013-06-02 Eric Ludlam <zappo@gnu.org>
6210 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6211 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6212 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6213 (eieio-unbound, eieio-default-superclass)
6214 (eieio--define-field-accessors, method-static, method-before)
6215 (method-primary, method-after, method-num-lists)
6216 (method-generic-before, method-generic-primary)
6217 (method-generic-after, method-num-slots)
6218 (eieio-specialized-key-to-generic-key)
6219 (eieio--check-type, class-v, class-p)
6220 (eieio-class-name, define-obsolete-function-alias)
6221 (eieio-class-parents-fast, eieio-class-children-fast)
6222 (same-class-fast-p, class-constructor, generic-p)
6223 (generic-primary-only-p, generic-primary-only-one-p)
6224 (class-option-assoc, class-option, eieio-object-p)
6225 (class-abstract-p, class-method-invocation-order)
6226 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6227 (eieio-class-un-autoload, eieio-defclass)
6228 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6229 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6230 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6231 (eieio-defgeneric-reset-generic-form)
6232 (eieio-defgeneric-form-primary-only)
6233 (eieio-defgeneric-reset-generic-form-primary-only)
6234 (eieio-defgeneric-form-primary-only-one)
6235 (eieio-defgeneric-reset-generic-form-primary-only-one)
6236 (eieio-unbind-method-implementations)
6237 (eieio--defmethod, eieio--typep)
6238 (eieio-perform-slot-validation, eieio-validate-slot-value)
6239 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6240 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6241 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6242 (eieio-slot-name-index, eieio-class-slot-name-index)
6243 (eieio-set-defaults, eieio-initarg-to-attribute)
6244 (eieio-attribute-to-initarg, eieio-c3-candidate)
6245 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6246 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6247 (eieio-class-precedence-list, eieio-generic-call-methodname)
6248 (eieio-generic-call-arglst, eieio-generic-call-key)
6249 (eieio-generic-call-next-method-list)
6250 (eieio-pre-method-execution-functions, eieio-generic-call)
6251 (eieio-generic-call-primary-only, eieiomt-method-list)
6252 (eieiomt-optimizing-obarray, eieiomt-install)
6253 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6254 (eieio-generic-form, eieio-defmethod, make-obsolete)
6255 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6256 (defclass): Remove `eval-and-compile' from macro.
6257 (call-next-method, shared-initialize): Instead of using
6258 `scoped-class' variable, use new eieio--scoped-class, and
6259 eieio--with-scoped-class.
6260 (initialize-instance): Rename local variable 'scoped-class' to
6261 'this-class' to remove ambiguitity from old global.
6263 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6265 (eieio--scoped-class-stack): New variable.
6266 (eieio--scoped-class): New fcn.
6267 (eieio--with-scoped-class): New scoping macro.
6268 (eieio-defclass): Use pushnew instead of add-to-list.
6269 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6270 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6271 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6272 `scoped-class' variable, use new eieio--scoped-class, and
6273 eieio--with-scoped-class.
6275 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6277 2013-06-02 Tassilo Horn <tsdh@gnu.org>
6279 * eshell/esh-ext.el (eshell-external-command): Pass args to
6280 `eshell-find-interpreter'.
6281 (eshell-find-interpreter): Add new second parameter ARGS.
6283 * eshell/em-script.el (eshell-script-initialize): Add second arg
6284 to the function added as MATCH to `eshell-interpreter-alist'.
6286 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6287 the function added as MATCH to `eshell-interpreter-alist'.
6289 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6290 (eshell-visual-options): New defcustom.
6291 (eshell-escape-control-x): Adapt docstring.
6292 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6293 `eshell-visual-options' in addition to `eshell-visual-commands'.
6294 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6296 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
6298 * progmodes/python.el (python-indent-block-enders): Add break,
6299 continue and raise keywords.
6301 2013-06-01 Glenn Morris <rgm@gnu.org>
6303 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6305 Plain (f)boundp silences compilation warnings since Emacs 22.1.
6306 * progmodes/cc-cmds.el (delete-forward-p):
6307 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6308 * progmodes/cc-engine.el (buffer-syntactic-context):
6309 * progmodes/cc-fonts.el (face-property-instance):
6310 * progmodes/cc-mode.el (set-keymap-parents):
6311 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6312 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6313 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6314 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6315 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6317 * progmodes/cc-vars.el (other): Emacs has this widget since
6318 at least 21.1, so don't (re)define it.
6320 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6321 Replace the obsolete alias pcomplete-arg-quote-list.
6323 2013-06-01 Leo Liu <sdl.web@gmail.com>
6325 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6327 (inferior-octave-minimal-columns)
6328 (inferior-octave-last-column-width): New variables.
6329 (inferior-octave-track-window-width-change): New function.
6330 (inferior-octave-mode): Adjust column width so that Octave output,
6331 for example from 'ls', can fit into the window nicely.
6333 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6335 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6336 Highlight expansions inside regexp literals.
6338 2013-05-31 Glenn Morris <rgm@gnu.org>
6340 * obsolete/sym-comp.el (symbol-complete):
6341 Replace obsolete completion-annotate-function.
6343 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6345 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6347 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6348 New function, checks if point is inside a literal that allows
6349 expression expansion.
6350 (ruby-syntax-propertize-expansion): Use it.
6351 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6354 2013-05-30 Juri Linkov <juri@jurta.org>
6356 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6358 (isearch-invisible): New variable.
6359 (isearch-forward): Doc fix.
6360 (isearch-mode): Set `isearch-invisible'
6361 to the value of `search-invisible'.
6362 (isearch-toggle-case-fold): Doc fix.
6363 (isearch-toggle-invisible): New command.
6364 (isearch-query-replace): Let-bind `search-invisible'
6365 to the value of `isearch-invisible'.
6366 (isearch-search): Use `isearch-invisible' instead of
6367 `search-invisible'. Let-bind `search-invisible'
6368 to the value of `isearch-invisible'. (Bug#11378)
6370 2013-05-30 Juri Linkov <juri@jurta.org>
6372 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6373 call when `query-flag' is nil and `search-invisible' is non-nil.
6376 2013-05-30 Glenn Morris <rgm@gnu.org>
6378 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6380 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6381 (cc-require): Suppress spurious "noruntime" warnings.
6382 (cc-require-when-compile): Use fboundp, for sake of compiler.
6384 * progmodes/cc-mode.el: Move load of cc-vars before that of
6385 cc-langs (which in turn loads cc-vars), to quieten compiler.
6387 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6389 * paren.el: Simplify the code.
6390 (show-paren-mode): Always start the timer.
6391 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6392 (show-paren--overlay, show-paren--overlay-1): Rename from
6393 show-paren-overlay and show-paren-overlay-1, and initialize to an
6394 overlay rather than to nil.
6395 (show-paren-function): Misc cleanup and simplifications.
6397 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6399 * paren.el (show-paren-data-function): New hook.
6400 (show-paren--default): New function, extracted from show-paren-function.
6401 (show-paren-function): Use show-paren-data-function.
6403 2013-05-30 Glenn Morris <rgm@gnu.org>
6405 * ielm.el (ielm-map, ielm-complete-symbol):
6406 Use completion-at-point rather than obsolete functions.
6407 (inferior-emacs-lisp-mode): Doc fix.
6408 Set completion-at-point-functions, rather than
6409 comint-dynamic-complete-functions.
6411 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6412 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6413 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6415 * image.el (image-animated-p): Tweak definition.
6417 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6418 (rlogin-process-connection-type): Tweak default. Add set-after.
6419 (rlogin-host): Doc fix.
6420 (rlogin): Tweak prompt.
6421 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6423 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6424 * progmodes/tcl.el (inferior-tcl-mode-map):
6425 Use completion-at-point rather than obsolete alias.
6427 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6429 * minibuffer.el (read-file-name-completion-ignore-case):
6430 Move before completion--in-region, for eager macro expansion.
6432 2013-05-29 Juri Linkov <juri@jurta.org>
6434 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6435 for total count of matching lines. Add `global-matches' for total
6436 count of matches. Rename `matches' to `lines' for count of
6437 matching lines. Add `matches' for count of matches.
6438 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6439 to `prev-line' for line number of prev match endpt.
6440 Increment `matches' for every match. Print the number of
6441 matching lines in the header.
6442 (occur-context-lines): Rename `lines' to `curr-line'.
6443 Rename `prev-lines' to `prev-line'. (Bug#14017)
6445 2013-05-29 Juri Linkov <juri@jurta.org>
6447 * replace.el (perform-replace): Add `skip-read-only-count',
6448 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6449 Increment them for corresponding conditions and report the number
6450 of skipped occurrences in the final message. (Bug#11746)
6451 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6452 (replace-string, replace-regexp): Doc fix.
6454 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6456 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6458 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
6459 prog-mode-map (bug#14504).
6461 2013-05-29 Leo Liu <sdl.web@gmail.com>
6463 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6464 (octave-help): Small simplification.
6466 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6467 off the highlight first.
6469 2013-05-29 Glenn Morris <rgm@gnu.org>
6471 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6472 Handle idlwave-last-system-routine-info-cons-cell being nil.
6474 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6475 (idlwave-write-paths): Simplify via with-temp-buffer.
6477 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6478 * emulation/cua-rect.el: Also load cua-base at run time.
6480 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6481 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6482 (cperl-imenu-on-info): Require imenu.
6484 2013-05-28 Alan Mackenzie <acm@muc.de>
6486 Handle "capitalised keywords" correctly.
6487 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
6489 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
6491 * eshell/em-unix.el: Add -r option to cp.
6493 2013-05-28 Glenn Morris <rgm@gnu.org>
6495 * vc/vc-arch.el (vc-exec-after): Declare.
6496 (vc-switches): Autoload.
6497 * vc/vc-bzr.el: No need to require vc when compiling.
6498 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6499 (vc-resynch-buffer, vc-dir-refresh): Declare.
6500 (vc-setup-buffer, vc-switches): Autoload.
6501 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6502 (vc-resynch-buffer): Declare.
6503 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
6504 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
6505 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6506 (grep-read-regexp, grep-read-files, grep-expand-template)
6507 (vc-dir-refresh): Declare.
6508 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6509 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6510 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
6511 * vc/vc-mtn.el (vc-exec-after): Declare.
6512 (vc-switches): Autoload.
6513 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6514 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6515 (vc-file-tree-walk): Declare.
6516 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6517 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6518 (vc-tag-precondition, vc-rename-master): Autoload.
6519 * vc/vc-svn.el (vc-exec-after): Declare.
6520 (vc-switches, vc-setup-buffer): Autoload.
6521 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6523 (vc-resynch-buffer): Declare.
6525 * obsolete/fast-lock.el (byte-compile-warnings):
6526 Don't warn about obsolete features in this obsolete file.
6528 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6529 Move definition before use.
6531 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6532 (dun-unix-verbs): Remove dun-zippy.
6533 (dun-zippy): Remove function.
6535 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6537 2013-05-27 Juri Linkov <juri@jurta.org>
6539 * replace.el (replace-search): New function with code moved out
6540 from `perform-replace'.
6541 (replace-highlight, replace-dehighlight): Move function definitions
6542 up closer to `replace-search'. (Bug#11746)
6544 2013-05-27 Juri Linkov <juri@jurta.org>
6546 * replace.el (perform-replace): Ignore invisible matches.
6547 In addition to checking `query-replace-skip-read-only', also
6548 filter out matches by calling `run-hook-with-args-until-failure'
6549 on `isearch-filter-predicates', and also check `search-invisible'
6550 for t or call `isearch-range-invisible'.
6551 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6553 2013-05-27 Juri Linkov <juri@jurta.org>
6555 * isearch.el (isearch-filter-predicates): Rename from
6556 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6557 (isearch-message-prefix): Display text from the property
6558 `isearch-message-prefix' of the currently active filters.
6559 (isearch-search): Don't compare `isearch-filter-predicate' with
6560 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6561 on `isearch-filter-predicates'. Also check `search-invisible' for t
6562 or call `isearch-range-invisible'.
6563 (isearch-filter-visible): Make obsolete.
6564 (isearch-lazy-highlight-search):
6565 Call `run-hook-with-args-until-failure' on
6566 `isearch-filter-predicates' and use `isearch-range-invisible'.
6568 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6569 `isearch-filter-predicates' instead of `funcall'ing
6570 `isearch-filter-predicate'.
6571 (Info-mode): Set `Info-isearch-filter' to
6572 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6574 * dired-aux.el (dired-isearch-filter-predicate-orig):
6576 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6577 (dired-isearch-filenames-end): Add and remove
6578 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6579 instead of changing the value of `isearch-filter-predicate'.
6580 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6581 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6582 Put property `isearch-message-prefix' to "filename " on
6583 `dired-isearch-filter-filenames'.
6585 * wdired.el (wdired-change-to-wdired-mode):
6586 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6587 locally instead of changing `isearch-filter-predicate'.
6588 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6590 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6592 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6593 return the commit hash (Bug#14459). Also set the
6594 `vc-git-detached' property.
6595 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6596 (vc-git-mode-line-string): Use the same help-echo format whether
6597 in detached mode or not, because we know the actual revision now.
6598 When in detached mode, shorten the revision to 7 chars.
6600 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6602 * emacs-lisp/easy-mmode.el (define-minor-mode):
6603 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6604 mode hook and provide a docstring.
6606 2013-05-27 Alan Mackenzie <acm@muc.de>
6608 Remove spurious syntax-table text properties inserted by C-y.
6609 * progmodes/cc-mode.el (c-after-change): Also clear hard
6610 syntax-table property with value nil.
6612 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6614 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6615 when reading the events; the buffer layout shall not be changed.
6617 2013-05-27 Leo Liu <sdl.web@gmail.com>
6619 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6621 (inferior-octave-directory-tracker): Automatically re-sync
6623 (octave-help): Improve handling of 'See also'.
6625 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6627 * doc-view.el: Minor naming convention tweaks.
6628 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6630 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6631 even if there's no `display' property yet (bug#14435).
6633 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6635 * subr.el (unmsys--file-name): Rename from reveal-filename.
6637 * Makefile.in (custom-deps, finder-data, autoloads)
6638 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6639 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6640 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6642 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6644 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6645 error-completion on the first 2 args of condition-case (bug#14446).
6648 2013-05-25 Leo Liu <sdl.web@gmail.com>
6650 * comint.el (comint-previous-matching-input): Do not flood the
6651 *Messages* buffer with trivial messages.
6653 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6655 * progmodes/flymake.el (flymake-nop): Don't return a string.
6656 (flymake-set-at): Fix typo.
6658 * simple.el (read--expression): New function, extracted from
6659 eval-expression. Set completion-at-point-functions (bug#14465).
6660 (eval-expression, eval-minibuffer): Use it.
6662 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6664 * progmodes/flymake.el (flymake-save-buffer-in-file)
6665 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6666 (flymake-selected-frame, flymake-log, flymake-ins-after)
6667 (flymake-set-at, flymake-get-buildfile-from-cache)
6668 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6669 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6670 Refine the doc string.
6671 (flymake-get-file-name-mode-and-masks): Reformat.
6672 (flymake-get-real-file-name-function): Fix a minor bug.
6674 2013-05-24 Juri Linkov <juri@jurta.org>
6676 * progmodes/grep.el (grep-mode-font-lock-keywords):
6677 Support =linenumber= format used by git-grep for lines with
6678 function names. (Bug#13549)
6680 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6682 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6683 0 after a semi-colon; it works better for smie-auto-fill.
6684 (octave--indent-new-comment-line): New function.
6685 (octave-indent-new-comment-line): Use it (indirectly).
6686 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6687 modify comment-line-break-function.
6689 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6690 (smie-setup): Use add-function to set it.
6692 2013-05-24 Sam Steingold <sds@gnu.org>
6694 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6695 argument (before the `interactive' argument).
6697 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6699 * image-mode.el (image-mode-winprops): Add winprops to
6700 image-mode-winprops-alist before running
6701 image-mode-new-window-functions.
6702 * doc-view.el (doc-view-new-window-function): Don't delay
6703 doc-view-goto-page via timers (bug#14435).
6705 2013-05-24 Tassilo Horn <tsdh@gnu.org>
6707 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6708 (doc-view-desktop-save-buffer): New function.
6709 (doc-view-restore-desktop-buffer): New function.
6710 (desktop-buffer-mode-handlers):
6711 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6713 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6714 `desktop-save-buffer' function.
6716 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
6718 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6719 (tramp-gvfs-file-name-handler): Raise a user error when
6720 `tramp-gvfs-enabled' is nil.
6721 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6722 Do not raise a user error when loading package. (Bug#14447)
6724 * net/xesam.el: Move to obsolete/.
6726 2013-05-24 Glenn Morris <rgm@gnu.org>
6728 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6730 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6732 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6733 (Info-find-node, Man-getpage-in-background): Declare.
6735 * mail/unrmail.el (unrmail):
6736 Replace obsolete detect-coding-with-priority.
6738 * net/socks.el (socks-split-string): Use this rather than split-string.
6739 (socks-nslookup-host): Update for above change.
6740 (dynamic-choice, s5-dynamic-choice-match)
6741 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6742 Comment out unused code.
6744 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6745 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6746 (gud-tooltip-echo-area): Make obsolete.
6747 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6749 * progmodes/js.el (js--optimize-arglist): Declare.
6751 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6753 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6754 (ediff-window-C): Declare.
6756 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6757 Tweak requires to silence compiler.
6759 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6760 (he-search-string, he-tried-table, he-expand-list)
6761 (he-init-string, he-string-member, he-substitute-string)
6762 (he-reset-string): Declare.
6764 * obsolete/options.el (list-options): Use custom-variable-p,
6765 rather than obsolete alias.
6767 2013-05-23 Sam Steingold <sds@gnu.org>
6769 * simple.el (shell-command-on-region): Pass the `replace' argument
6770 down to `call-process-region' to comply with the doc as reported on
6771 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6773 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6775 * emacs-lisp/smie.el (smie-indent-forward-token)
6776 (smie-indent-backward-token): Handle string tokens (bug#14381).
6778 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6780 * ielm.el (ielm-menu): New menu.
6781 (inferior-emacs-lisp-mode): Set comment-start.
6783 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6785 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6786 Fix deactivate action.
6788 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6789 Add cleveref macros.
6791 * lisp/textmodes/reftex-parse.el
6792 (reftex-locate-bibliography-files): Accept options for
6793 bibliography commands.
6794 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6795 Add addbibresource. Basic Biblatex support.
6797 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
6799 * net/tramp-gvfs.el (top):
6800 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6801 when loading package. (Bug#14447)
6803 2013-05-23 Glenn Morris <rgm@gnu.org>
6805 * progmodes/js.el: No need to load comint when compiling.
6806 (ring-insert, comint-send-string, comint-send-input)
6807 (comint-last-input-end, ido-chop): Declare.
6809 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6810 * vc/ediff-mult.el: Adjust requires.
6811 (ediff-directories-internal, ediff-directory-revisions-internal)
6812 (ediff-patch-file-internal): Declare.
6813 * vc/ediff-ptch.el: Adjust requires.
6814 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6815 (ediff-find-file): Autoload.
6816 * vc/ediff-util.el: No need to load ediff when compiling.
6817 (ediff-regions-internal): Declare.
6818 * vc/ediff-wind.el: Adjust requires.
6819 (ediff-compute-toolbar-width): Define when compiling.
6820 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6821 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6822 (dired-get-filename, dired-get-marked-files)
6823 (ediff-last-dir-patch, ediff-patch-default-directory)
6824 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6825 (ediff-patch-buffer-internal): Declare.
6827 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6828 (ispell-process, ispell-buffer-local-words, lm-summary)
6829 (lm-section-start, lm-section-end): Declare.
6830 (checkdoc-ispell-init): Simplify.
6832 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6833 (he-string-member, he-reset-string, he-substitute-string): Declare.
6835 * eshell/em-ls.el: Adjust requires.
6836 (eshell-glob-regexp): Declare.
6837 * eshell/em-tramp.el: Adjust requires.
6838 (eshell-parse-command): Autoload.
6839 * eshell/em-xtra.el: Adjust requires.
6840 (eshell-parse-command): Autoload.
6841 * eshell/esh-ext.el: Adjust requires.
6842 (eshell-parse-command, eshell-close-handles): Autoload.
6843 * eshell/esh-io.el: Adjust requires.
6844 (eshell-output-filter): Autoload.
6845 * eshell/esh-util.el: No need to load tramp when compiling.
6846 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6848 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6849 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6850 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6851 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6852 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6853 * eshell/esh-opt.el, eshell/esh-proc.el:
6854 * eshell/esh-var.el: Adjust requires.
6855 * eshell/eshell.el: Do not require esh-util twice.
6856 (eshell-add-input-to-history): Declare.
6857 (eshell-command): Check history module is active before using it.
6859 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6861 2013-05-22 Leo Liu <sdl.web@gmail.com>
6863 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6865 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
6867 * autorevert.el (auto-revert-notify-add-watch)
6868 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6869 it indicates changes in file modification time.
6871 2013-05-22 Glenn Morris <rgm@gnu.org>
6873 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6874 Always delete the autoloaded function from the noruntime and
6875 unresolved functions lists.
6877 * allout.el: No need to load epa, epg, overlay when compiling.
6878 (epg-context-set-passphrase-callback, epg-list-keys)
6879 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6880 (epg-key-user-id-list): Declare.
6882 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6883 (viper-set-parsing-style-toggling-macro)
6884 (viper-set-emacs-state-searchstyle-macros):
6885 Use called-interactively-p on Emacs.
6886 (viper-looking-back): Make it an obsolete alias. Update callers.
6887 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6888 Use looking-back rather than viper-looking-back.
6889 (viper-tmp-insert-at-eob, viper-enlarge-region)
6890 (viper-read-string-with-history, viper-register-to-point)
6891 (viper-append-to-register, viper-change-state-to-vi)
6892 (viper-backward-char-carefully, viper-forward-char-carefully)
6893 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6894 (viper-change-state-to-emacs): Declare.
6895 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6896 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6897 * emulation/viper-mous.el: Do not load viper-cmd.
6898 (viper-backward-char-carefully, viper-forward-char-carefully)
6899 (viper-forward-word, viper-adjust-window): Declare.
6901 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6903 * progmodes/idlw-help.el (idlwave-help-fontify):
6904 Use called-interactively-p.
6906 * term/w32console.el (w32-get-console-codepage)
6907 (w32-get-console-output-codepage): Declare.
6909 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6910 Remove unnecessary declarations.
6911 (dframe-message): Doc fix.
6913 * info.el (dframe-select-attached-frame, dframe-current-frame):
6916 * speedbar.el (speedbar-message): Make it an obsolete alias.
6918 (speedbar-with-attached-buffer)
6919 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6920 (speedbar-with-writable): Use backquote.
6921 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6922 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6923 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6924 rather than speedbar- aliases.
6925 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6926 (speedbar-make-specialized-keymap, speedbar-insert-button)
6927 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6928 (speedbar-do-function-pointer): Declare.
6929 (rmail-speedbar-button, rmail-speedbar-find-file)
6930 (rmail-speedbar-move-message):
6931 Use dframe-with-attached-buffer rather than speedbar- alias.
6932 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6933 (dframe-message, speedbar-make-specialized-keymap)
6934 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6935 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6936 (speedbar-insert-button, dframe-select-attached-frame)
6937 (dframe-maybee-jump-to-attached-frame)
6938 (speedbar-change-initial-expansion-list)
6939 (speedbar-previously-used-expansion-list-name): Declare.
6940 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6941 Use dframe-message, dframe-with-attached-buffer rather than
6943 (gud-sentinel): Silence compiler.
6944 * progmodes/vhdl-mode.el (speedbar-refresh)
6945 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6946 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6947 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6948 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6949 (speedbar-file-lists, speedbar-make-tag-line)
6950 (speedbar-line-directory, speedbar-goto-this-file)
6951 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6952 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6953 (speedbar-make-button, speedbar-reset-scanners)
6954 (speedbar-files-item-info, speedbar-line-text)
6955 (speedbar-find-file-in-frame, speedbar-set-timer)
6956 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6957 (speedbar-with-writable): Do not (re)define it.
6958 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6959 rather than speedbar- alias.
6961 2013-05-21 Leo Liu <sdl.web@gmail.com>
6963 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6965 (octave-mode): Tweak fill-nobreak-predicate.
6966 (inferior-octave-startup): Check process to avoid infinite loop.
6967 (inferior-octave): Pop to buffer first to show abornmal process
6970 2013-05-21 Glenn Morris <rgm@gnu.org>
6972 * printing.el (pr-menu-bar): Define when compiling.
6974 2013-05-21 Leo Liu <sdl.web@gmail.com>
6976 * progmodes/octave.el (octave-auto-fill): Remove.
6977 (octave-indent-new-comment-line): Improve.
6978 (octave-mode): Use auto fill mode through
6979 comment-line-break-function and fill-nobreak-predicate.
6980 (octave-goto-function-definition): Support DEFUN_DLD.
6981 (octave-beginning-of-defun): Small tweak.
6982 (octave-help): Show parent directory.
6984 2013-05-21 Glenn Morris <rgm@gnu.org>
6986 * files.el (dired-unmark):
6987 * progmodes/gud.el (gdb-input): Update declarations.
6989 * calculator.el (electric, ehelp): No need to load when compiling.
6990 (Electric-command-loop, electric-describe-mode): Declare.
6992 * doc-view.el (doc-view-current-converter-processes): Move before use.
6994 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6995 Move MODE-set-explicitly definition before use.
6997 * international/mule-diag.el (mule-diag):
6998 Don't use obsolete window-system-version.
7000 * mail/feedmail.el (smtpmail): No need to load when compiling.
7001 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7003 * mail/mail-utils.el (rfc822): No need to load when compiling.
7004 (rfc822-addresses): Autoload it.
7005 (mail-strip-quoted-names): Trivial simplification.
7007 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7008 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7010 * net/snmp-mode.el (tempo): Don't duplicate requires.
7012 * progmodes/prolog.el (info): No need to load when compiling.
7013 (comint): Require before shell requires it.
7014 (Info-goto-node): Autoload it.
7015 (Info-follow-nearest-node): Declare.
7016 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7018 * textmodes/artist.el (picture-mode-exit): Declare.
7020 * textmodes/reftex-parse.el (reftex-parse-from-file):
7021 Trivial rewrite so the compiler can parse it better.
7023 2013-05-20 Leo Liu <sdl.web@gmail.com>
7025 * progmodes/octave.el (octave-help-mode-map)
7026 (octave-help-mode-finish-hook): New variables.
7027 (octave-help-mode, octave-help-mode-finish): New functions.
7028 (octave-help): Use octave-help-mode.
7030 2013-05-20 Glenn Morris <rgm@gnu.org>
7032 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7034 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7036 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7037 start at point, so that expansion starting right after opening
7038 slash in a regexp is recognized.
7039 (ruby-syntax-before-regexp-re): New defvar, extracted from
7040 ruby-syntax-propertize-function. Since the value of this regexp
7041 is looked up at runtime now, we should be able to turn
7042 `ruby-syntax-methods-before-regexp' into a defcustom later.
7043 (ruby-syntax-propertize-function): Split regexp matching into two
7044 parts, for opening and closing slashes. That allows us to skip
7045 over string interpolations and support multiline regexps.
7046 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7047 for them, which calls `ruby-syntax-propertize-expansion'.
7048 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7049 call to `ruby-syntax-propertize-function'.
7050 (ruby-syntax-propertize-expansion): Extracted from
7051 `ruby-syntax-propertize-expansions'. Handles one expansion.
7052 (ruby-syntax-propertize-percent-literal): Leave point right after
7053 the percent symbol, so that the expression expansion rule can
7054 propertize the contents.
7055 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7057 (ruby-syntax-propertize-expansions): Remove.
7059 2013-05-18 Juri Linkov <juri@jurta.org>
7061 * man.el (Man-default-man-entry): Remove `-' from the end
7062 of the default value. (Bug#14400)
7064 2013-05-18 Glenn Morris <rgm@gnu.org>
7066 * comint.el (comint-password-prompt-regexp):
7067 Allow "password for XXX" where XXX contains colons (eg https://...).
7069 2013-05-18 Leo Liu <sdl.web@gmail.com>
7071 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7072 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
7073 (octave-source-directories): Don't check process.
7074 (octave-source-directories, octave-find-definition): Doc fix.
7076 2013-05-18 Glenn Morris <rgm@gnu.org>
7078 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7079 Remove backspace/delete bindings. (Bug#14392)
7081 * cus-dep.el (custom-make-dependencies): Sort the output.
7082 (custom-versions-load-alist): Convert comment to doc.
7084 2013-05-17 Leo Liu <sdl.web@gmail.com>
7086 * newcomment.el (comment-search-backward): Stricter in finding
7087 comment start. (Bug#14303)
7089 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7090 (octave-comment-start-skip): Properly anchored.
7092 2013-05-17 Leo Liu <sdl.web@gmail.com>
7094 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7095 Clean up when turned off. (Bug#14395)
7096 (smie--highlight-matching-block-overlay): No longer buffer-local.
7097 (smie-highlight-matching-block): Adjust.
7099 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7101 Doc string fix for "nanoseconds" (Bug#14406).
7102 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7103 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7105 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7107 * calc/calc-units.el (math-extract-units): Preserve powers
7110 2013-05-17 Leo Liu <sdl.web@gmail.com>
7112 * subr.el (delete-consecutive-dups): New function.
7113 * ido.el (ido-set-matches-1): Use it.
7114 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7115 * ido.el (ido-remove-consecutive-dups): Remove.
7117 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7119 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7120 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7121 regexp-opt's `words'.
7123 2013-05-16 Leo Liu <sdl.web@gmail.com>
7125 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7126 (smie--highlight-matching-block-overlay)
7127 (smie--highlight-matching-block-lastpos)
7128 (smie--highlight-matching-block-timer): New variables.
7129 (smie-highlight-matching-block): New function.
7130 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7131 (smie-setup): Conditionally enable smie-blink-matching-open.
7133 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7135 Sync with upstream verilog-mode r840.
7136 * progmodes/verilog-mode.el (verilog-mode-version)
7137 (verilog-mode-release-date): Update.
7138 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7139 (verilog-sig-tieoff): Fix string error on
7140 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7141 (verilog-read-decls): Fix parameters confusing
7142 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7144 2013-05-16 Eli Zaretskii <eliz@gnu.org>
7146 * subr.el (reveal-filename): New function.
7148 * loadup.el: Compute Emacs executable versions on MS-Windows,
7149 where executables have the .exe extension. Add a hard link
7150 emacs-XX.YY.ZZ.exe on MS-Windows.
7152 * Makefile.in (XARGS_LIMIT): New variable.
7153 (custom-deps, finder-data, autoloads)
7154 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7155 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7156 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7157 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7159 2013-05-16 Leo Liu <sdl.web@gmail.com>
7161 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7162 (octave-mode-menu, octave-mode-map): Remove its uses.
7164 2013-05-16 Reto Zimmermann <reto@gnu.org>
7166 Sync with upstream vhdl mode v3.34.2.
7167 * progmodes/vhdl-mode.el: Use `push' throughout.
7168 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7169 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7170 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7171 (vhdl-actual-generic-name): New option to derive actual generic name.
7172 (vhdl-port-paste-signals): Replace formal by actual generics.
7173 (vhdl-beautify): New name for old group vhdl-align. Update users.
7174 (vhdl-beautify-options): New option.
7175 (vhdl-last-input-event): New compat alias. Use throughout.
7176 (vhdl-goto-line): Replace user level function `goto-line'.
7177 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7178 vhdl-fix-statement-buffer.
7179 (vhdl-create-mode-menu): Add some entries.
7180 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7181 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7182 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7183 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7184 to force statements on one line.
7185 (vhdl-remove-trailing-spaces-region):
7186 New, split from vhdl-remove-trailing-spaces.
7187 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7188 Respect vhdl-beautify-options.
7189 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7190 (vhdl-update-sensitivity-list): Not add with index if exists without.
7191 Not include array index with signal. Ignore keywords in comments.
7192 (vhdl-get-visible-signals): Regexp tweaks.
7193 (vhdl-template-component-inst): Handle empty library.
7194 (vhdl-template-type): Add template for 'enum' type.
7195 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7196 Use vhdl-replace-string.
7197 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7198 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7199 (vhdl-speedbar-initialize): Update for above name change.
7200 (vhdl-compose-wire-components): Fix in handling of constants.
7201 (vhdl-error-regexp-emacs-alist): New variable.
7202 (vhdl-error-regexp-add-emacs): New function;
7203 adds support for new compile.el (Emacs 22+)
7204 (vhdl-generate-makefile-1): Change target order for single lib. units.
7205 Allow use of absolute file names.
7207 2013-05-16 Leo Liu <sdl.web@gmail.com>
7209 * simple.el (prog-indent-sexp): Indent enclosing defun.
7211 2013-05-15 Glenn Morris <rgm@gnu.org>
7213 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7214 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7215 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7216 (whitespace-highlight): Move to whitespace group.
7218 * comint.el (comint-source):
7219 * pcmpl-linux.el (pcmpl-linux):
7220 * shell.el (shell-faces):
7221 * eshell/esh-opt.el (eshell-opt):
7222 * international/ccl.el (ccl): Remove empty custom groups.
7224 * completion.el (dynamic-completion-mode):
7225 * jit-lock.el (jit-lock-debug-mode):
7226 * minibuffer.el (completion-in-region-mode):
7227 * type-break.el (type-break-mode-line-message-mode)
7228 (type-break-query-mode):
7229 * emulation/tpu-edt.el (tpu-edt-mode):
7230 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7231 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7232 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7234 * term/xterm.el (xterm): Change parent group to terminals.
7236 * master.el (master): Remove empty custom group.
7237 (master-mode): Remove unused :group argument.
7238 * textmodes/refill.el (refill): Remove empty custom group.
7239 (refill-mode): Remove unused :group argument.
7241 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7243 * cus-dep.el: Provide a feature.
7244 (custom-make-dependencies): Ignore dotfiles (dir-locals).
7245 Don't mistakenly ignore files whose basenames match a basename
7246 from preloaded-file-list (eg cedet/ede/simple.el).
7247 Add a fallback method for getting :group.
7249 2013-05-15 Juri Linkov <juri@jurta.org>
7251 * isearch.el (isearch-char-by-name): Rename from
7252 `isearch-insert-char-by-name'. Doc fix.
7253 (isearch-forward): Mention `isearch-char-by-name' in
7254 the docstring. (Bug#13348)
7256 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7257 `exit-minibuffer' instead of
7258 `isearch-nonincremental-exit-minibuffer'.
7259 (isearch-edit-string): Remove mention of
7260 `isearch-nonincremental-exit-minibuffer' from docstring.
7261 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7262 (isearch-forward-exit-minibuffer)
7263 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7265 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7267 * loadup.el: Just use unversioned DOC.
7269 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7270 literals as extending to EOB.
7271 (nxml-last-fontify-end): Remove unused variable.
7272 (nxml-after-change1): Use with-silent-modifications.
7273 (nxml-extend-after-change-region): Simplify.
7274 (nxml-extend-after-change-region1): Remove function.
7275 (nxml-after-change1): Don't adjust for dependent regions.
7276 (nxml-fontify-matcher): Simplify.
7277 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7278 (xmltok-add-dependent): Remove function.
7279 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7280 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7281 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7282 unclosed <[[, <?, comment, and other literals as extending to EOB.
7283 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7284 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7286 (rng-do-some-validation-1): Don't mark dependent regions.
7287 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7288 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7289 (nxml-clear-dependent-regions): Remove functions.
7290 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7291 (nxml-ensure-scan-up-to-date):
7292 Don't clear&mark dependent regions.
7294 2013-05-15 Leo Liu <sdl.web@gmail.com>
7296 * progmodes/octave.el (octave-goto-function-definition):
7297 Improve and fix callers.
7299 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7301 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7302 the setter (bug#14387).
7304 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7305 surrounding group (bug#14402).
7307 2013-05-14 Juri Linkov <juri@jurta.org>
7309 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7312 2013-05-14 Glenn Morris <rgm@gnu.org>
7314 * progmodes/f90.el (f90-imenu-generic-expression):
7315 Fix typo in 2013-05-08 change. (Bug#14402)
7317 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7319 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7320 Remove signals for which replies are never received.
7322 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7324 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7325 (gdb-handler-alist, gdb-handler-number): Remove variables.
7326 (gdb-handler-list): New variable.
7327 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7328 (gdb-pending-handler-p, gdb-handle-reply)
7329 (gdb-remove-all-pending-triggers): New functions.
7330 (gdb-discard-unordered-replies): New defcustom.
7331 (gdb-handler): New defstruct.
7332 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7333 instead of gdb-pending-triggers. Update docstring.
7334 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7335 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7336 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7337 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7338 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7339 (gdb-frame-handler): Pending triggers are now automatically managed.
7340 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7342 (gdb-input): Automatically handles pending triggers. Update docstring.
7343 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7344 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7346 (gdb-done-or-error): Now use gdb-handle-reply.
7348 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7350 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7353 2013-05-14 Glenn Morris <rgm@gnu.org>
7355 * subr.el (user-emacs-directory-warning): New option.
7356 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7358 2013-05-14 Leo Liu <sdl.web@gmail.com>
7360 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7362 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7363 (octave-font-lock-texinfo-comment): Fix invalid search bound
7364 error: wrong side of point.
7366 2013-05-14 Glenn Morris <rgm@gnu.org>
7368 * progmodes/flymake.el (flymake-xml-program): New option.
7369 (flymake-xml-init): Use it.
7371 * term/xterm.el: Provide a feature.
7373 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
7375 2013-05-13 Glenn Morris <rgm@gnu.org>
7377 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7378 Add compat aliases as a hack workaround. (Bug#14384)
7380 2013-05-13 Leo Liu <sdl.web@gmail.com>
7382 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7384 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7386 (octave-comment-start-skip): Include %!.
7387 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7389 2013-05-12 Leo Liu <sdl.web@gmail.com>
7391 * progmodes/octave.el (inferior-octave-startup): Store the value
7392 of __octave_srcdir__ for octave-source-directories.
7393 (inferior-octave-check-process): New function refactored out of
7394 inferior-octave-send-list-and-digest.
7395 (octave-source-directories)
7396 (octave-find-definition-filename-function): New variables.
7397 (octave-source-directories)
7398 (octave-find-definition-default-filename): New functions.
7399 (octave-find-definition): Improve to find functions implemented in C++.
7401 2013-05-12 Glenn Morris <rgm@gnu.org>
7403 * calendar/diary-lib.el (diary-outlook-format-1):
7404 Don't include dayname in the output. (Bug#14349)
7406 2013-05-11 Glenn Morris <rgm@gnu.org>
7408 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7410 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7411 Treat cc-provide like provide.
7413 2013-05-11 Kevin Ryde <user42@zip.com.au>
7415 * cus-dep.el (custom-make-dependencies):
7416 Use generated-autoload-load-name for the sake of files such
7417 such cedet/semantic/bovine/c.el, where the base file name
7418 is not in load-path. (Bug#5277)
7420 2013-05-11 Glenn Morris <rgm@gnu.org>
7422 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7425 2013-05-11 Leo Liu <sdl.web@gmail.com>
7427 * progmodes/octave.el (octave-indent-comment): Improve.
7428 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
7429 (octave-eldoc-function-signatures, octave-eldoc-function):
7431 (octave-mode, inferior-octave-mode): Add eldoc support.
7433 2013-05-11 Richard Stallman <rms@gnu.org>
7435 * epa.el (epa-decrypt-file): Take output file name as argument
7436 and read it using `interactive'.
7438 2013-05-11 Leo Liu <sdl.web@gmail.com>
7440 * progmodes/octave.el (octave-beginning-of-line)
7441 (octave-end-of-line): Check before using up-list because it jumps
7442 out of more syntactic contructs since moving to smie.
7443 (octave-indent-comment): New function.
7444 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
7445 (octave-begin-keywords, octave-end-keywords)
7446 (octave-reserved-words, octave-smie-bnf-table)
7447 (octave-smie-rules): Add new keywords from Octave 3.6.4.
7449 2013-05-11 Glenn Morris <rgm@gnu.org>
7451 * faces.el (internal-face-x-get-resource):
7452 * frame.el (ns-display-monitor-attributes-list):
7453 * calc/calc-aent.el (math-to-radians-2):
7454 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
7457 * calc/calc-menu.el: Make it loadable in isolation.
7459 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7460 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7461 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7462 (eudc-bbdb-query-internal): Require 'bbdb.
7464 * lpr.el (lpr-headers-switches):
7465 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7467 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7469 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7471 * term.el (term-set-escape-char): Make it idempotent.
7473 2013-05-10 Leo Liu <sdl.web@gmail.com>
7475 * progmodes/octave.el (inferior-octave-completion-table):
7476 No longer a function and all uses changed. Use cache to speed up
7477 completion due to bug#11906.
7478 (octave-beginning-of-defun): Re-write to be more general.
7480 2013-05-10 Glenn Morris <rgm@gnu.org>
7482 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7484 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7486 * comint.el (comint-redirect-send-command-to-process): Use :around
7487 rather than :override for comint-redirect-filter.
7488 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7489 Call it instead of comint-redirect-original-filter-function (which
7490 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7492 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7494 * frame.el (display-monitor-attributes-list): Add NS case.
7495 (ns-display-monitor-attributes-list): Declare.
7497 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
7499 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7501 2013-05-09 Glenn Morris <rgm@gnu.org>
7503 * international/fontset.el (vertical-centering-font-regexp):
7506 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7508 * bookmark.el (bookmark-search-delay):
7509 * cus-start.el (vertical-centering-font-regexp):
7510 * ps-mule.el (ps-mule-font-info-database-default):
7511 * ps-print.el (ps-default-fg, ps-default-bg):
7512 * type-break.el (type-break-good-break-interval):
7513 * whitespace.el (whitespace-indentation-regexp)
7514 (whitespace-space-after-tab-regexp):
7515 * emacs-lisp/testcover.el (testcover-1value-functions)
7516 (testcover-noreturn-functions, testcover-progn-functions)
7517 (testcover-prog1-functions):
7518 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7519 * eshell/em-glob.el (eshell-glob-translate-alist):
7520 * play/tetris.el (tetris-tty-colors):
7521 * progmodes/cpp.el (cpp-face-default-list):
7522 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7523 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7524 (idlwave-help-browser-generic-args):
7525 * progmodes/make-mode.el (makefile-special-targets-list):
7526 * progmodes/python.el (python-shell-virtualenv-path):
7527 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7528 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7529 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7530 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7531 * textmodes/reftex-vars.el (reftex-format-label-function):
7532 * textmodes/remember.el (remember-diary-file): Fix custom types.
7534 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7537 2013-05-09 Leo Liu <sdl.web@gmail.com>
7539 * progmodes/octave.el (inferior-octave-completion-at-point):
7540 Restore file completion. (Bug#14300)
7541 (inferior-octave-startup): Fix incorrect highlighting for the
7544 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7546 * progmodes/ruby-mode.el: First cut at SMIE support.
7547 (ruby-use-smie): New var.
7548 (ruby-smie-grammar): New constant.
7549 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7550 (ruby-smie--forward-token, ruby-smie--backward-token)
7551 (ruby-smie-rules): New functions.
7552 (ruby-mode-variables): Setup SMIE if applicable.
7554 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7556 * simple.el (line-move-visual): Signal beginning/end of buffer
7557 only if vertical-motion moved less than it was requested. Avoids
7558 silly incorrect error messages when there are display strings with
7559 multiple newlines at EOL.
7561 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7563 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7564 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7565 (prolog-char-quote-workaround):
7566 * progmodes/cperl-mode.el (cperl-under-as-char):
7567 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7569 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7571 (vhdl-mode-syntax-table-init): Remove.
7573 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7576 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7578 (ld-script-font-lock-keywords):
7579 Change regexps to use things like \_< and \_>.
7581 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7582 Change all regexps to use things like \_< and \_>.
7584 * progmodes/autoconf.el (autoconf-definition-regexp)
7585 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7586 Handle a _ with symbol syntax.
7587 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7589 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7590 Consolidate declaration.
7591 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7593 (ada-create-syntax-table): Remove.
7594 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7595 already has the right syntax nowadays.
7596 (ada-goto-next-word): Don't change the syntax of "_".
7598 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7601 2013-05-08 Sam Steingold <sds@gnu.org>
7603 * thingatpt.el (thing-at-point): Accept optional second argument
7604 NO-PROPERTIES to strip the text properties from the return value.
7605 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7606 to `thing-at-point' instead of stripping the properties ourselves.
7607 Also, when `thing-at-point' fails to find a url, prepend "http://"
7608 to the filename at point on the assumption that the user is
7609 pointing at something like gnu.org/gnu.
7611 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7613 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7614 * faces.el (crm-separator):
7615 Silence byte-compiler.
7617 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7618 (tool-bar-map): Remove unneeded defvars.
7620 2013-05-08 Leo Liu <sdl.web@gmail.com>
7622 Re-work a fix for bug#10994 based on Le Wang's patch.
7623 * ido.el (ido-remove-consecutive-dups): New helper.
7624 (ido-completing-read): Use it.
7625 (ido-chop): Revert fix for bug#10994.
7627 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7629 * cus-edit.el (custom-save-variables):
7630 Pretty-print long values. (Bug#14187)
7632 2013-05-08 Glenn Morris <rgm@gnu.org>
7634 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7635 (m4-mode-syntax-table): Init in the defvar.
7636 (m4-mode-abbrev-table): Let define-derived-mode define it.
7638 2013-05-08 Tom Tromey <tromey@redhat.com>
7640 * progmodes/m4-mode.el (m4-mode-syntax-table):
7641 Do not treat "_" as word constituent. (Bug#14167)
7643 2013-05-07 Glenn Morris <rgm@gnu.org>
7645 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7646 Remove explicit eshell-isearch-cancel-map.
7648 * progmodes/f90.el (f90-smart-end-names): New option.
7649 (f90-smart-end): Doc fix.
7650 (f90-end-block-optional-name): New constant.
7651 (f90-block-match): Respect f90-smart-end-names.
7653 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7655 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7656 about implicit semi-colons (bug#14218).
7658 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7660 * frame.el (display-monitor-attributes-list)
7661 (frame-monitor-attributes): New functions.
7663 2013-05-06 Leo Liu <sdl.web@gmail.com>
7665 * progmodes/octave.el (octave-syntax-propertize-function): Change
7666 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7667 (octave-font-lock-keywords): Use octave-operator-regexp.
7668 (octave-completion-at-point): Rename from
7669 octave-completion-at-point-function.
7670 (inferior-octave-directory-tracker): Robustify.
7671 (octave-text-functions): Remove and fix its uses. No such things
7674 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7676 * emacs-lisp/trace.el (trace--display-buffer): New function.
7677 (trace-make-advice): Use it.
7679 2013-05-06 Juri Linkov <juri@jurta.org>
7681 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7682 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7684 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7685 in the help string. (Bug#12985)
7687 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7689 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7691 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7693 * progmodes/perl-mode.el: Add support for here documents.
7694 (perl-syntax-propertize-function): Match here-doc markers.
7695 (perl-syntax-propertize-special-constructs): Find their end.
7696 (perl-imenu-generic-expression): Use [:alnum:].
7698 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7699 (advice--add-function): Refresh the advice if already present
7702 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
7704 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7706 2013-05-06 Glenn Morris <rgm@gnu.org>
7708 * w32-fns.el (w32-charset-info-alist): Declare.
7710 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7711 of its defcustom properties.
7712 (eshell-cmpl-initialize): No need to load pcomplete.
7714 * generic-x.el: No need to require comint when compiling.
7716 * net/eudc-export.el: Make it loadable without bbdb.
7717 (top-level): Use require rather than load-library.
7718 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7719 (eudc-batch-export-records-to-bbdb)
7720 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7723 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7725 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7726 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7727 some tweaks, instead.
7729 2013-05-05 Leo Liu <sdl.web@gmail.com>
7731 * progmodes/octave.el (octave-font-lock-keywords)
7732 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7733 (inferior-octave-send-list-and-digest): Improve error message.
7734 (octave-mode, inferior-octave-mode): Use setq-local.
7735 (octave-help): Set info-lookup-mode.
7737 2013-05-05 Richard Stallman <rms@gnu.org>
7739 * vc/compare-w.el (compare-windows-whitespace):
7740 Treat no-break space as whitespace.
7742 * mail/rmailsum.el (rmail-summary-rmail-update):
7743 Detect empty summary and don't change selected message.
7744 (rmail-summary-goto-msg): Likewise.
7746 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7747 Doc fixes, rename args.
7749 2013-05-05 Alan Mackenzie <acm@muc.de>
7751 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7753 2013-05-05 Juri Linkov <juri@jurta.org>
7755 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7756 to not add the length of the summary segment to the return value.
7759 2013-05-05 Leo Liu <sdl.web@gmail.com>
7761 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7762 (inferior-octave-output-filter): Remove.
7763 (octave-send-region, inferior-octave-startup): Fix callers.
7764 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7765 (octave-binary-file-extensions): New user variable.
7766 (octave-find-definition): Confirm if opening binary files.
7767 (octave-help-file): Use octave-find-definition to get the binary
7769 (octave-help): Adjust for octave-help-file change.
7771 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7773 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7774 Merge the two entries that handle function definitions.
7775 (pascal--syntax-propertize): New const.
7776 (pascal-mode): Use it. Use setq-local.
7778 2013-05-04 Glenn Morris <rgm@gnu.org>
7780 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7781 (diary-from-outlook): Respect diary-from-outlook-function.
7783 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7785 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7786 Move the declaration from C.
7787 (read-minibuffer, eval-minibuffer): Move from C.
7788 (completion-setup-function): Avoid minibuffer-completion-contents.
7790 2013-05-03 Leo Liu <sdl.web@gmail.com>
7792 * progmodes/octave.el (octave-font-lock-keywords): Do not
7793 dehighlight 'end' in comments or strings.
7794 (octave-completing-read, octave-goto-function-definition):
7796 (octave-help-buffer): New user variable.
7797 (octave-help-file, octave-help-function): New button types.
7798 (octave-help): New command and bind it to C-h ;.
7799 (octave-find-definition): New command and bind it to M-.
7800 (user-error): Alias to error if not defined.
7802 2013-05-02 Leo Liu <sdl.web@gmail.com>
7804 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7806 (octave-font-lock-keywords): Include [ and {.
7808 2013-05-02 Leo Liu <sdl.web@gmail.com>
7810 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7811 (inferior-octave): Remove calling comint-mode and return the buffer.
7812 (inferior-octave-startup): Cosmetic changes.
7814 2013-05-02 Leo Liu <sdl.web@gmail.com>
7816 * progmodes/octave.el (octave-syntax-propertize-function):
7817 Include the case when ' is at line beginning. (Bug#14336)
7819 2013-05-02 Glenn Morris <rgm@gnu.org>
7821 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7822 * desktop.el (vc-dir-mode): Just autoload it here.
7824 2013-05-02 Alan Mackenzie <acm@muc.de>
7826 Eliminate variable c-standard-font-lock-fontify-region-function.
7827 * progmodes/cc-mode.el
7828 (c-standard-font-lock-fontify-region-function): Remove.
7829 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7831 2013-05-01 Leo Liu <sdl.web@gmail.com>
7833 * progmodes/octave.el: Compatible with older emacs-24 releases.
7834 (inferior-octave-has-built-in-variables): Remove. Built-in
7835 variables were removed from Octave in 2007.
7836 (inferior-octave-startup): Fix uses.
7837 (comint-line-beginning-position): Remove compatibility code for
7840 2013-05-01 Juri Linkov <juri@jurta.org>
7842 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7844 2013-05-01 Juri Linkov <juri@jurta.org>
7846 * comint.el (comint-previous-matching-input): Don't print message
7847 "History item: %d" when `isearch-mode' is active.
7848 (comint-history-isearch-message): Print message "History item: %d"
7849 when `comint-input-ring-index' is not empty and this function is
7850 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7852 2013-05-01 Leo Liu <sdl.web@gmail.com>
7854 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7855 definitions. Use completion-at-point to insert keywords.
7856 (octave-abbrev-start): Remove.
7857 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7859 2013-04-30 Leo Liu <sdl.web@gmail.com>
7861 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7864 2013-04-30 Alan Mackenzie <acm@muc.de>
7866 Handle arbitrarily long C++ member initialisation lists.
7867 * progmodes/cc-engine.el (c-back-over-member-initializers):
7869 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7870 (most) member init lists.
7872 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7874 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7877 2013-04-30 Leo Liu <sdl.web@gmail.com>
7879 * progmodes/octave.el (octave-variables): Remove. No builtin
7880 variables any more. All converted to functions.
7881 (octave-font-lock-keywords, octave-completion-at-point-function):
7883 (octave-font-lock-texinfo-comment): New user variable.
7884 (octave-texinfo-font-lock-keywords): New variable for texinfo
7886 (octave-function-comment-block): New face.
7887 (octave-font-lock-texinfo-comment): New function.
7888 (octave-mode): Font lock texinfo comment block.
7890 2013-04-29 Leo Liu <sdl.web@gmail.com>
7892 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7893 indexing expression.
7894 (octave-continuation-string): Do not use \.
7895 (inferior-octave-complete-impossible): Remove.
7896 (inferior-octave-completion-table)
7897 (inferior-octave-completion-at-point): Remove its uses.
7898 (inferior-octave-startup): completion_matches was introduced to
7899 Octave in 1996 so safe to assume it.
7900 (octave-function-file-comment): Improve to follow how Octave does it.
7901 (octave-update-function-file-comment): Tweak.
7903 2013-04-29 Leo Liu <sdl.web@gmail.com>
7905 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7906 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7907 (octave-function-file-comment): Fix typo.
7908 (octave-sync-function-file-names): Use read-char-choice.
7910 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7912 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7913 to t for the less important warnings.
7915 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7917 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7919 2013-04-27 Glenn Morris <rgm@gnu.org>
7921 * vc/log-view.el (log-view-current-entry):
7922 Treat "---" separator lines as part of the following rev. (Bug#14169)
7924 2013-04-27 Juri Linkov <juri@jurta.org>
7926 * subr.el (read-number): Doc fix about using it by interactive
7927 code letter `n'. (Bug#14254)
7929 2013-04-27 Juri Linkov <juri@jurta.org>
7931 * desktop.el (desktop-auto-save-timeout): New option.
7932 (desktop-file-checksum): New variable.
7933 (desktop-save): Add optional arg `auto-save' and don't auto-save
7935 (desktop-auto-save-timer): New variable.
7936 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7937 (after-init-hook): Call `desktop-auto-save-set-timer'.
7938 Suggested by Reuben Thomas <rrt@sc3d.org> in
7939 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7941 2013-04-27 Leo Liu <sdl.web@gmail.com>
7943 * progmodes/octave.el (octave-function-file-p)
7944 (octave-skip-comment-forward, octave-function-file-comment)
7945 (octave-update-function-file-comment): New functions.
7946 (octave-mode-map): Bind C-c ; to
7947 octave-update-function-file-comment.
7948 (octave-mode-menu): Add octave-update-function-file-comment.
7949 (octave-mode, inferior-octave-mode): Fix doc-string.
7950 (octave-insert-defun): Conform to Octave's coding convention.
7953 * files.el (basic-save-buffer): Don't let errors in
7954 before-save-hook prevent saving buffer.
7956 2013-04-20 Roland Winkler <winkler@gnu.org>
7958 * faces.el (read-face-name): Use completing-read if arg multiple
7961 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7963 * ls-lisp.el (ls-lisp-insert-directory): If no files are
7964 displayed, move point to after the totals line.
7965 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
7968 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7970 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7971 Add current dir to the load-path.
7972 (package-generate-autoloads): Don't rely on
7973 autoload-ensure-default-file.
7975 2013-04-26 Reuben Thomas <rrt@sc3d.org>
7977 * textmodes/remember.el (remember-store-in-files): Document that
7978 the file name format is passed to `format-time-string'.
7980 2013-04-26 Leo Liu <sdl.web@gmail.com>
7982 * progmodes/octave.el (octave-sync-function-file-names): New function.
7983 (octave-mode): Use it in before-save-hook.
7985 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7987 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7990 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7991 \n and comment, even if it's not an implicit ; (bug#14218).
7993 2013-04-26 Glenn Morris <rgm@gnu.org>
7995 * subr.el (read-number): Once more use `read' rather than
7996 `string-to-number', to trap non-numeric input. (Bug#14254)
7998 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8000 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8001 Use `syntax-multiline' text property consistently instead of
8002 `font-lock-multiline'. (Bug#14237)
8004 2013-04-26 Glenn Morris <rgm@gnu.org>
8006 * emacs-lisp/shadow.el (list-load-path-shadows):
8007 No longer necessary to check for duplicate simple.el, since
8008 2012-07-07 change to init_lread to not include installation lisp
8009 directories in load-path when running uninstalled. (Bug#14270)
8011 2013-04-26 Leo Liu <sdl.web@gmail.com>
8013 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8014 (octave-mode, inferior-octave-mode): Use setq-local.
8015 (octave-not-in-string-or-comment-p): Rename to
8016 octave-in-string-or-comment-p.
8017 (octave-in-comment-p, octave-in-string-p)
8018 (octave-in-string-or-comment-p): Replace defsubst with defun.
8020 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8022 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8024 2013-04-25 Bastien Guerry <bzg@gnu.org>
8026 * textmodes/remember.el (remember-data-directory)
8027 (remember-directory-file-name-format): Fix custom types.
8029 2013-04-25 Leo Liu <sdl.web@gmail.com>
8031 * progmodes/octave.el (octave-completion-at-point-function):
8032 Make use of inferior octave process.
8033 (octave-initialize-completions): Remove.
8034 (inferior-octave-completion-table): New function.
8035 (inferior-octave-completion-at-point): Use it.
8036 (octave-completion-alist): Remove.
8038 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8040 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8041 (opascal-mode-syntax-table): New var.
8042 (opascal-literal-kind, opascal-is-literal-end)
8043 (opascal-literal-token-at): Rewrite.
8044 (opascal--literal-start-re, opascal-font-lock-keywords)
8045 (opascal--syntax-propertize): New constants.
8046 (opascal-font-lock-defaults): Adjust.
8047 (opascal-mode): Use them. Set comment-<foo> variables as well.
8048 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8049 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8050 (delphi-other-face, opascal-other-face): Remove face variables.
8051 (opascal-save-state): Remove macro.
8052 (opascal-fontifying-progress-step): Remove constant.
8053 (opascal--ignore-changes): Remove var.
8054 (opascal-set-token-property, opascal-parse-next-literal)
8055 (opascal-is-stable-literal, opascal-complete-literal)
8056 (opascal-is-literal-start, opascal-face-of)
8057 (opascal-parse-region, opascal-parse-region-until-stable)
8058 (opascal-fontify-region, opascal-after-change)
8059 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8060 (opascal-debug-parse-region, opascal-debug-parse-window)
8061 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8062 (opascal-debug-fontify-buffer): Remove.
8063 (opascal-debug-mode-map): Adjust accordingly.
8065 2013-04-25 Leo Liu <sdl.web@gmail.com>
8067 Merge octave-mod.el and octave-inf.el into octave.el with some
8069 * progmodes/octave.el: New file renamed from octave-mod.el.
8070 * progmodes/octave-inf.el: Merged into octave.el.
8071 * progmodes/octave-mod.el: Renamed to octave.el.
8073 2013-04-25 Tassilo Horn <tsdh@gnu.org>
8075 * textmodes/reftex-vars.el
8076 (reftex-label-ignored-macros-and-environments): New defcustom.
8078 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8080 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8082 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8083 (smie-indent-keyword): Improve the check to ensure that the next
8084 comment is really on the same line.
8085 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8087 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8088 semi-colons if the line is not otherwise empty (bug#14218).
8090 2013-04-25 Glenn Morris <rgm@gnu.org>
8092 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8094 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8096 * progmodes/opascal.el (opascal-set-token-property): Rename from
8097 opascal-set-text-properties and only set `token' (bug#14134).
8098 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8099 (opascal-literal-text-properties): Remove.
8100 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8103 2013-04-24 Reuben Thomas <rrt@sc3d.org>
8105 * textmodes/remember.el (remember-handler-functions): Add an
8106 option for a new handler `remember-store-in-files'.
8107 (remember-data-directory, remember-directory-file-name-format):
8109 (remember-store-in-files): New function to store remember notes
8110 as separate files within a directory.
8112 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8114 * progmodes/compile.el (compilation-next-error-function):
8115 Pass "formats" to compilation-find-file (bug#11777).
8117 2013-04-24 Glenn Morris <rgm@gnu.org>
8119 * vc/vc-bzr.el (vc-bzr-print-log):
8120 * vc/vc-hg.el (vc-hg-print-log):
8121 * vc/vc-svn.el (vc-svn-print-log):
8122 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8124 * vc/vc-bzr.el (vc-bzr-print-log):
8125 * vc/vc-cvs.el (vc-cvs-print-log):
8126 * vc/vc-git.el (vc-git-print-log):
8127 * vc/vc-hg.el (vc-hg-print-log):
8128 * vc/vc-mtn.el (vc-mtn-print-log):
8129 * vc/vc-rcs.el (vc-rcs-print-log):
8130 * vc/vc-sccs.el (vc-sccs-print-log):
8131 * vc/vc-svn.el (vc-svn-print-log):
8132 * vc/vc.el (vc-print-log-internal): Doc fixes.
8134 2013-04-23 Glenn Morris <rgm@gnu.org>
8136 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8137 Remove venerable code attempting to avoid substitute-command-keys.
8139 2013-04-23 Tassilo Horn <tsdh@gnu.org>
8141 * textmodes/reftex-vars.el (reftex-label-regexps):
8142 Call `reftex-compile-variables' after changes to this variable.
8144 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8146 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
8147 Use lexical-binding.
8148 (jit-lock-force-redisplay): Use markers, check buffer's continued
8149 existence and beware narrowed buffers.
8150 (jit-lock-fontify-now): Adjust call accordingly.
8152 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8154 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8155 to avoid misleading the user.
8157 2013-04-22 Leo Liu <sdl.web@gmail.com>
8159 * info-look.el: Prefer latex2e.info. (Bug#14240)
8161 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
8163 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8165 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8166 * net/tramp.el (tramp-call-process): ... here.
8167 (tramp-set-completion-function, tramp-parse-putty):
8168 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8169 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8170 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8171 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8172 (tramp-call-local-coding-command): Use `tramp-call-process'
8173 instead of `tramp-compat-call-process'.
8175 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8176 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8177 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8178 (tramp-find-inline-compress): Improve traces.
8179 (tramp-maybe-send-script): Check for Perl binary.
8180 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8182 2013-04-22 Daiki Ueno <ueno@gnu.org>
8184 * epg.el (epg-context-pinentry-mode): New function.
8185 (epg-context-set-pinentry-mode): New function.
8186 (epg--start): Pass --pinentry-mode option to gpg command.
8188 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8190 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8191 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8192 `completion-at-point'. (Bug#13774)
8194 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8195 default key binding for `describe-distribution' has been moved to
8196 `C-h C-o'. (Bug#13970)
8198 2013-04-21 Glenn Morris <rgm@gnu.org>
8200 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8202 (vc-print-log): Clarify interactive prompt.
8204 2013-04-20 Glenn Morris <rgm@gnu.org>
8206 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8207 No longer include timestamp etc information.
8209 2013-04-20 Roland Winkler <winkler@gnu.org>
8211 * faces.el (read-face-name): Bug fix, return just one face if arg
8212 multiple is nil. (Bug#14209)
8214 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8216 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8217 (remove-function): Autoload.
8219 * comint.el (comint-redirect-original-filter-function): Remove.
8220 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8221 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8222 (vc-cvs-annotate-command):
8223 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8224 * progmodes/prolog.el (prolog-consult-compile):
8225 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8226 Use add/remove-function instead.
8227 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8228 (gud-tooltip-process-output, gud-tooltip-tips):
8229 Use add/remove-function instead.
8230 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8231 (scheme-interaction-mode, exit-scheme-interaction-mode):
8232 Use add/remove-function instead.
8234 * vc/vc-dispatcher.el: Use lexical-binding.
8235 (vc--process-sentinel): Rename from vc-process-sentinel.
8236 Change last arg to be the code to run. Don't use vc-previous-sentinel
8237 and vc-sentinel-commands any more.
8238 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8239 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8241 2013-04-19 Masatake YAMATO <yamato@redhat.com>
8243 * progmodes/sh-script.el (sh-imenu-generic-expression):
8244 Handle function names with a single character. (Bug#14111)
8246 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
8248 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8249 for subroutines defined in an eval (bug#14182).
8251 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8253 * bookmark.el (bookmark-completing-read): Improve handling of empty
8256 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8258 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8260 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8262 New faster Imenu implementation (bug#14058).
8263 * progmodes/python.el:
8264 (python-imenu-prev-index-position):
8265 (python-imenu-format-item-label-function)
8266 (python-imenu-format-parent-item-label-function)
8267 (python-imenu-format-parent-item-jump-label-function):
8269 (python-imenu-format-item-label)
8270 (python-imenu-format-parent-item-label)
8271 (python-imenu-format-parent-item-jump-label)
8272 (python-imenu--put-parent, python-imenu--build-tree)
8273 (python-imenu-create-index, python-imenu-create-flat-index)
8274 (python-util-popn): New functions.
8275 (python-mode): Set imenu-create-index-function to
8276 python-imenu-create-index.
8278 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8280 * winner.el (winner-active-region): Use region-active-p, activate-mark
8281 and deactivate-mark (bug#14225).
8283 * simple.el (deactivate-mark): Don't inline it.
8285 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
8287 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8289 2013-04-18 Tassilo Horn <tsdh@gnu.org>
8291 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8292 file extensions from the archive-mode entry in order to prefer
8293 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8295 2013-04-18 Leo Liu <sdl.web@gmail.com>
8297 * bindings.el (help-event-list): Add ?\?.
8299 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8301 * subr.el (with-wrapper-hook): Declare obsolete.
8302 * simple.el (filter-buffer-substring-function): New hook.
8303 (filter-buffer-substring): Use it.
8304 (filter-buffer-substring-functions): Mark obsolete.
8305 * minibuffer.el (completion-in-region-function): New hook.
8306 (completion-in-region): Use it.
8307 (completion-in-region-functions): Mark obsolete.
8308 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8309 * abbrev.el (abbrev-expand-function): New hook.
8310 (expand-abbrev): Use it.
8311 (abbrev-expand-functions): Mark obsolete.
8312 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8315 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8317 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8318 and do not care about match data.
8320 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8322 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8323 completion tables when completing error conditions and
8324 `declare' arguments.
8325 (lisp-complete-symbol, field-complete): Mark as obsolete.
8326 (check-parens): Unmatched parens are user errors.
8327 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8329 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
8331 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8332 command changed buffer (ie. `flyspell-pre-buffer' is not current
8333 buffer), which prevents making decisions based on invalid value of
8334 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8335 cause an error when `flyspell-pre-point' was nil after switching
8337 (flyspell-post-command-hook): No longer needs to change buffers when
8338 checking pre-word. While at it remove unnecessary progn.
8340 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8342 * textmodes/ispell.el (ispell-add-per-file-word-list):
8343 Fix `flyspell-correct-word-before-point' error when accepting
8344 words and `coment-padding' is an integer by using
8345 `comment-normalize-vars' (Bug #14214).
8347 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8349 New defun movement commands.
8350 * progmodes/python.el (python-nav--syntactically)
8351 (python-nav--forward-defun, python-nav-backward-defun)
8352 (python-nav-forward-defun): New functions.
8354 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8356 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8357 (python-syntax-context): Use named compiler-macro for backwards
8358 compatibility with Emacs 24.x.
8360 2013-04-17 Leo Liu <sdl.web@gmail.com>
8362 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8363 octave-hide-process-buffer.
8365 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8367 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8370 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8372 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8373 Fix adjustment of offset when receiving incomplete responses from GDB
8376 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8378 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8379 python-mode-abbrev-table.
8380 (python-skeleton-define): Adjust accordingly.
8381 (python-mode-abbrev-table): New table that inherits from it so that
8382 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8384 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8385 (abbrev-symbol): Use it.
8386 (abbrev--before-point): Use it since we already handle inheritance.
8388 2013-04-16 Leo Liu <sdl.web@gmail.com>
8390 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8391 binding to info-lookup-symbol.
8393 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
8395 * minibuffer.el (completion--twq-all):
8396 * term/ns-win.el (ns-initialize-window-system):
8397 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8399 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8401 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8404 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8406 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8408 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8409 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8411 (ruby-end-of-defun): Remove the unused arg, change the docstring
8412 to reflect that this function is only used as the value of
8413 `end-of-defun-function'.
8414 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8415 to reflect an earlier change that beginning/end-of-defun functions
8416 jump between methods in a class definition, as well as top-level
8419 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8421 * minibuffer.el (minibuffer-complete): Don't just scroll
8422 a *Completions* that's been iconified.
8423 (minibuffer-force-complete): Make sure repetitions do cycle when going
8424 through completion-in-region -> minibuffer-complete.
8426 2013-04-15 Alan Mackenzie <acm@muc.de>
8428 Correct the placement of c-cpp-delimiters when there're #s not at
8431 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8432 place a submatch around the #.
8433 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8434 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
8437 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8439 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8440 (advice--member-p): New arg `name'.
8441 (advice--add-function, advice-member-p): Use it (bug#14202).
8443 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8445 Reformulate java imenu-generic-expression.
8446 The old expression contained ill formed regexps.
8448 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8449 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8450 (cc-imenu-java-method-arg-regexp): New defconsts.
8451 (cc-imenu-java-build-type-args-regex): New defun.
8452 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
8453 handling of spaces in the regexp.
8455 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8457 * textmodes/ispell.el (ispell-command-loop): Remove
8458 flyspell highlight of a word when ispell accepts it (bug #14178).
8460 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
8462 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8463 uses code from the previous `ange-ftp-run-real-handler'.
8464 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8465 only in case that function exist. This is needed for proper
8468 2013-04-15 Tassilo Horn <tsdh@gnu.org>
8470 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8472 * textmodes/reftex.el (reftex-compile-variables): Use it.
8474 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8476 * files.el (normal-mode): Only use default major-mode if no other mode
8479 * emacs-lisp/trace.el (trace-values): New function.
8481 * files.el: Allow : in local variables (bug#14089).
8482 (hack-local-variable-regexp): New var.
8483 (hack-local-variables-prop-line, hack-local-variables): Use it.
8485 2013-04-13 Roland Winkler <winkler@gnu.org>
8487 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8488 data before it gets modified by bibtex-beginning-of-entry.
8490 2013-04-13 Roland Winkler <winkler@gnu.org>
8492 * textmodes/bibtex.el (bibtex-url): Doc fix.
8494 2013-04-13 Roland Winkler <winkler@gnu.org>
8496 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8497 does not visit a BibTeX file, exclude it from the list of buffers
8498 returned by bibtex-initialize.
8500 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
8502 * window.el (split-window): Remove interactive form, since as a
8503 command this function is a special case of split-window-below.
8506 2013-04-12 Roland Winkler <winkler@gnu.org>
8508 * faces.el (read-face-name): Do not override value of arg default.
8509 Allow single faces and strings as default values. Remove those
8510 elements from return value that are not faces.
8511 (describe-face): Simplify.
8512 (face-at-point): New optional args thing and multiple so that this
8513 function can provide the same functionality previously provided by
8515 (make-face-bold, make-face-unbold, make-face-italic)
8516 (make-face-unitalic, make-face-bold-italic, invert-face)
8517 (modify-face, read-face-and-attribute): Use face-at-point.
8519 * cus-edit.el (customize-face, customize-face-other-window)
8520 * cus-theme.el (custom-theme-add-face)
8521 * face-remap.el (buffer-face-set)
8522 * facemenu.el (facemenu-set-face): Use face-at-point.
8524 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
8526 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8528 2013-04-10 Tassilo Horn <tsdh@gnu.org>
8530 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8531 off leading { and trailing } from field values.
8533 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8535 * emacs-lisp/timer.el (timer--check): New function.
8536 (timer--time, timer-set-function, timer-event-handler): Use it.
8537 (timer-set-idle-time): Simplify.
8538 (timer--activate): CSE.
8539 (timer-event-handler): Give more info in error message.
8540 (internal-timer-start-idle): New function, moved from C.
8542 * mpc.el (mpc-proc): Add `restart' argument.
8543 (mpc-proc-cmd): Use it.
8544 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8545 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8548 2013-04-10 Masatake YAMATO <yamato@redhat.com>
8550 * progmodes/sh-script.el: Implement `sh-mode' own
8551 `add-log-current-defun-function' (bug#14112).
8552 (sh-current-defun-name): New function.
8553 (sh-mode): Use the function.
8555 2013-04-09 Bastien Guerry <bzg@gnu.org>
8557 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8559 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8561 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8563 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8566 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8568 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8571 2013-04-07 Leo Liu <sdl.web@gmail.com>
8573 * pcmpl-x.el: New file.
8575 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8577 Do not set x-display-name until X connection is established.
8578 This is needed to prevent from weird situation described at
8579 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8580 * frame.el (make-frame): Set x-display-name after call to
8581 window system initialization function, not before.
8582 * term/x-win.el (x-initialize-window-system): Add optional
8583 display argument and use it.
8584 * term/w32-win.el (w32-initialize-window-system):
8585 * term/ns-win.el (ns-initialize-window-system):
8586 * term/pc-win.el (msdos-initialize-window-system):
8587 Add compatible optional display argument.
8589 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8591 * files.el (normal-backup-enable-predicate): On MS-Windows and
8592 MS-DOS compare truenames of temporary-file-directory and of the
8593 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8594 don't fail comparison by compare-strings. Also, compare file
8595 names case-insensitively on MS-Windows and MS-DOS.
8597 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8599 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8600 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8602 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8604 * whitespace.el (whitespace-color-on, whitespace-color-off):
8605 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8607 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8609 * ispell.el (ispell-set-spellchecker-params):
8610 Really set `ispell-args' for all equivs.
8612 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8614 * ido.el (ido-completions): Use extra elements of ido-decorations
8616 (ido-decorations): Update docstring.
8618 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8620 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8621 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8622 nil during initialization, in order not to miss changes since the
8623 file was opened. (Bug#14140)
8625 2013-04-05 Leo Liu <sdl.web@gmail.com>
8627 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8629 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8631 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8633 2013-04-04 Glenn Morris <rgm@gnu.org>
8635 * electric.el (electric-pair-inhibit-predicate): Add :version.
8637 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8639 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8640 when a package is required several times (bug#14082).
8642 2013-04-04 Roland Winkler <winkler@gnu.org>
8644 * faces.el (read-face-name): Behave as promised by the docstring.
8645 Assume that arg default is a list of faces.
8646 (describe-face): Call read-face-name with list of default faces.
8648 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8650 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8651 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8652 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8654 (bookmark-exit-hook-internal): Save even if list is empty.
8656 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8658 * emacs-lisp/package.el (package-pinned-packages): New var.
8659 (package--add-to-archive-contents): Obey it (bug#14118).
8661 2013-04-03 Alan Mackenzie <acm@muc.de>
8663 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8664 Also adapt to the new values of element 7 of a parse state.
8666 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8667 parameter `not-in-delimiter'. Handle being inside comment opener.
8668 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8669 character in case we're typing a '*' after a '/'.
8670 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8671 instead by passing the parameter to c-state-pp-to-literal.
8673 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8674 for elt. 7 of a parse state.
8676 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8678 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8679 * international/latin1-disp.el, international/mule-util.el:
8680 * language/cyril-util.el, language/european.el, language/ind-util.el:
8681 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8682 * language/tibetan.el, language/viet-util.el:
8683 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8685 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8687 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8688 (electric-pair-post-self-insert-function): Use it.
8689 (electric-pair-default-inhibit): New function, extracted from
8690 electric-pair-post-self-insert-function.
8692 2013-03-31 Roland Winkler <winkler@gnu.org>
8694 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8696 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8698 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8700 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
8702 Un-indent after "pass" and "return" statements (Bug#13888)
8703 * progmodes/python.el (python-indent-block-enders): New var.
8704 (python-indent-calculate-indentation): Use it.
8706 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
8708 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8709 defun. Defining it as defalias could introduce too eager
8710 byte-compiler optimization. (Bug#14030)
8712 2013-03-30 Chong Yidong <cyd@gnu.org>
8714 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8716 2013-03-30 Leo Liu <sdl.web@gmail.com>
8718 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8719 (kmacro-execute-from-register): Pass the keyboard macro to
8720 kmacro-call-macro or repeating won't work correctly.
8722 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8724 * progmodes/subword.el: Back to using `forward-symbol'.
8726 * subr.el (forward-whitespace, forward-symbol)
8727 (forward-same-syntax): Move from thingatpt.el.
8729 2013-03-29 Leo Liu <sdl.web@gmail.com>
8731 * kmacro.el (kmacro-to-register): New command.
8732 (kmacro-execute-from-register): New function.
8733 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8735 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8737 * mpc.el: Use defvar-local and setq-local.
8738 (mpc--proc-connect): Connection failures are not bugs.
8739 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8740 (mpc-volume-map): Bind to the up-events.
8742 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8744 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8745 instead of `forward-symbol'.
8747 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8749 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8750 (edebug--recursive-edit): Use it.
8751 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8752 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8754 2013-03-28 Leo Liu <sdl.web@gmail.com>
8756 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8758 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8760 * facemenu.el (list-colors-callback): New defvar.
8761 (list-colors-redisplay): New function.
8762 (list-colors-display): Install list-colors-redisplay as the
8763 revert-buffer-function. (Bug#14063)
8765 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8767 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8768 and suffixes don't overlap (bug#14061).
8770 * case-table.el: Use lexical-binding.
8771 (case-table-get-table): New function.
8772 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8774 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8776 * progmodes/subword.el: Add `superword-mode' to do word motion
8777 over symbol_words (parallels and leverages `subword-mode' which
8778 does word motion inside MixedCaseWords).
8780 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8782 * eshell/em-unix.el: Move su and sudo to...
8783 * eshell/em-tramp.el: ...Eshell tramp module.
8785 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8787 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8788 Change return value to be a sexp. Delay `get-buffer' to after
8789 restoring the desktop (bug#13951).
8791 2013-03-26 Leo Liu <sdl.web@gmail.com>
8793 * register.el: Move semantic tag handling back to
8794 cedet/semantic/senator.el. (Bug#14052)
8796 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8798 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8799 into the prompt either (bug#13963).
8801 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8803 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8804 part of "(error-foo)".
8806 2013-03-24 Juri Linkov <juri@jurta.org>
8808 * replace.el (list-matching-lines-prefix-face): New defcustom.
8809 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8810 `occur-engine' if `face-differs-from-default-p' returns t.
8811 (occur-engine): Add `,' inside backquote construct to evaluate
8812 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8813 Pass `prefix-face' to the functions `occur-context-lines' and
8814 `occur-engine-add-prefix'.
8815 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8816 `prefix-face' and propertize the prefix with `prefix-face'.
8819 2013-03-24 Leo Liu <sdl.web@gmail.com>
8821 * nxml/rng-valid.el (rng-validate-while-idle)
8822 (rng-validate-quick-while-idle): Guard against deleted buffer.
8825 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8826 is the last entry in kill-buffer-hook.
8828 * files.el (kill-buffer-hook): Doc fix.
8830 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8832 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8835 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8837 2013-03-23 Leo Liu <sdl.web@gmail.com>
8839 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8842 * nxml/rng-valid.el (rng-validate-mode)
8843 (rng-after-change-function, rng-do-some-validation):
8844 * nxml/rng-maint.el (rng-validate-buffer):
8845 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8846 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8847 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8848 (nxml-extend-after-change-region): Use with-silent-modifications.
8850 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8853 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8854 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8855 timer-idle-list. (Bug#13999)
8857 2013-03-23 Juri Linkov <juri@jurta.org>
8859 * info.el (info-index-match): New face.
8860 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8861 main pattern and add text properties with the new face to matches
8862 in index entries relative to the beginning of the index entry.
8865 2013-03-21 Eric Ludlam <zappo@gnu.org>
8867 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8868 Inhibit read only while inserting objects.
8870 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8872 * progmodes/cfengine.el: Update docs to mention
8873 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8874 symbol motion. Remove "_" from the word syntax.
8876 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8878 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8879 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8881 2013-03-20 Juri Linkov <juri@jurta.org>
8883 * info.el (Info-next-reference-or-link)
8884 (Info-prev-reference-or-link): New functions.
8885 (Info-next-reference, Info-prev-reference): Use them.
8886 (Info-try-follow-nearest-node): Handle footnote navigation.
8887 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8889 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8891 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8892 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8894 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8896 Suppress unnecessary non-ASCII chatter during build process.
8897 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8898 (batch-skkdic-convert): Suppress most of the chatter.
8899 It's not needed so much now that machines are faster,
8900 and its non-ASCII component was confusing; see Dmitry Gutov in
8901 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8903 2013-03-20 Leo Liu <sdl.web@gmail.com>
8905 * ido.el (ido-chop): Fix bug#10994.
8907 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8909 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8911 (whitespace-color-on, whitespace-color-off):
8912 Use `font-lock-fontify-buffer' (Bug#13817).
8914 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8916 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8917 remapping in mode-line.
8918 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8920 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8922 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8923 value for `whitespace-line' face (Bug#13875).
8924 (whitespace-font-lock-keywords): Change description.
8925 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8926 the constructed keywords instead.
8927 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
8929 2013-03-19 Leo Liu <sdl.web@gmail.com>
8931 * progmodes/compile.el (compilation-display-error): New command.
8932 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8935 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8937 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8939 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8941 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8943 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
8945 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8947 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8948 * net/tramp-gvfs.el (top):
8949 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8950 (tramp-handle-shell-command): Use it.
8951 (tramp-dissect-file-name): Raise an error when hostname is a
8952 method name, and neither method nor user is specified.
8954 * net/trampver.el: Update release number.
8956 2013-03-18 Leo Liu <sdl.web@gmail.com>
8958 Make sure eldoc can be turned off properly.
8959 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8961 (eldoc-display-message-p): Revert last change.
8962 (eldoc-display-message-no-interference-p)
8963 (eldoc-print-current-symbol-info): Tweak.
8965 2013-03-18 Tassilo Horn <tsdh@gnu.org>
8967 * doc-view.el (doc-view-new-window-function): Check the new window
8968 overlay's display property instead the char property of the
8969 buffer's first char. Use `with-selected-window' instead of
8970 `save-window-excursion' with `select-window'.
8971 (doc-view-document->bitmap): Check the current doc-view overlay's
8972 display property instead the char property of the buffer's first char.
8974 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8976 Automate the build of ja-dic.el (Bug#13984).
8977 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8978 from the input, rather than assume that it's been done for us by the
8979 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8980 the current date into a ja-dic.el comment, as that complicates
8983 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8985 * whitespace.el: Fix double evaluation.
8986 (whitespace-space, whitespace-hspace, whitespace-tab)
8987 (whitespace-newline, whitespace-trailing, whitespace-line)
8988 (whitespace-space-before-tab, whitespace-indentation)
8989 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8991 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8992 (whitespace-color-on): Use a single font-lock-add-keywords call.
8993 Fix double-evaluation of face variables.
8995 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
8997 * net/tramp-adb.el (tramp-adb-parse-device-names):
8998 Use `start-process' instead of `call-process'. Otherwise, the
8999 function might be blocked under MS Windows. (Bug#13299)
9001 2013-03-17 Leo Liu <sdl.web@gmail.com>
9003 Extend eldoc to display info in the mode-line. (Bug#13978)
9004 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9005 (eldoc-mode-line-string): New variable.
9006 (eldoc-minibuffer-message): New function.
9007 (eldoc-message-function): New variable.
9008 (eldoc-message): Use it.
9009 (eldoc-display-message-p)
9010 (eldoc-display-message-no-interference-p):
9011 Support eldoc-post-insert-mode.
9013 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9014 (eval-expression): Run it.
9016 2013-03-17 Roland Winkler <winkler@gnu.org>
9018 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9019 strings in the list of return values.
9021 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9023 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9024 radix before checking for HMS forms.
9026 2013-03-16 Leo Liu <sdl.web@gmail.com>
9028 * progmodes/scheme.el: Add indentation and font-locking for λ.
9031 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9033 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9034 token before point (bug#13942).
9036 2013-03-16 Leo Liu <sdl.web@gmail.com>
9038 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9040 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9042 * startup.el (command-line-normalize-file-name): Fix handling of
9043 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9044 <xfq.free@gmail.com> in
9045 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9047 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9049 Sync with Tramp 2.2.7.
9051 * net/trampver.el: Update release number.
9053 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9055 * doc-view.el: Fix bug#13887.
9056 (doc-view-insert-image): Don't modify overlay associated to
9057 non-live windows, and implement horizontal centering of image in
9058 case it's smaller than the window.
9059 (doc-view-new-window-function): Force redisplay of new windows on
9062 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9064 * saveplace.el (save-place-alist-to-file): Don't sort
9065 `save-place-alist', just pretty-print it (bug#13882).
9067 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
9069 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9070 Check whether `default-file-name-coding-system' is bound.
9073 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9075 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9076 backquotes for `obsolete' (bug#13929).
9078 * international/mule.el (find-auto-coding): Include file name in
9079 obsolescence warning (bug#13922).
9081 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9083 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9084 for CFEngine 3-specific indentation.
9085 (cfengine3-indent-line): Use it. Fix up category regex.
9086 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9088 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9090 * type-break.el (type-break-file-name):
9091 * textmodes/remember.el (remember-data-file):
9092 * strokes.el (strokes-file):
9093 * shadowfile.el (shadow-initialize):
9094 * saveplace.el (save-place-file):
9095 * ps-bdf.el (bdf-cache-file):
9096 * progmodes/idlwave.el (idlwave-config-directory):
9097 * net/quickurl.el (quickurl-url-file):
9098 * international/kkc.el (kkc-init-file-name):
9099 * ido.el (ido-save-directory-list-file):
9100 * emulation/viper.el (viper-custom-file-name):
9101 * emulation/vip.el (vip-startup-file):
9102 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9103 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9105 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9107 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9108 * language/thai-word.el: Switch to UTF-8.
9110 See ChangeLog.16 for earlier changes.
9116 Copyright (C) 2011-2013 Free Software Foundation, Inc.
9118 This file is part of GNU Emacs.
9120 GNU Emacs is free software: you can redistribute it and/or modify
9121 it under the terms of the GNU General Public License as published by
9122 the Free Software Foundation, either version 3 of the License, or
9123 (at your option) any later version.
9125 GNU Emacs is distributed in the hope that it will be useful,
9126 but WITHOUT ANY WARRANTY; without even the implied warranty of
9127 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9128 GNU General Public License for more details.
9130 You should have received a copy of the GNU General Public License
9131 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.