1 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3 * subr.el (undefined): Add missing behavior from the C code for
6 * rect.el: Use lexical-binding. Add new rectangular region support.
7 (rectangle-mark): New command.
8 (rectangle--region): New var.
9 (deactivate-mark-hook): Reset rectangle--region.
10 (rectangle--extract-region, rectangle--insert-for-yank)
11 (rectangle--highlight-for-redisplay)
12 (rectangle--unhighlight-for-redisplay): New functions.
13 (region-extract-function, redisplay-unhighlight-region-function)
14 (redisplay-highlight-region-function): Use them to handle
16 * simple.el (region-extract-function): New var.
17 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
18 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
19 (kill-region): Replace obsolete `yank-handler' arg with `region'.
20 (copy-region-as-kill, kill-ring-save): Add `region' argument.
21 (redisplay-unhighlight-region-function)
22 (redisplay-highlight-region-function): New vars.
23 (redisplay--update-region-highlight): New function.
24 (pre-redisplay-function): Use it.
25 (exchange-point-and-mark): Don't deactivate the mark before
27 * comint.el (comint-kill-region): Remove yank-handler argument.
28 * delsel.el (delete-backward-char, backward-delete-char-untabify)
29 (delete-char): Remove property, since it's now part of their
31 (self-insert-iso): Remove property since this command doesn't exist.
33 * emacs-lisp/package.el (package--download-one-archive)
34 (describe-package-1): Don't query the user about final newline.
36 2013-10-29 Daniel Colascione <dancol@dancol.org>
38 * net/tramp.el (tramp-methods): Document new functionality.
39 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
40 tramp-hostname-checker if method provides one instead of scanning
41 argument list for "%h" to decide hostname acceptability.
43 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
45 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
46 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
47 Handle COPY-CONTENTS. (Bug#15737)
49 2013-10-28 Daiki Ueno <ueno@gnu.org>
52 (epa-file-cache-passphrase-for-symmetric-encryption):
53 Document that this option has no effect with GnuPG 2.0 (bug#15552).
55 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
57 * image.el (defimage):
58 (image-load-path): Doc fixes.
60 2013-10-27 Alan Mackenzie <acm@muc.de>
62 Indent statements in macros following "##" correctly.
63 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
64 Modify the "#" arm of a cond form to handle "#" and "##" operators.
66 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
68 * linum.el (linum-update-window): Fix boundary test (bug#13446).
70 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
72 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
73 after `=' is probably a new expression.
75 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
77 * man.el (man-imenu-title): New option.
78 (Man-mode-map): Add menu. (Bug#15722)
79 (Man-mode): Add imenu to menu.
81 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
83 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
84 specific in what the first arg can be: a non-keyword word,
85 string/regexp/percent literal opener, opening paren, or unary
86 operator followed directly by word.
88 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
90 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
91 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
92 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
93 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
94 Remove vars, they do not apply any more.
95 (prolog-mode-abbrev-table): Remove redundant declaration.
96 (prolog-upper-case-string, prolog-lower-case-string): Remove.
97 (prolog-use-smie): Remove.
98 (prolog-smie-rules): Add indentation rule for the if-then-else layout
99 supported by prolog-electric-if-then-else-flag.
100 (prolog-mode-variables, prolog-menu): Use setq-local.
101 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
102 Remove binding to `Backspace' since this key doesn't exist anyway.
103 Remove bindings for electric self-inserting keys.
104 (prog-mode): Assume it's defined.
105 (prolog-post-self-insert): New function.
106 (prolog-mode): Use it.
107 (prolog-indent-line, prolog-indent-level)
108 (prolog-find-indent-of-matching-paren)
109 (prolog-indentation-level-of-line, prolog-goto-comment-column)
110 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
111 (prolog-goto-next-paren, prolog-in-string-or-comment)
112 (prolog-tokenize, prolog-inside-mline-comment)
113 (prolog-find-start-of-mline-comment): Remove functions.
114 (prolog-find-unmatched-paren, prolog-clause-end)
115 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
116 (prolog-electric--if-then-else): Rename from
117 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
118 (prolog-tokenize-searchkey): Remove const.
119 (prolog-clause-info): Use forward-sexp.
120 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
121 (prolog-electric-if-then-else): Remove commands.
122 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
123 for use in post-self-insert-hook.
124 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
125 for use in post-self-insert-hook.
126 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
127 for use in post-self-insert-hook.
128 (prolog-electric--underscore): Rename from prolog-electric--underscore;
129 adapt it for use in post-self-insert-hook.
131 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
133 * emacs-lisp/ert.el (ert-run-tests-interactively):
134 Use `completing-read'. (Bug#9756)
136 2013-10-25 Eli Zaretskii <eliz@gnu.org>
138 * simple.el (line-move): Call line-move-1 instead of
139 line-move-visual when the current window hscroll is zero, but
140 temporary-goal-column indicates we will need to hscroll as result
141 of the movement. (Bug#15712)
143 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
145 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
146 capitalization. Use :visible instead of :active.
147 Fix `ruby-indent-exp' reference. Add menu items for the generic
148 commands that are used with SMIE.
149 (ruby-do-end-to-brace): Insert space after `{'.
151 2013-10-25 John Anthony <john@jo.hnanthony.com>
153 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
155 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
157 2013-10-25 Glenn Morris <rgm@gnu.org>
159 * vc/vc.el (vc-print-log): Don't use a working revision unless
160 one was explicitly specified. (Bug#15322)
162 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
164 * subr.el (add-to-list): Preserve return value in compiler-macro
167 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
169 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
170 result. Ask user to retry using '-all' flag. (Bug#15701)
172 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
174 * emacs-lisp/smie.el: New smie-config system.
175 (smie-config): New defcustom.
176 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
177 (smie-config-guess, smie-config-save): New commands.
178 (smie-config--mode-local, smie-config--buffer-local)
179 (smie-config--trace, smie-config--modefuns): New vars.
180 (smie-config--advice, smie-config--mode-hook)
181 (smie-config--setter, smie-config-local, smie-config--get-trace)
182 (smie-config--guess-value, smie-config--guess): New functions.
183 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
184 text properties. Treat "string fence" syntax like string syntax.
186 * progmodes/sh-script.el (sh-use-smie): Change default.
187 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
188 (sh-var-value): Simplify by CSE.
189 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
190 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
192 (sh-guess-basic-offset): Use cl-incf.
193 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
195 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
197 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
200 2013-10-24 Glenn Morris <rgm@gnu.org>
202 * Makefile.in (abs_top_srcdir): Remove.
203 (update-subdirs): Use relative path to update-subdirs.
205 2013-10-24 Eli Zaretskii <eliz@gnu.org>
207 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
208 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
209 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
210 Call unmsys--file-name before expand-file-name, not after it.
212 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
214 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
215 (ert-test-skipped): New error.
216 (ert-skip, ert-stats-skipped): New defuns.
217 (ert--skip-unless): New macro.
218 (ert-test-skipped): New struct.
219 (ert--run-test-debugger, ert-test-result-type-p)
220 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
221 (ert--stats-set-test-and-result, ert-char-for-test-result)
222 (ert-string-for-test-result, ert-run-tests-batch)
223 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
224 Handle skipped tests. (Bug#9803)
226 2013-10-24 Glenn Morris <rgm@gnu.org>
228 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
230 * Makefile.in (abs_top_srcdir): New, set by configure.
231 (update-subdirs): Correct build-aux location.
233 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
235 * vc/vc.el (vc-print-root-log): Always set `default-directory'
236 value, whether we could auto-deduce `backend', or not.
238 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
239 with parameters" example. Simplify the "is it block or is it
240 hash" check, but also make it more thorough.
242 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
244 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
246 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
248 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
251 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
254 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
256 * progmodes/compile.el (compilation-directory-matcher)
257 (compilation-page-delimiter):
258 Support GNU Make-4.0 directory quoting. (Bug#15678)
260 2013-10-23 Leo Liu <sdl.web@gmail.com>
262 * ido.el (ido-tidy): Handle read-only text.
264 2013-10-23 Glenn Morris <rgm@gnu.org>
266 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
267 (emacs, compile, compile-always):
268 Quote entities that might contain whitespace.
269 (custom-deps, finder-data, autoloads): Use abs_lisp.
270 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
271 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
272 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
274 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
276 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
277 Use `following-char'.
279 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
281 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
282 * progmodes/ruby-mode.el (ruby-smie-rules):
283 Remove corresponding workaround. Fix indentation rule of ";" so it
284 also applies when ";" is the parent.
286 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
288 * frame.el (display-screens, display-pixel-height)
289 (display-pixel-width, display-mm-width, display-backing-store)
290 (display-save-under, display-planes, display-color-cells)
291 (display-visual-class, display-monitor-attributes-list):
292 Mention the optional ‘display’ argument in doc strings.
294 2013-10-22 Michael Gauland <mikelygee@amuri.net>
296 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
297 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
299 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
301 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
302 TODO. Add "." after " @ ".
303 (ruby-smie--at-dot-call): New function. Checks if point at method
304 call with explicit target.
305 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
306 to the method name tokens when it precedes them.
307 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
308 (ruby-smie-rules): Add rule for indentation before and after "."
311 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
313 * textmodes/remember.el (remember-diary-extract-entries):
316 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
319 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
321 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
322 (ruby-smie--implicit-semi-p): Add new operator chars.
324 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
326 (ruby-smie--args-separator-p): Check that there's no newline
327 between method call and its arguments.
329 2013-10-20 Alan Mackenzie <acm@muc.de>
331 Allow comma separated lists after Java "implements".
333 * progmodes/cc-engine.el (c-backward-over-enum-header):
335 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
336 from a "disallowed" list in enum fontification.
338 2013-10-20 Johan Bockgård <bojohan@gnu.org>
340 * startup.el (default-frame-background-mode): Remove unused defvar.
342 * progmodes/verilog-mode.el (verilog-mode): Don't set
343 comment-indent-function globally.
345 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
347 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
348 Move Info menu item creation to ns-win.el.
350 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
353 * menu-bar.el: Move GNUStep specific menus...
355 * term/ns-win.el (ns-initialize-window-system): ... to here.
357 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
359 * simple.el (newline): Only run post-self-insert-hook when
360 called interactively.
362 2013-10-19 Johan Bockgård <bojohan@gnu.org>
364 * icomplete.el (icomplete-with-completion-tables): Add :version.
366 2013-10-19 Alan Mackenzie <acm@muc.de>
368 Fix fontification bugs with constructors and const.
370 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
371 CASE 2) Remove the check for the absence of a suffix construct
372 after a function declaration with only types (no identifiers) in
373 the parentheses. Also, accept a function declaration with just a
374 type inside the parentheses, if this type can be positively
375 recognised as such, or if a prefix keyword like "explicit" nails
376 down the construct as a declaration.
378 2013-10-19 Eli Zaretskii <eliz@gnu.org>
380 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
381 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
382 the problem whereby selecting a menu item that leads to a
383 minibuffer prompt moves the cursor out of the minibuffer window,
384 making it hard to type at the prompt. Suggested by Stefan Monnier
385 <monnier@iro.umontreal.ca>.
387 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
389 * menu-bar.el: Don't make Services menu.
391 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
393 * ffap.el: Handle "/usr/include/c++/<version>" directories.
394 (ffap-alist): Use ffap-c++-mode for c++-mode.
395 (ffap-c++-path): New variable.
396 (ffap-c++-mode): New function.
398 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
400 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
402 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
404 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
405 introduced on 2013-09-08, which results in an infinite loop
406 requesting a password.
408 2013-10-18 Glenn Morris <rgm@gnu.org>
410 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
412 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
414 Sync with upstream verilog-mode revision 1a6ecec7.
415 * progmodes/verilog-mode.el (verilog-mode-version): Update.
416 (verilog-mode-release-date): Remove.
417 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
418 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
419 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
420 (verilog-auto-tieoff-ignore-regexp)
421 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
422 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
423 (verilog-signals-with, verilog-dir-cache-preserving)
424 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
426 (verilog-case-fold): New option, to control case folding in
427 regexp searches, bug597.
428 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
429 (verilog-string-match-fold, verilog-in-paren-count)
430 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
431 (verilog-at-close-struct-p): New functions.
432 (verilog-beg-block-re-ordered, verilog-extended-case-re)
433 (verilog-forward-sexp, verilog-set-auto-endcomments):
434 (verilog-leap-to-case-head): Handle "unique0" case.
435 (verilog-in-constraint-re): New constant.
436 (verilog-keywords, verilog-type-font-keywords):
437 Add some SystemVerilog 1800-2012 keywords.
438 (verilog-label-be): Remove unimplemented argument, bug669.
439 (verilog-batch-execute-func): When batch expanding clear
440 create-lockfiles to prevent spurious user locks when a file ends
442 (verilog-calculate-indent, verilog-calc-1)
443 (verilog-at-close-constraint-p, verilog-at-constraint-p)
444 (verilog-do-indent): Fix indentation of nested constraints
446 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
447 (verilog-auto-inst-param): Use verilog-string-match-fold.
448 (verilog-read-inst-module-matcher):
449 Fix AUTOINST on gate primitives with #1.
450 (verilog-read-decls): Fix double-declaring user-defined typed signals.
451 Reads all user-defined typed variables.
452 (verilog-read-defines): Fix reading definitions inside comments, bug647.
453 (verilog-signals-matching-regexp)
454 (verilog-signals-not-matching-regexp, verilog-auto):
455 Respect verilog-case-fold.
456 (verilog-diff-report): Fix line count.
457 (verilog-auto-assign-modport): Remove unused local `modi'.
458 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
459 better handle multidimensional arrays.
460 Fix packed array ports misadding bit index in AUTOINST, bug637.
461 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
462 to not double-declare existing outputs and inputs, respectively.
463 (verilog-template-map): Bind U to verilog-sk-uvm-component.
464 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
465 (verilog-sk-uvm-component): New skeleton.
466 (verilog-submit-bug-report): Add verilog-case-fold,
467 remove verilog-mode-release-date.
469 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
471 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
474 2013-10-18 Reuben Thomas <rrt@sc3d.org>
476 * textmodes/remember.el (remember): set buffer-offer-save in
477 remember buffers (bug#13566).
479 2013-10-18 Daniel Colascione <dancol@dancol.org>
481 When evaluating forms in ielm, direct standard output to ielm
482 buffer. Add new ielm-return-for-effect command. Remove trailing
483 whitespace throughout.
485 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
486 (ielm-return-for-effect): New command.
487 (ielm-send-input): Accept optional `for-effect' parameter.
488 (ielm-eval-input): Accept optional `for-effect' parameter.
489 Bind `standard-output' to stream we create using
490 `ielm-standard-output-impl'. Suppress printing result when
492 (ielm-standard-output-impl): New function.
493 (inferior-emacs-lisp-mode): Explain new features in documentation.
495 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
499 * net/tramp.el (tramp-debug-message): Do not check for connection
501 (tramp-message): Use "vector" connection property.
503 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
504 (tramp-equal-remote, tramp-eshell-directory-change)
505 * net/tramp-adb.el (tramp-adb-handle-copy-file)
506 (tramp-adb-handle-rename-file)
507 * net/tramp-cmds.el (tramp-list-remote-buffers)
508 (tramp-cleanup-connection, tramp-cleanup-this-connection)
509 * net/tramp-compat.el (tramp-compat-process-running-p)
510 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
511 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
512 (tramp-gvfs-handle-rename-file)
513 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
514 (tramp-set-file-uid-gid)
515 * net/tramp-smb.el (tramp-smb-handle-copy-file)
516 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
519 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
520 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
521 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
522 (tramp-gw-open-network-stream): Suppress unrelated traces.
524 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
525 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
526 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
527 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
530 * net/tramp-cache.el (top): Suppress traces when reading
533 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
534 Refactor common code. Improve debug message.
535 (tramp-maybe-open-connection)
536 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
537 connection buffer too early.
539 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
540 from `tramp-smb-actions-with-acl'.
541 (tramp-smb-actions-set-acl): New defconst.
542 (tramp-smb-handle-copy-directory)
543 (tramp-smb-action-get-acl): New defun, renamed from
544 `tramp-smb-action-with-acl'.
545 (tramp-smb-action-set-acl): New defun.
546 (tramp-smb-handle-set-file-acl): Rewrite.
548 2013-10-17 Glenn Morris <rgm@gnu.org>
550 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
552 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
554 * skeleton.el (skeleton-newline): Remove.
555 (skeleton-internal-1): Use (insert "\n") instead.
557 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
560 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
561 forward-sexp-function while we redo its job (bug#15613).
563 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
565 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
566 represented by lists.
568 2013-10-16 Glenn Morris <rgm@gnu.org>
570 * tmm.el (tmm--history): New dynamic variable.
571 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
573 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
575 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
576 (tramp-smb-errors): Add error messages.
577 (tramp-smb-actions-with-acl): New defconst.
578 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
579 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
580 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
581 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
582 (tramp-smb-get-stat-capability): Fix tests.
584 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
586 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
589 2013-10-16 Glenn Morris <rgm@gnu.org>
591 * ansi-color.el (ansi-color-drop-regexp):
592 Add 1J, 1K, 2K. (Bug#15617)
594 * files.el (hack-local-variables--warned-lexical): New.
595 (hack-local-variables):
596 Warn about misplaced lexical-binding. (Bug#15616)
598 * net/eww.el (eww-render): Always set eww-current-url,
599 and update header line. (Bug#15622)
600 (eww-display-html): ... Rather than just doing it here.
602 2013-10-15 Eli Zaretskii <eliz@gnu.org>
604 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
605 menu navigations commands.
607 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
609 * progmodes/subword.el (subword-capitalize): Be careful when
610 the search for [[:alpha:]] fails (bug#15580).
612 2013-10-14 Eli Zaretskii <eliz@gnu.org>
614 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
615 to commands that scroll the menu.
617 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
619 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
620 Handle methods ending with `?' and `!'.
622 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
624 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
625 `japanese-cp932' to `cp932' to fix the problem where saving a
626 source file written in Shift_JIS twice would end up having
627 `coding: japanese-cp932' which Ruby could not recognize.
628 (ruby-mode-set-encoding): Add support for encodings mapped to nil
629 in `ruby-encoding-map'.
630 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
631 doesn't need to be explicitly declared in magic comment.
632 (ruby-encoding-map): Add type declaration for better customize UI.
634 2013-10-13 Glenn Morris <rgm@gnu.org>
636 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
637 Occur buffers are read-only. http://bugs.debian.org/720775
639 * emacs-lisp/authors.el (authors-fixed-entries):
640 Comment out old alpha stuff.
642 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
644 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
645 to `after-save-hook' instead of `before-save-hook'.
646 (ruby-mode-set-encoding): Use the value of coding system used to
647 write the file. Call `basic-save-buffer-1' after modifying the
650 2013-10-13 Alan Mackenzie <acm@muc.de>
652 Fix indentation/fontification of Java enum with
653 "implements"/generic.
655 * progmodes/cc-engine.el (c-backward-over-enum-header):
656 Extracted from the three other places and enhanced to handle generics.
657 (c-inside-bracelist-p): Uses new function above.
658 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
660 (c-font-lock-enum-tail): Uses new function above.
662 2013-10-13 Kenichi Handa <handa@gnu.org>
664 * international/mule-cmds.el (select-safe-coding-system): Remove a
665 superfluous condition in chekcing whether a coding system is safe
668 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
670 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
672 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
674 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
676 2013-10-13 Glenn Morris <rgm@gnu.org>
678 * menu-bar.el (menu-bar-update-buffers):
679 Unify Buffers menu prompt string. (Bug#15576)
681 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
683 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
685 (authors-fixed-entries): Use accented form of name.
687 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
689 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
690 method calls (bug#15594).
691 (ruby-smie--args-separator-p): New function.
692 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
693 recognize paren-free method calls.
695 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
696 internals of universal-argument.
698 2013-10-11 Eli Zaretskii <eliz@gnu.org>
700 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
701 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
702 dropped menu on second mouse click on the menu bar.
704 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
706 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
707 (explicit-shell-file-name): Declare.
708 (sh--vars-before-point, sh--cmd-completion-table): New functions.
709 (sh-completion-at-point-function): New function.
711 (sh-smie--keyword-p): Remove unused argument.
712 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
714 (sh-set-shell): Always setup SMIE, even if we use the
715 old indentation code.
717 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
719 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
721 (ruby-smie-rules): Simplify the "do" rule. The cases when the
722 predicate would return nil are almost non-existent.
723 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
725 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
726 cache also after commands that modify the buffer but don't move
729 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
731 * env.el (substitute-env-in-file-name): New function.
732 (substitute-env-vars): Extend the meaning of the optional arg.
734 2013-10-10 Eli Zaretskii <eliz@gnu.org>
736 * term/w32-win.el (dynamic-library-alist): Define separate lists
737 of GIF DLLs for versions before and after 5.0.0 of giflib.
740 2013-10-10 João Távora <joaotavora@gmail.com>
742 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
743 not locked, use last revision and current source as
744 defaults. (Bug#15569)
746 2013-10-10 Masatake YAMATO <yamato@redhat.com>
748 * menu-bar.el (menu-bar-open): Don't use popup-menu if
751 2013-10-10 Martin Rudalics <rudalics@gmx.at>
753 * window.el (pop-to-buffer-same-window): Fix doc-string.
756 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
758 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
760 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
762 * calendar/icalendar.el (icalendar-import-file):
763 Fix interactive spec. (Bug#15482)
765 2013-10-10 Glenn Morris <rgm@gnu.org>
767 * desktop.el (desktop-save): Default to saving in .emacs.d,
768 since PWD is no longer in desktop-path by default. (Bug#15319)
770 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
771 now that text mode has a menu with the same entry.
772 (menu-bar-text-mode-auto-fill): Remove now unused func.
773 * textmodes/text-mode.el (text-mode-map):
774 Use auto-fill help text from menu-bar.el.
776 2013-10-10 John Anthony <john@jo.hnanthony.com>
778 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
780 2013-10-09 Juri Linkov <juri@jurta.org>
782 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
783 instead of this-command-keys. Add universal-argument-more and
784 universal-argument-minus to the list of prefix commands. (Bug#15568)
786 2013-10-09 Glenn Morris <rgm@gnu.org>
788 * vc/vc-svn.el (vc-svn-create-repo):
789 Expand paths in file://... url. (Bug#15446)
791 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
793 (authors): Remove unused local variables.
795 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
797 * profiler.el: Create a more coherent calltree from partial backtraces.
798 (profiler-format): Hide the tail with `invisible' so that C-s can still
799 find the hidden elements.
800 (profiler-calltree-depth): Don't recurse so enthusiastically.
801 (profiler-function-equal): New hash-table-test.
802 (profiler-calltree-build-unified): New function.
803 (profiler-calltree-build): Use it.
804 (profiler-report-make-name-part): Indent the calltree less.
805 (profiler-report-mode): Add visibility specs for profiler-format.
806 (profiler-report-expand-entry, profiler-report-toggle-entry):
807 Expand the whole subtree when provided with a prefix arg.
809 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
811 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
813 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
814 hanging iuwu-mod token.
815 (ruby-smie--forward-token): Do not include a dot after a token in
817 (ruby-smie--backward-token): Likewise.
819 2013-10-08 Juri Linkov <juri@jurta.org>
821 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
822 to isearch-other-control-char.
823 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
824 and isearch-post-command-hook to post-command-hook.
825 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
826 and isearch-post-command-hook from post-command-hook.
827 (isearch-unread-key-sequence)
828 (isearch-reread-key-sequence-naturally)
829 (isearch-lookup-scroll-key, isearch-other-control-char)
830 (isearch-other-meta-char): Remove functions.
831 (isearch-pre-command-hook, isearch-post-command-hook):
832 New functions based on isearch-other-meta-char rewritten
833 relying on the new behavior of overriding-terminal-local-map
834 that does not replace the local keymaps any more. (Bug#15200)
836 2013-10-08 Eli Zaretskii <eliz@gnu.org>
838 Support menus on text-mode terminals.
839 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
842 * tooltip.el (tooltip-mode): Don't error out on TTYs.
844 * menu-bar.el (popup-menu, popup-menu-normalize-position):
845 Move here from mouse.el.
846 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
848 (tty-menu-navigation-map): New map for TTY menu navigation.
850 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
852 * frame.el (display-mouse-p): Report text-mode mouse as available
854 (display-popup-menus-p): Report availability if mouse is
855 available; don't condition on window-system.
857 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
858 (tty-menu-selected-face): New faces.
860 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
862 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
863 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
864 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
865 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
867 (lisp-mode-variables): New `elisp' argument.
868 (emacs-lisp-mode): Use it.
869 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
870 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
872 * indent.el: Use lexical-binding.
873 (indent-region): Add progress reporter.
874 (tab-stop-list): Make it implicitly extend to infinity by repeating the
876 (indent--next-tab-stop): New function to implement this behavior.
877 (tab-to-tab-stop, move-to-tab-stop): Use it.
879 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
881 * indent.el (indent-rigidly--current-indentation): New function.
882 (indent-rigidly-map): New var.
883 (indent-rigidly): Use it to provide interactive mode (bug#8196).
885 2013-10-08 Bastien Guerry <bzg@gnu.org>
887 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
889 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
891 * progmodes/perl-mode.el: Use lexical-binding.
892 Remove redundant :group args.
893 (perl-nochange): Change default to be closer to other major modes's
895 (perl-indent-line): Don't consider text on current line as a
896 valid beginning of function from which to indent.
898 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
899 with more than one argument (bug#15538).
901 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
903 * vc/pcvs.el: Use lexical-binding.
904 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
905 environment of `eval'.
906 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
907 than a list of expressions. Adjust callers.
908 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
910 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
912 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
913 case of the dot in a chained method call being on the following line.
915 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
917 * electric.el (electric-indent-inhibit): New var.
918 (electric-indent-post-self-insert-function): Use it.
919 * progmodes/python.el (python-mode): Set it.
921 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
924 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
926 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
927 (css-mode): Use electric-indent-chars.
929 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
930 (font-lock-beg, font-lock-end): Move before first use.
931 (nxml-mode): Use syntax-propertize-function.
932 (nxml-after-change, nxml-after-change1): Adjust accordingly.
933 (nxml-extend-after-change-region): Remove.
934 * nxml/xmltok.el: Use lexical-binding.
935 (xmltok-save): Use `declare'.
936 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
937 * nxml/nxml-util.el: Use lexical-binding.
938 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
940 * nxml/nxml-ns.el: Use lexical-binding.
941 (nxml-ns-save): Use `declare'.
942 (nxml-ns-prefixes-for): Avoid add-to-list.
943 * nxml/rng-match.el: Use lexical-binding.
944 (rng--ipattern): Use cl-defstruct.
945 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
946 (rng-cons-group-after, rng-subst-group-after)
947 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
948 Use closures instead of `(lambda...).
950 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
952 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
955 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
956 Use `tramp-handle-insert-file-contents'.
957 (tramp-gvfs-handle-insert-file-contents): Remove function.
959 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
960 Use `save-restriction' in order to keep markers.
962 * net/trampver.el: Update release number.
964 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
966 * progmodes/compile.el (compilation-parse-errors):
967 Use compilation--put-prop.
968 (compilation--ensure-parse): Check compilation-multiline.
970 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
972 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
975 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
977 * progmodes/ruby-mode.el: Fix recently added tests.
978 (ruby-smie-grammar): Add - and +.
979 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
980 (ruby-smie--backward-id): New functions.
981 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
982 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
985 2013-10-07 Leo Liu <sdl.web@gmail.com>
987 * register.el (register-preview-delay)
988 (register-preview-functions): New variables.
989 (register-read-with-preview, register-preview)
990 (register-describe-oneline): New functions.
991 (point-to-register, window-configuration-to-register)
992 (frame-configuration-to-register, jump-to-register)
993 (number-to-register, view-register, insert-register)
994 (copy-to-register, append-to-register, prepend-to-register)
995 (copy-rectangle-to-register): Use register-read-with-preview to
996 read register. (Bug#15525)
998 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1000 * net/network-stream.el (network-stream-open-starttls): Don't add
1001 --insecure if it's already present, because that gnutls-cli
1002 rejects getting that parameter twice.
1004 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1006 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1009 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1011 * newcomment.el (comment-use-global-state): Change default value
1012 to t, mark obsolete (Bug#15251).
1013 (comment-beginning): In addition to `comment-to-syntax', check the
1014 value of `comment-use-global-state'.
1016 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1018 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1019 (ruby-comment-column): Follow the global default, by default.
1020 (ruby-smie-grammar): Add assignment syntax.
1021 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1022 open-paren, a comma, or a \.
1023 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1024 and line continuations.
1025 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1026 followed by implicit semi-colons. Add rule for string concatenation
1027 and for indentation at BOB.
1028 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1030 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1031 calling next-sexp, since next-token may have skipped chars which
1032 next-sexp doesn't know should be skipped!
1034 2013-10-05 Leo Liu <sdl.web@gmail.com>
1036 * progmodes/octave.el (octave-send-region):
1037 Call compilation-forget-errors.
1039 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1041 * vc/vc-svn.el (vc-svn-find-admin-dir):
1042 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1043 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1044 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1045 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1047 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1049 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1051 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1053 * subr.el (read-passwd): Hide chars even when called within a context
1054 where after-change-functions is disabled (bug#15501).
1055 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1056 until we removed ourself from overriding-terminal-local-map.
1058 2013-10-04 Leo Liu <sdl.web@gmail.com>
1060 * progmodes/octave.el (inferior-octave-mode):
1061 Call compilation-forget-errors.
1063 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1065 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1067 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1069 * net/secrets.el (secrets-create-collection): Add optional
1070 argument ALIAS. Use proper Label keyword. Append ALIAS as
1071 dbus-call-method argument. (Bug#15516)
1073 2013-10-04 Leo Liu <sdl.web@gmail.com>
1075 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1076 (inferior-octave-compilation-font-lock-keywords): New variables.
1077 (compilation-error-regexp-alist)
1078 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1079 (inferior-octave-mode): Use compilation-shell-minor-mode.
1081 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1083 * minibuffer.el (completion--replace): Be careful that `end' might be
1086 2013-10-03 Daiki Ueno <ueno@gnu.org>
1088 Add support for package signature checking.
1089 * emacs-lisp/package.el (url-http-file-exists-p)
1090 (epg-make-context, epg-context-set-home-directory)
1091 (epg-verify-string, epg-context-result-for)
1092 (epg-signature-status, epg-signature-to-string)
1093 (epg-check-configuration, epg-configuration)
1094 (epg-import-keys-from-file): Declare.
1095 (package-check-signature): New user option.
1096 (package-unsigned-archives): New user option.
1097 (package-desc): Add `signed' field.
1098 (package-load-descriptor): Set `signed' field if .signed file exists.
1099 (package--archive-file-exists-p): New function.
1100 (package--check-signature): New function.
1101 (package-install-from-archive): Check package signature.
1102 (package--download-one-archive): Check archive signature.
1103 (package-delete): Remove .signed file.
1104 (package-import-keyring): New command.
1105 (package-refresh-contents): Import default keyring.
1106 (package-desc-status): Add "unsigned" status.
1107 (describe-package-1, package-menu--print-info)
1108 (package-menu-mark-delete, package-menu--find-upgrades)
1109 (package-menu--status-predicate): Support "unsigned" status.
1111 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1113 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1114 the new compilation scheme using the new byte-codes.
1116 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1117 (byte-pophandler): New byte codes.
1118 (byte-goto-ops): Adjust accordingly.
1119 (byte-compile--use-old-handlers): New var.
1120 (byte-compile-catch): Use new byte codes depending on
1121 byte-compile--use-old-handlers.
1122 (byte-compile-condition-case--old): Rename from
1123 byte-compile-condition-case.
1124 (byte-compile-condition-case--new): New function.
1125 (byte-compile-condition-case): New function that dispatches depending
1126 on byte-compile--use-old-handlers.
1127 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1130 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1131 Optimize under `condition-case' and `catch' if
1132 byte-compile--use-old-handlers is nil.
1133 (disassemble-offset): Handle new bytecodes.
1135 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1137 * subr.el (error): Use `declare'.
1138 (decode-char, encode-char): Use advertised-calling-convention instead
1139 of the docstring to discourage use of the `restriction' arg.
1141 2013-10-03 Daiki Ueno <ueno@gnu.org>
1143 * epg.el (epg-verify-file): Add a comment saying that it does not
1144 notify verification error as a return value nor a signal.
1145 (epg-verify-string): Ditto.
1147 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1149 * progmodes/compile.el (compilation-start): Try globbing the arg to
1152 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1154 Sync with Tramp 2.2.8.
1156 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1157 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1158 * net/trampver.el: Update release number.
1160 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1162 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1163 and default-process-coding-system for darwin only.
1165 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1167 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1169 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1171 * vc/vc-git.el (vc-git-grep): Disable pager.
1173 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1175 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1176 Use :url instead of :homepage, as per
1177 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1179 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1180 non-nil, use `syntax-ppss' (Bug#15251).
1182 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1184 * progmodes/octave.el (inferior-octave-startup-file):
1185 Prefer ~/.emacs.d/init_octave.m.
1187 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1189 * emacs-lisp/package.el (package-desc-from-define):
1190 Accept additional arguments as plist, convert them to an alist and store
1191 them in the `extras' slot.
1192 (package-generate-description-file): Convert extras alist back to
1193 plist and append to the `define-package' form arguments.
1194 (package--alist-to-plist): New function.
1195 (package--ac-desc): Add `extras' slot.
1196 (package--add-to-archive-contents): Check if the archive-contents
1197 vector is long enough, and if it is, pass its `extras' slot value
1198 to `package-desc-create'.
1199 (package-buffer-info): Call `lm-homepage', pass the returned value
1200 to `package-desc-from-define'.
1201 (describe-package-1): Render the homepage button (Bug#13291).
1203 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1204 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1206 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1208 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1209 and default-process-coding-system to utf-8-unix (Bug#15402).
1211 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1213 * subr.el (looking-back): Do not recommend using looking-back.
1215 2013-09-28 Alan Mackenzie <acm@muc.de>
1217 Fix indentation/fontification of Java enum with "implements".
1219 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1220 regexp which matches "implements", etc., in Java.
1221 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1222 specifier clauses coming after "enum".
1223 * progmodes/cc-fonts.el (c-font-lock-declarations)
1224 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1227 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1229 * faces.el (region): Change ns_selection_color to
1230 ns_selection_fg_color, add ns_selection_bg_color.
1232 2013-09-28 Leo Liu <sdl.web@gmail.com>
1234 * progmodes/octave.el (inferior-octave-completion-table)
1235 (inferior-octave-completion-at-point): Minor tweaks.
1237 * textmodes/ispell.el (ispell-lookup-words): Rename from
1238 lookup-words. (Bug#15460)
1239 (lookup-words): Obsolete.
1240 (ispell-complete-word, ispell-command-loop): All uses changed.
1242 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1244 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1245 (octave-mode-menu): Add octave-send-buffer.
1246 (octave-send-buffer): New function.
1248 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1250 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1252 (octave-mode-menu): Add octave-lookfor.
1253 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1255 (octave-lookfor): New function.
1257 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1259 * emacs-lisp/cl-macs.el:
1260 (cl--loop-destr-temps): Remove.
1261 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1263 (cl--loop-set-iterator-function): New function.
1264 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1265 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1266 Bind `it' with `let' instead of substituting it with `cl-subst'.
1267 (cl--unused-var-p): New function.
1268 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1269 Eliminate some unused variable warnings (bug#15326).
1271 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1273 * doc-view.el (doc-view-scale-reset): Rename from
1274 `doc-view-reset-zoom-level'.
1275 (doc-view-scale-adjust): New command.
1276 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1277 `doc-view-scale-adjust'.
1279 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1281 * doc-view.el (doc-view-reset-zoom-level): New command.
1282 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1283 zoom commands (bug#15466).
1285 2013-09-26 Kenichi Handa <handa@gnu.org>
1287 * international/quail.el (quail-help): Make it not a command.
1289 2013-09-26 Leo Liu <sdl.web@gmail.com>
1291 * minibuffer.el (completion-all-sorted-completions): Make args
1292 optional as they are.
1294 2013-09-25 Daniel Colascione <dancol@dancol.org>
1296 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1297 specs are and that they're not evaluated.
1299 2013-09-24 Sam Steingold <sds@gnu.org>
1301 * midnight.el (clean-buffer-list-kill-regexps)
1302 (clean-buffer-list-kill-buffer-names): Update for the new Man
1303 buffer naming which includes the object name.
1305 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1307 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1308 (eshell-parse-command, eshell-parse-pipeline): Use it since
1309 eshell-separate-commands requires a dynamic scoped var.
1310 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1312 2013-09-23 Leo Liu <sdl.web@gmail.com>
1314 * autoinsert.el (auto-insert-alist): Make the value of
1315 lexical-binding match its file setting.
1317 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
1319 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1321 * autoarg.el (autoarg-kp-digit-argument):
1322 * electric.el (Electric-command-loop):
1323 * kmacro.el (kmacro-step-edit-insert):
1324 Do not set universal-argument-num-events.
1326 2013-09-22 Leo Liu <sdl.web@gmail.com>
1328 * files.el (interpreter-mode-alist): Add octave.
1330 2013-09-21 Alan Mackenzie <acm@muc.de>
1332 C++: fontify identifier in declaration following "public:" correctly.
1333 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1334 to match "public", etc.
1335 (c-decl-prefix-re): Add ":" into the C++ value.
1336 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1337 bit. Add a check for a ":" preceded by "public", etc.
1339 2013-09-21 Eli Zaretskii <eliz@gnu.org>
1341 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1342 recognized by GDB 7.5 and later.
1344 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1346 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1348 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1350 * subr.el (internal--call-interactively): New const.
1351 (called-interactively-p): Use it (bug#3984).
1353 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1355 * vc/pcvs.el (cvs-mode-ignore):
1356 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1357 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1359 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1361 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1362 (eshell-ls-orig-insert-directory): Remove.
1363 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1364 (eshell-ls-use-in-dired): Use advice-add/remove.
1365 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1366 Add `orig-fun' arg for use in :around advice.
1367 Make it check (redundantly) eshell-ls-use-in-dired.
1369 2013-09-19 Glenn Morris <rgm@gnu.org>
1371 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1373 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1375 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1377 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
1379 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1380 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1381 (tramp-get-remote-python): New defuns.
1382 (tramp-get-remote-uid-with-perl)
1383 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1384 contributed by yary <not.com@gmail.com> (tiny change).
1385 (tramp-get-remote-uid-with-python)
1386 (tramp-get-remote-gid-with-python): New defuns. Python code
1387 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1388 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1390 2013-09-19 Glenn Morris <rgm@gnu.org>
1392 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1394 * eshell/em-unix.el (eshell-remove-entries):
1395 Rename argument to avoid name-clash with global `top-level'.
1397 * eshell/esh-proc.el (eshell-kill-process-function):
1398 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1399 (eshell-reset-after-proc): Remove unused arg `proc'.
1401 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1402 (directory-files-and-attributes): Mark unused arg.
1404 * eshell/em-unix.el (eshell-remove-entries):
1405 Remove unused arg `path'. Update callers.
1407 * eshell/em-hist.el (eshell-hist-parse-arguments):
1408 Remove unused arg `silent'. Update callers.
1410 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1411 Fix (f)boundp mix-up.
1413 * eshell/em-smart.el (eshell-smart-scroll-window)
1414 (eshell-disable-after-change):
1415 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1417 2013-09-18 Alan Mackenzie <acm@muc.de>
1419 Fix fontification of type when followed by "const".
1420 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1421 "known" types from fontification.
1423 2013-09-18 Glenn Morris <rgm@gnu.org>
1425 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1426 (chart-face-list): Drop Emacsen without display-color-p.
1428 * net/eww.el (libxml-parse-html-region): Declare.
1429 (eww-display-html): Explicit error if no libxml2 support.
1431 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1433 * image.el (image-type-from-buffer, image-multi-frame-p):
1434 Remove --without-x warning/error.
1436 * mouse.el (mouse-yank-primary):
1437 * term.el (term-mouse-paste):
1438 Reorder to silence --without-x compilation.
1440 * mpc.el (doc-view-mode): Silence --without-x compilation.
1442 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1443 Silence --without-x compilation.
1445 * progmodes/gud.el (gud-find-file, gud-mode):
1446 Silence --without-x compilation.
1447 (tooltip-mode): Declare.
1449 * wdired.el (dired-backup-overwrite): Remove declaration.
1450 (wdired-mode-map): Add doc string.
1452 * custom.el (x-get-resource): Declare.
1454 * eshell/em-glob.el (ange-cache):
1455 * eshell/em-unix.el (ange-cache): Declare.
1457 * faces.el (x-display-list, x-open-connection, x-get-resource):
1460 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1461 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1464 * frame.el (x-display-grayscale-p, x-display-name): Declare.
1466 * net/gnutls.el (gnutls-log-level): Declare.
1468 * net/shr.el (image-size, image-animate): Declare.
1470 * simple.el (font-info): Declare.
1472 * subr.el (x-popup-dialog): Declare.
1474 * term/common-win.el (x-select-enable-primary)
1475 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1478 * term/ns-win.el (x-handle-args): Declare.
1480 * term/x-win.el (x-select-enable-clipboard): Declare.
1482 * term/w32-win.el (create-default-fontset): Declare.
1484 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1487 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1488 (fit-frame-to-buffer): Explicit error if --without-x.
1489 (mouse-autoselect-window-select): Silence compiler.
1491 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1493 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1494 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1495 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
1496 * eshell/esh-util.el (eshell-sublist):
1497 Remove unused local variables.
1499 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1501 * textmodes/two-column.el: Make 2C-split work for --without-x.
1502 (scroll-bar-columns): Autoload.
1503 (top-level): Require fringe when compiling.
1505 2013-09-18 Leo Liu <sdl.web@gmail.com>
1507 * subr.el (add-hook): Robustify to handle closure as well.
1509 2013-09-17 Glenn Morris <rgm@gnu.org>
1511 * simple.el (messages-buffer-mode-map): Unbind "g".
1513 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1515 * help-mode.el (help-mode-finish): Use derived-mode-p.
1516 Remove obsolete highlighting.
1518 * play/life.el (life-mode): Use define-derived-mode. Derive from
1520 (life): Let-bind inhibit-read-only.
1521 (life-setup): Avoid `setq'. Use `life-mode'.
1523 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1524 which should not be needed any more.
1525 (package-menu-refresh, package-menu-describe-package): Use user-error.
1527 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1528 (eshell-post-rewrite-command-hook): Make obsolete.
1529 (eshell-parse-command): Simplify.
1530 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1531 (eshell--cmd): Declare.
1532 (eshell-parse-pipeline): Remove unused var `final-p'.
1533 Pass a dynvar to eshell-post-rewrite-command-hook.
1534 Implement the new eshell-post-rewrite-command-function.
1535 (eshell-invoke-directly): Remove unused arg `input'.
1536 * eshell/esh-io.el (eshell-io-initialize):
1537 Use eshell-post-rewrite-command-function (bug#15399).
1538 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1539 adjust to new calling convention.
1540 (eshell-create-handles): Rename args to avoid clashing with dynvar
1543 2013-09-17 Glenn Morris <rgm@gnu.org>
1545 * simple.el (messages-buffer-mode): New major mode.
1546 (messages-buffer): New function.
1547 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1548 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
1549 (ert-run-test): Use `messages-buffer' function.
1550 (ert--force-message-log-buffer-truncation): Ignore read-only.
1551 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1552 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
1554 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1556 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1558 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1560 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1562 * icomplete.el (icomplete-in-buffer): New var.
1563 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1564 vars and replace them with functions.
1565 (icomplete-minibuffer-setup): Adjust accordingly.
1566 (icomplete--completion-table, icomplete--completion-predicate)
1567 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1569 (icomplete-forward-completions, icomplete-backward-completions)
1570 (icomplete-simple-completing-p, icomplete-exhibit)
1571 (icomplete-completions): Use them.
1572 (icomplete--in-region-buffer): New var.
1573 (icomplete--in-region-setup): New function.
1574 (icomplete-mode): Use it.
1576 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1578 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1579 return args and options.
1580 (eshell-eval-using-options): Use the new return value of
1581 eshell--do-opts to set the options's vars in their scope.
1582 (eshell--set-option): Rename from eshell-set-option.
1584 (eshell--process-option): Rename from eshell-process-option.
1586 (eshell--process-args): Use an `opt-vals' alist to store the options's
1587 values during their processing and return them additionally to the
1590 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1592 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1593 continuation character an operator, as far as indentation is
1594 concerned (Bug#15369).
1596 2013-09-15 Martin Rudalics <rudalics@gmx.at>
1598 * window.el (window--state-put-2): Don't process buffer state
1599 when buffer doesn't exist any more (Bug#15382).
1601 2013-09-15 Glenn Morris <rgm@gnu.org>
1603 * eshell/em-unix.el (eshell/rm):
1604 Make -f ignore missing files. (Bug#15373)
1606 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1607 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1608 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1610 2013-09-14 Glenn Morris <rgm@gnu.org>
1612 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1614 2013-09-13 Glenn Morris <rgm@gnu.org>
1616 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1617 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1619 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1621 * frame.el (x-focus-frame): Mark as declared in frame.c.
1623 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1625 * ls-lisp.el: Use advice-add.
1626 (original-insert-directory): Remove.
1627 (ls-lisp--insert-directory): Rename from insert-directory; add
1628 `orig-fun' argument.
1629 (insert-directory): Advise.
1631 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1633 * term.el (term-emulate-terminal): Decode the command string
1634 before passing it to term-command-hook. (Bug#15337)
1636 2013-09-13 Glenn Morris <rgm@gnu.org>
1638 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1640 * eshell/esh-ext.el (eshell-search-path): Declare.
1642 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1643 Otherwise an error occurs if eshell-dirs module not loaded.
1645 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1647 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1649 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1650 `tramp-check-proper-host'. Check for a valid method name.
1652 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1653 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1654 * net/tramp-sh.el (tramp-maybe-open-connection):
1655 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1657 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1658 also for hash values.
1660 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1662 * term/ns-win.el (parameters): Don't declare as dynamic.
1663 (before-make-frame-hook): Don't add ineffective function.
1665 * eshell/*.el: Use lexical-binding (bug#15231).
1667 2013-09-12 Kenichi Handa <handa@gnu.org>
1669 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1671 2013-09-12 Glenn Morris <rgm@gnu.org>
1673 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1674 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1676 * subr.el (do-after-load-evaluation): Also give compiler warnings
1677 when obsolete files are used (except by obsolete files).
1679 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1680 in the status output, assume `filename' is the first. (Bug#15322)
1682 * vc/vc.el (vc-deduce-fileset): Doc fix.
1684 * calc/calc-help.el (Info-goto-node):
1685 * progmodes/cperl-mode.el (Info-find-node):
1686 * vc/ediff.el (Info-goto-node): Update declarations.
1688 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1690 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1691 (vc-bzr-pull): Require vc-dispatcher.
1692 * vc/vc-git.el (vc-compilation-mode): Declare.
1693 (vc-git-pull): Require vc-dispatcher.
1695 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1697 * progmodes/octave.el (help-button-action): Declare.
1699 * shell.el (shell-directory-tracker): Output error as a message
1700 rather than just returning it as a string.
1701 (shell-process-pushd): Remove useless use of message.
1703 * dframe.el (dframe-timer-fn):
1704 * files.el (dir-locals-read-from-file):
1705 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1707 * reveal.el (reveal-post-command):
1708 * saveplace.el (load-save-place-alist-from-file):
1709 * shell.el (shell-resync-dirs):
1710 * w32-common-fns.el (x-get-selection-value):
1711 * emacs-lisp/copyright.el (copyright-find-copyright):
1712 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1713 * emulation/tpu-edt.el (tpu-copy-keyfile):
1714 * play/bubbles.el (bubbles--mark-neighbourhood):
1715 * progmodes/executable.el
1716 (executable-make-buffer-file-executable-if-script-p):
1717 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1719 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1721 Cleanup Eshell to rely less on dynamic scoping.
1722 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1723 last-value, and ext-command here. Bind `args' closer to `body'.
1724 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1725 (eshell--args): Declare new dynamic var.
1726 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1727 last-value, and ext-command. Pass `args' to `body'.
1728 (eshell-process-args): Bind eshell--args.
1729 (eshell-set-option): Use eshell--args.
1730 * eshell/eshell.el (eshell): Use derived-mode-p.
1731 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1732 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1733 (eshell-glob-function): Declare.
1734 * eshell/esh-util.el: Require cl-lib.
1735 (eshell-read-hosts-file): Avoid add-to-list.
1736 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1738 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1740 (eshell/diff): Remove unused var `err'.
1741 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1743 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1744 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1746 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1747 Move declaration before first use.
1748 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1749 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1752 2013-09-12 Glenn Morris <rgm@gnu.org>
1754 * term/ns-win.el (global-map): Remove binding for ispell-next,
1755 deleted 1999-05-29. (Bug#15357)
1757 2013-09-11 Glenn Morris <rgm@gnu.org>
1759 * echistory.el (electric-command-history): Remove call to deleted func.
1761 * play/landmark.el (landmark-mode): Fix typos.
1763 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1764 Check cvs-sort-ignore-file is bound.
1766 * savehist.el: No need for cl when compiling on Emacs.
1768 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1770 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1772 (eshell-self-insert-command, eshell-send-invisible):
1773 Remove unused argument.
1774 (eshell-handle-control-codes): Remove unused var `orig'.
1775 Avoid delete-backward-char.
1777 * files.el (set-auto-mode): Simplify a bit further.
1779 2013-09-11 Glenn Morris <rgm@gnu.org>
1781 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1782 (set-auto-mode): Don't regexp-quote elements.
1783 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1784 * progmodes/cc-mode.el (interpreter-mode-alist):
1785 * progmodes/ruby-mode.el (interpreter-mode-alist):
1786 Revert previous change.
1788 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1790 * play/snake.el (snake-mode):
1791 * play/mpuz.el (mpuz-mode):
1792 * play/landmark.el (lm-mode):
1793 * play/blackbox.el (blackbox-mode):
1794 * play/5x5.el (5x5-mode):
1795 * obsolete/options.el (Edit-options-mode):
1796 * net/quickurl.el (quickurl-list-mode):
1797 * net/newst-treeview.el (newsticker-treeview-mode):
1798 * mail/rmailsum.el (rmail-summary-mode):
1799 * mail/mspools.el (mspools-mode):
1800 * locate.el (locate-mode):
1801 * ibuffer.el (ibuffer-mode):
1802 * emulation/ws-mode.el (wordstar-mode):
1803 * emacs-lisp/debug.el (debugger-mode):
1804 * array.el (array-mode):
1805 * net/eudc.el (eudc-mode): Use define-derived-mode.
1806 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1807 Move initialization into declaration.
1808 (mairix-searches-mode): Use define-derived-mode.
1809 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1810 (eudc-edit-hotlist): Use dolist.
1811 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1812 (Man-mode): Use define-derived-mode.
1813 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1814 (Info-edit-mode): Use define-derived-mode.
1815 (Info-cease-edit): Use Info-mode.
1816 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1818 (eshell-mode): Use define-derived-mode.
1819 * chistory.el (command-history-mode-map): Rename from
1820 command-history-map.
1821 (command-history-mode): Use define-derived-mode.
1822 (Command-history-setup): Remove function.
1823 * calc/calc.el (calc-trail-mode-map): New var.
1824 (calc-trail-mode): Use define-derived-mode.
1825 (calc-trail-buffer): Set calc-main-buffer manually.
1826 * bookmark.el (bookmark-insert-annotation): New function.
1827 (bookmark-edit-annotation): Use it.
1828 (bookmark-edit-annotation-mode): Make it a proper major mode.
1829 (bookmark-send-edited-annotation): Use derived-mode-p.
1830 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1831 closer to its ideal place. Use \' to match EOS.
1833 * profiler.el (profiler-calltree-find): Use function-equal.
1835 2013-09-10 Glenn Morris <rgm@gnu.org>
1837 * files.el (interpreter-mode-alist): Convert to regexps.
1838 (set-auto-mode): Adapt for this. (Bug#15306)
1839 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1840 Comment out unused variable.
1841 * progmodes/cc-mode.el (interpreter-mode-alist):
1842 * progmodes/python.el (interpreter-mode-alist):
1843 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1844 * progmodes/sh-script.el (sh-set-shell):
1845 No longer use interpreter-mode-alist to get list of shells.
1847 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1849 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1851 * simple.el: Use set-temporary-overlay-map for universal-argument.
1852 (universal-argument-map): Don't use default-bindings (bug#15317).
1853 Bind switch-frame explicitly. Replace universal-argument-minus with
1854 a conditional binding.
1855 (universal-argument-num-events, saved-overriding-map): Remove.
1856 (restore-overriding-map): Remove.
1857 (universal-argument--mode): Rename from save&set-overriding-map,
1859 (universal-argument, universal-argument-more, negative-argument)
1860 (digit-argument): Adjust accordingly.
1861 (universal-argument-minus): Remove.
1862 (universal-argument-other-key): Remove.
1864 * subr.el (with-demoted-errors): Add `format' argument.
1866 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
1868 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1869 `tramp-cleanup-connection'.
1871 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1872 parameters KEEP-DEBUG and KEEP-PASSWORD.
1874 * net/tramp.el (tramp-file-name-handler):
1875 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1876 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1877 (tramp-maybe-open-connection):
1878 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1879 Use `tramp-cleanup-connection'.
1881 * net/tramp-sh.el (tramp-maybe-open-connection):
1882 Catch 'uname-changed inside the progress reporter.
1884 2013-09-10 Glenn Morris <rgm@gnu.org>
1886 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1888 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1889 returns "alternate access method" in mode (eg "-rw-r--r--.").
1891 2013-09-08 Glenn Morris <rgm@gnu.org>
1893 * saveplace.el (load-save-place-alist-from-file):
1894 Demote errors. (Bug#15305)
1896 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
1898 Improve compatibility with older Emacsen, and XEmacs.
1900 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1901 only if it is bound. It isn't for XEmacs.
1902 (with-tramp-progress-reporter): Do not let-bind `result'.
1903 This yields to scoping errors in XEmacs.
1904 (tramp-handle-make-auto-save-file-name): New function, moved from
1907 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1908 for `make-auto-save-file-name'.
1909 (tramp-adb--gnu-switches-to-ash):
1910 Use `tramp-compat-replace-regexp-in-string'.
1912 * net/tramp-cache.el (tramp-cache-print): Call
1913 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1915 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1916 bound. It isn't for XEmacs.
1918 * net/tramp-compat.el (tramp-compat-copy-file):
1919 Catch `wrong-number-of-arguments' error.
1920 (tramp-compat-replace-regexp-in-string): New defun.
1922 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1923 for `make-auto-save-file-name'.
1924 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1926 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1927 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1928 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1930 * net/tramp-gw.el (tramp-gw-open-network-stream):
1931 Use `tramp-compat-replace-regexp-in-string'.
1933 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1934 Call `tramp-handle-make-auto-save-file-name'.
1935 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1936 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1937 (tramp-sh-file-inotifywait-process-filter):
1938 Use `tramp-compat-replace-regexp-in-string'.
1939 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1941 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1942 for `make-auto-save-file-name'.
1943 (tramp-smb-handle-copy-directory):
1944 Call `tramp-compat-replace-regexp-in-string'.
1945 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1946 (tramp-smb-handle-copy-file): Improve error message.
1947 (tramp-smb-handle-rename-file): Rename directly only in case
1948 `newname' does not exist yet. This is a restriction of smbclient.
1949 (tramp-smb-maybe-open-connection): Rerun the function only when
1950 `auth-sources' is non-nil.
1952 2013-09-08 Kenichi Handa <handa@gnu.org>
1954 * international/characters.el: Set category "^" (Combining) for
1957 2013-09-07 Alan Mackenzie <acm@muc.de>
1959 Correctly fontify Java class constructors.
1960 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1962 (c-recognize-typeless-decls): Set the Java value to t.
1963 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1964 While handling a "(", add a check for, effectively, Java, and handle a
1965 "typeless" declaration there.
1967 2013-09-07 Roland Winkler <winkler@gnu.org>
1969 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1970 field subtitle for entry type book.
1972 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1974 * minibuffer.el: Make minibuffer-complete call completion-in-region
1975 rather than other way around.
1976 (completion--some, completion-pcm--find-all-completions):
1977 Don't delay signals when debugging.
1978 (minibuffer-completion-contents): Beware fields within the
1979 minibuffer contents.
1980 (completion-all-sorted-completions): Use defvar-local.
1981 (completion--do-completion, completion--cache-all-sorted-completions)
1982 (completion-all-sorted-completions, minibuffer-force-complete):
1983 Add args `beg' and `end'.
1984 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1985 (minibuffer-complete): Use completion-in-region.
1986 (completion-complete-and-exit): New fun, extracted from
1987 minibuffer-complete-and-exit.
1988 (minibuffer-complete-and-exit): Use it.
1989 (completion--complete-and-exit): Rename from
1990 minibuffer--complete-and-exit.
1991 (completion-in-region--single-word): New function, extracted from
1992 minibuffer-complete-word.
1993 (minibuffer-complete-word): Use it.
1994 (display-completion-list): Make `common-substring' argument obsolete.
1995 (completion--in-region): Call completion--in-region-1 instead of
1996 minibuffer-complete.
1997 (completion-help-at-point): Pass boundaries to
1998 minibuffer-completion-help as args rather than via an overlay.
1999 (completion-pcm--string->pattern): Use `any-delim'.
2000 (completion-pcm--optimize-pattern): New function.
2001 (completion-pcm--pattern->regex): Handle `any-delim'.
2002 * icomplete.el (icomplete-forward-completions)
2003 (icomplete-backward-completions, icomplete-completions):
2004 Adjust calls to completion-all-sorted-completions and
2005 completion--cache-all-sorted-completions.
2006 (icomplete-with-completion-tables): Default to t.
2007 * emacs-lisp/crm.el (crm--current-element): Rename from
2008 crm--select-current-element. Don't put an overlay but return the
2010 (crm--completion-command): Take two new args to bind to the boundaries.
2011 (crm-completion-help): Adjust accordingly.
2012 (crm-complete): Use completion-in-region.
2013 (crm-complete-word): Use completion-in-region--single-word.
2014 (crm-complete-and-exit): Use completion-complete-and-exit.
2016 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2018 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2021 2013-09-06 Juri Linkov <juri@jurta.org>
2023 * info.el (Info-display-images-node): When image file doesn't exist
2024 display text version of the image if it's provided in the Info file.
2025 Otherwise, display the location of missing image from SRC attribute.
2026 Add help-echo text property from ALT attribute. (Bug#15279)
2028 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2030 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2031 (edit-abbrevs-mode): Use define-derived-mode.
2033 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2034 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2036 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2037 Use define-derived-mode.
2039 * epg.el (epg-start-encrypt): Minor CSE simplification.
2041 2013-09-06 William Xu <william.xwl@gmail.com>
2043 * arc-mode.el: Add support for 7za (bug#15264).
2044 (archive-7z-program): New var.
2045 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2046 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2047 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2049 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2053 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2054 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2055 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2056 (tramp-postfix-host-format, tramp-file-name-regexp)
2057 (tramp-completion-file-name-regexp)
2058 (tramp-completion-dissect-file-name)
2059 (tramp-handle-substitute-in-file-name): Remove 'url case.
2060 (tramp-file-name-regexp-url)
2061 (tramp-completion-file-name-regexp-url): Remove constants.
2063 2013-09-06 Glenn Morris <rgm@gnu.org>
2065 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2067 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2069 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2070 keywords" below "here-doc beginnings" (Bug#15270).
2072 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2074 * subr.el (pop): Use `car-safe'.
2075 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2076 to detect unused `pop' return value.
2078 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2080 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2081 (python-fill-string): Remove unused var `marker'.
2082 (python-skeleton-add-menu-items): Remove unused var `items'.
2084 * international/mule-cmds.el: Require CL.
2085 (find-coding-systems-for-charsets): Avoid add-to-list.
2086 (sanitize-coding-system-list): New function, extracted from
2087 select-safe-coding-system-interactively.
2088 (select-safe-coding-system-interactively): Use it.
2089 (read-input-method-name): Accept symbols for `default'.
2091 * emacs-lisp/advice.el (defadvice): Add indent rule.
2093 2013-09-05 Daniel Hackney <dan@haxney.org>
2097 * net/browse-url.el:
2100 * net/eudcb-ldap.el:
2113 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2114 byte compiler. Remove some unused let-bound variables.
2116 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2118 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2119 a "ref-cell", since it gets better optimized (bug#14883).
2121 2013-09-05 Glenn Morris <rgm@gnu.org>
2123 * progmodes/cc-awk.el (c-forward-sws): Declare.
2125 2013-09-04 Glenn Morris <rgm@gnu.org>
2127 * generic-x.el [rul-generic-mode]: Require cc-mode.
2128 (c++-mode-syntax-table): Declare.
2129 (rul-generic-mode-syntax-table): Init in the defvar.
2131 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2133 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2134 (vc-do-command, vc-set-async-update):
2135 * vc/vc-mtn.el (vc-mtn-dir-status):
2136 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2137 (vc-hg-pull, vc-hg-merge-branch):
2138 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2139 (vc-git-merge-branch):
2140 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2141 (vc-cvs-dir-status-files):
2142 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2143 (vc-bzr-dir-status-files):
2144 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2145 * vc/vc-annotate.el: Use lexical-binding.
2146 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2147 (vc-sentinel-movepoint): Declare.
2148 (vc-annotate): Don't use `goto-line'.
2149 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2150 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2151 (vc-sentinel-movepoint): Declare.
2152 * vc/vc-svn.el: Use lexical-binding.
2153 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2155 * vc/vc-rcs.el: Use lexical-binding.
2157 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2158 `deleted'. Don't drop errors silently.
2160 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2162 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2164 * vc/vc.el (vc-ignore): Rewrite.
2165 (vc-default-ignore): New function.
2166 (vc-default-ignore-completion-table): Use find-ignore-file.
2168 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2169 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2170 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2171 Remove. Most code moved to vc.el.
2173 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2175 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2176 * net/tramp-smb.el (tramp-smb-get-file-entries):
2177 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2178 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2180 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2182 (eww-change-select): Remove unused var `properties'.
2183 (eww-make-unique-file-name): Remove unused var `base'.
2185 * finder.el (finder-compile-keywords): Don't mess with windows.
2187 * calculator.el (calculator-funcall): Fix typo in last change.
2189 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2191 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2192 <pkg>-autoloads.el file stop us.
2194 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2195 warnings, and factor out common code.
2197 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2199 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2200 two-character operators and whether the character preceding them
2201 changes their meaning (Bug#15208).
2203 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2205 Format code sent to Python shell for robustness.
2206 * progmodes/python.el (python-shell-buffer-substring):
2208 (python-shell-send-region, python-shell-send-buffer): Use it.
2210 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
2212 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2213 * net/tramp.el (tramp-user-error): ... here.
2214 (tramp-find-method, tramp-check-proper-host)
2215 (tramp-dissect-file-name, tramp-debug-message)
2216 (tramp-handle-shell-command):
2217 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2218 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2220 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2222 2013-09-02 Martin Rudalics <rudalics@gmx.at>
2224 * avoid.el (mouse-avoidance-point-position)
2225 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2228 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2230 * progmodes/python.el (python-shell-completion-get-completions):
2231 Drop use of deleted `comint-last-prompt-overlay'.
2232 (python-nav-if-name-main): New command.
2234 2013-09-01 Glenn Morris <rgm@gnu.org>
2236 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2237 Avoid leading space in $wins. Otherwise the sed command used by
2238 eg compile-main ends up containing "/*.el". (Bug#15170)
2240 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2242 2013-08-30 Glenn Morris <rgm@gnu.org>
2244 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2245 Fix is-this-a-directory logic. (Bug#15220)
2247 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2249 * textmodes/css-mode.el: Use SMIE.
2250 (css-smie-grammar): New var.
2251 (css-smie--forward-token, css-smie--backward-token)
2252 (css-smie-rules): New functions.
2253 (css-mode): Use them.
2254 (css-navigation-syntax-table): Remove var.
2255 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2256 (css-indent-calculate, css-indent-line): Remove functions.
2258 Misc changes to reduce use of `(lambda...); and other cleanups.
2259 * cus-edit.el: Use lexical-binding.
2260 (customize-push-and-save, customize-apropos)
2261 (custom-buffer-create-internal): Use closures.
2262 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2263 * progmodes/ada-xref.el: Use setq.
2264 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2265 * dframe.el: Use lexical-binding.
2266 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2267 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2268 * descr-text.el: Use lexical-binding.
2269 (describe-text-widget, describe-text-sexp, describe-property-list):
2271 * comint.el (comint-history-isearch-push-state): Use a closure.
2272 * calculator.el: Use lexical-binding.
2273 (calculator-number-to-string): Make it work with lexical-binding.
2274 (calculator-funcall): Same and use cl-letf.
2276 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2277 (lisp--company-doc-string, lisp--company-location): New functions.
2278 (lisp-completion-at-point): Use them to improve Company support.
2280 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2281 params of lambda expressions.
2282 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2283 (ruby-smie--opening-pipe-p): New function.
2284 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2285 symbols and matched |...| for formal params.
2286 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2287 from being treated as hanging. Handle "rescue".
2289 2013-08-29 Glenn Morris <rgm@gnu.org>
2291 * progmodes/cc-engine.el (c-pull-open-brace):
2292 Move definition before use.
2294 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2296 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2297 are immutable. Don't use `unsafe' any more.
2298 (cl--defsubst-expand): Don't substitute at the same time as keeping
2299 a residual unused let-binding. Don't use `unsafe' any more.
2301 2013-08-29 Glenn Morris <rgm@gnu.org>
2303 * calendar/cal-china.el (calendar-chinese-year-cache):
2306 * nxml/nxml-util.el (nxml-debug-clear-inside):
2307 Use cl-loop rather than loop.
2309 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2311 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2313 2013-08-28 Glenn Morris <rgm@gnu.org>
2315 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2317 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2319 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2321 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2323 * simple.el (repeat-complex-command--called-interactively-skip):
2325 (repeat-complex-command): Use it (bug#14136).
2327 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2328 (c-define-abbrev-table): Add `doc' argument.
2329 (c-mode-abbrev-table, c++-mode-abbrev-table)
2330 (objc-mode-abbrev-table, java-mode-abbrev-table)
2331 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2332 (awk-mode-abbrev-table): Use it.
2333 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2334 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2335 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2336 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2337 Move initialization into the declaration; and remove any
2340 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2341 and dynamic let binding.
2343 * vc/smerge-mode.el: Remove redundant :group args.
2345 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2348 2013-08-28 Juri Linkov <juri@jurta.org>
2350 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2351 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2352 (isearch-other-meta-char): Handle an undefined shifted printing
2353 character by downshifting it. (Bug#15200)
2355 2013-08-28 Juri Linkov <juri@jurta.org>
2357 * isearch.el (isearch-search): Change regexp error message for
2358 non-regexp searches. (Bug#15166)
2360 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2362 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2363 for portability to hosts where /bin/sh has problems.
2365 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2367 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2369 2013-08-27 Juri Linkov <juri@jurta.org>
2371 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2372 in the keyboard macro. (Bug#15126)
2374 2013-08-27 Juri Linkov <juri@jurta.org>
2376 * isearch.el (isearch-quote-char): Comment out converting unibyte
2377 to multibyte, thus syncing with its `quoted-insert' counterpart.
2380 2013-08-27 Martin Rudalics <rudalics@gmx.at>
2382 * window.el (display-buffer-use-some-window): Add missing
2383 argument in call of get-largest-window (Bug#15185).
2384 Reported by Stephen Leake.
2386 2013-08-27 Glenn Morris <rgm@gnu.org>
2388 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2390 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2392 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2393 from a matcher-function unless there's no more matches (bug#15161).
2395 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2397 * minibuffer.el: Revert change from 2013-08-20.
2399 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2400 with text property `tramp-default', if appropriate.
2401 (tramp-check-proper-host): New defun.
2402 (tramp-dissect-file-name): Do not check hostname. Revert change
2404 (tramp-backtrace): Make VEC-OR-PROC optional.
2406 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2407 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2408 * net/tramp-sh.el (tramp-maybe-open-connection):
2409 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2410 Apply `tramp-check-proper-host'.
2412 2013-08-26 Tassilo Horn <tsdh@gnu.org>
2414 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2415 lambda expression in order to have `describe-variable' display it.
2417 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2419 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2420 BUF can be optional. (Bug#15186)
2422 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2424 * progmodes/flymake.el (flymake-get-real-file-name-function):
2425 Fix broken customization. (Bug#15184)
2427 2013-08-25 Alan Mackenzie <acm@muc.de>
2429 Improve indentation of bracelists defined by macros (without "=").
2431 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2432 expansion begins with "{", regard it as bracelist when it doesn't
2435 Parse C++ inher-intro when there's a template split over 2 lines.
2437 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2438 rigorously the search for "class" etc. followed by ":".
2440 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2441 random languages a regexp which never matches rather than nil.
2443 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2445 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2446 (c-awk-regexp-one-line-possibly-open-char-list-re)
2447 (c-awk-one-line-possibly-open-regexp-re)
2448 (c-awk-one-line-non-syn-ws*-re): Remove.
2449 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2450 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2451 (c-awk-space*-unclosed-regexp-/-re): New constants.
2452 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2453 aren't regexp delimiters.
2455 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2456 handling for a rare situation in AWK Mode involving unterminated
2459 2013-08-23 Glenn Morris <rgm@gnu.org>
2461 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2463 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2465 * files.el (create-file-buffer): If the result would begin with
2466 spaces, prepend a "|" instead of removing them. (Bug#15162)
2468 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2470 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2471 text-properties (bug#15155).
2473 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2475 (calc-keypad-redraw): Remove unused var `pad'.
2476 (calc-keypad-press): Remove unused var `menu'.
2478 2013-08-23 Martin Rudalics <rudalics@gmx.at>
2480 * window.el (display-buffer-pop-up-frame):
2481 Call pop-up-frame-function with BUFFER current so `make-frame' will
2482 use it as the new frame's buffer (Bug#15133).
2484 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2486 * calendar/timeclock.el: Minor cleanups.
2487 (timeclock-ask-before-exiting, timeclock-use-display-time):
2489 (timeclock-modeline-display): Define as alias before the
2491 (timeclock-mode-line-display): Use define-minor-mode.
2492 (timeclock-day-list-template): Make it a function, add an argument.
2493 (timeclock-day-list-required, timeclock-day-list-length)
2494 (timeclock-day-list-debt, timeclock-day-list-span)
2495 (timeclock-day-list-break): Adjust calls accordingly.
2497 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2499 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2500 Use read--expression so that completion works again.
2502 2013-08-21 Sam Steingold <sds@gnu.org>
2504 Add rudimentary inferior shell interaction
2505 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2506 (sh-set-shell): Reset it.
2507 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2508 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
2510 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2512 * align.el: Use lexical-binding.
2513 (align-region): Simplify accordingly.
2515 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
2517 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2519 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2522 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
2526 * net/tramp-cmds.el:
2528 * net/tramp-gvfs.el:
2530 * net/tramp-sh.el: Don't wrap external variable declarations by
2531 `eval-when-compile'.
2533 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2535 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2536 now that Emacs supports ImageMagick animations.
2538 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
2540 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2541 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2543 2013-08-16 Martin Rudalics <rudalics@gmx.at>
2545 * window.el (mouse-autoselect-window-select): Do autoselect when
2546 mouse pointer is on margin.
2548 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2550 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2552 2013-08-16 Glenn Morris <rgm@gnu.org>
2554 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2555 Handle "Remote Directory" response of some clients. (Bug#15058)
2557 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2558 Tweak warning. (Bug#14926)
2560 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2561 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2563 * image-mode.el (image-mode-map): Add menu items to reverse,
2564 increase, decrease, reset animation speed.
2565 (image--set-speed, image-increase-speed, image-decrease-speed)
2566 (image-reverse-speed, image-reset-speed): New functions.
2567 (image-mode-map): Add bindings for speed commands.
2569 * image.el (image-animate-get-speed, image-animate-set-speed):
2571 (image-animate-timeout): Respect image :speed property.
2573 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2575 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2576 previous line (bug#15101).
2577 (debugger-eval-expression, debugger-record-expression):
2578 Use read--expression (bug#15102).
2580 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
2582 Remove byte compiler warnings, visible when compiling with
2583 `byte-compile-force-lexical-warnings' set to t.
2585 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2586 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2587 (tramp-handle-unhandled-file-name-directory)
2588 (tramp-handle-file-notify-add-watch, tramp-action-login)
2589 (tramp-action-succeed, tramp-action-permission-denied)
2590 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2593 * net/tramp-adb.el (tramp-adb-parse-device-names)
2594 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2595 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2596 (tramp-adb-handle-file-truename): Remove unused arguments.
2598 * net/tramp-cache.el (tramp-flush-directory-property)
2599 (tramp-flush-connection-property, tramp-list-connections)
2600 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2602 * net/tramp-compat.el (tramp-compat-make-temp-file):
2603 Rename FILENAME to F.
2605 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2606 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2607 (tramp-zeroconf-parse-workstation-device-names)
2608 (tramp-zeroconf-parse-webdav-device-names)
2609 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2611 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2612 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2614 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2616 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2617 (tramp-sh-handle-insert-file-contents-literally)
2618 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2620 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2621 Remove unused variables.
2623 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2624 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2625 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2627 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2628 Make them a defconst.
2629 (tramp-uuencode-region): Remove unused variable.
2631 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2633 * frameset.el (frameset--prop-setter): New function.
2634 (frameset-prop): Add gv-setter declaration.
2635 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2636 parameter was already set in FILTERED. Doc fix.
2637 (frameset--record-minibuffer-relationships): Allow saving a
2638 minibufferless frame without its corresponding minibuffer frame.
2639 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2640 frame, if the frame id matches.
2641 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2642 frames before orphaned ones.
2643 (frameset-restore): Warn about orphaned windows, instead of error out.
2645 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2647 * window.el (window-make-atom): Don't overwrite parameter
2649 (display-buffer-in-atom-window): Handle special case where we
2650 split an already atomic window.
2651 (window--major-non-side-window, display-buffer-in-side-window)
2652 (window--side-check): Ignore minibuffer window when walking
2654 (window-deletable-p): Return 'frame only if no other frame uses
2655 our minibuffer window.
2656 (record-window-buffer): Run buffer-list-update-hook.
2657 (split-window): Make sure window--check-frame won't destroy an
2658 existing atomic window in case the new window gets nested
2660 (display-buffer-at-bottom): Ignore minibuffer window when
2661 walking window tree. Don't split a side window.
2662 (pop-to-buffer): Don't set-buffer here, the select-window call
2664 (mouse-autoselect-window-select): Autoselect only if we are in the
2665 text portion of the window.
2667 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2669 * net/shr.el (shr-parse-image-data): New function to grab both the
2670 data itself and the Content-Type.
2671 (shr-put-image): Use it.
2673 * net/eww.el (eww-display-image): Ditto.
2675 * image.el (image-content-type-suffixes): New variable.
2677 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2679 * progmodes/python.el (python-imenu--build-tree)
2680 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2682 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2684 * simple.el (backward-word): Mention the optional argument.
2686 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2688 * frameset.el (frameset--make): Rename constructor from make-frameset.
2689 (frameset-p, frameset-valid-p): Don't autoload.
2690 (frameset-valid-p): Use normal accessors.
2692 2013-08-13 Glenn Morris <rgm@gnu.org>
2694 * progmodes/compile.el (compile-command): Tweak example in doc.
2695 * obsolete/scribe.el (scribe-mode):
2696 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2698 * mail/feedmail.el (feedmail-confirm-outgoing)
2699 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2701 * cus-start.el (truncate-partial-width-windows): Fix type.
2703 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2705 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2707 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2709 * emacs-lisp/timer.el (timer--time-setter): New function.
2710 (timer--time): Use it as gv-setter.
2712 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2713 setter is not a symbol.
2715 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2717 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2718 if sending fails. This makes debugging easier.
2720 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2722 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2723 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2724 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2726 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2728 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2730 2013-08-12 Glenn Morris <rgm@gnu.org>
2732 * format.el (format-annotate-function):
2733 Handle read-only text properties in the source. (Bug#14887)
2735 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2737 * net/eww.el (eww-display-html): Ignore coding system errors.
2738 One web site uses "utf-8lias" as the coding system.
2740 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2742 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2744 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2746 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2747 (tutorial--detailed-help): Remove unused local variables.
2748 (tutorial--save-tutorial-to): Use ignore-errors.
2749 (help-with-tutorial): Use looking-at-p.
2751 * view.el (view-buffer-other-window, view-buffer-other-frame):
2752 Mark unused arguments.
2754 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2755 (woman-select-symbol-fonts, woman, woman-find-file)
2756 (woman-insert-file-contents, woman-non-underline-faces):
2758 (woman1-unquote): Move declaration.
2760 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2761 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2762 argument. Remove unused local variable.
2763 (xml-parse-elem-type): Use string-match-p.
2764 (xml-substitute-numeric-entities): Use ignore-errors.
2766 * calculator.el (calculator): Mark unused argument.
2767 (calculator-paste, calculator-quit, calculator-integer-p):
2769 (calculator-string-to-number, calculator-decimal, calculator-exp)
2770 (calculator-op-or-exp): Use string-match-p.
2772 * dired.el (dired-buffer-more-recently-used-p): Declare.
2773 (dired-insert-set-properties, dired-insert-old-subdirs):
2776 * dired-aux.el (dired-compress): Use ignore-errors.
2777 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2778 (dired-do-async-shell-command, dired-do-shell-command)
2779 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2780 (dired-insert-subdir-validate): Use string-match-p.
2781 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2782 (dired-add-entry): Use string-match-p, looking-at-p.
2783 (dired-insert-subdir-newpos): Remove unused local variable.
2785 * filenotify.el (file-notify-callback): Remove unused local variable.
2787 * filesets.el (filesets-error): Mark unused argument.
2788 (filesets-which-command-p, filesets-filter-dir-names)
2789 (filesets-directory-files, filesets-get-external-viewer)
2790 (filesets-ingroup-get-data): Use string-match-p.
2792 * find-file.el (ff-other-file-name, ff-other-file-name)
2793 (ff-find-the-other-file, ff-cc-hh-converter):
2794 Remove unused local variables.
2795 (ff-get-file-name): Use string-match-p.
2796 (ff-all-dirs-under): Use ignore-errors.
2798 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2799 (follow-select-if-visible): Remove unused local variable.
2801 * forms.el (read-file-filter): Move declaration.
2802 (forms--make-format, forms--make-parser, forms-insert-record):
2803 Quote function with #'.
2804 (forms--update): Use string-match-p. Quote function with #'.
2806 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2807 (help-make-xrefs): Use looking-at-p.
2808 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2810 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2811 (ibuffer-confirm-operation-on): Use string-match-p.
2813 * msb.el (msb-item-handler, msb-dired-item-handler):
2814 Mark unused arguments.
2816 * ses.el (ses-decode-cell-symbol)
2817 (ses-kill-override): Remove unused local variable.
2818 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2819 (ses-load): Use ignore-errors, looking-at-p.
2820 (ses-jump-safe): Use ignore-errors.
2821 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2823 * tabify.el (untabify, tabify): Mark unused arguments.
2825 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2826 Mark unused argument.
2827 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2828 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2830 * emacs-lisp/timer.el (timer--time): Define setter with
2831 gv-define-setter to avoid deprecation warning.
2833 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2834 (*record-cmpl-statistics-p*): Remove (was commented out).
2835 (cmpl-statistics-block): Remove (body was commented out).
2836 All callers changed.
2837 (add-completions-from-buffer, load-completions-from-file):
2838 Remove unused variables.
2840 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2842 * filecache.el (file-cache-delete-file-list):
2843 Print message only when told so.
2844 (file-cache-files-matching): Use #' in mapconcat argument.
2846 * ffap.el (ffap-url-at-point): Fix reference to variable
2847 thing-at-point-default-mail-uri-scheme.
2849 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2851 * subr.el (define-error): New function.
2852 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2853 error-file-not-found and define with define-error.
2854 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2855 and define with define-error.
2856 * userlock.el (file-locked, file-supersession):
2857 * simple.el (mark-inactive):
2858 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2859 * progmodes/ada-mode.el (ada-mode-errors):
2860 * play/life.el (life-extinct):
2861 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2862 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2863 * nxml/rng-util.el (rng-error):
2864 * nxml/rng-uri.el (rng-uri-error):
2865 * nxml/rng-match.el (rng-compile-error):
2866 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2867 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2868 * nxml/nxml-rap.el (nxml-scan-error):
2869 * nxml/nxml-outln.el (nxml-outline-error):
2870 * net/soap-client.el (soap-error):
2871 * net/gnutls.el (gnutls-error):
2872 * net/ange-ftp.el (ftp-error):
2873 * mpc.el (mpc-proc-error):
2874 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2875 (json-number-format, json-string-escape, json-string-format)
2876 (json-key-format, json-object-format):
2877 * jka-compr.el (compression-error):
2878 * international/quail.el (quail-error):
2879 * international/kkc.el (kkc-error):
2880 * emacs-lisp/ert.el (ert-test-failed):
2881 * calc/calc.el (calc-error, inexact-result, math-overflow)
2883 * bookmark.el (bookmark-error-no-filename):
2884 * epg.el (epg-error): Define with define-error.
2886 * time.el (display-time-event-handler)
2887 (display-time-next-load-average): Don't call sit-for since it seems
2888 unnecessary (bug#15045).
2890 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2891 Use #' instead of ' to quote functions.
2892 (checkdoc-output-mode): Use setq-local.
2893 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2894 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2895 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2896 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2897 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2898 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2899 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2900 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2902 * ido.el (ido-completion-help): Fix up compiler warning.
2904 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2906 * frameset.el (frameset-p): Add autoload cookie.
2907 (frameset--jump-to-register): New function, based on code moved from
2909 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2911 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2912 (frameset-restore, frameset-save, frameset-session-filter-alist):
2913 Remove declarations.
2914 (register-alist): Doc fix.
2915 (frameset-to-register): Move to frameset.el.
2916 (jump-to-register, describe-register-1): Remove frameset-specific code.
2918 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2920 * allout-widgets.el (allout-widgets-pre-command-business)
2921 (allout-widgets-post-command-business)
2922 (allout-widgets-after-change-handler)
2923 (allout-decorate-item-and-context, allout-set-boundary-marker)
2924 (allout-body-modification-handler)
2925 (allout-graphics-modification-handler): Mark ignored arguments.
2926 (allout-widgets-post-command-business)
2927 (allout-widgets-exposure-change-processor)
2928 (allout-widgets-exposure-undo-processor)
2929 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2930 (allout-parse-item-at-point, allout-decorate-item-guides)
2931 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2932 * allout.el (epa-passphrase-callback-function): Declare.
2933 (allout-overlay-insert-in-front-handler)
2934 (allout-overlay-interior-modification-handler)
2935 (allout-isearch-end-handler, allout-chart-siblings)
2936 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2937 (allout-yank-processing, allout-process-exposed)
2938 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
2939 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
2940 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2941 (lisp-indent-defform): Mark ignored arguments.
2942 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2943 (calculate-lisp-indent): Remove unused variables.
2944 * international/characters.el (indian-2-column, arabic-2-column)
2945 (tibetan): Mark ignored arguments.
2946 (use-cjk-char-width-table): Mark ignored arguments.
2947 Remove unused variables.
2948 * international/fontset.el (build-default-fontset-data)
2949 (x-compose-font-name, create-fontset-from-fontset-spec):
2950 Mark ignored arguments.
2951 (fontset-plain-name): Remove unused variables.
2952 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2953 (keyboard-coding-system): Mark ignored arguments.
2954 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2955 * help.el (resize-temp-buffer-window):
2956 * window.el (display-buffer-in-major-side-window)
2957 (display-buffer-in-side-window, display-buffer-in-previous-window):
2958 Remove unused variables.
2959 * isearch.el (isearch-forward-symbol):
2960 * version.el (emacs-bzr-version-bzr):
2961 * international/mule-cmds.el (current-language-environment):
2962 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2964 * term/pc-win.el (x-list-fonts, x-display-planes)
2965 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2966 (x-server-version, x-display-screens, x-display-mm-height)
2967 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2968 (x-selection-owner-p, x-own-selection-internal)
2969 (x-disown-selection-internal, x-get-selection-internal)
2970 (msdos-initialize-window-system):
2971 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2972 * term/x-win.el (x-handle-no-bitmap-icon):
2973 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2974 (vc-default-find-file-hook, vc-default-extra-menu):
2975 Mark ignored arguments.
2977 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2979 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2980 break-condition in the context of the debugged code (bug#12685).
2982 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2985 Do not use an overlay to highlight the last prompt. (Bug#14744)
2986 (comint-mode): Make comint-last-prompt buffer local.
2987 (comint-last-prompt): New variable.
2988 (comint-last-prompt-overlay): Remove. Superseded by
2990 (comint-snapshot-last-prompt, comint-output-filter):
2991 Use comint-last-prompt.
2993 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2995 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
2996 (frameset-save): Check validity of the resulting frameset.
2998 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3000 * ido.el (ido-record-command): Add doc string.
3002 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3004 * frameset.el (frameset): Do not disable creation of the default
3005 frameset-p predicate. Doc fix.
3006 (frameset-valid-p): New function, copied from the old predicate-p.
3007 Add additional checks.
3008 (frameset-restore): Check with frameset-valid-p.
3009 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3010 (frameset-name, frameset-description, frameset-properties)
3011 (frameset-states): Add docstring.
3012 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3013 (frameset-filter-alist): Doc fixes.
3015 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3017 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3019 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3021 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3022 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3023 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3024 (byte-compile-normal-call): Remove obsolescence check.
3026 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3028 * frameset.el (frameset-restore): Doc fix.
3030 * register.el (frameset-frame-id, frameset-frame-with-id)
3031 (frameset-p, frameset-restore, frameset-save): Declare.
3032 (register-alist): Document framesets.
3033 (frameset-session-filter-alist): Declare.
3034 (frameset-to-register): New function.
3035 (jump-to-register): Implement jumping to framesets. Doc fix.
3036 (describe-register-1): Describe framesets.
3038 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3040 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3042 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3043 Use lexical-binding.
3045 * frameset.el (frameset): Use type vector, not list (incompatible
3046 change). Do not declare a new constructor, use the default one.
3047 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3048 `name' and `description', respectively, and add read-only slot
3049 `timestamp'. Doc fixes.
3050 (frameset-copy, frameset-persistent-filter-alist)
3051 (frameset-filter-alist, frameset-switch-to-gui-p)
3052 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3053 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3054 (frameset-filter-iconified, frameset-keep-original-display-p):
3056 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3057 Rename from frameset-filter-(save|restore)-param. All callers changed.
3059 (frameset-p): Adapt to change to vector and be more thorough.
3060 Change arg name to OBJECT. Doc fix.
3061 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3062 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3063 All callers changed.
3064 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3065 All callers changed.
3066 (frameset--record-minibuffer-relationships): Rename from
3067 frameset--process-minibuffer-frames. All callers changed.
3068 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3069 Use new default constructor (again). Doc fix.
3070 (frameset--find-frame-if): Rename from `frameset--find-frame.
3071 All callers changed.
3072 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3073 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3075 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3076 PARAMETERS and WINDOW-STATE, respectively.
3077 (frameset-restore): Add new keyword argument PREDICATE.
3078 Reset frameset--target-display to nil. Doc fix.
3080 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3082 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3084 (bat-mode-syntax-table): Mark \n as end-of-comment.
3085 (bat-font-lock-keywords): Remove comment rule.
3087 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3088 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3090 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3091 (byte-compile-callargs-warn): Use `push'.
3092 (byte-compile-arglist-warn): Ignore higher-order "calls".
3093 (byte-compile-file-form-autoload): Use `pcase'.
3094 (byte-compile-function-form): If quoting a symbol, check that it exists.
3096 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3098 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3099 and add a few popular commands found in batch files.
3100 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3101 (dos-mode): Doc fixes.
3103 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3105 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3106 (dos-mode): Use setq-local. Add space after "rem".
3107 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3108 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3110 2013-08-07 Arni Magnusson <arnima@hafro.is>
3112 * progmodes/dos.el: New file.
3113 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3116 2013-08-06 Glenn Morris <rgm@gnu.org>
3118 * calendar/calendar.el: Add new faces, and day-header-array.
3119 (calendar-weekday-header, calendar-weekend-header)
3120 (calendar-month-header): New faces.
3121 (calendar-day-header-construct): New function.
3122 (calendar-day-header-width): Also :set calendar-day-header-array.
3123 (calendar-american-month-header, calendar-european-month-header)
3124 (calendar-iso-month-header): Use calendar- faces.
3125 (calendar-generate-month):
3126 Use calendar-day-header-array for day headers; apply faces to them.
3127 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3128 (calendar-abbrev-construct): Add optional maxlen argument.
3129 (calendar-day-name-array): Doc fix.
3130 (calendar-day-name-array, calendar-abbrev-length)
3131 (calendar-day-abbrev-array):
3132 Also :set calendar-day-header-array, and maybe redraw.
3133 (calendar-day-header-array): New option. (Bug#15007)
3134 (calendar-font-lock-keywords): Set to nil and make obsolete.
3135 (calendar-day-name): Add option to use header array.
3137 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3139 * net/shr.el (shr-render-td): Remove debugging.
3140 (shr-render-td): Make width computation consistent by defaulting
3141 all zero-width columns to 10 characters. This may not be optimal,
3142 but it's at least consistent.
3143 (shr-make-table-1): Redo last change to fix the real problem in
3146 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3148 * files.el (cache-long-line-scans):
3149 Make obsolete alias to `cache-long-scans'.
3151 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3153 * frameset.el (frameset, frameset-filter-alist)
3154 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3155 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3156 (frameset-compute-pos): Rename from frameset--compute-pos,
3158 (frameset-move-onscreen): Use frameset-compute-pos.
3159 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3161 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3162 Fix typos in docstrings.
3164 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3166 * frame.el (get-other-frame): Tiny cleanup.
3168 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3170 * vc/vc.el (vc-default-ignore-completion-table):
3171 Silence byte-compiler warning.
3173 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3174 slot , which can indeed be nil.
3175 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3176 Move entry for `left' from persistent to live filter alist.
3177 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3179 (frameset-filter-params): When restoring a frame, copy items added to
3180 `filtered', to avoid unwittingly modifying the original parameters.
3181 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3182 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3184 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3185 to use looking-at-p instead of looking-at. (Bug#15028)
3187 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3189 Revert introduction of isearch-filter-predicates (bug#14714).
3190 Rely on add-function instead.
3191 * isearch.el (isearch-filter-predicates): Rename it back to
3192 isearch-filter-predicate.
3193 (isearch-message-prefix): Use advice-function-mapc and advice
3194 properties to get the isearch-message-prefix.
3195 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3196 instead of run-hook-with-args-until-failure.
3197 (isearch-filter-visible): Not obsolete any more.
3198 * loadup.el: Preload nadvice.
3199 * replace.el (perform-replace): Revert to funcall
3200 instead of run-hook-with-args-until-failure.
3201 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3202 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3203 dired-isearch-filenames-toggle; make it into a proper minor mode.
3204 Use add/remove-function.
3205 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3206 Call the minor-mode rather than add/remove-hook.
3207 (dired-isearch-filter-filenames):
3208 Remove isearch-message-prefix property.
3209 * info.el (Info--search-loop): New function, extracted from Info-search.
3210 Funcall isearch-filter-predicate instead of
3211 run-hook-with-args-until-failure isearch-filter-predicates.
3212 (Info-search): Use it.
3213 (Info-mode): Use isearch-filter-predicate instead of
3214 isearch-filter-predicates.
3216 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3218 Do not call to `selected-window' where it is assumed by default.
3219 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3220 `window-hscroll', `window-width', `window-height', `window-buffer',
3221 `window-frame', `window-start', `window-point', `next-window'
3222 and `window-display-table'.
3223 * abbrev.el (abbrev--default-expand):
3224 * bs.el (bs--show-with-configuration):
3225 * buff-menu.el (Buffer-menu-mouse-select):
3226 * calc/calc.el (calc):
3227 * calendar/calendar.el (calendar-generate-window):
3228 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3230 * comint.el (send-invisible, comint-dynamic-complete-filename)
3231 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3232 * completion.el (complete):
3233 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3234 * disp-table.el (describe-current-display-table):
3235 * doc-view.el (doc-view-insert-image):
3236 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3237 * ehelp.el (with-electric-help):
3238 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3239 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3240 * emacs-lisp/helper.el (Helper-help-scroller):
3241 * emulation/cua-base.el (cua--post-command-handler-1):
3242 * eshell/esh-mode.el (eshell-output-filter):
3243 * ffap.el (ffap-gnus-wrapper):
3244 * help-macro.el (make-help-screen):
3245 * hilit-chg.el (highlight-compare-buffers):
3246 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3247 * hl-line.el (global-hl-line-highlight):
3248 * icomplete.el (icomplete-simple-completing-p):
3249 * isearch.el (isearch-done):
3250 * jit-lock.el (jit-lock-stealth-fontify):
3251 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3252 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3253 * mpc.el (mpc-tagbrowser, mpc):
3254 * net/rcirc.el (rcirc-any-buffer):
3255 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3256 * play/landmark.el (landmark-max-width, landmark-max-height):
3257 * play/zone.el (zone):
3258 * progmodes/compile.el (compilation-goto-locus):
3259 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3260 * progmodes/etags.el (find-tag-other-window):
3261 * progmodes/fortran.el (fortran-column-ruler):
3262 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3263 * progmodes/verilog-mode.el (verilog-point-text):
3264 * reposition.el (reposition-window):
3265 * rot13.el (toggle-rot13-mode):
3266 * server.el (server-switch-buffer):
3267 * shell.el (shell-dynamic-complete-command)
3268 (shell-dynamic-complete-environment-variable):
3269 * simple.el (insert-buffer, set-selective-display)
3270 (delete-completion-window):
3271 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3272 (speedbar-recenter):
3273 * startup.el (fancy-splash-head):
3274 * textmodes/ispell.el (ispell-command-loop):
3275 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3276 * tutorial.el (help-with-tutorial):
3277 * vc/add-log.el (add-change-log-entry):
3278 * vc/compare-w.el (compare-windows):
3279 * vc/ediff-help.el (ediff-indent-help-message):
3280 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3281 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3282 (ediff-setup-control-frame):
3283 * vc/emerge.el (emerge-position-region):
3284 * vc/pcvs-util.el (cvs-bury-buffer):
3285 * window.el (walk-windows, mouse-autoselect-window-select):
3286 * winner.el (winner-set-conf, winner-undo): Related users changed.
3288 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3290 * frameset.el (frameset--set-id): Doc fix.
3291 (frameset-frame-id, frameset-frame-id-equal-p)
3292 (frameset-locate-frame-id): New functions.
3293 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3294 (frameset-restore): Use them.
3296 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3298 Do not call to `selected-frame' where it is assumed by default.
3299 Affected functions are `raise-frame', `redraw-frame',
3300 `frame-first-window', `frame-terminal' and `delete-frame'.
3301 * calendar/appt.el (appt-disp-window):
3302 * epg.el (epg-wait-for-completion):
3303 * follow.el (follow-delete-other-windows-and-split)
3304 (follow-avoid-tail-recenter):
3305 * international/mule.el (set-terminal-coding-system):
3306 * mail/rmail.el (rmail-mail-return):
3307 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3308 * progmodes/f90.el (f90-add-imenu-menu):
3309 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3310 * server.el (server-switch-buffer):
3311 * simple.el (delete-completion-window):
3313 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3314 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3315 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3316 * vc/ediff.el (ediff-documentation): Related users changed.
3317 * frame.el (selected-terminal): Remove the leftover.
3319 2013-08-05 Glenn Morris <rgm@gnu.org>
3321 * calendar/calendar.el (calendar-generate-month):
3322 Fix for calendar-column-width != 1 + calendar-day-digit-width.
3323 (calendar-generate-month, calendar-font-lock-keywords):
3324 Fix for calendar-day-header-width > length of any day name.
3326 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3328 * desktop.el (desktop-clear): Use new name of sort predicate.
3330 * frameset.el (frameset): Add docstring. Move :version property to its
3332 (frameset-copy): Rename from copy-frameset.
3333 (frameset-p): Check more thoroughly.
3334 (frameset-prop): Do not check for :version, which is no longer a prop.
3335 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3336 Use new :never value instead of t.
3337 (frameset-filter-alist): Expand and clarify docstring.
3338 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3339 (frameset-filter-minibuffer, frameset-filter-save-param)
3340 (frameset-filter-restore-param, frameset-filter-iconified):
3341 Add pointer to docstring of frameset-filter-alist.
3342 (frameset-filter-params): Rename filter values to be more meaningful:
3343 :never instead of t, and reverse the meanings of :save and :restore.
3344 (frameset--process-minibuffer-frames): Clarify error message.
3345 (frameset-save): Avoid unnecessary and confusing call to framep.
3346 Use new BOA constructor for framesets.
3347 (frameset--reuse-list): Doc fix.
3348 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3349 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3350 (frameset-minibufferless-first-p): Doc fix.
3351 Rename from frameset-sort-frames-for-deletion.
3352 (frameset-restore): Doc fixes. Use new function names.
3353 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3355 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3357 * desktop.el (desktop-restore-forces-onscreen)
3358 (desktop-restore-reuses-frames): Document :keyword constant values.
3359 (desktop-filter-parameters-alist): Remove, now identical to
3360 frameset-filter-alist.
3361 (desktop--filter-tty*): Remove, moved to frameset.el.
3362 (desktop-save-frameset, desktop-restore-frameset):
3363 Do not pass :filters argument.
3365 * frameset.el (frameset-live-filter-alist)
3366 (frameset-persistent-filter-alist): New variables.
3367 (frameset-filter-alist): Use them. Add autoload cookie.
3368 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3369 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3370 `frameset--id' (it's supposed to be internal to frameset.el).
3371 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3372 (frameset--initial-params): New function.
3373 (frameset--get-frame): Use it. Doc fix.
3374 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3375 Accept :all, not 'all.
3376 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3377 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3378 with fbound symbols. Fix frame id matching, and remove matching ids if
3379 the frame being restored is deleted. Obey :delete.
3381 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3383 * subr.el (macrop): New function.
3384 (text-clone--maintaining): New var.
3385 (text-clone--maintain): Rename from text-clone-maintain. Use it
3386 instead of inhibit-modification-hooks.
3388 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3389 a proxy, so as handle autoloads and redefinitions of the target.
3390 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3392 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3393 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3394 (pcase--mutually-exclusive-p): New function.
3395 (pcase--split-consp): Use it.
3396 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3397 mutually exclusive with the current predicate.
3399 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3400 (edebug-macrop): Remove. Use `macrop' instead.
3401 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3403 * eshell/esh-cmd.el (eshell-macrop):
3404 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3406 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3408 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3409 (advice-mapc): New function, using it.
3410 (advice-function-member-p): New function.
3411 (advice--normalize): Store the cdr in advice--saved-rewrite since
3412 that's the part that will be changed.
3413 (advice--symbol-function): New function.
3414 (advice-remove): Handle removal before the function is defined.
3415 Adjust to new advice--saved-rewrite.
3416 (advice-member-p): Use advice-function-member-p and
3417 advice--symbol-function.
3419 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3421 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3422 (frameset-filter-minibuffer): Doc fix.
3423 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
3424 (frameset--set-id, frameset--process-minibuffer-frames)
3425 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3426 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3428 * desktop.el (desktop-clear): Only delete frames when called
3429 interactively and desktop-restore-frames is non-nil. Doc fix.
3430 (desktop-read): Set desktop-saved-frameset to nil.
3432 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3434 * vc/vc.el (vc-ignore): Rewrite.
3435 (vc-default-ignore-completion-table):
3437 (vc--add-line, vc--remove-regexp): New functions.
3439 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3440 (vc-svn-ignore-completion-table): New function.
3442 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3443 (vc-hg-ignore-completion-table):
3444 (vc-hg-find-ignore-file): New functions.
3446 * vc/vc-git.el (vc-git-ignore): Rewrite.
3447 (vc-git-ignore-completion-table):
3448 (vc-git-find-ignore-file): New functions.
3450 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3452 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3453 (vc-bzr-ignore-completion-table):
3454 (vc-bzr-find-ignore-file): New functions.
3456 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
3458 * frameset.el (frameset-prop): New function and setter.
3459 (frameset-save): Do not modify frame list passed by the caller.
3461 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3463 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3465 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3467 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3468 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3470 * custom.el (custom-initialize-default, custom-initialize-set)
3471 (custom-initialize-reset, custom-initialize-changed): Affect the
3472 toplevel-default-value (bug#6275, bug#14586).
3473 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3476 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3478 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3479 Add cl-def* expressions.
3481 * frameset.el (frameset-filter-params): Fix order of arguments.
3483 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3485 Move code related to saving frames to frameset.el.
3486 * desktop.el: Require frameset.
3487 (desktop-restore-frames): Doc fix.
3488 (desktop-restore-reuses-frames): Rename from
3489 desktop-restoring-reuses-frames.
3490 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3491 (desktop-clear): Clear frames too.
3492 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3493 (desktop--filter-tty*, desktop-save, desktop-read):
3494 Use frameset functions.
3495 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3496 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3497 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3498 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3499 (desktop--process-minibuffer-frames, desktop-save-frames)
3500 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3501 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3502 (desktop--sort-states, desktop-restoring-frames-p)
3503 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3504 (desktop-restoring-frameset-p, desktop-restore-frameset)
3505 (desktop--check-dont-save, desktop-save-frameset): New functions.
3506 (desktop--app-id): New constant.
3507 (desktop-first-buffer, desktop-buffer-ok-count)
3508 (desktop-buffer-fail-count): Move before first use.
3509 * frameset.el: New file.
3511 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3513 * files.el: Use lexical-binding.
3514 (dir-locals-read-from-file): Remove unused `err' variable.
3515 (hack-dir-local-variables--warned-coding): New var.
3516 (hack-dir-local-variables): Use it to avoid repeated warnings.
3517 (make-backup-file-name--default-function): New function.
3518 (make-backup-file-name-function): Use it as default.
3519 (buffer-stale--default-function): New function.
3520 (buffer-stale-function): Use it as default.
3521 (revert-buffer-insert-file-contents--default-function): New function.
3522 (revert-buffer-insert-file-contents-function): Use it as default.
3523 (insert-directory): Avoid add-to-list.
3525 * autorevert.el (auto-revert-handler): Simplify.
3526 Use buffer-stale--default-function.
3528 2013-08-01 Tassilo Horn <tsdh@gnu.org>
3530 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3532 * whitespace.el (whitespace-ensure-local-variables): New function.
3533 (whitespace-cleanup-region): Call it.
3534 (whitespace-turn-on): Call it.
3536 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
3538 Complete file name handlers.
3540 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3541 (tramp-handle-verify-visited-file-modtime)
3542 (tramp-handle-file-notify-rm-watch): New functions.
3543 (tramp-call-process): Do not bind `default-directory'.
3545 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3546 Order alphabetically.
3547 [access-file, add-name-to-file, dired-call-process]:
3548 [dired-compress-file, file-acl, file-notify-rm-watch]:
3549 [file-ownership-preserved-p, file-selinux-context]:
3550 [make-directory-internal, make-symbolic-link, set-file-acl]:
3551 [set-file-selinux-context, set-visited-file-modtime]:
3552 [verify-visited-file-modtime]: Add handler.
3553 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3555 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3556 [file-notify-add-watch, file-notify-rm-watch]:
3557 [set-file-times, set-visited-file-modtime]:
3558 [verify-visited-file-modtime]: Add handler.
3559 (with-tramp-gvfs-error-message)
3560 (tramp-gvfs-handle-set-visited-file-modtime)
3561 (tramp-gvfs-fuse-file-name): Remove.
3562 (tramp-gvfs-handle-file-notify-add-watch)
3563 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3564 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3566 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3567 Order alphabetically.
3568 [file-notify-rm-watch ]: Use default Tramp handler.
3569 [executable-find]: Remove private handler.
3570 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3571 `default-directory'.
3572 (tramp-sh-handle-executable-find)
3573 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3574 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3575 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3576 Do not use `format' in `tramp-message'.
3578 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3579 [file-notify-rm-watch, set-visited-file-modtime]:
3580 [verify-visited-file-modtime]: Add handler.
3581 (tramp-smb-call-winexe): Do not bind `default-directory'.
3583 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3585 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3587 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3589 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3591 (log-view-diff-changeset): Same.
3592 (log-view-diff-common): Call backend command `previous-revision'
3593 to find out the previous revision, in both cases. Swap the
3594 variables `to' and `fr', so that `fr' usually refers to the
3595 earlier revision (Bug#14989).
3597 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
3599 * ibuf-ext.el (ibuffer-filter-by-filename):
3600 Make it work with dired buffers too.
3602 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3604 * emacs-lisp/re-builder.el (reb-color-display-p):
3605 * files.el (save-buffers-kill-terminal):
3606 * net/browse-url.el (browse-url):
3607 * server.el (server-save-buffers-kill-terminal):
3608 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3609 Prefer nil to selected-frame for the first arg of frame-parameter.
3611 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3613 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3615 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
3617 * minibuffer.el (completion--twq-all): Try and preserve each
3618 completion's case choice (bug#14907).
3620 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3622 * net/network-stream.el (open-network-stream): Mention the new
3623 :nogreeting parameter.
3624 (network-stream-open-starttls): Use the :nogreeting parameter
3627 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3629 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3630 more natural than popping.
3632 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3633 (shr-urlify): Highlight under mouse.
3635 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3637 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3639 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3641 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3644 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3645 point-min==1. Fix search string. Fix parentheses missing.
3647 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3648 assume point-min==1. Fix search string. Fix parentheses missing.
3650 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3652 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3655 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3657 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3658 initial frame is minibuffer-less. (Bug#14841)
3660 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3662 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3665 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3666 (tramp-maybe-open-connection): Use it.
3668 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3670 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3671 minimal set of parameters passed when creating a frame, because
3672 the minibuffer status of a frame cannot be changed later.
3674 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3676 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3677 replace-regexp-in-string and inadvertent omissions in previous change.
3678 (todo-filter-items): Ensure only file names are comma-separated in
3679 name of filtered items buffer.
3681 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3683 * desktop.el: Optionally force offscreen frames back onscreen.
3684 (desktop-restoring-reuses-frames): New option.
3685 (desktop--compute-pos, desktop--move-onscreen): New functions.
3686 (desktop--make-frame): Use desktop--move-onscreen.
3688 2013-07-27 Alan Mackenzie <acm@muc.de>
3690 Fontify a Java generic method as a function.
3691 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3694 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3696 * calendar/todo-mode.el: Add command to rename todo files.
3697 (todo-rename-file): New command.
3698 (todo-key-bindings-t): Add key binding for it. Change the
3699 bindings of todo-filter-regexp-items(-multifile) to use `x'
3700 instead of `r', since the latter is better suited to the new
3703 2013-07-27 Alan Mackenzie <acm@muc.de>
3705 Make Java try-with-resources statement parse properly.
3706 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3707 (c-block-stmt-1-2-key): New language constants/variables.
3708 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3709 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3710 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3711 with c-block-stmt-1-2-key.
3713 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3715 * desktop.el (desktop--make-frame): Apply most frame parameters after
3716 creating the frame to force (partially or totally) offscreen frames to
3717 be restored as such.
3719 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3721 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3724 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3726 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3727 `base' arg of backtrace-frame.
3729 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3731 * simple.el (list-processes): Doc fix.
3733 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3735 * desktop.el (desktop--select-frame):
3736 Try harder to reuse existing frames.
3738 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3740 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3741 (edebug-eval): Use backtrace-eval.
3742 (edebug--display, edebug--recursive-edit): Don't let-bind the
3743 edebug-outer-* vars that keep track of variables we locally let-bind.
3744 (edebug-outside-excursion): Don't restore outside values of locally
3746 (edebug--display): Use user-error.
3747 (cl-lexical-debug, cl-debug-env): Remove.
3749 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3751 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3752 are restored to be sure that they are visible before deleting any
3755 2013-07-26 Matthias Meulien <orontee@gmail.com>
3757 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3758 vc-print-root-log. (Bug#14948)
3760 2013-07-26 Richard Stallman <rms@gnu.org>
3762 Add aliases for encrypting mail.
3763 * epa.el (epa-mail-aliases): New option.
3764 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3765 Bind inhibit-read-only so read-only text doesn't ruin everything.
3766 (epa-mail-default-recipients): New subroutine broken out.
3767 Handle epa-mail-aliases.
3769 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3771 Add support for lexical variables to the debugger's `e' command.
3772 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3773 vars, except for debugger-outer-match-data.
3774 (debugger-frame-number): Move check for "on a function call" from
3775 callers into it. Add `skip-base' argument.
3776 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3777 (debugger-env-macro): Only reset the state stored in non-variables,
3778 i.e. current-buffer and match-data.
3779 (debugger-eval-expression): Rewrite using backtrace-eval.
3780 * subr.el (internal--called-interactively-p--get-frame): Remove.
3781 (called-interactively-p):
3782 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3783 `base' arg of backtrace-frame instead.
3785 2013-07-26 Glenn Morris <rgm@gnu.org>
3787 * align.el (align-regexp): Doc fix. (Bug#14857)
3788 (align-region): Explicit error if subexpression missing/does not match.
3790 * simple.el (global-visual-line-mode):
3791 Do not duplicate the mode lighter. (Bug#14858)
3793 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3795 * window.el (display-buffer): In display-buffer bind
3796 split-window-keep-point to t, bug#14829.
3798 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3800 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3801 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3802 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3803 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3805 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3806 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3808 2013-07-25 Glenn Morris <rgm@gnu.org>
3810 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3812 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3814 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3815 parameter to modify-frame-parameters if the value has not changed;
3816 this is a workaround for bug#14949.
3817 (desktop--make-frame): On cl-delete-if call, check parameter name,
3820 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3822 * vc/vc.el (vc-ignore): New function.
3824 * vc/vc-svn.el (vc-svn-ignore): New function.
3826 * vc/vc-hg.el (vc-hg-ignore): New function.
3828 * vc/vc-git.el (vc-git-ignore): New function.
3830 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3831 (vc-dir-ignore): New function.
3833 * vc/vc-cvs.el (vc-cvs-ignore): New function.
3834 (cvs-append-to-ignore): Move here from pcvs.el.
3836 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3838 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3840 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
3842 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3843 (desktop-restore-frames): Warn when deleting an existing frame failed.
3845 2013-07-24 Glenn Morris <rgm@gnu.org>
3847 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3849 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
3851 * filenotify.el (file-notify-supported-p):
3852 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3855 * autorevert.el (auto-revert-use-notify):
3856 (auto-revert-notify-add-watch):
3857 * net/tramp.el (tramp-file-name-for-operation):
3858 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3859 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3860 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3861 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3862 Remove `file-notify-supported-p' entry.
3864 2013-07-24 Glenn Morris <rgm@gnu.org>
3866 * printing.el: Replace all uses of deleted ps-windows-system,
3867 ps-lp-system, ps-flatten-list with lpr- versions.
3869 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3871 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3872 checked with memq (bug#14935).
3874 * files.el (revert-buffer-function): Use a non-nil default.
3875 (revert-buffer-preserve-modes): Declare var to
3876 provide access to the `preserve-modes' argument.
3877 (revert-buffer): Let-bind it.
3878 (revert-buffer--default): New function, extracted from revert-buffer.
3880 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3882 * lpr.el: Signal print errors more prominently.
3883 (print-region-function): Don't default to nil.
3884 (lpr-print-region): New function, extracted from print-region-1.
3885 Check lpr's return value and signal an error in case of problem.
3886 (print-region-1): Use it.
3887 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3889 (ps-printer-name): Default to nil.
3890 (ps-printer-name-option): Default to lpr-printer-switch.
3891 (ps-print-region-function): Don't default to nil.
3892 (ps-postscript-code-directory): Simplify default.
3893 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3894 (ps-string-list, ps-eval-switch, ps-flatten-list)
3895 (ps-flatten-list-1): Remove.
3896 (ps-multibyte-buffer): Avoid setq.
3897 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3898 (print-region-function, ps-print-region-function): Don't set them here.
3900 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3902 * ido.el (ido-fractionp):
3903 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3904 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3905 (ido-max-directory-size, ido-max-dir-file-cache)
3906 (ido-decorations): Doc fix.
3908 * ansi-color.el: Fix old URL.
3910 2013-07-23 Michael R. Mauger <michael@mauger.com>
3912 * progmodes/sql.el: Version 3.3
3913 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3914 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3915 (sql-interactive-remove-continuation-prompt): Rewrite, use
3916 functions above. Fix continuation prompt and complete output line
3918 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3919 redirected output buffer.
3920 (sql-mode): Restore deleted code (Bug#13591).
3922 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3924 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3926 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
3928 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3930 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3931 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3932 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3934 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3936 * desktop.el (desktop-clear): Simplify; remove useless checks
3937 against invalid buffer names.
3938 (desktop-list*): Use cl-list*.
3939 (desktop-buffer-info, desktop-create-buffer): Simplify.
3941 2013-07-23 Leo Liu <sdl.web@gmail.com>
3943 * bookmark.el (bookmark-make-record): Restore NAME as a default
3946 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3948 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3949 extracted from autoload--insert-text.
3950 (autoload--insert-text): Remove.
3951 (autoload--print-cookie-text): New function, extracted from
3952 autoload--insert-cookie-text.
3953 (autoload--insert-cookie-text): Remove.
3954 (autoload-generate-file-autoloads): Adjust calls accordingly.
3956 * winner.el (winner-hook-installed-p): Remove.
3957 (winner-mode): Simplify accordingly.
3959 * subr.el (add-to-list): Fix compiler-macro when `append' is
3960 not constant. Don't use `cl-member' for the base case.
3962 * progmodes/subword.el: Fix boundary case (bug#13758).
3963 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3965 (subword-backward-regexp): Make it a constant.
3966 (subword-forward-internal): Don't treat a trailing capital as the
3967 beginning of a word.
3969 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3971 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3972 global value of tabulated-list-revert-hook (bug#14930).
3974 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
3976 * desktop.el: Require 'cl-lib.
3977 (desktop-before-saving-frames-functions): New hook.
3978 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3979 for frames being saved. Rename from desktop--save-minibuffer-frames.
3980 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
3981 Do not save frames with non-nil `desktop-dont-save' parameter.
3982 Filter out deleted frames.
3983 (desktop--find-frame): Use cl-find-if.
3984 (desktop--select-frame): Use cl-(first|second|third) to access values
3986 (desktop--make-frame): Use cl-delete-if.
3987 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3988 (desktop-restore-frames): Use cl-(first|second|third) to access values
3989 of desktop-mini. Look for visible frame at the end, not while
3992 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3993 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3994 Use string-match-p, looking-at-p (bug#14927).
3996 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
3998 * desktop.el (desktop-saved-frame-states):
3999 Rename from desktop--saved-states; all users changed.
4000 (desktop-save-frames): Rename from desktop--save-frames.
4001 Do not save state to desktop file.
4002 (desktop-save): Save desktop-saved-frame-states to desktop file
4004 (desktop-restoring-frames-p): New function.
4005 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4006 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4007 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4009 * desktop.el: Correctly restore iconified frames.
4010 (desktop--filter-iconified-position): New function.
4011 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4013 2013-07-20 Glenn Morris <rgm@gnu.org>
4015 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4016 Let `message' do the formatting.
4017 (def-gdb-preempt-display-buffer): Add explicit format.
4019 * image-dired.el (image-dired-track-original-file):
4020 Use with-current-buffer.
4021 (image-dired-track-thumbnail): Use with-current-buffer.
4022 Avoid changing point of wrong window.
4024 * image-dired.el (image-dired-track-original-file):
4025 Avoid changing point of wrong window. (Bug#14909)
4027 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4029 * progmodes/gdb-mi.el (gdb-done-or-error):
4030 Guard against "%" in gdb output. (Bug#14127)
4032 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4034 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4037 * international/mule.el (coding-system-iso-2022-flags): Fix last
4040 2013-07-20 Kenichi Handa <handa@gnu.org>
4042 * international/mule.el (coding-system-iso-2022-flags):
4043 Add `8-bit-level-4'. (Bug#8522)
4045 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4047 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4050 * net/eww.el (eww-process-text-input): Allow inputting when the
4051 point is at the start of the line, as the properties aren't
4054 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4057 2013-07-19 Richard Stallman <rms@gnu.org>
4059 * epa.el (epa-popup-info-window): Doc fix.
4061 * subr.el (split-string): New arg TRIM.
4063 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4065 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4066 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4068 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4070 * filenotify.el (file-notify--library): Rename from
4071 `file-notify-support'. Do not autoload. Adapt all uses.
4072 (file-notify-supported-p): New defun.
4074 * autorevert.el (auto-revert-use-notify):
4075 Use `file-notify-supported-p' instead of `file-notify-support'.
4077 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4079 * net/tramp.el (tramp-file-name-for-operation):
4080 Add `file-notify-supported-p'.
4082 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4084 (tramp-sh-file-name-handler-alist): Add it as handler for
4085 `file-notify-supported-p '.
4087 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4088 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4089 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4090 Add `ignore' as handler for `file-notify-*' functions.
4092 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4094 * simple.el (line-move-partial, line-move): Don't start vscroll or
4095 scroll-up if the current line is not taller than the window.
4098 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4100 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4101 highlight question marks in the method names as strings.
4102 (ruby-block-beg-keywords): Inline.
4103 (ruby-font-lock-keyword-beg-re): Extract from
4104 `ruby-font-lock-keywords'.
4106 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4108 * frame.el (blink-cursor-blinks): New defcustom.
4109 (blink-cursor-blinks-done): New defvar.
4110 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4111 (blink-cursor-timer-function): Check if number of blinks has been
4113 (blink-cursor-suspend, blink-cursor-check): New defuns.
4115 2013-07-15 Glenn Morris <rgm@gnu.org>
4117 * edmacro.el (edmacro-format-keys): Fix previous change.
4119 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4121 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4122 The hack didn't work outside English locales anyway.
4124 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4126 * simple.el (define-alternatives): Rename from alternatives-define,
4127 per RMS' suggestion.
4129 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4131 * desktop.el (desktop-restore-frames): Change default to t.
4132 (desktop-restore-in-current-display): Now offer more options.
4133 (desktop-restoring-reuses-frames): New customization option.
4134 (desktop--saved-states): Doc fix.
4135 (desktop-filter-parameters-alist): New variable, renamed and expanded
4136 from desktop--excluded-frame-parameters.
4137 (desktop--target-display): New variable.
4138 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4139 (desktop--filter-tty*, desktop--filter-*-color)
4140 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4141 (desktop--filter-save-desktop-parm)
4142 (desktop-restore-in-original-display-p): New functions.
4143 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4144 (desktop--save-minibuffer-frames): New function, inspired by a similar
4145 function from Martin Rudalics.
4146 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4147 (desktop--restore-in-this-display-p): Remove.
4148 (desktop--find-frame): Rename from desktop--find-frame-in-display
4149 and add predicate argument.
4150 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4151 (desktop--reuse-list): New variable.
4152 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4154 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4156 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
4158 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4160 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4162 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4163 Highlight conversion methods on Kernel.
4165 2013-07-13 Alan Mackenzie <acm@muc.de>
4167 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4168 and comment it out. This out-commenting enables certain C++
4169 declarations to be parsed correctly.
4171 2013-07-13 Eli Zaretskii <eliz@gnu.org>
4173 * international/mule.el (define-coding-system): Doc fix.
4175 * simple.el (default-font-height): Don't call font-info if the
4176 frame's default font didn't change since the frame was created.
4179 2013-07-13 Leo Liu <sdl.web@gmail.com>
4181 * ido.el (ido-read-file-name): Guard against non-symbol value.
4183 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4185 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4188 2013-07-13 Leo Liu <sdl.web@gmail.com>
4190 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4191 ido-set-matches call. (Bug#6852)
4193 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4195 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4196 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4198 (ruby-font-lock-keywords): Distinguish calls to functions with
4199 module-like names from module references. Highlight character
4202 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4204 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4205 (gdb-send): Handle continued commands. (Bug#14847)
4207 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4209 * desktop.el (desktop--v2s): Remove unused local variable.
4210 (desktop-save-buffer): Make defvar-local; adjust docstring.
4211 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4212 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4214 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4216 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4218 2013-07-12 Eli Zaretskii <eliz@gnu.org>
4220 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4223 2013-07-12 Glenn Morris <rgm@gnu.org>
4225 * doc-view.el: Require cl-lib at runtime too.
4226 (doc-view-remove-if): Remove.
4227 (doc-view-search-next-match, doc-view-search-previous-match):
4230 * edmacro.el: Require cl-lib at runtime too.
4231 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4232 (edmacro-mismatch, edmacro-subseq): Remove.
4234 * shadowfile.el: Require cl-lib.
4235 (shadow-remove-if): Remove.
4236 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4239 * wid-edit.el: Require cl-lib.
4240 (widget-choose): Use cl-remove-if.
4241 (widget-remove-if): Remove.
4243 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4244 (ebrowse-delete-if-not): Remove.
4245 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4246 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4247 Use cl-delete-if-not.
4249 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4251 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4252 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4254 2013-07-12 Leo Liu <sdl.web@gmail.com>
4256 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4258 2013-07-11 Glenn Morris <rgm@gnu.org>
4260 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4261 (edebug-gensym-index, edebug-gensym):
4262 Remove reimplementation of cl-gensym.
4263 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4265 * thumbs.el: Require cl-lib at run-time too.
4266 (thumbs-gensym-counter, thumbs-gensym):
4267 Remove reimplementation of cl-gensym.
4268 (thumbs-temp-file): Use cl-gensym.
4270 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4271 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4272 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4273 (ert--union, ert--gensym-counter, ert--gensym-counter)
4274 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4275 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4276 (ert-make-test-unbound, ert--expand-should-1)
4277 (ert--expand-should, ert--should-error-handle-error)
4278 (should-error, ert--explain-equal-rec)
4279 (ert--plist-difference-explanation, ert-select-tests)
4280 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4281 Use cl-lib functions rather than reimplementations.
4283 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4285 * net/tramp.el (tramp-methods): Extend docstring.
4286 (tramp-connection-timeout): New defcustom.
4287 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4288 (with-tramp-progress-reporter): Simplify.
4289 (tramp-process-actions): Improve messages.
4291 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4292 * net/tramp-sh.el (tramp-maybe-open-connection):
4293 Use `tramp-connection-timeout'.
4294 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4297 2013-07-11 Leo Liu <sdl.web@gmail.com>
4299 * ido.el (ido-read-file-name): Conform to the requirements of
4300 read-file-name. (Bug#11861)
4301 (ido-read-directory-name): Conform to the requirements of
4302 read-directory-name.
4304 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
4306 * subr.el (delay-warning): New function.
4308 2013-07-10 Eli Zaretskii <eliz@gnu.org>
4310 * simple.el (default-line-height): New function.
4311 (line-move-partial, line-move): Use it instead of computing the
4313 (line-move-partial): Always compute ROWH. If the last line is
4314 partially-visible, but its text is completely visible, allow
4315 cursor to enter such a partially-visible line.
4317 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
4319 Improve error messages. (Bug#14808)
4321 * net/tramp.el (tramp-current-connection): New defvar, moved from
4323 (tramp-message-show-progress-reporter-message): Remove, not
4325 (tramp-error-with-buffer): Show message in minibuffer.
4326 Discard input before waiting. Reset connection timestamp.
4327 (with-tramp-progress-reporter): Improve messages.
4328 (tramp-process-actions): Use progress reporter. Delete process in
4329 case of error. Improve messages.
4331 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4332 Call `tramp-error-with-buffer' with vector and buffer.
4333 (tramp-current-connection): Remove.
4334 (tramp-maybe-open-connection): The car of
4335 `tramp-current-connection' are the first 3 slots of the vector.
4337 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4339 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4340 inside continued strings.
4342 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4344 Timestamp fixes for undo (Bug#14824).
4345 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4347 2013-07-10 Leo Liu <sdl.web@gmail.com>
4349 * files.el (require-final-newline): Allow safe local value.
4352 2013-07-09 Leo Liu <sdl.web@gmail.com>
4354 * ido.el (ido-read-directory-name): Handle fallback.
4355 (ido-read-file-name): Update DIR to ido-current-directory.
4357 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
4359 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4361 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4362 "autoload". Remove "warn lower camel case" section, previously
4363 commented out. Highlight negation char. Do not highlight the
4364 target in singleton method definitions.
4366 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4368 * faces.el (tty-setup-hook): Declare the hook.
4370 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4371 and detect when a guard/pred depends on local vars (bug#14773).
4372 (pcase--u1): Adjust caller.
4374 2013-07-08 Eli Zaretskii <eliz@gnu.org>
4376 * simple.el (line-move-partial, line-move): Account for
4378 (line-move-partial): Avoid setting vscroll when the last
4379 partially-visible line in window is of default height.
4381 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4383 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4386 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
4388 * subr.el (read-quoted-char): Remove unused local variable `char'.
4390 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4392 * ediff.el (ediff-version): Version update.
4393 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4394 (ediff-merge-with-ancestor-command, ediff-directories-command)
4395 (ediff-directories3-command, ediff-merge-directories-command)
4396 (ediff-merge-directories-with-ancestor-command): New functions.
4397 All are command-line interfaces to ediff: to facilitate calling
4398 Emacs with the appropriate ediff functions invoked.
4400 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4401 (viper-save-kill-buffer): Check if buffer is modified.
4403 * viper.el (viper-version): Version update.
4404 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4406 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4408 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4409 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4410 (viper-intercept-ESC-key): Simplify.
4411 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4412 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4413 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4414 (viper-setup-ESC-to-escape): New functions.
4415 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4416 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
4418 2013-07-07 Eli Zaretskii <eliz@gnu.org>
4420 * simple.el (default-font-height, window-screen-lines):
4422 (line-move, line-move-partial): Use them instead of
4423 frame-char-height and window-text-height. This makes scrolling
4424 text smoother when the buffer's default face uses a font that is
4425 different from the frame's default font.
4427 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4429 * files.el (write-file): Do not display confirm dialog for NS,
4430 it does its own dialog, which can't be cancelled (Bug#14578).
4432 2013-07-06 Eli Zaretskii <eliz@gnu.org>
4434 * simple.el (line-move-partial): Adjust the row returned by
4435 posn-at-point for the current window-vscroll. (Bug#14567)
4437 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
4439 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4440 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4443 2013-07-06 Martin Rudalics <rudalics@gmx.at>
4445 * window.el (window-state-put-stale-windows): New variable.
4446 (window--state-put-2): Save list of windows without matching buffer.
4447 (window-state-put): Remove "bufferless" windows if possible.
4449 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4451 * simple.el (alternatives-define): Remove leftover :group keyword.
4454 2013-07-06 Leo Liu <sdl.web@gmail.com>
4456 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4457 (ido-enable-virtual-buffers): New variable.
4458 (ido-buffer-internal, ido-toggle-virtual-buffers)
4459 (ido-make-buffer-list): Use it.
4460 (ido-exhibit): Support turning on and off virtual buffers
4463 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4465 * simple.el (alternatives-define): New macro.
4467 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4469 * subr.el (read-quoted-char): Use read-key.
4470 (sit-for): Let read-event decode tty input (bug#14782).
4472 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
4474 * calendar/todo-mode.el: Add handling of file deletion, both by
4475 mode command and externally. Fix various related bugs.
4476 Clarify Commentary and improve some documentation strings and code.
4477 (todo-delete-file): New command.
4478 (todo-check-file): New function.
4479 (todo-show): Handle external deletion of the file we're trying to
4480 show (bug#14688). Replace called-interactively-p by an optional
4481 prefix argument to avoid problematic interaction with catch form
4482 when byte compiled (bug#14702).
4483 (todo-quit): Handle external deletion of the archive's todo file.
4484 Make sure the buffer that was visiting the archive file is still
4485 live before trying to bury it.
4486 (todo-category-completions): Handle external deletion of any
4487 category completion files.
4488 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4489 of todo files, in case of external deletion.
4490 (todo-add-file): Replace unnecessary setq by let-binding.
4491 (todo-find-archive): Check whether there are any archives.
4492 Replace unnecessary setq by let-binding.
4493 (todo-archive-done-item): Use find-file-noselect to get the
4494 archive buffer whether or not the archive already exists.
4495 Remove superfluous code. Use file size instead of buffer-file-name to
4496 check if the archive is new; if it is, update list of archives.
4497 (todo-default-todo-file): Allow nil to be a valid value for when
4498 there are no todo files.
4499 (todo-reevaluate-default-file-defcustom): Use corrected definition
4500 of todo-default-todo-file.
4501 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4502 (todo-delete-category, todo-show-categories-table)
4503 (todo-category-number): Clarify comment.
4504 (todo-filter-items): Clarify documentation string.
4505 (todo-show-current-file, todo-display-as-todo-file)
4506 (todo-reset-and-enable-done-separator): Tweak documentation string.
4507 (todo-done-separator): Make separator length window-width, since
4508 bug#2749 is now fixed.
4510 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
4512 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4513 Support both "gvfs-monitor-dir" and "inotifywait".
4514 (tramp-sh-file-inotifywait-process-filter): Rename from
4515 `tramp-sh-file-notify-process-filter'.
4516 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4517 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4519 2013-07-05 Leo Liu <sdl.web@gmail.com>
4521 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4523 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4525 * frame.el (display-pixel-height, display-pixel-width)
4526 (display-mm-height, display-mm-width): Mention behavior on
4527 multi-monitor setups in docstrings.
4528 (w32-display-monitor-attributes-list): Declare function.
4529 (display-monitor-attributes-list): Use it.
4531 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
4533 * filenotify.el: New package.
4535 * autorevert.el (top): Require filenotify.el.
4536 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4538 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4539 (auto-revert-notify-handler): Use `file-notify-*' functions.
4541 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4543 * net/tramp.el (tramp-file-name-for-operation):
4544 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
4546 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4547 for `file-notify-add-watch' and `file-notify-rm-watch'.
4548 (tramp-process-sentinel): Improve trace.
4549 (tramp-sh-handle-file-notify-add-watch)
4550 (tramp-sh-file-notify-process-filter)
4551 (tramp-sh-handle-file-notify-rm-watch)
4552 (tramp-get-remote-inotifywait): New defuns.
4554 2013-07-03 Juri Linkov <juri@jurta.org>
4556 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4557 call of `occur-read-primary-args' to interactive spec.
4559 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4560 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4562 2013-07-03 Matthias Meulien <orontee@gmail.com>
4564 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4565 `Buffer-menu-multi-occur'. Add it to the menu.
4566 (Buffer-menu-mode): Document it in docstring.
4567 (Buffer-menu-multi-occur): New command. (Bug#14673)
4569 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4571 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4572 keywords and built-ins.
4574 2013-07-03 Glenn Morris <rgm@gnu.org>
4576 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4578 Make info-xref checks case-sensitive by default
4579 * info.el (Info-find-node, Info-find-in-tag-table)
4580 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4581 Add option for exact case matching of nodes.
4582 * info-xref.el (info-xref): New custom group.
4583 (info-xref-case-fold): New option.
4584 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4586 2013-07-03 Leo Liu <sdl.web@gmail.com>
4588 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4590 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4592 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4593 middle of block statement initially, lower the depth. Remove
4594 FIXME comment, not longer valid. Remove middle of block statement
4595 detection, no need to do that anymore since we've been using
4596 `ruby-parse-region' here.
4598 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4600 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4602 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
4604 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4606 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
4608 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4609 (desktop-restore-in-current-display): New customization option.
4610 (desktop--excluded-frame-parameters): Add `font'.
4611 (desktop--save-frames): Rename from desktop--save-windows.
4612 (desktop--restore-in-this-display-p): New function.
4613 (desktop--make-full-frame): Remove unwanted width/height from
4614 full(width|height) frames.
4615 (desktop--restore-frames): Rename from desktop--restore-windows.
4616 Obey desktop-restore-current-display. Do not delete old frames or
4617 select a new frame unless we were able to restore at least one frame.
4619 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
4621 * files.el (find-file-noselect): Simplify conditional expression.
4623 * remember.el (remember-append-to-file):
4624 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4626 Add `remember-notes' function to store random notes across Emacs
4628 * remember.el (remember-data-file): Add :set callback to affect
4629 notes buffer (if any).
4630 (remember-notes): New command.
4631 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4632 New defcustoms for the `remember-notes' function.
4633 (remember-notes-save-and-bury-buffer): New command.
4634 (remember-notes-mode-map): New variable.
4635 (remember-mode): New minor mode.
4636 (remember-notes--kill-buffer-query): New function.
4637 * startup.el (initial-buffer-choice): Add notes to custom type.
4639 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4641 * bindings.el (right-char, left-char): Don't call sit-for, this is
4642 no longer needed. Use arithmetic comparison only for numerical
4645 * international/mule-cmds.el (select-safe-coding-system):
4646 Handle the case of FROM being a string correctly. (Bug#14755)
4648 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4650 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4651 progression on degenerate tables.
4652 (shr-rescale-image): ImageMagick animated images currently don't work.
4654 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4656 Some fixes and improvements for desktop frame restoration.
4657 It is still experimental and disabled by default.
4658 * desktop.el (desktop--save-windows): Put the selected frame at
4659 the head of the list.
4660 (desktop--make-full-frame): New function.
4661 (desktop--restore-windows): Try to re-select the frame that was
4662 selected upon saving. Do not abort if some frames fail to restore,
4663 just show an error message and continue. Set up maximized frames
4664 so they have default non-maximized dimensions.
4666 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4668 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4669 Don't start heredoc inside a string or comment.
4671 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4673 * bindings.el (visual-order-cursor-movement): New defcustom.
4674 (right-char, left-char): Provide visual-order cursor motion by
4675 calling move-point-visually. Update the doc strings.
4677 2013-06-28 Kenichi Handa <handa@gnu.org>
4679 * international/mule.el (define-coding-system): New coding system
4680 properties :inhibit-null-byte-detection,
4681 :inhibit-iso-escape-detection, and :prefer-utf-8.
4682 (set-buffer-file-coding-system): If :charset-list property of
4683 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4684 appropriate for setting.
4686 * international/mule-cmds.el (select-safe-coding-system):
4687 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4688 multibyte characters, return utf-8 (or one of its siblings).
4690 * international/mule-conf.el (prefer-utf-8): New coding system.
4691 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4694 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4696 * net/shr.el (shr-render-region): New function.
4698 * net/eww.el: Autoload `eww-browse-url'.
4700 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4702 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4703 Adapt to `package-desc-version' being a list.
4704 Use `package--ac-desc-version' to retrieve version from a package
4707 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4709 New experimental feature to save&restore window and frame setup.
4710 * desktop.el (desktop-save-windows): New defcustom.
4711 (desktop--saved-states): New var.
4712 (desktop--excluded-frame-parameters): New defconst.
4713 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4714 (desktop--restore-windows, desktop--save-windows): New functions.
4715 (desktop-save): Call `desktop--save-windows'.
4716 (desktop-read): Call `desktop--restore-windows'.
4718 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4720 * net/shr.el (add-face-text-property): Remove compat definition.
4722 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4724 * info.el (Info-try-follow-nearest-node): Move search for footnote
4725 above search for node name to prevent missing a footnote (bug#14717).
4727 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4729 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4731 2013-06-27 Leo Liu <sdl.web@gmail.com>
4733 * net/eww.el (eww-read-bookmarks): Check file size.
4735 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4737 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4738 advice--pending if newdef is nil or an autoload (bug#13820).
4739 (advice-mapc): New function.
4741 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4743 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4745 (eww-mode-map): Add a menu bar.
4746 (eww-add-bookmark): New command.
4747 (eww-bookmark-mode): New mode and commands.
4748 (eww-add-bookmark): Remove newlines from the title.
4749 (eww-bookmark-browse): Don't bug out if it's the only window.
4751 2013-06-26 Glenn Morris <rgm@gnu.org>
4753 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4754 (hfy-size): Handle ttys. (Bug#14668)
4756 * info-xref.el: Update for Texinfo 5 change in *note format.
4757 (info-xref-node-re, info-xref-note-re): New constants.
4758 (info-xref-check-buffer): Use info-xref-note-re.
4760 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4762 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4764 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4765 nil terminate the loop (bug#14718).
4767 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4769 * net/eww.el: Rework history traversal. When going forward/back,
4770 put these actions into the history, too, so that they can be
4772 (eww-render): Move the history reset to the correct buffer.
4774 2013-06-25 Juri Linkov <juri@jurta.org>
4776 * files-x.el (modify-dir-local-variable): Change the header comment
4777 in the file with directory local variables. (Bug#14692)
4779 * files-x.el (read-file-local-variable-value): Add `default'.
4782 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4784 * net/eww.el (eww-make-unique-file-name): Create a unique file
4785 name before saving to entering `y' accidentally asynchronously.
4787 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4789 * net/eww.el (eww-download): New command and keystroke.
4791 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4793 * net/eww.el (eww-copy-page-url): Change name of command.
4795 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4796 be more consistent with Info and dired.
4798 * net/eww.el (eww-mode-map): Ditto.
4800 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4802 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4803 packages from archives.
4804 (package-archive-contents): Change format; include obsolete packages.
4805 (package-desc): Use `dir' to mark builtin packages.
4806 (package--from-builtin): Set the `dir' field to `builtin'.
4807 (generated-autoload-file, version-control): Declare.
4808 (package-compute-transaction): Change first arg and return value to be
4809 lists of package-descs. Adjust to new package-archive-contents format.
4810 (package--add-to-archive-contents): Adjust to new
4811 package-archive-contents format.
4812 (package-download-transaction): Arg is now a list of package-descs.
4813 (package-install): If `pkg' is a package name, pass it as
4814 a requirement, so it is subject to the usual (e.g. disabled) checks.
4815 (describe-package): Accept package-desc as well.
4816 (describe-package-1): Describe a specific package-desc. Add links to
4817 other package-descs for the same package name.
4818 (package-menu-describe-package): Pass the actual package-desc.
4819 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4821 (package-desc-status): New function.
4822 (package-menu--refresh): New function, extracted
4823 from package-menu--generate.
4824 (package-menu--generate): Use it.
4825 (package-delete): Update package-alist.
4826 (package-menu-execute): Don't call package-initialize.
4828 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4829 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4830 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4831 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4832 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4833 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4835 2013-06-25 Martin Rudalics <rudalics@gmx.at>
4837 * window.el (window--state-get-1): Workaround for bug#14527.
4838 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4840 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4842 * net/eww.el (eww-back-url): Implement the history by stashing all
4843 the data into a list.
4844 (eww-forward-url): Allow going forward in the history, too.
4846 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4848 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4849 for values and use read--expression for expressions (bug#14710).
4850 (read-file-local-variable): Avoid setq.
4851 (read-file-local-variable-mode): Use minor-mode-list.
4853 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4855 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4858 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4860 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4861 Update imenu-support when dialect changes.
4863 2013-06-25 Leo Liu <sdl.web@gmail.com>
4865 * ido.el (ido-read-internal): Allow forward slash on windows.
4867 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4869 * net/eww.el (eww): Start of strings is \\`, not ^.
4871 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4873 * net/shr.el (shr-browse-url): Fix interactive spec.
4875 * net/eww.el (eww): Add a trailing slash to domain names.
4877 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
4879 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4881 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4883 * net/shr.el (shr-browse-url): Use an external browser if given a
4886 * net/eww.el (eww-external-browser): Move to shr.
4888 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4890 * net/eww.el (eww): Work more correctly for file: URLs.
4891 (eww-detect-charset): Allow quoted charsets.
4892 (eww-yank-page-url): New command and keystroke.
4894 2013-06-24 Daiki Ueno <ueno@gnu.org>
4896 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4897 file name of gpg executable.
4898 (epg-context-program): New function.
4899 (epg-context-home-directory): New function.
4900 (epg-context-set-program): New function.
4901 (epg-context-set-home-directory): New function.
4902 (epg--start): Use `epg-context-program' instead of
4904 (epg--list-keys-1): Likewise.
4906 2013-06-24 Leo Liu <sdl.web@gmail.com>
4908 * ido.el (ido-read-internal): Fix bug#14620.
4910 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4912 * faces.el (face-documentation): Simplify.
4913 (read-face-attribute, tty-find-type, x-resolve-font-name):
4914 Use `string-match-p'.
4915 (list-faces-display): Use `string-match-p'. Simplify.
4916 (face-spec-recalc): Check face to avoid face alias loops.
4917 (read-color): Use `string-match-p' and non-capturing parenthesis.
4919 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4921 * net/shr.el (shr-rescale-image): Use the new
4922 :max-width/:max-height functionality.
4924 2013-06-23 Ivan Kanis <ivan@kanis.fr>
4926 * net/eww.el (eww-search-prefix): New variable.
4928 (eww-external-browser): New variable.
4929 (eww-mode-map): New keystroke.
4930 (eww-browse-with-external-browser): New command.
4932 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4934 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4936 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4937 Don't skip aligning the next header field when padding is 0;
4938 otherwise, field width is not respected unless the title is as
4941 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4943 * emacs-lisp/package.el (package-el-version): Remove.
4944 (package-process-define-package): Fix inf-loop.
4945 (package-install): Allow symbols as arguments again.
4947 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4949 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4950 add some more keyword-like methods.
4951 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4953 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
4955 * bs.el (bs-buffer-show-mark): Make defvar-local.
4956 (bs-mode): Use setq-local.
4958 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4959 (emacs-lock--try-unlocking): Make defvar-local.
4961 2013-06-22 Glenn Morris <rgm@gnu.org>
4963 * play/cookie1.el (cookie-apropos): Minor simplification.
4965 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4967 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4969 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4970 `regexp-opt', it breaks the build during dumping.
4972 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4974 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4975 Highlight keyword-like methods on Kernel and Module with
4976 font-lock-builtin-face.
4977 (auto-mode-alist): Consolidate different entries into one regexp
4978 and add more *file-s.
4980 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
4982 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4984 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4985 (diary-entry): Use it in the action of this button type instead of
4988 * calendar/todo-mode.el: New version.
4989 (todo-add-category): Append new category to end of file and give
4990 it the highest number, instead of putting it at the beginning and
4991 giving it 0. Incorporate noninteractive functionality.
4992 (todo-forward-category): Adapt to 1-based category numbering.
4993 Allow skipping over archived categories.
4994 (todo-backward-category): Derive from todo-forward-category.
4995 (todo-backward-item, todo-forward-item): Make noninteractive and
4996 delegate interactive part to new commands. Make sensitive to done items.
4997 (todo-categories): Make value an alist of category names and
4998 vectors of item counts.
4999 (todo-category-beg): Make a defconst.
5000 (todo-category-number): Use 1 instead of 0 as initial value.
5001 (todo-category-select): Make sensitive to overlays, optional item
5002 highlighting and done items.
5003 (todo-delete-item): Make sensitive to overlays and marked and done items.
5004 (todo-edit-item): Make sensitive to overlays and editing of
5005 date/time header optional. Add format checks.
5006 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5007 no-op if point is not on an item. Advertise using todo-edit-quit.
5008 (todo-edit-mode): Make sensitive to new format, font-locking, and
5009 multiple todo files.
5010 (todo-insert-item, todo-insert-item-here): Derive from
5011 todo-basic-insert-item and extend functionality.
5012 (todo-item-end, todo-item-start): Make sensitive to done items.
5013 (todo-item-string): Don't return text properties. Restore point.
5014 (todo-jump-to-category): Make sensitive to multiple todo files and
5015 todo archives. Use extended category completion.
5016 (todo-lower-item, todo-raise-item): Rename to *-priority and
5017 derive from todo-set-item-priority.
5018 (todo-mode): Derive from special-mode. Make sensitive to new
5019 format, font-locking and multiple todo files. Make read-only.
5020 (todo-mode-map): Don't suppress digit keys, so they can supply
5021 prefix arguments. Add many new key bindings.
5022 (todo-prefix): Insert as an overlay instead of file text.
5023 Change semantics from diary date expression to purely visual mark.
5024 (todo-print): Rename to todo-print-buffer. Make buffer display
5025 features printable. Remove option to restrict number of items
5026 printed. Add option to print to file.
5027 (todo-print-function): Rename to todo-print-buffer-function.
5028 (todo-quit): Extend to handle exiting new todo modes.
5029 (todo-remove-item): Make sensitive to overlays.
5030 (todo-save): Extend to buffers of filtered items.
5031 (todo-show): Make sensitive to done items, multiple todo files and
5032 new todo modes. Offer to convert legacy todo file before creating
5033 first new todo file.
5034 (todo-show-priorities): Rename to todo-top-priorities.
5035 Change semantics of value 0.
5036 (todo-top-priorities): Rename to todo-filter-top-priorities,
5037 derive from todo-filter-items and extend functionality.
5038 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5039 and extend functionality to other types of filtered items.
5040 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5041 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5042 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5043 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5044 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5045 (todo-edit-mode-hook, todo-entry-prefix-function)
5046 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5047 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5048 (todo-initials, todo-insert-threshold, todo-item-string-start)
5049 (todo-line-string, todo-menu, todo-mode-hook)
5050 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5051 (todo-print-priorities, todo-remove-separator)
5052 (todo-save-top-priorities-too, todo-string-count-lines)
5053 (todo-string-multiline-p, todo-time-string-format)
5054 (todo-tmp-buffer-name): Remove.
5055 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5056 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5057 (todo-edit-category-diary-inclusion)
5058 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5059 (todo-edit-file, todo-edit-item-date-day)
5060 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5061 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5062 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5063 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5064 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5065 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5066 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5067 (todo-filter-top-priorities-multifile, todo-find-archive)
5068 (todo-find-filtered-items-file, todo-go-to-source-item)
5069 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5070 (todo-jump-to-archive-category, todo-lower-category)
5071 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5072 (todo-move-category, todo-move-item, todo-next-button)
5073 (todo-next-item, todo-padded-string, todo-powerset)
5074 (todo-previous-button, todo-previous-item)
5075 (todo-print-buffer-to-file, todo-raise-category)
5076 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5077 (todo-set-category-number, todo-set-item-priority)
5078 (todo-set-top-priorities-in-category)
5079 (todo-set-top-priorities-in-file, todo-show-categories-table)
5080 (todo-sort-categories-alphabetically-or-numerically)
5081 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5082 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5083 (todo-toggle-item-header, todo-toggle-item-highlighting)
5084 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5085 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5086 (todo-unarchive-items, todo-unmark-category): New commands.
5087 (todo-absolute-file-name, todo-add-to-buffer-list)
5088 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5089 (todo-basic-insert-item, todo-category-completions)
5090 (todo-category-number, todo-category-string-matcher-1)
5091 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5092 (todo-check-format, todo-clear-matches)
5093 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5094 (todo-current-category, todo-date-string-matcher)
5095 (todo-define-insertion-command, todo-diary-expired-matcher)
5096 (todo-diary-goto-entry, todo-diary-item-p)
5097 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5098 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5099 (todo-done-item-section-p, todo-done-separator)
5100 (todo-done-string-matcher, todo-files, todo-filter-items)
5101 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5102 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5103 (todo-insert-category-line, todo-insert-item-from-calendar)
5104 (todo-insert-sort-button, todo-insert-with-overlays)
5105 (todo-insertion-command-name, todo-insertion-key-bindings)
5106 (todo-label-to-key, todo-longest-category-name-length)
5107 (todo-make-categories-list, todo-mode-external-set)
5108 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5109 (todo-modes-set-3, todo-multiple-filter-files)
5110 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5111 (todo-read-category, todo-read-date, todo-read-dayname)
5112 (todo-read-file-name, todo-read-time)
5113 (todo-reevaluate-category-completions-files-defcustom)
5114 (todo-reevaluate-default-file-defcustom)
5115 (todo-reevaluate-filelist-defcustoms)
5116 (todo-reevaluate-filter-files-defcustom)
5117 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5118 (todo-reset-done-separator, todo-reset-done-separator-string)
5119 (todo-reset-done-string, todo-reset-global-current-todo-file)
5120 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5121 (todo-reset-prefix, todo-set-categories)
5122 (todo-set-date-from-calendar, todo-set-show-current-file)
5123 (todo-set-top-priorities, todo-short-file-name)
5124 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5125 (todo-total-item-counts, todo-update-buffer-list)
5126 (todo-update-categories-display, todo-update-categories-sexp)
5127 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5129 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5131 (todo-categories, todo-display, todo-edit, todo-faces)
5132 (todo-filtered): New defgroups.
5133 (todo-archived-only, todo-button, todo-category-string, todo-date)
5134 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5135 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5136 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5137 (todo-add-item-if-new-category, todo-always-add-time-string)
5138 (todo-categories-align, todo-categories-archived-label)
5139 (todo-categories-category-label, todo-categories-diary-label)
5140 (todo-categories-done-label, todo-categories-number-separator)
5141 (todo-categories-todo-label, todo-categories-totals-label)
5142 (todo-category-completions-files, todo-completion-ignore-case)
5143 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5144 (todo-done-separator-string, todo-done-string)
5145 (todo-files-function, todo-filter-done-items, todo-filter-files)
5146 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5147 (todo-initial-category, todo-initial-file, todo-item-mark)
5148 (todo-legacy-date-time-regexp, todo-mode-line-function)
5149 (todo-nondiary-marker, todo-number-prefix)
5150 (todo-print-buffer-function, todo-show-current-file)
5151 (todo-show-done-only, todo-show-first, todo-show-with-done)
5152 (todo-skip-archived-categories, todo-top-priorities-overrides)
5153 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5154 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5156 (todo-category-done, todo-date-pattern, todo-date-string-start)
5157 (todo-diary-items-buffer, todo-done-string-start)
5158 (todo-filtered-items-buffer, todo-item-start)
5159 (todo-month-abbrev-array, todo-month-name-array)
5160 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5161 (todo-top-priorities-buffer): New defconsts.
5162 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5163 (todo-categories-with-marks, todo-category-string-face)
5164 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5165 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5166 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5167 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5168 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5169 (todo-font-lock-keywords, todo-global-current-todo-file)
5170 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5171 (todo-insertion-commands-args)
5172 (todo-insertion-commands-args-genlist)
5173 (todo-insertion-commands-names, todo-insertion-map)
5174 (todo-key-bindings-t, todo-key-bindings-t+a)
5175 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5176 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5177 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5178 (todo-visited): New variables.
5180 2013-06-21 Glenn Morris <rgm@gnu.org>
5182 * play/cookie1.el (cookie-apropos): Add optional display argument.
5183 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5184 (psychoanalyze-pinhead): Use cookie-doctor.
5186 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5188 * emacs-lisp/package.el (tar-get-file-descriptor)
5189 (tar--extract): Declare.
5191 2013-06-21 Eduard Wiebe <usenet@pusto.de>
5193 Extend flymake's warning predicate to be a function (bug#14217).
5194 * progmodes/flymake.el (flymake-warning-predicate): New.
5195 (flymake-parse-line): Use it.
5196 (flymake-warning-re): Make obsolete alias to
5197 `flymake-warning-predicate'.
5199 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5201 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5202 (package-obsolete-list): Remove.
5203 (package-activate): Remove min-version argument. Add `force' argument.
5204 Adjust to new package-alist format.
5205 (package-mark-obsolete): Remove.
5206 (package-unpack): Force reload of the package's autoloads.
5207 (package-installed-p): Check builtins if the installed package is not
5209 (package-initialize): Don't reset package-obsolete-list.
5210 Don't specify which package version to activate.
5211 (package-process-define-package, describe-package-1)
5212 (package-menu--generate): Adjust to new package-alist format.
5214 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5216 * allout-widgets.el (allout-widgets-mode-off)
5217 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5218 (allout-widgets-post-command-business)
5219 (allout-widgets-after-copy-or-kill-function)
5220 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5221 (allout-decorate-item-and-context)
5222 (allout-graphics-modification-handler): Fix typos in docstrings.
5223 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5225 * cmuscheme.el (scheme-start-file): Doc fix.
5226 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5227 (scheme-input-filter): Use `string-match-p'.
5229 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5231 * dired-x.el: Use Dired consistently in docstrings.
5233 * dired.el: Use Dired consistently in docstrings.
5234 (dired-readin, dired-mode): Use `setq-local'.
5235 (dired-switches-alist): Make defvar-local.
5236 (dired-buffers-for-dir): Use `zerop'.
5237 (dired-safe-switches-p, dired-switches-escape-p)
5238 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5239 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5240 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5241 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5242 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5243 (dired-toggle-marks, dired-mark-files-containing-regexp)
5244 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5245 (dired-flag-auto-save-files, dired-flag-backup-files):
5247 (dired-mark-files-regexp, dired-build-subdir-alist):
5248 Use `string-match-p', `looking-at-p'.
5250 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5251 (direct-print-region-helper): Use `string-match-p'.
5253 2013-06-21 Leo Liu <sdl.web@gmail.com>
5255 * comint.el (comint-redirect-results-list-from-process):
5258 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5260 * net/eww.el (eww-update-header-line-format): Quote % characters.
5262 2013-06-21 Glenn Morris <rgm@gnu.org>
5264 * play/cookie1.el (cookie): New custom group.
5265 (cookie-file): New option.
5266 (cookie-check-file): New function.
5267 (cookie): Make it interactive. Make start and end messages optional.
5268 Interactively, display the result. Default to cookie-file.
5269 (cookie-insert): Default to cookie-file.
5270 (cookie-snarf): Make start and end messages optional.
5271 Default to cookie-file. Use with-temp-buffer.
5272 (cookie-read): Rename from read-cookie.
5273 Make start and end messages optional. Default to cookie-file.
5274 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5276 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5277 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5279 2013-06-21 Leo Liu <sdl.web@gmail.com>
5281 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5283 2013-06-21 Glenn Morris <rgm@gnu.org>
5285 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5287 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5288 Daniel Hackney <dan@haxney.org>
5290 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5291 Consolidate the single-file vs tarball code.
5292 (package-desc-suffix): New function.
5293 (package-desc-full-name): Don't bother inlining it.
5294 (package-load-descriptor): Return the new package-desc.
5295 (package-mark-obsolete): Remove unused arg `package'.
5296 (package-unpack): Make it work for single files as well.
5297 Make it update package-alist.
5298 (package--make-autoloads-and-stuff): Rename from
5299 package--make-autoloads-and-compile. Don't compile any more.
5300 (package--compile): New function.
5301 (package-generate-description-file): New function, extracted from
5302 package-unpack-single.
5303 (package-unpack-single): Remove.
5304 (package--with-work-buffer): Add indentation and debugging info.
5305 (package-download-single): Remove.
5306 (package-install-from-archive): Rename from package-download-tar, make
5307 it take a pkg-desc, and make it work for single files as well.
5308 (package-download-transaction): Simplify.
5309 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5310 external tar program.
5311 (package-install-from-buffer): Remove `pkg-desc' argument.
5312 Use package-tar-file-info for tar-mode buffers.
5313 (package-install-file): Simplify accordingly.
5314 (package-archive-base): Change to take a pkg-desc.
5315 * tar-mode.el (tar--check-descriptor): New function, extracted from
5317 (tar-get-descriptor): Use it.
5318 (tar-get-file-descriptor): New function.
5319 (tar--extract): New function, extracted from tar-extract.
5320 (tar--extract): Use it.
5321 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5322 case the summary uses non-ascii. Adjust to new calling convention of
5323 package-tar-file-info.
5325 2013-06-21 Leo Liu <sdl.web@gmail.com>
5327 * comint.el (comint-redirect-results-list-from-process):
5328 Fix random delay. (Bug#14681)
5330 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5332 * profiler.el (profiler-format-number): Use log, not log10.
5334 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5336 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5338 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5340 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5341 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5343 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5344 (AUTOGENEL): ... here.
5345 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5346 (cl--defsubst-expand): Use it.
5348 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5350 * subr.el (log10): Move here from C code, and declare as obsolete.
5351 All uses of (log10 X) replaced with (log X 10).
5353 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5355 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5356 Declare with `defvar-local'.
5357 (tabulated-list-use-header-line, tabulated-list-entries)
5358 (tabulated-list-padding, tabulated-list-printer)
5359 (tabulated-list-sort-key): Declare with `defvar-local'.
5360 (tabulated-list-init-header, tabulated-list-print-fake-header):
5363 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
5365 * arc-mode.el (archive-mode): Add `archive-write-file' to
5366 `write-contents-functions' also for remote files. (Bug#14652)
5368 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5370 * cus-edit.el (custom-commands): Fix typos.
5371 (custom-display): Fix tooltip text.
5372 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5373 Fix typos in docstrings.
5374 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5375 (custom-unlispify-menu-entry, custom-magic-value-create)
5376 (custom-add-see-also, custom-group-value-create): Use ?\s.
5377 (custom-guess-type, customize-apropos, editable-field)
5378 (custom-face-value-create): Use `string-match-p'.
5379 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5381 * custom.el (custom-load-symbol): Use `string-match-p'.
5383 * ansi-color.el: Convert to lexical binding.
5384 (ansi-colors): Fix URL.
5385 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5386 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5387 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5389 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5391 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5393 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5395 2013-06-19 Tom Tromey <tromey@redhat.com>
5397 * net/eww.el (eww-top-url): Remove.
5398 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5399 (eww-render): Set new variables. Don't set eww-top-url.
5400 (eww-handle-link): Handle "prev", "home", and "contents".
5401 Downcase the rel text.
5402 (eww-top-url): Choose best top URL.
5404 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5406 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5407 relying in widget.el. Using widget.el leads to too many
5408 user interface inconsistencies.
5409 (eww-self-insert): Implement entering commands in text fields.
5410 (eww-process-text-input): New function to make text input field editing
5412 (eww-submit): Rewrite to use the new-style form methods.
5413 (eww-select-display): Display the correct selected item.
5414 (eww-change-select): Implement changing the select value.
5415 (eww-toggle-checkbox): Implement radio/checkboxes.
5416 (eww-update-field): Fix compilation error.
5417 (eww-tag-textarea): Implement <textarea>.
5419 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5420 we don't shadow mode-specific bindings.
5422 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5425 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5427 2013-06-19 Glenn Morris <rgm@gnu.org>
5429 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5431 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5433 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5436 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5438 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5440 * net/browse-url.el (browse-url-browser-function):
5441 `eww-browse-url' has the right calling signature, `eww' does not.
5443 2013-06-19 Glenn Morris <rgm@gnu.org>
5445 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5446 Only eval autoloaded macros.
5447 (byte-compile-autoload): Only give the macro warning for macros.
5449 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5450 (ps-underlined-faces): Declare.
5452 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5453 (speedbar-add-supported-extension): Declare.
5455 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5456 Don't include a date stamp in the header of the generated file;
5457 it leads to needless differences between output files.
5459 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5461 * net/secrets.el (secrets-struct-secret-content-type):
5462 Replace check of introspection data by a test call of "CreateItem".
5463 Some servers do not offer introspection.
5465 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5467 * electric.el (electric-pair-mode): Improve interaction with
5468 electric-layout-mode.
5469 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5470 (electric-pair-syntax): Use text-mode-syntax-table in comments
5472 (electric-pair--insert): New function.
5473 (electric-pair-post-self-insert-function): Use it and
5474 electric--after-char-pos.
5476 2013-06-19 Leo Liu <sdl.web@gmail.com>
5478 * progmodes/octave.el (octave-help): Fix regexp.
5480 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5482 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5483 (shr-table-horizontal-line): Allow nil as a value, and change the
5485 (shr-insert-table-ruler): Respect the nil value.
5487 2013-06-18 Tom Tromey <tromey@barimba>
5489 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5491 (eww-open-file): New defun.
5492 (eww-render): Initialize new variables.
5493 (eww-display-html): Handle "link" and "a".
5494 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5495 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5496 (eww-back-url): Rename from eww-previous-url.
5497 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5500 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5502 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5503 Distinguish ternary operator tokens from slash symbol and slash
5506 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5508 Convert symbol prettification into minor mode and global minor mode.
5510 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5511 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5512 (prettify-symbols--keywords): Rename from
5513 `prog-prettify-symbols-alist' and make a local defvar.
5514 (prettify-symbols--compose-symbol): Rename from
5515 `prog--prettify-font-lock-compose-symbol'.
5516 (prettify-symbols--make-keywords): Rename from
5517 `prog-prettify-font-lock-symbols-keywords' and simplify.
5518 (prog-prettify-install): Remove.
5519 (prettify-symbols-mode): New minor mode, based on
5520 `prog-prettify-install'.
5521 (turn-on-prettify-symbols-mode): New function.
5522 (global-prettify-symbols-mode): New globalized minor mode.
5524 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5525 * progmodes/cfengine.el (cfengine3-mode):
5526 * progmodes/perl-mode.el (perl-mode): Don't call
5527 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5529 2013-06-18 Juri Linkov <juri@jurta.org>
5531 * files-x.el (modify-file-local-variable-message): New function.
5532 (modify-file-local-variable)
5533 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5534 and call `modify-file-local-variable-message' when it's non-nil.
5535 (add-file-local-variable, delete-file-local-variable)
5536 (add-file-local-variable-prop-line)
5537 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5538 and use it. (Bug#9820)
5540 2013-06-18 Juri Linkov <juri@jurta.org>
5542 * emulation/vi.el (vi-shell-op):
5543 * emulation/vip.el (vip-execute-com, ex-command):
5544 * emulation/viper-cmd.el (viper-exec-bang):
5545 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5546 the call of `shell-command-on-region'. (Bug#14637)
5548 * simple.el (shell-command-on-region): Doc fix.
5550 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5552 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5555 2013-06-18 Glenn Morris <rgm@gnu.org>
5557 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5559 * newcomment.el (comment-search-forward, comment-search-backward):
5560 Doc fix. (Bug#14376)
5562 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5564 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5565 (buffer-face-mode-invoke): Doc fix.
5567 2013-06-18 Matthias Meulien <orontee@gmail.com>
5569 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
5570 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
5572 2013-06-18 Glenn Morris <rgm@gnu.org>
5574 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5575 Replace obsolete function generic-make-keywords with its expansion.
5577 * progmodes/python.el (ffap-alist): Declare.
5579 * textmodes/reftex.el (bibtex-mode-map): Declare.
5581 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5583 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5584 (package-unpack, package-unpack-single): Return the pkg-dir.
5585 (package-download-transaction): Use it to update package-alist.
5587 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5589 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5592 2013-06-17 Juri Linkov <juri@jurta.org>
5594 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5596 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5598 * emacs-lisp/package.el (package-load-descriptor):
5599 Remove `with-syntax-table' call, `read' doesn't need it.
5600 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5602 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5604 * startup.el (command-line): Expand package name returned by
5605 `package--description-file' (bug#14639).
5607 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5609 * emacs-lisp/package.el (package-load-descriptor): Do not call
5610 `emacs-lisp-mode', just use its syntax table.
5612 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5614 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5615 `font-lock-extra-managed-props' if any prettifying keyword is added.
5616 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5617 (prog-mode): Use `setq-local'.
5619 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5621 * international/characters.el (standard-case-table): Set syntax of ?»
5622 and ?« to punctuation.
5624 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5626 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5627 Save relevant match data before calling `syntax-ppss' (bug#14595).
5629 2013-06-15 Juri Linkov <juri@jurta.org>
5631 * files-x.el (modify-file-local-variable-prop-line): Add local
5632 variables to the end of the existing comment on the first line.
5633 Use `file-auto-mode-skip' to skip interpreter magic line,
5634 and also skip XML declaration.
5636 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5638 * startup.el (package--builtin-versions): New var.
5639 (package-subdirectory-regexp): Remove.
5640 (package--description-file): Hard code its value instead.
5642 * emacs-lisp/package.el: Don't activate packages older than builtin.
5643 (package-obsolete-list): Rename from package-obsolete-alist, and make
5644 it into a simple list of package-desc.
5645 (package-strip-version): Remove.
5646 (package-built-in-p): Use package--builtin-versions.
5647 (package-mark-obsolete): Simplify.
5648 (package-process-define-package): Mark it obsolete if older than the
5650 (package-handle-response): Use line-end-position.
5651 (package-read-archive-contents, package--download-one-archive):
5653 (package--add-to-archive-contents): Skip if older than the builtin or
5655 (package-menu-describe-package): Fix last change.
5656 (package-list-unversioned): New var.
5657 (package-menu--generate): Use it.
5659 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5660 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5661 (autoload-builtin-package-versions): New variable.
5662 (autoload-generate-file-autoloads): Use them.
5663 Remove the list of autoloaded functions/macros from the
5664 (autoload...) comments.
5666 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5668 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5670 * simple.el (line-move-partial): Don't jump to the next screen
5671 line as soon as it becomes visible. Instead, continue enlarging
5672 the vscroll until the portion of a tall screen line that's left on
5673 display is about the height of the frame's default font.
5676 2013-06-15 Glenn Morris <rgm@gnu.org>
5678 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5679 compilation-error-regexp-alist void, or local while let-bound.
5681 * progmodes/make-mode.el (makefile-mode-syntax-table):
5682 Treat "=" as punctuation. (Bug#14614)
5684 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5686 * help-fns.el (describe-variable):
5687 Add extra line for permanent-local variables.
5689 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5691 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5692 Add export, import, library. (Bug#9164)
5693 (library): Set indent function.
5695 2013-06-14 Glenn Morris <rgm@gnu.org>
5697 * term/xterm.el (xterm--query):
5698 Stop after first matching handler. (Bug#14615)
5700 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5702 Add support for dired in saveplace.
5703 * dired.el (dired-initial-position-hook): New variable.
5704 (dired-initial-position): Call hook to place cursor position.
5705 * saveplace.el (save-place-to-alist): Add dired position.
5706 (save-place-dired-hook): New function.
5708 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5710 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5711 through a symbol rather than letrec.
5713 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5714 (package-desc): Add `dir' field.
5715 (package-desc-full-name): New function.
5716 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5717 (package-maybe-load-descriptor): Remove.
5718 (package-load-all-descriptors): Just call package-load-descriptor.
5719 (package--disabled-p): New function.
5720 (package-desc-vers, package-desc-doc): Remove aliases.
5721 (package--dir): Remove function.
5722 (package-activate): Check if a package is disabled.
5723 (package-process-define-package): New function, extracted from
5725 (define-package): Turn into a place holder.
5726 (package-unpack-single, package-tar-file-info):
5727 Use package--description-file.
5728 (package-compute-transaction): Use package--disabled-p.
5729 (package-download-transaction): Don't call
5730 package-maybe-load-descriptor since they're all loaded anyway.
5731 (package-install): Change argument to be a pkg-desc.
5732 (package-delete): Use a single pkg-desc argument.
5733 (describe-package-1): Use package-desc-dir instead of package--dir.
5734 Use package-desc property instead of package-symbol.
5735 (package-install-button-action): Adjust accordingly.
5736 (package--push): Rewrite.
5737 (package-menu--print-info): Adjust accordingly. Change the ID format
5739 (package-menu-describe-package, package-menu-get-status)
5740 (package-menu--find-upgrades, package-menu-mark-upgrades)
5741 (package-menu-execute, package-menu--name-predicate):
5743 * startup.el (package--description-file): New function.
5744 (command-line): Use it.
5745 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5746 Use package-desc-version.
5748 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5749 (byte-compile-preprocess): Use it.
5750 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5751 can't quite recognize.
5752 (byte-compile-add-to-list): Remove.
5753 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5754 (cconv-closure-convert): Add assertion.
5756 * emacs-lisp/map-ynp.el: Use lexical-binding.
5757 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5758 Factor out some repeated code.
5760 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5762 * subr.el (with-eval-after-load): New macro.
5763 (eval-after-load): Allow form to be a function.
5764 take advantage of lexical-binding.
5765 (do-after-load-evaluation): Use dolist and adjust to new format.
5766 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5768 2013-06-13 Juri Linkov <juri@jurta.org>
5770 * replace.el (perform-replace): Display "symbol " and other search
5771 modes from `isearch-message-prefix' in the *Help* buffer.
5773 * isearch.el (isearch-query-replace): Add " symbol" and other
5774 possible search modes from `isearch-message-prefix' to the prompt.
5775 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5776 when reading a regexp to collect.
5778 2013-06-13 Juri Linkov <juri@jurta.org>
5780 * isearch.el (word-search-regexp): Match whitespace if the search
5781 string begins or ends in whitespace. The LAX arg is applied to
5782 both ends of the search string. Use `regexp-quote' and explicit
5783 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5784 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5785 boundaries are replaced with symbol boundaries, and characters
5786 between symbols match non-word non-symbol syntax. (Bug#14602)
5788 2013-06-13 Juri Linkov <juri@jurta.org>
5790 * isearch.el (isearch-del-char): Don't exceed the length of
5791 `isearch-string' by the prefix arg. (Bug#14563)
5793 2013-06-13 Juri Linkov <juri@jurta.org>
5795 * isearch.el (isearch-yank-word, isearch-yank-line)
5796 (isearch-char-by-name, isearch-quote-char)
5797 (isearch-printing-char, isearch-process-search-char):
5798 Add optional count prefix arg. (Bug#14563)
5800 * international/isearch-x.el
5801 (isearch-process-search-multibyte-characters):
5802 Add optional count prefix arg.
5804 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5806 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5807 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5810 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5812 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5814 2013-06-13 Glenn Morris <rgm@gnu.org>
5816 * startup.el (tty-handle-args):
5817 Don't just discard "--" and anything after. (Bug#14608)
5819 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5821 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5823 Implement changes in Secret Service API. Make it backward compatible.
5824 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5825 (secrets-create-item): Use it. Prefix properties with interface.
5827 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5829 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5830 (term-emulate-terminal): Respect term-suppress-hard-newline.
5832 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5834 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5835 Only remove a `thumb-file' overlay. (Bug#14548)
5837 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
5839 * mail/reporter.el (reporter-submit-bug-report):
5840 Handle missing package-name. (Bug#14600)
5842 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5844 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5845 (reftex-citation-prompt, reftex-default-bibliography)
5846 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5847 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5848 (reftex-bib-sort-author, reftex-bib-sort-year)
5849 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5850 (reftex-extract-bib-entries-from-thebibliography)
5851 (reftex-get-bibkey-default, reftex-get-bib-names)
5852 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5853 (reftex-format-bib-entry, reftex-parse-bibitem)
5854 (reftex-format-bibitem, reftex-do-citation)
5855 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5856 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5857 (reftex-insert-bib-matches, reftex-format-citation)
5858 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5859 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5860 existing comments into docstrings.
5862 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5864 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5866 2013-06-12 Andreas Schwab <schwab@suse.de>
5868 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5869 for auto-save files.
5871 2013-06-12 Glenn Morris <rgm@gnu.org>
5873 * ido.el (ido-delete-ignored-files): Remove.
5874 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5875 Go back to calling ido-ignore-item-p directly.
5877 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5879 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5881 * ido.el (ido-delete-ignored-files): New function,
5882 split from ido-make-file-list-1.
5883 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5884 (ido-make-file-list-1): Use ido-delete-ignored-files.
5886 2013-06-12 Leo Liu <sdl.web@gmail.com>
5888 * progmodes/octave.el (inferior-octave-startup)
5889 (inferior-octave-completion-table)
5890 (inferior-octave-track-window-width-change)
5891 (octave-eldoc-function-signatures, octave-help)
5892 (octave-find-definition): Use single quoted strings.
5893 (inferior-octave-startup-args): Change default value.
5894 (inferior-octave-startup): Do not hard code "-i" and
5895 "--no-line-editing".
5896 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5897 (inferior-octave-directory-tracker): Use it.
5898 (octave-goto-function-definition): Robustify.
5899 (octave-help): Support highlighting operators in 'See also'.
5900 (octave-find-definition): Find subfunctions only in Octave mode.
5902 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5904 * help-fns.el (help-fns--compiler-macro): If the handler function is
5905 named, then put a link to it.
5906 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5907 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5909 (cl-eval-when): Simplify debug spec.
5910 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5911 compiler-macro function instead of setting `compiler-macro-file'.
5913 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5915 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5916 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5918 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5919 Daniel Hackney <dan@haxney.org>
5921 First part of Daniel Hackney's patch to package.el.
5922 * emacs-lisp/package.el: Use defstruct.
5923 (package-desc): New, main struct.
5924 (package--bi-desc, package--ac-desc): New structs, used to describe the
5925 format in external files.
5926 (package-desc-vers): Replace with package-desc-version accessor.
5927 (package-desc-doc): Replace with package-desc-summary accessor.
5928 (package-activate-1): Remove `package' arg since the pkg-vec now
5930 (define-package): Use package-desc-from-define.
5931 (package-unpack-single): Change file-name arg to be a symbol.
5932 (package--add-to-archive-contents): Use package-desc-create and new
5933 accessor functions to package--ac-desc.
5934 (package-buffer-info, package-tar-file-info): Return a package-desc.
5935 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5936 arg to be a package-desc.
5937 (package-install-file): Adjust accordingly. Use \' to match EOS.
5938 (package--from-builtin): New function.
5939 (describe-package-1, package-menu--generate): Use it.
5940 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5941 (package-generate-autoloads): Idem and return the name of the file.
5942 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5943 Change pkg-info arg to be a package-desc.
5944 Use package-make-ac-desc.
5945 (package-upload-file): Use \' to match EOS.
5946 * finder.el (finder-compile-keywords): Use package-make-builtin.
5948 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5950 * vc/vc.el (vc-deduce-fileset): Change error message.
5951 (vc-read-backend): New function.
5952 (vc-next-action): Use it.
5954 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5956 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5957 (prolog-font-lock-keywords): Use regexp-opt instead.
5958 Don't manually highlight strings.
5959 (prolog-mode-variables): Simplify comment-start-skip.
5960 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5962 * emacs-lisp/generic.el (generic--normalise-comments)
5963 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5964 (generic-mode-set-comments): Use them.
5965 (generic-bracket-support): Use setq-local.
5966 (generic-make-keywords-list): Declare obsolete.
5968 2013-06-11 Glenn Morris <rgm@gnu.org>
5970 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5971 Prettify after setting font-lock-defaults. (Bug#14574)
5973 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
5975 * replace.el (query-replace, occur-read-regexp-defaults-function)
5977 * subr.el (declare-function, number-sequence, local-set-key)
5978 (substitute-key-definition, locate-user-emacs-file)
5979 (with-silent-modifications, split-string, eval-after-load):
5980 Fix typos, remove unneeded backslashes and reflow some docstrings.
5982 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5984 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5985 default for Elisp files.
5987 2013-06-11 Glenn Morris <rgm@gnu.org>
5989 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5990 although define-derived-mode was doing this anyway. (Bug#14583)
5992 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
5994 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5995 Fix make-variable-buffer-local call to refer to the correct variable.
5997 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
5999 * eshell/em-term.el (eshell-visual-commands)
6000 (eshell-visual-subcommands, eshell-visual-options):
6001 Add summary line to docstrings. Add cross-references.
6003 2013-06-10 Glenn Morris <rgm@gnu.org>
6005 * epa.el (epa-read-file-name): New function. (Bug#14510)
6006 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6008 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6010 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6011 output redirection to be ignored with visual commands.
6013 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6015 * eshell/em-term.el (eshell-visual-command-p): New function.
6016 (eshell-term-initialize): Move long lambda to separate function
6017 eshell-visual-command-p.
6018 * eshell/em-dirs.el (eshell-dirs-initialise):
6019 * eshell/em-script.el (eshell-script-initialize):
6020 Add missing #' to lambda.
6022 2013-06-08 Leo Liu <sdl.web@gmail.com>
6024 * progmodes/octave.el (octave-add-log-current-defun): New function.
6025 (octave-mode): Set add-log-current-defun-function.
6026 (octave-goto-function-definition): Do not move point if not found.
6027 (octave-find-definition): Enhance to try subfunctions first.
6029 2013-06-08 Glenn Morris <rgm@gnu.org>
6031 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6032 (byte-compile-backward-char, byte-compile-backward-word):
6033 Improve previous change, to handle non-explicit nil.
6035 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6037 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6038 (smie--opener/closer-at-point): New function.
6039 (smie--matching-block-data): Use it. Don't match from right after an
6040 opener or right before a closer. Obey smie-blink-matching-inners.
6041 Don't signal a mismatch for repeated inners like "switch..case..case".
6043 2013-06-07 Leo Liu <sdl.web@gmail.com>
6045 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6047 (octave-function-header-regexp): Fix. (Bug#14570)
6048 (octave-help-mode-finish-hook, octave-help-mode-finish):
6049 Remove. Just use temp-buffer-show-hook.
6051 * newcomment.el (comment-search-backward): Revert last change.
6054 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6056 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6058 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6059 through xargs, to avoid failure due to MS-Windows limitations on
6060 command-line length.
6062 2013-06-06 Glenn Morris <rgm@gnu.org>
6064 * font-lock.el (lisp-font-lock-keywords-2):
6065 Treat user-error like error.
6067 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6068 (byte-compile-backward-char, byte-compile-backward-word):
6069 Handle explicit nil arguments. (Bug#14565)
6071 2013-06-05 Alan Mackenzie <acm@muc.de>
6073 * isearch.el (isearch-allow-prefix): New user option.
6074 (isearch-other-meta-char): Don't exit isearch when a prefix
6075 argument is typed whilst `isearch-allow-prefix' is non-nil.
6078 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6080 * autorevert.el (auto-revert-notify-handler): Use memq.
6081 Hide assertion failure.
6083 * skeleton.el: Use cl-lib.
6084 (skeleton-further-elements): Use defvar-local.
6085 (skeleton-insert): Use cl-progv.
6087 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6089 * progmodes/prog-mode.el (prog-prettify-symbols)
6090 (prog-prettify-install): Update docstrings.
6092 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6094 * simple.el: Move all the prog-mode code to prog-mode.el.
6095 * progmodes/prog-mode.el: New file.
6096 * loadup.el: Add prog-mode.el.
6098 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6100 * simple.el (prog-prettify-symbols): Add version.
6101 (prog-prettify-install): Add convenience function to prettify symbols.
6103 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6104 (perl--augmented-font-lock-keywords-1)
6105 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6106 variables and use it.
6108 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6109 (cfengine3-mode): Remove unneeded variable and use it.
6111 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6112 (lisp--augmented-font-lock-keywords-1)
6113 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6114 Remove unneeded variables and use it.
6116 2013-06-05 João Távora <joaotavora@gmail.com>
6118 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6119 to point when opening the connection. (Bug#14380)
6121 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6123 * subr.el (load-history-regexp, load-history-filename-element)
6124 (eval-after-load, after-load-functions, do-after-load-evaluation)
6125 (eval-next-after-load, display-delayed-warnings)
6126 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6127 definition of save-match-data.
6128 (overriding-local-map): Remove accidental obsolescence declaration.
6130 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6132 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6134 Generalize symbol prettify support to prog-mode and implement it
6135 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6136 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6137 (prog--prettify-font-lock-compose-symbol)
6138 (prog-prettify-font-lock-symbols-keywords): New variables and
6139 functions to support symbol prettification.
6140 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6141 (lisp--augmented-font-lock-keywords-1)
6142 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6143 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6144 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6145 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6146 Implement prettify of -> => :: strings.
6147 * progmodes/perl-mode.el (perl-prettify-symbols)
6148 (perl--font-lock-compose-symbol)
6149 (perl--font-lock-symbols-keywords): Move to prog-mode.
6150 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6151 (perl-font-lock-keywords-1)
6152 (perl-font-lock-keywords-2): Remove explicit prettify support.
6153 (perl--augmented-font-lock-keywords)
6154 (perl--augmented-font-lock-keywords-1)
6155 (perl--augmented-font-lock-keywords-2, perl-mode):
6156 Implement prettify support.
6158 2013-06-05 Leo Liu <sdl.web@gmail.com>
6160 Re-implement smie matching block highlight using
6161 show-paren-data-function. (Bug#14395)
6162 * emacs-lisp/smie.el (smie-matching-block-highlight)
6163 (smie--highlight-matching-block-overlay)
6164 (smie--highlight-matching-block-lastpos)
6165 (smie-highlight-matching-block)
6166 (smie-highlight-matching-block-mode): Remove.
6167 (smie--matching-block-data-cache): New variable.
6168 (smie--matching-block-data): New function.
6169 (smie-setup): Use smie--matching-block-data for
6170 show-paren-data-function.
6172 * progmodes/octave.el (octave-mode-menu): Fix.
6173 (octave-find-definition): Skip garbage lines.
6175 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6177 Fix compilation error with simultaneous dynamic+lexical scoping.
6178 Add warning when a defvar appears after the first let-binding.
6179 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6180 (byte-compile-close-variables): Initialize it.
6181 (byte-compile--declare-var): New function.
6182 (byte-compile-file-form-defvar)
6183 (byte-compile-file-form-define-abbrev-table)
6184 (byte-compile-file-form-custom-declare-variable): Use it.
6185 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6186 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6187 (byte-compile-bind): Handle dynamic bindings that shadow
6189 (byte-compile-unbind): Make arg non-optional.
6190 (byte-compile-let): Simplify.
6191 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6192 (cconv--analyse-function, cconv-analyse-form): Populate it.
6193 Protect byte-compile-bound-variables to limit the scope of defvars.
6194 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6195 Remove unneeded rule for `declare'.
6197 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6198 so as to avoid depending on cl-adjoin at run-time.
6199 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6201 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6202 (macroexp--warn-and-return): Use it.
6204 2013-06-05 Leo Liu <sdl.web@gmail.com>
6206 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6208 2013-06-04 Leo Liu <sdl.web@gmail.com>
6210 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6211 (compilation-auto-jump): Suppress the "Mark set" message to give
6212 way to exit message.
6214 2013-06-04 Alan Mackenzie <acm@muc.de>
6216 Remove faulty optimisation from indentation calculation.
6217 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6218 search limit based on 2000 characters back from indent-point.
6220 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6222 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6224 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6226 * emacs-lisp/lisp.el: Use lexical-binding.
6227 (lisp--local-variables-1, lisp--local-variables): New functions.
6228 (lisp--local-variables-completion-table): New var.
6229 (lisp-completion-at-point): Use it complete let-bound vars.
6231 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6232 eagerly (bug#14422).
6234 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
6236 * autorevert.el (auto-revert-notify-enabled)
6237 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6238 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6239 (auto-revert-notify-handler): Handle also gfilenotify.
6241 * subr.el (file-notify-handle-event): New defun. Replacing ...
6242 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6245 2013-06-03 Juri Linkov <juri@jurta.org>
6247 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6248 `M-s h .'. (Bug#14427)
6250 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6251 command `hi-lock-face-symbol-at-point'.
6252 (hi-lock-face-symbol-at-point): New command.
6253 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6254 (hi-lock-menu): Add `highlight-symbol-at-point'.
6255 (hi-lock-mode): Doc fix.
6257 * isearch.el (isearch-forward-symbol-at-point): New command.
6258 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6259 (isearch-highlight-regexp): Add a regexp which matches
6260 words/symbols for word/symbol mode.
6262 * subr.el (find-tag-default-bounds): New function with the body
6263 mostly moved from `find-tag-default'.
6264 (find-tag-default): Move most code to `find-tag-default-bounds',
6265 call it and apply `buffer-substring-no-properties' afterwards.
6267 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6269 * eshell/em-term.el (eshell-term-initialize):
6270 Use `cl-intersection' rather than `intersection'.
6272 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6274 * vc/log-view.el: Doc fix.
6275 (log-view-mode-map): Copy keymap from `special-mode-map'.
6277 2013-06-02 Eric Ludlam <zappo@gnu.org>
6279 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6280 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6281 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6282 (eieio-unbound, eieio-default-superclass)
6283 (eieio--define-field-accessors, method-static, method-before)
6284 (method-primary, method-after, method-num-lists)
6285 (method-generic-before, method-generic-primary)
6286 (method-generic-after, method-num-slots)
6287 (eieio-specialized-key-to-generic-key)
6288 (eieio--check-type, class-v, class-p)
6289 (eieio-class-name, define-obsolete-function-alias)
6290 (eieio-class-parents-fast, eieio-class-children-fast)
6291 (same-class-fast-p, class-constructor, generic-p)
6292 (generic-primary-only-p, generic-primary-only-one-p)
6293 (class-option-assoc, class-option, eieio-object-p)
6294 (class-abstract-p, class-method-invocation-order)
6295 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6296 (eieio-class-un-autoload, eieio-defclass)
6297 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6298 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6299 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6300 (eieio-defgeneric-reset-generic-form)
6301 (eieio-defgeneric-form-primary-only)
6302 (eieio-defgeneric-reset-generic-form-primary-only)
6303 (eieio-defgeneric-form-primary-only-one)
6304 (eieio-defgeneric-reset-generic-form-primary-only-one)
6305 (eieio-unbind-method-implementations)
6306 (eieio--defmethod, eieio--typep)
6307 (eieio-perform-slot-validation, eieio-validate-slot-value)
6308 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6309 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6310 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6311 (eieio-slot-name-index, eieio-class-slot-name-index)
6312 (eieio-set-defaults, eieio-initarg-to-attribute)
6313 (eieio-attribute-to-initarg, eieio-c3-candidate)
6314 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6315 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6316 (eieio-class-precedence-list, eieio-generic-call-methodname)
6317 (eieio-generic-call-arglst, eieio-generic-call-key)
6318 (eieio-generic-call-next-method-list)
6319 (eieio-pre-method-execution-functions, eieio-generic-call)
6320 (eieio-generic-call-primary-only, eieiomt-method-list)
6321 (eieiomt-optimizing-obarray, eieiomt-install)
6322 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6323 (eieio-generic-form, eieio-defmethod, make-obsolete)
6324 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6325 (defclass): Remove `eval-and-compile' from macro.
6326 (call-next-method, shared-initialize): Instead of using
6327 `scoped-class' variable, use new eieio--scoped-class, and
6328 eieio--with-scoped-class.
6329 (initialize-instance): Rename local variable 'scoped-class' to
6330 'this-class' to remove ambiguitity from old global.
6332 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6334 (eieio--scoped-class-stack): New variable.
6335 (eieio--scoped-class): New fcn.
6336 (eieio--with-scoped-class): New scoping macro.
6337 (eieio-defclass): Use pushnew instead of add-to-list.
6338 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6339 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6340 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6341 `scoped-class' variable, use new eieio--scoped-class, and
6342 eieio--with-scoped-class.
6344 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6346 2013-06-02 Tassilo Horn <tsdh@gnu.org>
6348 * eshell/esh-ext.el (eshell-external-command): Pass args to
6349 `eshell-find-interpreter'.
6350 (eshell-find-interpreter): Add new second parameter ARGS.
6352 * eshell/em-script.el (eshell-script-initialize): Add second arg
6353 to the function added as MATCH to `eshell-interpreter-alist'.
6355 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6356 the function added as MATCH to `eshell-interpreter-alist'.
6358 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6359 (eshell-visual-options): New defcustom.
6360 (eshell-escape-control-x): Adapt docstring.
6361 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6362 `eshell-visual-options' in addition to `eshell-visual-commands'.
6363 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6365 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
6367 * progmodes/python.el (python-indent-block-enders): Add break,
6368 continue and raise keywords.
6370 2013-06-01 Glenn Morris <rgm@gnu.org>
6372 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6374 Plain (f)boundp silences compilation warnings since Emacs 22.1.
6375 * progmodes/cc-cmds.el (delete-forward-p):
6376 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6377 * progmodes/cc-engine.el (buffer-syntactic-context):
6378 * progmodes/cc-fonts.el (face-property-instance):
6379 * progmodes/cc-mode.el (set-keymap-parents):
6380 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6381 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6382 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6383 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6384 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6386 * progmodes/cc-vars.el (other): Emacs has this widget since
6387 at least 21.1, so don't (re)define it.
6389 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6390 Replace the obsolete alias pcomplete-arg-quote-list.
6392 2013-06-01 Leo Liu <sdl.web@gmail.com>
6394 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6396 (inferior-octave-minimal-columns)
6397 (inferior-octave-last-column-width): New variables.
6398 (inferior-octave-track-window-width-change): New function.
6399 (inferior-octave-mode): Adjust column width so that Octave output,
6400 for example from 'ls', can fit into the window nicely.
6402 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6404 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6405 Highlight expansions inside regexp literals.
6407 2013-05-31 Glenn Morris <rgm@gnu.org>
6409 * obsolete/sym-comp.el (symbol-complete):
6410 Replace obsolete completion-annotate-function.
6412 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6414 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6416 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6417 New function, checks if point is inside a literal that allows
6418 expression expansion.
6419 (ruby-syntax-propertize-expansion): Use it.
6420 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6423 2013-05-30 Juri Linkov <juri@jurta.org>
6425 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6427 (isearch-invisible): New variable.
6428 (isearch-forward): Doc fix.
6429 (isearch-mode): Set `isearch-invisible'
6430 to the value of `search-invisible'.
6431 (isearch-toggle-case-fold): Doc fix.
6432 (isearch-toggle-invisible): New command.
6433 (isearch-query-replace): Let-bind `search-invisible'
6434 to the value of `isearch-invisible'.
6435 (isearch-search): Use `isearch-invisible' instead of
6436 `search-invisible'. Let-bind `search-invisible'
6437 to the value of `isearch-invisible'. (Bug#11378)
6439 2013-05-30 Juri Linkov <juri@jurta.org>
6441 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6442 call when `query-flag' is nil and `search-invisible' is non-nil.
6445 2013-05-30 Glenn Morris <rgm@gnu.org>
6447 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6449 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6450 (cc-require): Suppress spurious "noruntime" warnings.
6451 (cc-require-when-compile): Use fboundp, for sake of compiler.
6453 * progmodes/cc-mode.el: Move load of cc-vars before that of
6454 cc-langs (which in turn loads cc-vars), to quieten compiler.
6456 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6458 * paren.el: Simplify the code.
6459 (show-paren-mode): Always start the timer.
6460 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6461 (show-paren--overlay, show-paren--overlay-1): Rename from
6462 show-paren-overlay and show-paren-overlay-1, and initialize to an
6463 overlay rather than to nil.
6464 (show-paren-function): Misc cleanup and simplifications.
6466 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6468 * paren.el (show-paren-data-function): New hook.
6469 (show-paren--default): New function, extracted from show-paren-function.
6470 (show-paren-function): Use show-paren-data-function.
6472 2013-05-30 Glenn Morris <rgm@gnu.org>
6474 * ielm.el (ielm-map, ielm-complete-symbol):
6475 Use completion-at-point rather than obsolete functions.
6476 (inferior-emacs-lisp-mode): Doc fix.
6477 Set completion-at-point-functions, rather than
6478 comint-dynamic-complete-functions.
6480 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6481 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6482 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6484 * image.el (image-animated-p): Tweak definition.
6486 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6487 (rlogin-process-connection-type): Tweak default. Add set-after.
6488 (rlogin-host): Doc fix.
6489 (rlogin): Tweak prompt.
6490 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6492 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6493 * progmodes/tcl.el (inferior-tcl-mode-map):
6494 Use completion-at-point rather than obsolete alias.
6496 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6498 * minibuffer.el (read-file-name-completion-ignore-case):
6499 Move before completion--in-region, for eager macro expansion.
6501 2013-05-29 Juri Linkov <juri@jurta.org>
6503 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6504 for total count of matching lines. Add `global-matches' for total
6505 count of matches. Rename `matches' to `lines' for count of
6506 matching lines. Add `matches' for count of matches.
6507 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6508 to `prev-line' for line number of prev match endpt.
6509 Increment `matches' for every match. Print the number of
6510 matching lines in the header.
6511 (occur-context-lines): Rename `lines' to `curr-line'.
6512 Rename `prev-lines' to `prev-line'. (Bug#14017)
6514 2013-05-29 Juri Linkov <juri@jurta.org>
6516 * replace.el (perform-replace): Add `skip-read-only-count',
6517 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6518 Increment them for corresponding conditions and report the number
6519 of skipped occurrences in the final message. (Bug#11746)
6520 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6521 (replace-string, replace-regexp): Doc fix.
6523 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6525 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6527 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
6528 prog-mode-map (bug#14504).
6530 2013-05-29 Leo Liu <sdl.web@gmail.com>
6532 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6533 (octave-help): Small simplification.
6535 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6536 off the highlight first.
6538 2013-05-29 Glenn Morris <rgm@gnu.org>
6540 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6541 Handle idlwave-last-system-routine-info-cons-cell being nil.
6543 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6544 (idlwave-write-paths): Simplify via with-temp-buffer.
6546 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6547 * emulation/cua-rect.el: Also load cua-base at run time.
6549 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6550 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6551 (cperl-imenu-on-info): Require imenu.
6553 2013-05-28 Alan Mackenzie <acm@muc.de>
6555 Handle "capitalised keywords" correctly.
6556 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
6558 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
6560 * eshell/em-unix.el: Add -r option to cp.
6562 2013-05-28 Glenn Morris <rgm@gnu.org>
6564 * vc/vc-arch.el (vc-exec-after): Declare.
6565 (vc-switches): Autoload.
6566 * vc/vc-bzr.el: No need to require vc when compiling.
6567 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6568 (vc-resynch-buffer, vc-dir-refresh): Declare.
6569 (vc-setup-buffer, vc-switches): Autoload.
6570 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6571 (vc-resynch-buffer): Declare.
6572 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
6573 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
6574 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6575 (grep-read-regexp, grep-read-files, grep-expand-template)
6576 (vc-dir-refresh): Declare.
6577 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6578 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6579 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
6580 * vc/vc-mtn.el (vc-exec-after): Declare.
6581 (vc-switches): Autoload.
6582 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6583 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6584 (vc-file-tree-walk): Declare.
6585 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6586 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6587 (vc-tag-precondition, vc-rename-master): Autoload.
6588 * vc/vc-svn.el (vc-exec-after): Declare.
6589 (vc-switches, vc-setup-buffer): Autoload.
6590 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6592 (vc-resynch-buffer): Declare.
6594 * obsolete/fast-lock.el (byte-compile-warnings):
6595 Don't warn about obsolete features in this obsolete file.
6597 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6598 Move definition before use.
6600 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6601 (dun-unix-verbs): Remove dun-zippy.
6602 (dun-zippy): Remove function.
6604 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6606 2013-05-27 Juri Linkov <juri@jurta.org>
6608 * replace.el (replace-search): New function with code moved out
6609 from `perform-replace'.
6610 (replace-highlight, replace-dehighlight): Move function definitions
6611 up closer to `replace-search'. (Bug#11746)
6613 2013-05-27 Juri Linkov <juri@jurta.org>
6615 * replace.el (perform-replace): Ignore invisible matches.
6616 In addition to checking `query-replace-skip-read-only', also
6617 filter out matches by calling `run-hook-with-args-until-failure'
6618 on `isearch-filter-predicates', and also check `search-invisible'
6619 for t or call `isearch-range-invisible'.
6620 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6622 2013-05-27 Juri Linkov <juri@jurta.org>
6624 * isearch.el (isearch-filter-predicates): Rename from
6625 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6626 (isearch-message-prefix): Display text from the property
6627 `isearch-message-prefix' of the currently active filters.
6628 (isearch-search): Don't compare `isearch-filter-predicate' with
6629 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6630 on `isearch-filter-predicates'. Also check `search-invisible' for t
6631 or call `isearch-range-invisible'.
6632 (isearch-filter-visible): Make obsolete.
6633 (isearch-lazy-highlight-search):
6634 Call `run-hook-with-args-until-failure' on
6635 `isearch-filter-predicates' and use `isearch-range-invisible'.
6637 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6638 `isearch-filter-predicates' instead of `funcall'ing
6639 `isearch-filter-predicate'.
6640 (Info-mode): Set `Info-isearch-filter' to
6641 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6643 * dired-aux.el (dired-isearch-filter-predicate-orig):
6645 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6646 (dired-isearch-filenames-end): Add and remove
6647 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6648 instead of changing the value of `isearch-filter-predicate'.
6649 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6650 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6651 Put property `isearch-message-prefix' to "filename " on
6652 `dired-isearch-filter-filenames'.
6654 * wdired.el (wdired-change-to-wdired-mode):
6655 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6656 locally instead of changing `isearch-filter-predicate'.
6657 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6659 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6661 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6662 return the commit hash (Bug#14459). Also set the
6663 `vc-git-detached' property.
6664 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6665 (vc-git-mode-line-string): Use the same help-echo format whether
6666 in detached mode or not, because we know the actual revision now.
6667 When in detached mode, shorten the revision to 7 chars.
6669 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6671 * emacs-lisp/easy-mmode.el (define-minor-mode):
6672 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6673 mode hook and provide a docstring.
6675 2013-05-27 Alan Mackenzie <acm@muc.de>
6677 Remove spurious syntax-table text properties inserted by C-y.
6678 * progmodes/cc-mode.el (c-after-change): Also clear hard
6679 syntax-table property with value nil.
6681 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6683 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6684 when reading the events; the buffer layout shall not be changed.
6686 2013-05-27 Leo Liu <sdl.web@gmail.com>
6688 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6690 (inferior-octave-directory-tracker): Automatically re-sync
6692 (octave-help): Improve handling of 'See also'.
6694 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6696 * doc-view.el: Minor naming convention tweaks.
6697 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6699 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6700 even if there's no `display' property yet (bug#14435).
6702 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6704 * subr.el (unmsys--file-name): Rename from reveal-filename.
6706 * Makefile.in (custom-deps, finder-data, autoloads)
6707 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6708 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6709 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6711 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6713 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6714 error-completion on the first 2 args of condition-case (bug#14446).
6717 2013-05-25 Leo Liu <sdl.web@gmail.com>
6719 * comint.el (comint-previous-matching-input): Do not flood the
6720 *Messages* buffer with trivial messages.
6722 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6724 * progmodes/flymake.el (flymake-nop): Don't return a string.
6725 (flymake-set-at): Fix typo.
6727 * simple.el (read--expression): New function, extracted from
6728 eval-expression. Set completion-at-point-functions (bug#14465).
6729 (eval-expression, eval-minibuffer): Use it.
6731 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6733 * progmodes/flymake.el (flymake-save-buffer-in-file)
6734 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6735 (flymake-selected-frame, flymake-log, flymake-ins-after)
6736 (flymake-set-at, flymake-get-buildfile-from-cache)
6737 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6738 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6739 Refine the doc string.
6740 (flymake-get-file-name-mode-and-masks): Reformat.
6741 (flymake-get-real-file-name-function): Fix a minor bug.
6743 2013-05-24 Juri Linkov <juri@jurta.org>
6745 * progmodes/grep.el (grep-mode-font-lock-keywords):
6746 Support =linenumber= format used by git-grep for lines with
6747 function names. (Bug#13549)
6749 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6751 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6752 0 after a semi-colon; it works better for smie-auto-fill.
6753 (octave--indent-new-comment-line): New function.
6754 (octave-indent-new-comment-line): Use it (indirectly).
6755 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6756 modify comment-line-break-function.
6758 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6759 (smie-setup): Use add-function to set it.
6761 2013-05-24 Sam Steingold <sds@gnu.org>
6763 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6764 argument (before the `interactive' argument).
6766 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6768 * image-mode.el (image-mode-winprops): Add winprops to
6769 image-mode-winprops-alist before running
6770 image-mode-new-window-functions.
6771 * doc-view.el (doc-view-new-window-function): Don't delay
6772 doc-view-goto-page via timers (bug#14435).
6774 2013-05-24 Tassilo Horn <tsdh@gnu.org>
6776 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6777 (doc-view-desktop-save-buffer): New function.
6778 (doc-view-restore-desktop-buffer): New function.
6779 (desktop-buffer-mode-handlers):
6780 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6782 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6783 `desktop-save-buffer' function.
6785 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
6787 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6788 (tramp-gvfs-file-name-handler): Raise a user error when
6789 `tramp-gvfs-enabled' is nil.
6790 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6791 Do not raise a user error when loading package. (Bug#14447)
6793 * net/xesam.el: Move to obsolete/.
6795 2013-05-24 Glenn Morris <rgm@gnu.org>
6797 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6799 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6801 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6802 (Info-find-node, Man-getpage-in-background): Declare.
6804 * mail/unrmail.el (unrmail):
6805 Replace obsolete detect-coding-with-priority.
6807 * net/socks.el (socks-split-string): Use this rather than split-string.
6808 (socks-nslookup-host): Update for above change.
6809 (dynamic-choice, s5-dynamic-choice-match)
6810 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6811 Comment out unused code.
6813 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6814 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6815 (gud-tooltip-echo-area): Make obsolete.
6816 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6818 * progmodes/js.el (js--optimize-arglist): Declare.
6820 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6822 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6823 (ediff-window-C): Declare.
6825 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6826 Tweak requires to silence compiler.
6828 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6829 (he-search-string, he-tried-table, he-expand-list)
6830 (he-init-string, he-string-member, he-substitute-string)
6831 (he-reset-string): Declare.
6833 * obsolete/options.el (list-options): Use custom-variable-p,
6834 rather than obsolete alias.
6836 2013-05-23 Sam Steingold <sds@gnu.org>
6838 * simple.el (shell-command-on-region): Pass the `replace' argument
6839 down to `call-process-region' to comply with the doc as reported on
6840 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6842 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6844 * emacs-lisp/smie.el (smie-indent-forward-token)
6845 (smie-indent-backward-token): Handle string tokens (bug#14381).
6847 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6849 * ielm.el (ielm-menu): New menu.
6850 (inferior-emacs-lisp-mode): Set comment-start.
6852 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6854 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6855 Fix deactivate action.
6857 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6858 Add cleveref macros.
6860 * lisp/textmodes/reftex-parse.el
6861 (reftex-locate-bibliography-files): Accept options for
6862 bibliography commands.
6863 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6864 Add addbibresource. Basic Biblatex support.
6866 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
6868 * net/tramp-gvfs.el (top):
6869 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6870 when loading package. (Bug#14447)
6872 2013-05-23 Glenn Morris <rgm@gnu.org>
6874 * progmodes/js.el: No need to load comint when compiling.
6875 (ring-insert, comint-send-string, comint-send-input)
6876 (comint-last-input-end, ido-chop): Declare.
6878 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6879 * vc/ediff-mult.el: Adjust requires.
6880 (ediff-directories-internal, ediff-directory-revisions-internal)
6881 (ediff-patch-file-internal): Declare.
6882 * vc/ediff-ptch.el: Adjust requires.
6883 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6884 (ediff-find-file): Autoload.
6885 * vc/ediff-util.el: No need to load ediff when compiling.
6886 (ediff-regions-internal): Declare.
6887 * vc/ediff-wind.el: Adjust requires.
6888 (ediff-compute-toolbar-width): Define when compiling.
6889 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6890 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6891 (dired-get-filename, dired-get-marked-files)
6892 (ediff-last-dir-patch, ediff-patch-default-directory)
6893 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6894 (ediff-patch-buffer-internal): Declare.
6896 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6897 (ispell-process, ispell-buffer-local-words, lm-summary)
6898 (lm-section-start, lm-section-end): Declare.
6899 (checkdoc-ispell-init): Simplify.
6901 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6902 (he-string-member, he-reset-string, he-substitute-string): Declare.
6904 * eshell/em-ls.el: Adjust requires.
6905 (eshell-glob-regexp): Declare.
6906 * eshell/em-tramp.el: Adjust requires.
6907 (eshell-parse-command): Autoload.
6908 * eshell/em-xtra.el: Adjust requires.
6909 (eshell-parse-command): Autoload.
6910 * eshell/esh-ext.el: Adjust requires.
6911 (eshell-parse-command, eshell-close-handles): Autoload.
6912 * eshell/esh-io.el: Adjust requires.
6913 (eshell-output-filter): Autoload.
6914 * eshell/esh-util.el: No need to load tramp when compiling.
6915 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6917 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6918 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6919 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6920 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6921 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6922 * eshell/esh-opt.el, eshell/esh-proc.el:
6923 * eshell/esh-var.el: Adjust requires.
6924 * eshell/eshell.el: Do not require esh-util twice.
6925 (eshell-add-input-to-history): Declare.
6926 (eshell-command): Check history module is active before using it.
6928 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6930 2013-05-22 Leo Liu <sdl.web@gmail.com>
6932 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6934 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
6936 * autorevert.el (auto-revert-notify-add-watch)
6937 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6938 it indicates changes in file modification time.
6940 2013-05-22 Glenn Morris <rgm@gnu.org>
6942 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6943 Always delete the autoloaded function from the noruntime and
6944 unresolved functions lists.
6946 * allout.el: No need to load epa, epg, overlay when compiling.
6947 (epg-context-set-passphrase-callback, epg-list-keys)
6948 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6949 (epg-key-user-id-list): Declare.
6951 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6952 (viper-set-parsing-style-toggling-macro)
6953 (viper-set-emacs-state-searchstyle-macros):
6954 Use called-interactively-p on Emacs.
6955 (viper-looking-back): Make it an obsolete alias. Update callers.
6956 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6957 Use looking-back rather than viper-looking-back.
6958 (viper-tmp-insert-at-eob, viper-enlarge-region)
6959 (viper-read-string-with-history, viper-register-to-point)
6960 (viper-append-to-register, viper-change-state-to-vi)
6961 (viper-backward-char-carefully, viper-forward-char-carefully)
6962 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6963 (viper-change-state-to-emacs): Declare.
6964 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6965 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6966 * emulation/viper-mous.el: Do not load viper-cmd.
6967 (viper-backward-char-carefully, viper-forward-char-carefully)
6968 (viper-forward-word, viper-adjust-window): Declare.
6970 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6972 * progmodes/idlw-help.el (idlwave-help-fontify):
6973 Use called-interactively-p.
6975 * term/w32console.el (w32-get-console-codepage)
6976 (w32-get-console-output-codepage): Declare.
6978 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6979 Remove unnecessary declarations.
6980 (dframe-message): Doc fix.
6982 * info.el (dframe-select-attached-frame, dframe-current-frame):
6985 * speedbar.el (speedbar-message): Make it an obsolete alias.
6987 (speedbar-with-attached-buffer)
6988 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6989 (speedbar-with-writable): Use backquote.
6990 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6991 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6992 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6993 rather than speedbar- aliases.
6994 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6995 (speedbar-make-specialized-keymap, speedbar-insert-button)
6996 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6997 (speedbar-do-function-pointer): Declare.
6998 (rmail-speedbar-button, rmail-speedbar-find-file)
6999 (rmail-speedbar-move-message):
7000 Use dframe-with-attached-buffer rather than speedbar- alias.
7001 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7002 (dframe-message, speedbar-make-specialized-keymap)
7003 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7004 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7005 (speedbar-insert-button, dframe-select-attached-frame)
7006 (dframe-maybee-jump-to-attached-frame)
7007 (speedbar-change-initial-expansion-list)
7008 (speedbar-previously-used-expansion-list-name): Declare.
7009 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7010 Use dframe-message, dframe-with-attached-buffer rather than
7012 (gud-sentinel): Silence compiler.
7013 * progmodes/vhdl-mode.el (speedbar-refresh)
7014 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7015 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7016 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7017 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7018 (speedbar-file-lists, speedbar-make-tag-line)
7019 (speedbar-line-directory, speedbar-goto-this-file)
7020 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7021 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7022 (speedbar-make-button, speedbar-reset-scanners)
7023 (speedbar-files-item-info, speedbar-line-text)
7024 (speedbar-find-file-in-frame, speedbar-set-timer)
7025 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7026 (speedbar-with-writable): Do not (re)define it.
7027 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7028 rather than speedbar- alias.
7030 2013-05-21 Leo Liu <sdl.web@gmail.com>
7032 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7034 (octave-mode): Tweak fill-nobreak-predicate.
7035 (inferior-octave-startup): Check process to avoid infinite loop.
7036 (inferior-octave): Pop to buffer first to show abornmal process
7039 2013-05-21 Glenn Morris <rgm@gnu.org>
7041 * printing.el (pr-menu-bar): Define when compiling.
7043 2013-05-21 Leo Liu <sdl.web@gmail.com>
7045 * progmodes/octave.el (octave-auto-fill): Remove.
7046 (octave-indent-new-comment-line): Improve.
7047 (octave-mode): Use auto fill mode through
7048 comment-line-break-function and fill-nobreak-predicate.
7049 (octave-goto-function-definition): Support DEFUN_DLD.
7050 (octave-beginning-of-defun): Small tweak.
7051 (octave-help): Show parent directory.
7053 2013-05-21 Glenn Morris <rgm@gnu.org>
7055 * files.el (dired-unmark):
7056 * progmodes/gud.el (gdb-input): Update declarations.
7058 * calculator.el (electric, ehelp): No need to load when compiling.
7059 (Electric-command-loop, electric-describe-mode): Declare.
7061 * doc-view.el (doc-view-current-converter-processes): Move before use.
7063 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7064 Move MODE-set-explicitly definition before use.
7066 * international/mule-diag.el (mule-diag):
7067 Don't use obsolete window-system-version.
7069 * mail/feedmail.el (smtpmail): No need to load when compiling.
7070 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7072 * mail/mail-utils.el (rfc822): No need to load when compiling.
7073 (rfc822-addresses): Autoload it.
7074 (mail-strip-quoted-names): Trivial simplification.
7076 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7077 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7079 * net/snmp-mode.el (tempo): Don't duplicate requires.
7081 * progmodes/prolog.el (info): No need to load when compiling.
7082 (comint): Require before shell requires it.
7083 (Info-goto-node): Autoload it.
7084 (Info-follow-nearest-node): Declare.
7085 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7087 * textmodes/artist.el (picture-mode-exit): Declare.
7089 * textmodes/reftex-parse.el (reftex-parse-from-file):
7090 Trivial rewrite so the compiler can parse it better.
7092 2013-05-20 Leo Liu <sdl.web@gmail.com>
7094 * progmodes/octave.el (octave-help-mode-map)
7095 (octave-help-mode-finish-hook): New variables.
7096 (octave-help-mode, octave-help-mode-finish): New functions.
7097 (octave-help): Use octave-help-mode.
7099 2013-05-20 Glenn Morris <rgm@gnu.org>
7101 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7103 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7105 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7106 start at point, so that expansion starting right after opening
7107 slash in a regexp is recognized.
7108 (ruby-syntax-before-regexp-re): New defvar, extracted from
7109 ruby-syntax-propertize-function. Since the value of this regexp
7110 is looked up at runtime now, we should be able to turn
7111 `ruby-syntax-methods-before-regexp' into a defcustom later.
7112 (ruby-syntax-propertize-function): Split regexp matching into two
7113 parts, for opening and closing slashes. That allows us to skip
7114 over string interpolations and support multiline regexps.
7115 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7116 for them, which calls `ruby-syntax-propertize-expansion'.
7117 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7118 call to `ruby-syntax-propertize-function'.
7119 (ruby-syntax-propertize-expansion): Extracted from
7120 `ruby-syntax-propertize-expansions'. Handles one expansion.
7121 (ruby-syntax-propertize-percent-literal): Leave point right after
7122 the percent symbol, so that the expression expansion rule can
7123 propertize the contents.
7124 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7126 (ruby-syntax-propertize-expansions): Remove.
7128 2013-05-18 Juri Linkov <juri@jurta.org>
7130 * man.el (Man-default-man-entry): Remove `-' from the end
7131 of the default value. (Bug#14400)
7133 2013-05-18 Glenn Morris <rgm@gnu.org>
7135 * comint.el (comint-password-prompt-regexp):
7136 Allow "password for XXX" where XXX contains colons (eg https://...).
7138 2013-05-18 Leo Liu <sdl.web@gmail.com>
7140 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7141 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
7142 (octave-source-directories): Don't check process.
7143 (octave-source-directories, octave-find-definition): Doc fix.
7145 2013-05-18 Glenn Morris <rgm@gnu.org>
7147 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7148 Remove backspace/delete bindings. (Bug#14392)
7150 * cus-dep.el (custom-make-dependencies): Sort the output.
7151 (custom-versions-load-alist): Convert comment to doc.
7153 2013-05-17 Leo Liu <sdl.web@gmail.com>
7155 * newcomment.el (comment-search-backward): Stricter in finding
7156 comment start. (Bug#14303)
7158 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7159 (octave-comment-start-skip): Properly anchored.
7161 2013-05-17 Leo Liu <sdl.web@gmail.com>
7163 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7164 Clean up when turned off. (Bug#14395)
7165 (smie--highlight-matching-block-overlay): No longer buffer-local.
7166 (smie-highlight-matching-block): Adjust.
7168 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7170 Doc string fix for "nanoseconds" (Bug#14406).
7171 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7172 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7174 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7176 * calc/calc-units.el (math-extract-units): Preserve powers
7179 2013-05-17 Leo Liu <sdl.web@gmail.com>
7181 * subr.el (delete-consecutive-dups): New function.
7182 * ido.el (ido-set-matches-1): Use it.
7183 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7184 * ido.el (ido-remove-consecutive-dups): Remove.
7186 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7188 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7189 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7190 regexp-opt's `words'.
7192 2013-05-16 Leo Liu <sdl.web@gmail.com>
7194 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7195 (smie--highlight-matching-block-overlay)
7196 (smie--highlight-matching-block-lastpos)
7197 (smie--highlight-matching-block-timer): New variables.
7198 (smie-highlight-matching-block): New function.
7199 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7200 (smie-setup): Conditionally enable smie-blink-matching-open.
7202 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7204 Sync with upstream verilog-mode r840.
7205 * progmodes/verilog-mode.el (verilog-mode-version)
7206 (verilog-mode-release-date): Update.
7207 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7208 (verilog-sig-tieoff): Fix string error on
7209 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7210 (verilog-read-decls): Fix parameters confusing
7211 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7213 2013-05-16 Eli Zaretskii <eliz@gnu.org>
7215 * subr.el (reveal-filename): New function.
7217 * loadup.el: Compute Emacs executable versions on MS-Windows,
7218 where executables have the .exe extension. Add a hard link
7219 emacs-XX.YY.ZZ.exe on MS-Windows.
7221 * Makefile.in (XARGS_LIMIT): New variable.
7222 (custom-deps, finder-data, autoloads)
7223 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7224 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7225 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7226 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7228 2013-05-16 Leo Liu <sdl.web@gmail.com>
7230 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7231 (octave-mode-menu, octave-mode-map): Remove its uses.
7233 2013-05-16 Reto Zimmermann <reto@gnu.org>
7235 Sync with upstream vhdl mode v3.34.2.
7236 * progmodes/vhdl-mode.el: Use `push' throughout.
7237 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7238 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7239 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7240 (vhdl-actual-generic-name): New option to derive actual generic name.
7241 (vhdl-port-paste-signals): Replace formal by actual generics.
7242 (vhdl-beautify): New name for old group vhdl-align. Update users.
7243 (vhdl-beautify-options): New option.
7244 (vhdl-last-input-event): New compat alias. Use throughout.
7245 (vhdl-goto-line): Replace user level function `goto-line'.
7246 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7247 vhdl-fix-statement-buffer.
7248 (vhdl-create-mode-menu): Add some entries.
7249 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7250 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7251 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7252 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7253 to force statements on one line.
7254 (vhdl-remove-trailing-spaces-region):
7255 New, split from vhdl-remove-trailing-spaces.
7256 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7257 Respect vhdl-beautify-options.
7258 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7259 (vhdl-update-sensitivity-list): Not add with index if exists without.
7260 Not include array index with signal. Ignore keywords in comments.
7261 (vhdl-get-visible-signals): Regexp tweaks.
7262 (vhdl-template-component-inst): Handle empty library.
7263 (vhdl-template-type): Add template for 'enum' type.
7264 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7265 Use vhdl-replace-string.
7266 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7267 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7268 (vhdl-speedbar-initialize): Update for above name change.
7269 (vhdl-compose-wire-components): Fix in handling of constants.
7270 (vhdl-error-regexp-emacs-alist): New variable.
7271 (vhdl-error-regexp-add-emacs): New function;
7272 adds support for new compile.el (Emacs 22+)
7273 (vhdl-generate-makefile-1): Change target order for single lib. units.
7274 Allow use of absolute file names.
7276 2013-05-16 Leo Liu <sdl.web@gmail.com>
7278 * simple.el (prog-indent-sexp): Indent enclosing defun.
7280 2013-05-15 Glenn Morris <rgm@gnu.org>
7282 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7283 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7284 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7285 (whitespace-highlight): Move to whitespace group.
7287 * comint.el (comint-source):
7288 * pcmpl-linux.el (pcmpl-linux):
7289 * shell.el (shell-faces):
7290 * eshell/esh-opt.el (eshell-opt):
7291 * international/ccl.el (ccl): Remove empty custom groups.
7293 * completion.el (dynamic-completion-mode):
7294 * jit-lock.el (jit-lock-debug-mode):
7295 * minibuffer.el (completion-in-region-mode):
7296 * type-break.el (type-break-mode-line-message-mode)
7297 (type-break-query-mode):
7298 * emulation/tpu-edt.el (tpu-edt-mode):
7299 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7300 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7301 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7303 * term/xterm.el (xterm): Change parent group to terminals.
7305 * master.el (master): Remove empty custom group.
7306 (master-mode): Remove unused :group argument.
7307 * textmodes/refill.el (refill): Remove empty custom group.
7308 (refill-mode): Remove unused :group argument.
7310 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7312 * cus-dep.el: Provide a feature.
7313 (custom-make-dependencies): Ignore dotfiles (dir-locals).
7314 Don't mistakenly ignore files whose basenames match a basename
7315 from preloaded-file-list (eg cedet/ede/simple.el).
7316 Add a fallback method for getting :group.
7318 2013-05-15 Juri Linkov <juri@jurta.org>
7320 * isearch.el (isearch-char-by-name): Rename from
7321 `isearch-insert-char-by-name'. Doc fix.
7322 (isearch-forward): Mention `isearch-char-by-name' in
7323 the docstring. (Bug#13348)
7325 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7326 `exit-minibuffer' instead of
7327 `isearch-nonincremental-exit-minibuffer'.
7328 (isearch-edit-string): Remove mention of
7329 `isearch-nonincremental-exit-minibuffer' from docstring.
7330 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7331 (isearch-forward-exit-minibuffer)
7332 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7334 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7336 * loadup.el: Just use unversioned DOC.
7338 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7339 literals as extending to EOB.
7340 (nxml-last-fontify-end): Remove unused variable.
7341 (nxml-after-change1): Use with-silent-modifications.
7342 (nxml-extend-after-change-region): Simplify.
7343 (nxml-extend-after-change-region1): Remove function.
7344 (nxml-after-change1): Don't adjust for dependent regions.
7345 (nxml-fontify-matcher): Simplify.
7346 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7347 (xmltok-add-dependent): Remove function.
7348 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7349 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7350 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7351 unclosed <[[, <?, comment, and other literals as extending to EOB.
7352 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7353 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7355 (rng-do-some-validation-1): Don't mark dependent regions.
7356 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7357 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7358 (nxml-clear-dependent-regions): Remove functions.
7359 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7360 (nxml-ensure-scan-up-to-date):
7361 Don't clear&mark dependent regions.
7363 2013-05-15 Leo Liu <sdl.web@gmail.com>
7365 * progmodes/octave.el (octave-goto-function-definition):
7366 Improve and fix callers.
7368 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7370 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7371 the setter (bug#14387).
7373 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7374 surrounding group (bug#14402).
7376 2013-05-14 Juri Linkov <juri@jurta.org>
7378 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7381 2013-05-14 Glenn Morris <rgm@gnu.org>
7383 * progmodes/f90.el (f90-imenu-generic-expression):
7384 Fix typo in 2013-05-08 change. (Bug#14402)
7386 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7388 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7389 Remove signals for which replies are never received.
7391 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7393 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7394 (gdb-handler-alist, gdb-handler-number): Remove variables.
7395 (gdb-handler-list): New variable.
7396 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7397 (gdb-pending-handler-p, gdb-handle-reply)
7398 (gdb-remove-all-pending-triggers): New functions.
7399 (gdb-discard-unordered-replies): New defcustom.
7400 (gdb-handler): New defstruct.
7401 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7402 instead of gdb-pending-triggers. Update docstring.
7403 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7404 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7405 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7406 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7407 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7408 (gdb-frame-handler): Pending triggers are now automatically managed.
7409 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7411 (gdb-input): Automatically handles pending triggers. Update docstring.
7412 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7413 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7415 (gdb-done-or-error): Now use gdb-handle-reply.
7417 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7419 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7422 2013-05-14 Glenn Morris <rgm@gnu.org>
7424 * subr.el (user-emacs-directory-warning): New option.
7425 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7427 2013-05-14 Leo Liu <sdl.web@gmail.com>
7429 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7431 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7432 (octave-font-lock-texinfo-comment): Fix invalid search bound
7433 error: wrong side of point.
7435 2013-05-14 Glenn Morris <rgm@gnu.org>
7437 * progmodes/flymake.el (flymake-xml-program): New option.
7438 (flymake-xml-init): Use it.
7440 * term/xterm.el: Provide a feature.
7442 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
7444 2013-05-13 Glenn Morris <rgm@gnu.org>
7446 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7447 Add compat aliases as a hack workaround. (Bug#14384)
7449 2013-05-13 Leo Liu <sdl.web@gmail.com>
7451 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7453 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7455 (octave-comment-start-skip): Include %!.
7456 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7458 2013-05-12 Leo Liu <sdl.web@gmail.com>
7460 * progmodes/octave.el (inferior-octave-startup): Store the value
7461 of __octave_srcdir__ for octave-source-directories.
7462 (inferior-octave-check-process): New function refactored out of
7463 inferior-octave-send-list-and-digest.
7464 (octave-source-directories)
7465 (octave-find-definition-filename-function): New variables.
7466 (octave-source-directories)
7467 (octave-find-definition-default-filename): New functions.
7468 (octave-find-definition): Improve to find functions implemented in C++.
7470 2013-05-12 Glenn Morris <rgm@gnu.org>
7472 * calendar/diary-lib.el (diary-outlook-format-1):
7473 Don't include dayname in the output. (Bug#14349)
7475 2013-05-11 Glenn Morris <rgm@gnu.org>
7477 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7479 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7480 Treat cc-provide like provide.
7482 2013-05-11 Kevin Ryde <user42@zip.com.au>
7484 * cus-dep.el (custom-make-dependencies):
7485 Use generated-autoload-load-name for the sake of files such
7486 such cedet/semantic/bovine/c.el, where the base file name
7487 is not in load-path. (Bug#5277)
7489 2013-05-11 Glenn Morris <rgm@gnu.org>
7491 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7494 2013-05-11 Leo Liu <sdl.web@gmail.com>
7496 * progmodes/octave.el (octave-indent-comment): Improve.
7497 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
7498 (octave-eldoc-function-signatures, octave-eldoc-function):
7500 (octave-mode, inferior-octave-mode): Add eldoc support.
7502 2013-05-11 Richard Stallman <rms@gnu.org>
7504 * epa.el (epa-decrypt-file): Take output file name as argument
7505 and read it using `interactive'.
7507 2013-05-11 Leo Liu <sdl.web@gmail.com>
7509 * progmodes/octave.el (octave-beginning-of-line)
7510 (octave-end-of-line): Check before using up-list because it jumps
7511 out of more syntactic contructs since moving to smie.
7512 (octave-indent-comment): New function.
7513 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
7514 (octave-begin-keywords, octave-end-keywords)
7515 (octave-reserved-words, octave-smie-bnf-table)
7516 (octave-smie-rules): Add new keywords from Octave 3.6.4.
7518 2013-05-11 Glenn Morris <rgm@gnu.org>
7520 * faces.el (internal-face-x-get-resource):
7521 * frame.el (ns-display-monitor-attributes-list):
7522 * calc/calc-aent.el (math-to-radians-2):
7523 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
7526 * calc/calc-menu.el: Make it loadable in isolation.
7528 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7529 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7530 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7531 (eudc-bbdb-query-internal): Require 'bbdb.
7533 * lpr.el (lpr-headers-switches):
7534 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7536 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7538 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7540 * term.el (term-set-escape-char): Make it idempotent.
7542 2013-05-10 Leo Liu <sdl.web@gmail.com>
7544 * progmodes/octave.el (inferior-octave-completion-table):
7545 No longer a function and all uses changed. Use cache to speed up
7546 completion due to bug#11906.
7547 (octave-beginning-of-defun): Re-write to be more general.
7549 2013-05-10 Glenn Morris <rgm@gnu.org>
7551 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7553 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7555 * comint.el (comint-redirect-send-command-to-process): Use :around
7556 rather than :override for comint-redirect-filter.
7557 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7558 Call it instead of comint-redirect-original-filter-function (which
7559 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7561 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7563 * frame.el (display-monitor-attributes-list): Add NS case.
7564 (ns-display-monitor-attributes-list): Declare.
7566 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
7568 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7570 2013-05-09 Glenn Morris <rgm@gnu.org>
7572 * international/fontset.el (vertical-centering-font-regexp):
7575 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7577 * bookmark.el (bookmark-search-delay):
7578 * cus-start.el (vertical-centering-font-regexp):
7579 * ps-mule.el (ps-mule-font-info-database-default):
7580 * ps-print.el (ps-default-fg, ps-default-bg):
7581 * type-break.el (type-break-good-break-interval):
7582 * whitespace.el (whitespace-indentation-regexp)
7583 (whitespace-space-after-tab-regexp):
7584 * emacs-lisp/testcover.el (testcover-1value-functions)
7585 (testcover-noreturn-functions, testcover-progn-functions)
7586 (testcover-prog1-functions):
7587 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7588 * eshell/em-glob.el (eshell-glob-translate-alist):
7589 * play/tetris.el (tetris-tty-colors):
7590 * progmodes/cpp.el (cpp-face-default-list):
7591 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7592 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7593 (idlwave-help-browser-generic-args):
7594 * progmodes/make-mode.el (makefile-special-targets-list):
7595 * progmodes/python.el (python-shell-virtualenv-path):
7596 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7597 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7598 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7599 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7600 * textmodes/reftex-vars.el (reftex-format-label-function):
7601 * textmodes/remember.el (remember-diary-file): Fix custom types.
7603 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7606 2013-05-09 Leo Liu <sdl.web@gmail.com>
7608 * progmodes/octave.el (inferior-octave-completion-at-point):
7609 Restore file completion. (Bug#14300)
7610 (inferior-octave-startup): Fix incorrect highlighting for the
7613 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7615 * progmodes/ruby-mode.el: First cut at SMIE support.
7616 (ruby-use-smie): New var.
7617 (ruby-smie-grammar): New constant.
7618 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7619 (ruby-smie--forward-token, ruby-smie--backward-token)
7620 (ruby-smie-rules): New functions.
7621 (ruby-mode-variables): Setup SMIE if applicable.
7623 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7625 * simple.el (line-move-visual): Signal beginning/end of buffer
7626 only if vertical-motion moved less than it was requested. Avoids
7627 silly incorrect error messages when there are display strings with
7628 multiple newlines at EOL.
7630 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7632 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7633 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7634 (prolog-char-quote-workaround):
7635 * progmodes/cperl-mode.el (cperl-under-as-char):
7636 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7638 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7640 (vhdl-mode-syntax-table-init): Remove.
7642 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7645 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7647 (ld-script-font-lock-keywords):
7648 Change regexps to use things like \_< and \_>.
7650 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7651 Change all regexps to use things like \_< and \_>.
7653 * progmodes/autoconf.el (autoconf-definition-regexp)
7654 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7655 Handle a _ with symbol syntax.
7656 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7658 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7659 Consolidate declaration.
7660 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7662 (ada-create-syntax-table): Remove.
7663 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7664 already has the right syntax nowadays.
7665 (ada-goto-next-word): Don't change the syntax of "_".
7667 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7670 2013-05-08 Sam Steingold <sds@gnu.org>
7672 * thingatpt.el (thing-at-point): Accept optional second argument
7673 NO-PROPERTIES to strip the text properties from the return value.
7674 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7675 to `thing-at-point' instead of stripping the properties ourselves.
7676 Also, when `thing-at-point' fails to find a url, prepend "http://"
7677 to the filename at point on the assumption that the user is
7678 pointing at something like gnu.org/gnu.
7680 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7682 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7683 * faces.el (crm-separator):
7684 Silence byte-compiler.
7686 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7687 (tool-bar-map): Remove unneeded defvars.
7689 2013-05-08 Leo Liu <sdl.web@gmail.com>
7691 Re-work a fix for bug#10994 based on Le Wang's patch.
7692 * ido.el (ido-remove-consecutive-dups): New helper.
7693 (ido-completing-read): Use it.
7694 (ido-chop): Revert fix for bug#10994.
7696 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7698 * cus-edit.el (custom-save-variables):
7699 Pretty-print long values. (Bug#14187)
7701 2013-05-08 Glenn Morris <rgm@gnu.org>
7703 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7704 (m4-mode-syntax-table): Init in the defvar.
7705 (m4-mode-abbrev-table): Let define-derived-mode define it.
7707 2013-05-08 Tom Tromey <tromey@redhat.com>
7709 * progmodes/m4-mode.el (m4-mode-syntax-table):
7710 Do not treat "_" as word constituent. (Bug#14167)
7712 2013-05-07 Glenn Morris <rgm@gnu.org>
7714 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7715 Remove explicit eshell-isearch-cancel-map.
7717 * progmodes/f90.el (f90-smart-end-names): New option.
7718 (f90-smart-end): Doc fix.
7719 (f90-end-block-optional-name): New constant.
7720 (f90-block-match): Respect f90-smart-end-names.
7722 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7724 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7725 about implicit semi-colons (bug#14218).
7727 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7729 * frame.el (display-monitor-attributes-list)
7730 (frame-monitor-attributes): New functions.
7732 2013-05-06 Leo Liu <sdl.web@gmail.com>
7734 * progmodes/octave.el (octave-syntax-propertize-function): Change
7735 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7736 (octave-font-lock-keywords): Use octave-operator-regexp.
7737 (octave-completion-at-point): Rename from
7738 octave-completion-at-point-function.
7739 (inferior-octave-directory-tracker): Robustify.
7740 (octave-text-functions): Remove and fix its uses. No such things
7743 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7745 * emacs-lisp/trace.el (trace--display-buffer): New function.
7746 (trace-make-advice): Use it.
7748 2013-05-06 Juri Linkov <juri@jurta.org>
7750 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7751 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7753 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7754 in the help string. (Bug#12985)
7756 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7758 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7760 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7762 * progmodes/perl-mode.el: Add support for here documents.
7763 (perl-syntax-propertize-function): Match here-doc markers.
7764 (perl-syntax-propertize-special-constructs): Find their end.
7765 (perl-imenu-generic-expression): Use [:alnum:].
7767 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7768 (advice--add-function): Refresh the advice if already present
7771 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
7773 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7775 2013-05-06 Glenn Morris <rgm@gnu.org>
7777 * w32-fns.el (w32-charset-info-alist): Declare.
7779 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7780 of its defcustom properties.
7781 (eshell-cmpl-initialize): No need to load pcomplete.
7783 * generic-x.el: No need to require comint when compiling.
7785 * net/eudc-export.el: Make it loadable without bbdb.
7786 (top-level): Use require rather than load-library.
7787 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7788 (eudc-batch-export-records-to-bbdb)
7789 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7792 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7794 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7795 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7796 some tweaks, instead.
7798 2013-05-05 Leo Liu <sdl.web@gmail.com>
7800 * progmodes/octave.el (octave-font-lock-keywords)
7801 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7802 (inferior-octave-send-list-and-digest): Improve error message.
7803 (octave-mode, inferior-octave-mode): Use setq-local.
7804 (octave-help): Set info-lookup-mode.
7806 2013-05-05 Richard Stallman <rms@gnu.org>
7808 * vc/compare-w.el (compare-windows-whitespace):
7809 Treat no-break space as whitespace.
7811 * mail/rmailsum.el (rmail-summary-rmail-update):
7812 Detect empty summary and don't change selected message.
7813 (rmail-summary-goto-msg): Likewise.
7815 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7816 Doc fixes, rename args.
7818 2013-05-05 Alan Mackenzie <acm@muc.de>
7820 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7822 2013-05-05 Juri Linkov <juri@jurta.org>
7824 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7825 to not add the length of the summary segment to the return value.
7828 2013-05-05 Leo Liu <sdl.web@gmail.com>
7830 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7831 (inferior-octave-output-filter): Remove.
7832 (octave-send-region, inferior-octave-startup): Fix callers.
7833 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7834 (octave-binary-file-extensions): New user variable.
7835 (octave-find-definition): Confirm if opening binary files.
7836 (octave-help-file): Use octave-find-definition to get the binary
7838 (octave-help): Adjust for octave-help-file change.
7840 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7842 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7843 Merge the two entries that handle function definitions.
7844 (pascal--syntax-propertize): New const.
7845 (pascal-mode): Use it. Use setq-local.
7847 2013-05-04 Glenn Morris <rgm@gnu.org>
7849 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7850 (diary-from-outlook): Respect diary-from-outlook-function.
7852 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7854 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7855 Move the declaration from C.
7856 (read-minibuffer, eval-minibuffer): Move from C.
7857 (completion-setup-function): Avoid minibuffer-completion-contents.
7859 2013-05-03 Leo Liu <sdl.web@gmail.com>
7861 * progmodes/octave.el (octave-font-lock-keywords): Do not
7862 dehighlight 'end' in comments or strings.
7863 (octave-completing-read, octave-goto-function-definition):
7865 (octave-help-buffer): New user variable.
7866 (octave-help-file, octave-help-function): New button types.
7867 (octave-help): New command and bind it to C-h ;.
7868 (octave-find-definition): New command and bind it to M-.
7869 (user-error): Alias to error if not defined.
7871 2013-05-02 Leo Liu <sdl.web@gmail.com>
7873 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7875 (octave-font-lock-keywords): Include [ and {.
7877 2013-05-02 Leo Liu <sdl.web@gmail.com>
7879 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7880 (inferior-octave): Remove calling comint-mode and return the buffer.
7881 (inferior-octave-startup): Cosmetic changes.
7883 2013-05-02 Leo Liu <sdl.web@gmail.com>
7885 * progmodes/octave.el (octave-syntax-propertize-function):
7886 Include the case when ' is at line beginning. (Bug#14336)
7888 2013-05-02 Glenn Morris <rgm@gnu.org>
7890 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7891 * desktop.el (vc-dir-mode): Just autoload it here.
7893 2013-05-02 Alan Mackenzie <acm@muc.de>
7895 Eliminate variable c-standard-font-lock-fontify-region-function.
7896 * progmodes/cc-mode.el
7897 (c-standard-font-lock-fontify-region-function): Remove.
7898 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7900 2013-05-01 Leo Liu <sdl.web@gmail.com>
7902 * progmodes/octave.el: Compatible with older emacs-24 releases.
7903 (inferior-octave-has-built-in-variables): Remove. Built-in
7904 variables were removed from Octave in 2007.
7905 (inferior-octave-startup): Fix uses.
7906 (comint-line-beginning-position): Remove compatibility code for
7909 2013-05-01 Juri Linkov <juri@jurta.org>
7911 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7913 2013-05-01 Juri Linkov <juri@jurta.org>
7915 * comint.el (comint-previous-matching-input): Don't print message
7916 "History item: %d" when `isearch-mode' is active.
7917 (comint-history-isearch-message): Print message "History item: %d"
7918 when `comint-input-ring-index' is not empty and this function is
7919 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7921 2013-05-01 Leo Liu <sdl.web@gmail.com>
7923 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7924 definitions. Use completion-at-point to insert keywords.
7925 (octave-abbrev-start): Remove.
7926 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7928 2013-04-30 Leo Liu <sdl.web@gmail.com>
7930 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7933 2013-04-30 Alan Mackenzie <acm@muc.de>
7935 Handle arbitrarily long C++ member initialisation lists.
7936 * progmodes/cc-engine.el (c-back-over-member-initializers):
7938 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7939 (most) member init lists.
7941 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7943 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7946 2013-04-30 Leo Liu <sdl.web@gmail.com>
7948 * progmodes/octave.el (octave-variables): Remove. No builtin
7949 variables any more. All converted to functions.
7950 (octave-font-lock-keywords, octave-completion-at-point-function):
7952 (octave-font-lock-texinfo-comment): New user variable.
7953 (octave-texinfo-font-lock-keywords): New variable for texinfo
7955 (octave-function-comment-block): New face.
7956 (octave-font-lock-texinfo-comment): New function.
7957 (octave-mode): Font lock texinfo comment block.
7959 2013-04-29 Leo Liu <sdl.web@gmail.com>
7961 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7962 indexing expression.
7963 (octave-continuation-string): Do not use \.
7964 (inferior-octave-complete-impossible): Remove.
7965 (inferior-octave-completion-table)
7966 (inferior-octave-completion-at-point): Remove its uses.
7967 (inferior-octave-startup): completion_matches was introduced to
7968 Octave in 1996 so safe to assume it.
7969 (octave-function-file-comment): Improve to follow how Octave does it.
7970 (octave-update-function-file-comment): Tweak.
7972 2013-04-29 Leo Liu <sdl.web@gmail.com>
7974 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7975 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7976 (octave-function-file-comment): Fix typo.
7977 (octave-sync-function-file-names): Use read-char-choice.
7979 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7981 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7982 to t for the less important warnings.
7984 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7986 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7988 2013-04-27 Glenn Morris <rgm@gnu.org>
7990 * vc/log-view.el (log-view-current-entry):
7991 Treat "---" separator lines as part of the following rev. (Bug#14169)
7993 2013-04-27 Juri Linkov <juri@jurta.org>
7995 * subr.el (read-number): Doc fix about using it by interactive
7996 code letter `n'. (Bug#14254)
7998 2013-04-27 Juri Linkov <juri@jurta.org>
8000 * desktop.el (desktop-auto-save-timeout): New option.
8001 (desktop-file-checksum): New variable.
8002 (desktop-save): Add optional arg `auto-save' and don't auto-save
8004 (desktop-auto-save-timer): New variable.
8005 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8006 (after-init-hook): Call `desktop-auto-save-set-timer'.
8007 Suggested by Reuben Thomas <rrt@sc3d.org> in
8008 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8010 2013-04-27 Leo Liu <sdl.web@gmail.com>
8012 * progmodes/octave.el (octave-function-file-p)
8013 (octave-skip-comment-forward, octave-function-file-comment)
8014 (octave-update-function-file-comment): New functions.
8015 (octave-mode-map): Bind C-c ; to
8016 octave-update-function-file-comment.
8017 (octave-mode-menu): Add octave-update-function-file-comment.
8018 (octave-mode, inferior-octave-mode): Fix doc-string.
8019 (octave-insert-defun): Conform to Octave's coding convention.
8022 * files.el (basic-save-buffer): Don't let errors in
8023 before-save-hook prevent saving buffer.
8025 2013-04-20 Roland Winkler <winkler@gnu.org>
8027 * faces.el (read-face-name): Use completing-read if arg multiple
8030 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8032 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8033 displayed, move point to after the totals line.
8034 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8037 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8039 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8040 Add current dir to the load-path.
8041 (package-generate-autoloads): Don't rely on
8042 autoload-ensure-default-file.
8044 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8046 * textmodes/remember.el (remember-store-in-files): Document that
8047 the file name format is passed to `format-time-string'.
8049 2013-04-26 Leo Liu <sdl.web@gmail.com>
8051 * progmodes/octave.el (octave-sync-function-file-names): New function.
8052 (octave-mode): Use it in before-save-hook.
8054 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8056 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8059 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8060 \n and comment, even if it's not an implicit ; (bug#14218).
8062 2013-04-26 Glenn Morris <rgm@gnu.org>
8064 * subr.el (read-number): Once more use `read' rather than
8065 `string-to-number', to trap non-numeric input. (Bug#14254)
8067 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8069 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8070 Use `syntax-multiline' text property consistently instead of
8071 `font-lock-multiline'. (Bug#14237)
8073 2013-04-26 Glenn Morris <rgm@gnu.org>
8075 * emacs-lisp/shadow.el (list-load-path-shadows):
8076 No longer necessary to check for duplicate simple.el, since
8077 2012-07-07 change to init_lread to not include installation lisp
8078 directories in load-path when running uninstalled. (Bug#14270)
8080 2013-04-26 Leo Liu <sdl.web@gmail.com>
8082 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8083 (octave-mode, inferior-octave-mode): Use setq-local.
8084 (octave-not-in-string-or-comment-p): Rename to
8085 octave-in-string-or-comment-p.
8086 (octave-in-comment-p, octave-in-string-p)
8087 (octave-in-string-or-comment-p): Replace defsubst with defun.
8089 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8091 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8093 2013-04-25 Bastien Guerry <bzg@gnu.org>
8095 * textmodes/remember.el (remember-data-directory)
8096 (remember-directory-file-name-format): Fix custom types.
8098 2013-04-25 Leo Liu <sdl.web@gmail.com>
8100 * progmodes/octave.el (octave-completion-at-point-function):
8101 Make use of inferior octave process.
8102 (octave-initialize-completions): Remove.
8103 (inferior-octave-completion-table): New function.
8104 (inferior-octave-completion-at-point): Use it.
8105 (octave-completion-alist): Remove.
8107 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8109 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8110 (opascal-mode-syntax-table): New var.
8111 (opascal-literal-kind, opascal-is-literal-end)
8112 (opascal-literal-token-at): Rewrite.
8113 (opascal--literal-start-re, opascal-font-lock-keywords)
8114 (opascal--syntax-propertize): New constants.
8115 (opascal-font-lock-defaults): Adjust.
8116 (opascal-mode): Use them. Set comment-<foo> variables as well.
8117 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8118 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8119 (delphi-other-face, opascal-other-face): Remove face variables.
8120 (opascal-save-state): Remove macro.
8121 (opascal-fontifying-progress-step): Remove constant.
8122 (opascal--ignore-changes): Remove var.
8123 (opascal-set-token-property, opascal-parse-next-literal)
8124 (opascal-is-stable-literal, opascal-complete-literal)
8125 (opascal-is-literal-start, opascal-face-of)
8126 (opascal-parse-region, opascal-parse-region-until-stable)
8127 (opascal-fontify-region, opascal-after-change)
8128 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8129 (opascal-debug-parse-region, opascal-debug-parse-window)
8130 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8131 (opascal-debug-fontify-buffer): Remove.
8132 (opascal-debug-mode-map): Adjust accordingly.
8134 2013-04-25 Leo Liu <sdl.web@gmail.com>
8136 Merge octave-mod.el and octave-inf.el into octave.el with some
8138 * progmodes/octave.el: New file renamed from octave-mod.el.
8139 * progmodes/octave-inf.el: Merged into octave.el.
8140 * progmodes/octave-mod.el: Renamed to octave.el.
8142 2013-04-25 Tassilo Horn <tsdh@gnu.org>
8144 * textmodes/reftex-vars.el
8145 (reftex-label-ignored-macros-and-environments): New defcustom.
8147 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8149 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8151 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8152 (smie-indent-keyword): Improve the check to ensure that the next
8153 comment is really on the same line.
8154 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8156 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8157 semi-colons if the line is not otherwise empty (bug#14218).
8159 2013-04-25 Glenn Morris <rgm@gnu.org>
8161 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8163 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8165 * progmodes/opascal.el (opascal-set-token-property): Rename from
8166 opascal-set-text-properties and only set `token' (bug#14134).
8167 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8168 (opascal-literal-text-properties): Remove.
8169 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8172 2013-04-24 Reuben Thomas <rrt@sc3d.org>
8174 * textmodes/remember.el (remember-handler-functions): Add an
8175 option for a new handler `remember-store-in-files'.
8176 (remember-data-directory, remember-directory-file-name-format):
8178 (remember-store-in-files): New function to store remember notes
8179 as separate files within a directory.
8181 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8183 * progmodes/compile.el (compilation-next-error-function):
8184 Pass "formats" to compilation-find-file (bug#11777).
8186 2013-04-24 Glenn Morris <rgm@gnu.org>
8188 * vc/vc-bzr.el (vc-bzr-print-log):
8189 * vc/vc-hg.el (vc-hg-print-log):
8190 * vc/vc-svn.el (vc-svn-print-log):
8191 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8193 * vc/vc-bzr.el (vc-bzr-print-log):
8194 * vc/vc-cvs.el (vc-cvs-print-log):
8195 * vc/vc-git.el (vc-git-print-log):
8196 * vc/vc-hg.el (vc-hg-print-log):
8197 * vc/vc-mtn.el (vc-mtn-print-log):
8198 * vc/vc-rcs.el (vc-rcs-print-log):
8199 * vc/vc-sccs.el (vc-sccs-print-log):
8200 * vc/vc-svn.el (vc-svn-print-log):
8201 * vc/vc.el (vc-print-log-internal): Doc fixes.
8203 2013-04-23 Glenn Morris <rgm@gnu.org>
8205 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8206 Remove venerable code attempting to avoid substitute-command-keys.
8208 2013-04-23 Tassilo Horn <tsdh@gnu.org>
8210 * textmodes/reftex-vars.el (reftex-label-regexps):
8211 Call `reftex-compile-variables' after changes to this variable.
8213 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8215 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
8216 Use lexical-binding.
8217 (jit-lock-force-redisplay): Use markers, check buffer's continued
8218 existence and beware narrowed buffers.
8219 (jit-lock-fontify-now): Adjust call accordingly.
8221 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8223 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8224 to avoid misleading the user.
8226 2013-04-22 Leo Liu <sdl.web@gmail.com>
8228 * info-look.el: Prefer latex2e.info. (Bug#14240)
8230 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
8232 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8234 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8235 * net/tramp.el (tramp-call-process): ... here.
8236 (tramp-set-completion-function, tramp-parse-putty):
8237 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8238 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8239 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8240 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8241 (tramp-call-local-coding-command): Use `tramp-call-process'
8242 instead of `tramp-compat-call-process'.
8244 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8245 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8246 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8247 (tramp-find-inline-compress): Improve traces.
8248 (tramp-maybe-send-script): Check for Perl binary.
8249 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8251 2013-04-22 Daiki Ueno <ueno@gnu.org>
8253 * epg.el (epg-context-pinentry-mode): New function.
8254 (epg-context-set-pinentry-mode): New function.
8255 (epg--start): Pass --pinentry-mode option to gpg command.
8257 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8259 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8260 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8261 `completion-at-point'. (Bug#13774)
8263 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8264 default key binding for `describe-distribution' has been moved to
8265 `C-h C-o'. (Bug#13970)
8267 2013-04-21 Glenn Morris <rgm@gnu.org>
8269 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8271 (vc-print-log): Clarify interactive prompt.
8273 2013-04-20 Glenn Morris <rgm@gnu.org>
8275 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8276 No longer include timestamp etc information.
8278 2013-04-20 Roland Winkler <winkler@gnu.org>
8280 * faces.el (read-face-name): Bug fix, return just one face if arg
8281 multiple is nil. (Bug#14209)
8283 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8285 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8286 (remove-function): Autoload.
8288 * comint.el (comint-redirect-original-filter-function): Remove.
8289 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8290 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8291 (vc-cvs-annotate-command):
8292 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8293 * progmodes/prolog.el (prolog-consult-compile):
8294 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8295 Use add/remove-function instead.
8296 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8297 (gud-tooltip-process-output, gud-tooltip-tips):
8298 Use add/remove-function instead.
8299 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8300 (scheme-interaction-mode, exit-scheme-interaction-mode):
8301 Use add/remove-function instead.
8303 * vc/vc-dispatcher.el: Use lexical-binding.
8304 (vc--process-sentinel): Rename from vc-process-sentinel.
8305 Change last arg to be the code to run. Don't use vc-previous-sentinel
8306 and vc-sentinel-commands any more.
8307 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8308 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8310 2013-04-19 Masatake YAMATO <yamato@redhat.com>
8312 * progmodes/sh-script.el (sh-imenu-generic-expression):
8313 Handle function names with a single character. (Bug#14111)
8315 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
8317 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8318 for subroutines defined in an eval (bug#14182).
8320 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8322 * bookmark.el (bookmark-completing-read): Improve handling of empty
8325 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8327 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8329 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8331 New faster Imenu implementation (bug#14058).
8332 * progmodes/python.el:
8333 (python-imenu-prev-index-position):
8334 (python-imenu-format-item-label-function)
8335 (python-imenu-format-parent-item-label-function)
8336 (python-imenu-format-parent-item-jump-label-function):
8338 (python-imenu-format-item-label)
8339 (python-imenu-format-parent-item-label)
8340 (python-imenu-format-parent-item-jump-label)
8341 (python-imenu--put-parent, python-imenu--build-tree)
8342 (python-imenu-create-index, python-imenu-create-flat-index)
8343 (python-util-popn): New functions.
8344 (python-mode): Set imenu-create-index-function to
8345 python-imenu-create-index.
8347 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8349 * winner.el (winner-active-region): Use region-active-p, activate-mark
8350 and deactivate-mark (bug#14225).
8352 * simple.el (deactivate-mark): Don't inline it.
8354 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
8356 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8358 2013-04-18 Tassilo Horn <tsdh@gnu.org>
8360 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8361 file extensions from the archive-mode entry in order to prefer
8362 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8364 2013-04-18 Leo Liu <sdl.web@gmail.com>
8366 * bindings.el (help-event-list): Add ?\?.
8368 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8370 * subr.el (with-wrapper-hook): Declare obsolete.
8371 * simple.el (filter-buffer-substring-function): New hook.
8372 (filter-buffer-substring): Use it.
8373 (filter-buffer-substring-functions): Mark obsolete.
8374 * minibuffer.el (completion-in-region-function): New hook.
8375 (completion-in-region): Use it.
8376 (completion-in-region-functions): Mark obsolete.
8377 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8378 * abbrev.el (abbrev-expand-function): New hook.
8379 (expand-abbrev): Use it.
8380 (abbrev-expand-functions): Mark obsolete.
8381 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8384 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8386 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8387 and do not care about match data.
8389 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8391 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8392 completion tables when completing error conditions and
8393 `declare' arguments.
8394 (lisp-complete-symbol, field-complete): Mark as obsolete.
8395 (check-parens): Unmatched parens are user errors.
8396 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8398 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
8400 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8401 command changed buffer (ie. `flyspell-pre-buffer' is not current
8402 buffer), which prevents making decisions based on invalid value of
8403 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8404 cause an error when `flyspell-pre-point' was nil after switching
8406 (flyspell-post-command-hook): No longer needs to change buffers when
8407 checking pre-word. While at it remove unnecessary progn.
8409 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8411 * textmodes/ispell.el (ispell-add-per-file-word-list):
8412 Fix `flyspell-correct-word-before-point' error when accepting
8413 words and `coment-padding' is an integer by using
8414 `comment-normalize-vars' (Bug #14214).
8416 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8418 New defun movement commands.
8419 * progmodes/python.el (python-nav--syntactically)
8420 (python-nav--forward-defun, python-nav-backward-defun)
8421 (python-nav-forward-defun): New functions.
8423 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8425 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8426 (python-syntax-context): Use named compiler-macro for backwards
8427 compatibility with Emacs 24.x.
8429 2013-04-17 Leo Liu <sdl.web@gmail.com>
8431 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8432 octave-hide-process-buffer.
8434 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8436 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8439 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8441 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8442 Fix adjustment of offset when receiving incomplete responses from GDB
8445 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8447 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8448 python-mode-abbrev-table.
8449 (python-skeleton-define): Adjust accordingly.
8450 (python-mode-abbrev-table): New table that inherits from it so that
8451 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8453 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8454 (abbrev-symbol): Use it.
8455 (abbrev--before-point): Use it since we already handle inheritance.
8457 2013-04-16 Leo Liu <sdl.web@gmail.com>
8459 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8460 binding to info-lookup-symbol.
8462 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
8464 * minibuffer.el (completion--twq-all):
8465 * term/ns-win.el (ns-initialize-window-system):
8466 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8468 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8470 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8473 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8475 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8477 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8478 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8480 (ruby-end-of-defun): Remove the unused arg, change the docstring
8481 to reflect that this function is only used as the value of
8482 `end-of-defun-function'.
8483 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8484 to reflect an earlier change that beginning/end-of-defun functions
8485 jump between methods in a class definition, as well as top-level
8488 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8490 * minibuffer.el (minibuffer-complete): Don't just scroll
8491 a *Completions* that's been iconified.
8492 (minibuffer-force-complete): Make sure repetitions do cycle when going
8493 through completion-in-region -> minibuffer-complete.
8495 2013-04-15 Alan Mackenzie <acm@muc.de>
8497 Correct the placement of c-cpp-delimiters when there're #s not at
8500 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8501 place a submatch around the #.
8502 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8503 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
8506 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8508 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8509 (advice--member-p): New arg `name'.
8510 (advice--add-function, advice-member-p): Use it (bug#14202).
8512 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8514 Reformulate java imenu-generic-expression.
8515 The old expression contained ill formed regexps.
8517 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8518 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8519 (cc-imenu-java-method-arg-regexp): New defconsts.
8520 (cc-imenu-java-build-type-args-regex): New defun.
8521 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
8522 handling of spaces in the regexp.
8524 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8526 * textmodes/ispell.el (ispell-command-loop): Remove
8527 flyspell highlight of a word when ispell accepts it (bug #14178).
8529 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
8531 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8532 uses code from the previous `ange-ftp-run-real-handler'.
8533 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8534 only in case that function exist. This is needed for proper
8537 2013-04-15 Tassilo Horn <tsdh@gnu.org>
8539 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8541 * textmodes/reftex.el (reftex-compile-variables): Use it.
8543 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8545 * files.el (normal-mode): Only use default major-mode if no other mode
8548 * emacs-lisp/trace.el (trace-values): New function.
8550 * files.el: Allow : in local variables (bug#14089).
8551 (hack-local-variable-regexp): New var.
8552 (hack-local-variables-prop-line, hack-local-variables): Use it.
8554 2013-04-13 Roland Winkler <winkler@gnu.org>
8556 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8557 data before it gets modified by bibtex-beginning-of-entry.
8559 2013-04-13 Roland Winkler <winkler@gnu.org>
8561 * textmodes/bibtex.el (bibtex-url): Doc fix.
8563 2013-04-13 Roland Winkler <winkler@gnu.org>
8565 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8566 does not visit a BibTeX file, exclude it from the list of buffers
8567 returned by bibtex-initialize.
8569 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
8571 * window.el (split-window): Remove interactive form, since as a
8572 command this function is a special case of split-window-below.
8575 2013-04-12 Roland Winkler <winkler@gnu.org>
8577 * faces.el (read-face-name): Do not override value of arg default.
8578 Allow single faces and strings as default values. Remove those
8579 elements from return value that are not faces.
8580 (describe-face): Simplify.
8581 (face-at-point): New optional args thing and multiple so that this
8582 function can provide the same functionality previously provided by
8584 (make-face-bold, make-face-unbold, make-face-italic)
8585 (make-face-unitalic, make-face-bold-italic, invert-face)
8586 (modify-face, read-face-and-attribute): Use face-at-point.
8588 * cus-edit.el (customize-face, customize-face-other-window)
8589 * cus-theme.el (custom-theme-add-face)
8590 * face-remap.el (buffer-face-set)
8591 * facemenu.el (facemenu-set-face): Use face-at-point.
8593 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
8595 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8597 2013-04-10 Tassilo Horn <tsdh@gnu.org>
8599 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8600 off leading { and trailing } from field values.
8602 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8604 * emacs-lisp/timer.el (timer--check): New function.
8605 (timer--time, timer-set-function, timer-event-handler): Use it.
8606 (timer-set-idle-time): Simplify.
8607 (timer--activate): CSE.
8608 (timer-event-handler): Give more info in error message.
8609 (internal-timer-start-idle): New function, moved from C.
8611 * mpc.el (mpc-proc): Add `restart' argument.
8612 (mpc-proc-cmd): Use it.
8613 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8614 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8617 2013-04-10 Masatake YAMATO <yamato@redhat.com>
8619 * progmodes/sh-script.el: Implement `sh-mode' own
8620 `add-log-current-defun-function' (bug#14112).
8621 (sh-current-defun-name): New function.
8622 (sh-mode): Use the function.
8624 2013-04-09 Bastien Guerry <bzg@gnu.org>
8626 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8628 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8630 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8632 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8635 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8637 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8640 2013-04-07 Leo Liu <sdl.web@gmail.com>
8642 * pcmpl-x.el: New file.
8644 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8646 Do not set x-display-name until X connection is established.
8647 This is needed to prevent from weird situation described at
8648 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8649 * frame.el (make-frame): Set x-display-name after call to
8650 window system initialization function, not before.
8651 * term/x-win.el (x-initialize-window-system): Add optional
8652 display argument and use it.
8653 * term/w32-win.el (w32-initialize-window-system):
8654 * term/ns-win.el (ns-initialize-window-system):
8655 * term/pc-win.el (msdos-initialize-window-system):
8656 Add compatible optional display argument.
8658 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8660 * files.el (normal-backup-enable-predicate): On MS-Windows and
8661 MS-DOS compare truenames of temporary-file-directory and of the
8662 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8663 don't fail comparison by compare-strings. Also, compare file
8664 names case-insensitively on MS-Windows and MS-DOS.
8666 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8668 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8669 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8671 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8673 * whitespace.el (whitespace-color-on, whitespace-color-off):
8674 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8676 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8678 * ispell.el (ispell-set-spellchecker-params):
8679 Really set `ispell-args' for all equivs.
8681 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8683 * ido.el (ido-completions): Use extra elements of ido-decorations
8685 (ido-decorations): Update docstring.
8687 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8689 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8690 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8691 nil during initialization, in order not to miss changes since the
8692 file was opened. (Bug#14140)
8694 2013-04-05 Leo Liu <sdl.web@gmail.com>
8696 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8698 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8700 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8702 2013-04-04 Glenn Morris <rgm@gnu.org>
8704 * electric.el (electric-pair-inhibit-predicate): Add :version.
8706 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8708 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8709 when a package is required several times (bug#14082).
8711 2013-04-04 Roland Winkler <winkler@gnu.org>
8713 * faces.el (read-face-name): Behave as promised by the docstring.
8714 Assume that arg default is a list of faces.
8715 (describe-face): Call read-face-name with list of default faces.
8717 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8719 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8720 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8721 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8723 (bookmark-exit-hook-internal): Save even if list is empty.
8725 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8727 * emacs-lisp/package.el (package-pinned-packages): New var.
8728 (package--add-to-archive-contents): Obey it (bug#14118).
8730 2013-04-03 Alan Mackenzie <acm@muc.de>
8732 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8733 Also adapt to the new values of element 7 of a parse state.
8735 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8736 parameter `not-in-delimiter'. Handle being inside comment opener.
8737 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8738 character in case we're typing a '*' after a '/'.
8739 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8740 instead by passing the parameter to c-state-pp-to-literal.
8742 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8743 for elt. 7 of a parse state.
8745 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8747 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8748 * international/latin1-disp.el, international/mule-util.el:
8749 * language/cyril-util.el, language/european.el, language/ind-util.el:
8750 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8751 * language/tibetan.el, language/viet-util.el:
8752 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8754 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8756 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8757 (electric-pair-post-self-insert-function): Use it.
8758 (electric-pair-default-inhibit): New function, extracted from
8759 electric-pair-post-self-insert-function.
8761 2013-03-31 Roland Winkler <winkler@gnu.org>
8763 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8765 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8767 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8769 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
8771 Un-indent after "pass" and "return" statements (Bug#13888)
8772 * progmodes/python.el (python-indent-block-enders): New var.
8773 (python-indent-calculate-indentation): Use it.
8775 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
8777 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8778 defun. Defining it as defalias could introduce too eager
8779 byte-compiler optimization. (Bug#14030)
8781 2013-03-30 Chong Yidong <cyd@gnu.org>
8783 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8785 2013-03-30 Leo Liu <sdl.web@gmail.com>
8787 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8788 (kmacro-execute-from-register): Pass the keyboard macro to
8789 kmacro-call-macro or repeating won't work correctly.
8791 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8793 * progmodes/subword.el: Back to using `forward-symbol'.
8795 * subr.el (forward-whitespace, forward-symbol)
8796 (forward-same-syntax): Move from thingatpt.el.
8798 2013-03-29 Leo Liu <sdl.web@gmail.com>
8800 * kmacro.el (kmacro-to-register): New command.
8801 (kmacro-execute-from-register): New function.
8802 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8804 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8806 * mpc.el: Use defvar-local and setq-local.
8807 (mpc--proc-connect): Connection failures are not bugs.
8808 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8809 (mpc-volume-map): Bind to the up-events.
8811 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8813 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8814 instead of `forward-symbol'.
8816 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8818 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8819 (edebug--recursive-edit): Use it.
8820 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8821 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8823 2013-03-28 Leo Liu <sdl.web@gmail.com>
8825 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8827 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8829 * facemenu.el (list-colors-callback): New defvar.
8830 (list-colors-redisplay): New function.
8831 (list-colors-display): Install list-colors-redisplay as the
8832 revert-buffer-function. (Bug#14063)
8834 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8836 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8837 and suffixes don't overlap (bug#14061).
8839 * case-table.el: Use lexical-binding.
8840 (case-table-get-table): New function.
8841 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8843 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8845 * progmodes/subword.el: Add `superword-mode' to do word motion
8846 over symbol_words (parallels and leverages `subword-mode' which
8847 does word motion inside MixedCaseWords).
8849 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8851 * eshell/em-unix.el: Move su and sudo to...
8852 * eshell/em-tramp.el: ...Eshell tramp module.
8854 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8856 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8857 Change return value to be a sexp. Delay `get-buffer' to after
8858 restoring the desktop (bug#13951).
8860 2013-03-26 Leo Liu <sdl.web@gmail.com>
8862 * register.el: Move semantic tag handling back to
8863 cedet/semantic/senator.el. (Bug#14052)
8865 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8867 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8868 into the prompt either (bug#13963).
8870 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8872 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8873 part of "(error-foo)".
8875 2013-03-24 Juri Linkov <juri@jurta.org>
8877 * replace.el (list-matching-lines-prefix-face): New defcustom.
8878 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8879 `occur-engine' if `face-differs-from-default-p' returns t.
8880 (occur-engine): Add `,' inside backquote construct to evaluate
8881 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8882 Pass `prefix-face' to the functions `occur-context-lines' and
8883 `occur-engine-add-prefix'.
8884 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8885 `prefix-face' and propertize the prefix with `prefix-face'.
8888 2013-03-24 Leo Liu <sdl.web@gmail.com>
8890 * nxml/rng-valid.el (rng-validate-while-idle)
8891 (rng-validate-quick-while-idle): Guard against deleted buffer.
8894 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8895 is the last entry in kill-buffer-hook.
8897 * files.el (kill-buffer-hook): Doc fix.
8899 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8901 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8904 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8906 2013-03-23 Leo Liu <sdl.web@gmail.com>
8908 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8911 * nxml/rng-valid.el (rng-validate-mode)
8912 (rng-after-change-function, rng-do-some-validation):
8913 * nxml/rng-maint.el (rng-validate-buffer):
8914 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8915 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8916 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8917 (nxml-extend-after-change-region): Use with-silent-modifications.
8919 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8922 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8923 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8924 timer-idle-list. (Bug#13999)
8926 2013-03-23 Juri Linkov <juri@jurta.org>
8928 * info.el (info-index-match): New face.
8929 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8930 main pattern and add text properties with the new face to matches
8931 in index entries relative to the beginning of the index entry.
8934 2013-03-21 Eric Ludlam <zappo@gnu.org>
8936 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8937 Inhibit read only while inserting objects.
8939 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8941 * progmodes/cfengine.el: Update docs to mention
8942 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8943 symbol motion. Remove "_" from the word syntax.
8945 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8947 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8948 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8950 2013-03-20 Juri Linkov <juri@jurta.org>
8952 * info.el (Info-next-reference-or-link)
8953 (Info-prev-reference-or-link): New functions.
8954 (Info-next-reference, Info-prev-reference): Use them.
8955 (Info-try-follow-nearest-node): Handle footnote navigation.
8956 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8958 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8960 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8961 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8963 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8965 Suppress unnecessary non-ASCII chatter during build process.
8966 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8967 (batch-skkdic-convert): Suppress most of the chatter.
8968 It's not needed so much now that machines are faster,
8969 and its non-ASCII component was confusing; see Dmitry Gutov in
8970 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8972 2013-03-20 Leo Liu <sdl.web@gmail.com>
8974 * ido.el (ido-chop): Fix bug#10994.
8976 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8978 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8980 (whitespace-color-on, whitespace-color-off):
8981 Use `font-lock-fontify-buffer' (Bug#13817).
8983 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8985 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8986 remapping in mode-line.
8987 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8989 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8991 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8992 value for `whitespace-line' face (Bug#13875).
8993 (whitespace-font-lock-keywords): Change description.
8994 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8995 the constructed keywords instead.
8996 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
8998 2013-03-19 Leo Liu <sdl.web@gmail.com>
9000 * progmodes/compile.el (compilation-display-error): New command.
9001 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9004 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9006 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9008 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9010 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9012 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9014 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9016 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9017 * net/tramp-gvfs.el (top):
9018 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9019 (tramp-handle-shell-command): Use it.
9020 (tramp-dissect-file-name): Raise an error when hostname is a
9021 method name, and neither method nor user is specified.
9023 * net/trampver.el: Update release number.
9025 2013-03-18 Leo Liu <sdl.web@gmail.com>
9027 Make sure eldoc can be turned off properly.
9028 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9030 (eldoc-display-message-p): Revert last change.
9031 (eldoc-display-message-no-interference-p)
9032 (eldoc-print-current-symbol-info): Tweak.
9034 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9036 * doc-view.el (doc-view-new-window-function): Check the new window
9037 overlay's display property instead the char property of the
9038 buffer's first char. Use `with-selected-window' instead of
9039 `save-window-excursion' with `select-window'.
9040 (doc-view-document->bitmap): Check the current doc-view overlay's
9041 display property instead the char property of the buffer's first char.
9043 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9045 Automate the build of ja-dic.el (Bug#13984).
9046 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9047 from the input, rather than assume that it's been done for us by the
9048 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9049 the current date into a ja-dic.el comment, as that complicates
9052 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9054 * whitespace.el: Fix double evaluation.
9055 (whitespace-space, whitespace-hspace, whitespace-tab)
9056 (whitespace-newline, whitespace-trailing, whitespace-line)
9057 (whitespace-space-before-tab, whitespace-indentation)
9058 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9060 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9061 (whitespace-color-on): Use a single font-lock-add-keywords call.
9062 Fix double-evaluation of face variables.
9064 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9066 * net/tramp-adb.el (tramp-adb-parse-device-names):
9067 Use `start-process' instead of `call-process'. Otherwise, the
9068 function might be blocked under MS Windows. (Bug#13299)
9070 2013-03-17 Leo Liu <sdl.web@gmail.com>
9072 Extend eldoc to display info in the mode-line. (Bug#13978)
9073 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9074 (eldoc-mode-line-string): New variable.
9075 (eldoc-minibuffer-message): New function.
9076 (eldoc-message-function): New variable.
9077 (eldoc-message): Use it.
9078 (eldoc-display-message-p)
9079 (eldoc-display-message-no-interference-p):
9080 Support eldoc-post-insert-mode.
9082 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9083 (eval-expression): Run it.
9085 2013-03-17 Roland Winkler <winkler@gnu.org>
9087 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9088 strings in the list of return values.
9090 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9092 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9093 radix before checking for HMS forms.
9095 2013-03-16 Leo Liu <sdl.web@gmail.com>
9097 * progmodes/scheme.el: Add indentation and font-locking for λ.
9100 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9102 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9103 token before point (bug#13942).
9105 2013-03-16 Leo Liu <sdl.web@gmail.com>
9107 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9109 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9111 * startup.el (command-line-normalize-file-name): Fix handling of
9112 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9113 <xfq.free@gmail.com> in
9114 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9116 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9118 Sync with Tramp 2.2.7.
9120 * net/trampver.el: Update release number.
9122 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9124 * doc-view.el: Fix bug#13887.
9125 (doc-view-insert-image): Don't modify overlay associated to
9126 non-live windows, and implement horizontal centering of image in
9127 case it's smaller than the window.
9128 (doc-view-new-window-function): Force redisplay of new windows on
9131 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9133 * saveplace.el (save-place-alist-to-file): Don't sort
9134 `save-place-alist', just pretty-print it (bug#13882).
9136 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
9138 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9139 Check whether `default-file-name-coding-system' is bound.
9142 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9144 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9145 backquotes for `obsolete' (bug#13929).
9147 * international/mule.el (find-auto-coding): Include file name in
9148 obsolescence warning (bug#13922).
9150 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9152 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9153 for CFEngine 3-specific indentation.
9154 (cfengine3-indent-line): Use it. Fix up category regex.
9155 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9157 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9159 * type-break.el (type-break-file-name):
9160 * textmodes/remember.el (remember-data-file):
9161 * strokes.el (strokes-file):
9162 * shadowfile.el (shadow-initialize):
9163 * saveplace.el (save-place-file):
9164 * ps-bdf.el (bdf-cache-file):
9165 * progmodes/idlwave.el (idlwave-config-directory):
9166 * net/quickurl.el (quickurl-url-file):
9167 * international/kkc.el (kkc-init-file-name):
9168 * ido.el (ido-save-directory-list-file):
9169 * emulation/viper.el (viper-custom-file-name):
9170 * emulation/vip.el (vip-startup-file):
9171 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9172 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9174 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9176 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9177 * language/thai-word.el: Switch to UTF-8.
9179 See ChangeLog.16 for earlier changes.
9185 Copyright (C) 2011-2013 Free Software Foundation, Inc.
9187 This file is part of GNU Emacs.
9189 GNU Emacs is free software: you can redistribute it and/or modify
9190 it under the terms of the GNU General Public License as published by
9191 the Free Software Foundation, either version 3 of the License, or
9192 (at your option) any later version.
9194 GNU Emacs is distributed in the hope that it will be useful,
9195 but WITHOUT ANY WARRANTY; without even the implied warranty of
9196 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9197 GNU General Public License for more details.
9199 You should have received a copy of the GNU General Public License
9200 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.