1 2013-10-30 Glenn Morris <rgm@gnu.org>
3 * Makefile.in (autoloads): Do not use abs_lisp.
5 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6 `newline' does not respect `standard-output', so use `princ'.
8 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
10 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
11 * buff-menu.el (Buffer-menu--unmark): New function.
12 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
14 2013-10-30 Glenn Morris <rgm@gnu.org>
16 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
18 * emacs-lisp/package.el (lm-homepage): Declare.
20 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
23 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
25 * Makefile.in (finder-data, autoloads, update-subdirs)
26 (compile-main, compile-clean, compile-always, bootstrap-clean):
27 Check return value of cd.
28 (compile-calc): Remove.
30 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
32 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
34 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
35 (byte-compile-and-folded): New function.
36 (=, <, >, <=, >=): Use it.
38 * dos-w32.el (minibuffer-history-case-insensitive-variables)
39 (path-separator, null-device, buffer-file-coding-system)
40 (lpr-headers-switches): Check system-type before modifying them.
41 (find-buffer-file-type-coding-system): Mark obsolete.
42 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
43 find-file-not-found-set-buffer-file-coding-system.
44 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
45 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
46 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
47 (w32-direct-print-region-helper, w32-direct-print-region-function)
48 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
49 * startup.el (normal-top-level-add-subdirs-to-load-path):
50 * ps-print.el (ps-print-region-function):
51 * lpr.el (print-region-function): Use new name.
53 * subr.el (custom-declare-variable-early): Remove function.
54 (custom-declare-variable-list): Remove var.
55 (error, user-error): Remove `while' loop.
56 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
57 (user-emacs-directory-warning, locate-user-emacs-file):
59 * simple.el (read-quoted-char-radix, read-quoted-char):
60 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
62 * custom.el (custom-declare-variable-list): Don't process
63 custom-declare-variable-list.
65 * progmodes/python.el (python-shell-get-buffer): New function.
66 (python-shell-get-process): Use it.
67 (python-shell-send-string): Always use utf-8 and add a cookie to tell
68 Python which encoding was used. Don't split-string since we only care
69 about the first line. Return the temp-file, if applicable.
70 (python-shell-send-region): Tell compile.el how to turn locations in
71 the temp-file into locations in the source buffer.
73 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
75 * subr.el (undefined): Add missing behavior from the C code for
78 * rect.el: Use lexical-binding. Add new rectangular region support.
79 (rectangle-mark): New command.
80 (rectangle--region): New var.
81 (deactivate-mark-hook): Reset rectangle--region.
82 (rectangle--extract-region, rectangle--insert-for-yank)
83 (rectangle--highlight-for-redisplay)
84 (rectangle--unhighlight-for-redisplay): New functions.
85 (region-extract-function, redisplay-unhighlight-region-function)
86 (redisplay-highlight-region-function): Use them to handle
88 * simple.el (region-extract-function): New var.
89 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
90 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
91 (kill-region): Replace obsolete `yank-handler' arg with `region'.
92 (copy-region-as-kill, kill-ring-save): Add `region' argument.
93 (redisplay-unhighlight-region-function)
94 (redisplay-highlight-region-function): New vars.
95 (redisplay--update-region-highlight): New function.
96 (pre-redisplay-function): Use it.
97 (exchange-point-and-mark): Don't deactivate the mark before
99 * comint.el (comint-kill-region): Remove yank-handler argument.
100 * delsel.el (delete-backward-char, backward-delete-char-untabify)
101 (delete-char): Remove property, since it's now part of their
103 (self-insert-iso): Remove property since this command doesn't exist.
105 * emacs-lisp/package.el (package--download-one-archive)
106 (describe-package-1): Don't query the user about final newline.
108 2013-10-29 Daniel Colascione <dancol@dancol.org>
110 * net/tramp.el (tramp-methods): Document new functionality.
111 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
112 tramp-hostname-checker if method provides one instead of scanning
113 argument list for "%h" to decide hostname acceptability.
115 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
117 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
118 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
119 Handle COPY-CONTENTS. (Bug#15737)
121 2013-10-28 Daiki Ueno <ueno@gnu.org>
124 (epa-file-cache-passphrase-for-symmetric-encryption):
125 Document that this option has no effect with GnuPG 2.0 (bug#15552).
127 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
129 * image.el (defimage):
130 (image-load-path): Doc fixes.
132 2013-10-27 Alan Mackenzie <acm@muc.de>
134 Indent statements in macros following "##" correctly.
135 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
136 Modify the "#" arm of a cond form to handle "#" and "##" operators.
138 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
140 * linum.el (linum-update-window): Fix boundary test (bug#13446).
142 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
144 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
145 after `=' is probably a new expression.
147 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
149 * man.el (man-imenu-title): New option.
150 (Man-mode-map): Add menu. (Bug#15722)
151 (Man-mode): Add imenu to menu.
153 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
155 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
156 specific in what the first arg can be: a non-keyword word,
157 string/regexp/percent literal opener, opening paren, or unary
158 operator followed directly by word.
160 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
162 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
163 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
164 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
165 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
166 Remove vars, they do not apply any more.
167 (prolog-mode-abbrev-table): Remove redundant declaration.
168 (prolog-upper-case-string, prolog-lower-case-string): Remove.
169 (prolog-use-smie): Remove.
170 (prolog-smie-rules): Add indentation rule for the if-then-else layout
171 supported by prolog-electric-if-then-else-flag.
172 (prolog-mode-variables, prolog-menu): Use setq-local.
173 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
174 Remove binding to `Backspace' since this key doesn't exist anyway.
175 Remove bindings for electric self-inserting keys.
176 (prog-mode): Assume it's defined.
177 (prolog-post-self-insert): New function.
178 (prolog-mode): Use it.
179 (prolog-indent-line, prolog-indent-level)
180 (prolog-find-indent-of-matching-paren)
181 (prolog-indentation-level-of-line, prolog-goto-comment-column)
182 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
183 (prolog-goto-next-paren, prolog-in-string-or-comment)
184 (prolog-tokenize, prolog-inside-mline-comment)
185 (prolog-find-start-of-mline-comment): Remove functions.
186 (prolog-find-unmatched-paren, prolog-clause-end)
187 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
188 (prolog-electric--if-then-else): Rename from
189 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
190 (prolog-tokenize-searchkey): Remove const.
191 (prolog-clause-info): Use forward-sexp.
192 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
193 (prolog-electric-if-then-else): Remove commands.
194 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
195 for use in post-self-insert-hook.
196 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
197 for use in post-self-insert-hook.
198 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
199 for use in post-self-insert-hook.
200 (prolog-electric--underscore): Rename from prolog-electric--underscore;
201 adapt it for use in post-self-insert-hook.
203 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
205 * emacs-lisp/ert.el (ert-run-tests-interactively):
206 Use `completing-read'. (Bug#9756)
208 2013-10-25 Eli Zaretskii <eliz@gnu.org>
210 * simple.el (line-move): Call line-move-1 instead of
211 line-move-visual when the current window hscroll is zero, but
212 temporary-goal-column indicates we will need to hscroll as result
213 of the movement. (Bug#15712)
215 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
217 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
218 capitalization. Use :visible instead of :active.
219 Fix `ruby-indent-exp' reference. Add menu items for the generic
220 commands that are used with SMIE.
221 (ruby-do-end-to-brace): Insert space after `{'.
223 2013-10-25 John Anthony <john@jo.hnanthony.com>
225 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
227 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
229 2013-10-25 Glenn Morris <rgm@gnu.org>
231 * vc/vc.el (vc-print-log): Don't use a working revision unless
232 one was explicitly specified. (Bug#15322)
234 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
236 * subr.el (add-to-list): Preserve return value in compiler-macro
239 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
241 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
242 result. Ask user to retry using '-all' flag. (Bug#15701)
244 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
246 * emacs-lisp/smie.el: New smie-config system.
247 (smie-config): New defcustom.
248 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
249 (smie-config-guess, smie-config-save): New commands.
250 (smie-config--mode-local, smie-config--buffer-local)
251 (smie-config--trace, smie-config--modefuns): New vars.
252 (smie-config--advice, smie-config--mode-hook)
253 (smie-config--setter, smie-config-local, smie-config--get-trace)
254 (smie-config--guess-value, smie-config--guess): New functions.
255 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
256 text properties. Treat "string fence" syntax like string syntax.
258 * progmodes/sh-script.el (sh-use-smie): Change default.
259 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
260 (sh-var-value): Simplify by CSE.
261 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
262 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
264 (sh-guess-basic-offset): Use cl-incf.
265 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
267 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
269 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
272 2013-10-24 Glenn Morris <rgm@gnu.org>
274 * Makefile.in (abs_top_srcdir): Remove.
275 (update-subdirs): Use relative path to update-subdirs.
277 2013-10-24 Eli Zaretskii <eliz@gnu.org>
279 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
280 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
281 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
282 Call unmsys--file-name before expand-file-name, not after it.
284 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
286 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
287 (ert-test-skipped): New error.
288 (ert-skip, ert-stats-skipped): New defuns.
289 (ert--skip-unless): New macro.
290 (ert-test-skipped): New struct.
291 (ert--run-test-debugger, ert-test-result-type-p)
292 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
293 (ert--stats-set-test-and-result, ert-char-for-test-result)
294 (ert-string-for-test-result, ert-run-tests-batch)
295 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
296 Handle skipped tests. (Bug#9803)
298 2013-10-24 Glenn Morris <rgm@gnu.org>
300 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
302 * Makefile.in (abs_top_srcdir): New, set by configure.
303 (update-subdirs): Correct build-aux location.
305 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
307 * vc/vc.el (vc-print-root-log): Always set `default-directory'
308 value, whether we could auto-deduce `backend', or not.
310 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
311 with parameters" example. Simplify the "is it block or is it
312 hash" check, but also make it more thorough.
314 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
316 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
318 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
320 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
323 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
326 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
328 * progmodes/compile.el (compilation-directory-matcher)
329 (compilation-page-delimiter):
330 Support GNU Make-4.0 directory quoting. (Bug#15678)
332 2013-10-23 Leo Liu <sdl.web@gmail.com>
334 * ido.el (ido-tidy): Handle read-only text.
336 2013-10-23 Glenn Morris <rgm@gnu.org>
338 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
339 (emacs, compile, compile-always):
340 Quote entities that might contain whitespace.
341 (custom-deps, finder-data, autoloads): Use abs_lisp.
342 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
343 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
344 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
346 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
348 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
349 Use `following-char'.
351 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
353 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
354 * progmodes/ruby-mode.el (ruby-smie-rules):
355 Remove corresponding workaround. Fix indentation rule of ";" so it
356 also applies when ";" is the parent.
358 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
360 * frame.el (display-screens, display-pixel-height)
361 (display-pixel-width, display-mm-width, display-backing-store)
362 (display-save-under, display-planes, display-color-cells)
363 (display-visual-class, display-monitor-attributes-list):
364 Mention the optional ‘display’ argument in doc strings.
366 2013-10-22 Michael Gauland <mikelygee@amuri.net>
368 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
369 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
371 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
373 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
374 TODO. Add "." after " @ ".
375 (ruby-smie--at-dot-call): New function. Checks if point at method
376 call with explicit target.
377 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
378 to the method name tokens when it precedes them.
379 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
380 (ruby-smie-rules): Add rule for indentation before and after "."
383 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
385 * textmodes/remember.el (remember-diary-extract-entries):
388 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
391 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
393 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
394 (ruby-smie--implicit-semi-p): Add new operator chars.
396 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
398 (ruby-smie--args-separator-p): Check that there's no newline
399 between method call and its arguments.
401 2013-10-20 Alan Mackenzie <acm@muc.de>
403 Allow comma separated lists after Java "implements".
405 * progmodes/cc-engine.el (c-backward-over-enum-header):
407 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
408 from a "disallowed" list in enum fontification.
410 2013-10-20 Johan Bockgård <bojohan@gnu.org>
412 * startup.el (default-frame-background-mode): Remove unused defvar.
414 * progmodes/verilog-mode.el (verilog-mode): Don't set
415 comment-indent-function globally.
417 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
419 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
420 Move Info menu item creation to ns-win.el.
422 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
425 * menu-bar.el: Move GNUStep specific menus...
427 * term/ns-win.el (ns-initialize-window-system): ... to here.
429 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
431 * simple.el (newline): Only run post-self-insert-hook when
432 called interactively.
434 2013-10-19 Johan Bockgård <bojohan@gnu.org>
436 * icomplete.el (icomplete-with-completion-tables): Add :version.
438 2013-10-19 Alan Mackenzie <acm@muc.de>
440 Fix fontification bugs with constructors and const.
442 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
443 CASE 2) Remove the check for the absence of a suffix construct
444 after a function declaration with only types (no identifiers) in
445 the parentheses. Also, accept a function declaration with just a
446 type inside the parentheses, if this type can be positively
447 recognised as such, or if a prefix keyword like "explicit" nails
448 down the construct as a declaration.
450 2013-10-19 Eli Zaretskii <eliz@gnu.org>
452 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
453 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
454 the problem whereby selecting a menu item that leads to a
455 minibuffer prompt moves the cursor out of the minibuffer window,
456 making it hard to type at the prompt. Suggested by Stefan Monnier
457 <monnier@iro.umontreal.ca>.
459 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
461 * menu-bar.el: Don't make Services menu.
463 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
465 * ffap.el: Handle "/usr/include/c++/<version>" directories.
466 (ffap-alist): Use ffap-c++-mode for c++-mode.
467 (ffap-c++-path): New variable.
468 (ffap-c++-mode): New function.
470 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
472 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
474 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
476 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
477 introduced on 2013-09-08, which results in an infinite loop
478 requesting a password.
480 2013-10-18 Glenn Morris <rgm@gnu.org>
482 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
484 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
486 Sync with upstream verilog-mode revision 1a6ecec7.
487 * progmodes/verilog-mode.el (verilog-mode-version): Update.
488 (verilog-mode-release-date): Remove.
489 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
490 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
491 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
492 (verilog-auto-tieoff-ignore-regexp)
493 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
494 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
495 (verilog-signals-with, verilog-dir-cache-preserving)
496 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
498 (verilog-case-fold): New option, to control case folding in
499 regexp searches, bug597.
500 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
501 (verilog-string-match-fold, verilog-in-paren-count)
502 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
503 (verilog-at-close-struct-p): New functions.
504 (verilog-beg-block-re-ordered, verilog-extended-case-re)
505 (verilog-forward-sexp, verilog-set-auto-endcomments):
506 (verilog-leap-to-case-head): Handle "unique0" case.
507 (verilog-in-constraint-re): New constant.
508 (verilog-keywords, verilog-type-font-keywords):
509 Add some SystemVerilog 1800-2012 keywords.
510 (verilog-label-be): Remove unimplemented argument, bug669.
511 (verilog-batch-execute-func): When batch expanding clear
512 create-lockfiles to prevent spurious user locks when a file ends
514 (verilog-calculate-indent, verilog-calc-1)
515 (verilog-at-close-constraint-p, verilog-at-constraint-p)
516 (verilog-do-indent): Fix indentation of nested constraints
518 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
519 (verilog-auto-inst-param): Use verilog-string-match-fold.
520 (verilog-read-inst-module-matcher):
521 Fix AUTOINST on gate primitives with #1.
522 (verilog-read-decls): Fix double-declaring user-defined typed signals.
523 Reads all user-defined typed variables.
524 (verilog-read-defines): Fix reading definitions inside comments, bug647.
525 (verilog-signals-matching-regexp)
526 (verilog-signals-not-matching-regexp, verilog-auto):
527 Respect verilog-case-fold.
528 (verilog-diff-report): Fix line count.
529 (verilog-auto-assign-modport): Remove unused local `modi'.
530 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
531 better handle multidimensional arrays.
532 Fix packed array ports misadding bit index in AUTOINST, bug637.
533 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
534 to not double-declare existing outputs and inputs, respectively.
535 (verilog-template-map): Bind U to verilog-sk-uvm-component.
536 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
537 (verilog-sk-uvm-component): New skeleton.
538 (verilog-submit-bug-report): Add verilog-case-fold,
539 remove verilog-mode-release-date.
541 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
543 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
546 2013-10-18 Reuben Thomas <rrt@sc3d.org>
548 * textmodes/remember.el (remember): set buffer-offer-save in
549 remember buffers (bug#13566).
551 2013-10-18 Daniel Colascione <dancol@dancol.org>
553 When evaluating forms in ielm, direct standard output to ielm
554 buffer. Add new ielm-return-for-effect command. Remove trailing
555 whitespace throughout.
557 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
558 (ielm-return-for-effect): New command.
559 (ielm-send-input): Accept optional `for-effect' parameter.
560 (ielm-eval-input): Accept optional `for-effect' parameter.
561 Bind `standard-output' to stream we create using
562 `ielm-standard-output-impl'. Suppress printing result when
564 (ielm-standard-output-impl): New function.
565 (inferior-emacs-lisp-mode): Explain new features in documentation.
567 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
571 * net/tramp.el (tramp-debug-message): Do not check for connection
573 (tramp-message): Use "vector" connection property.
575 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
576 (tramp-equal-remote, tramp-eshell-directory-change)
577 * net/tramp-adb.el (tramp-adb-handle-copy-file)
578 (tramp-adb-handle-rename-file)
579 * net/tramp-cmds.el (tramp-list-remote-buffers)
580 (tramp-cleanup-connection, tramp-cleanup-this-connection)
581 * net/tramp-compat.el (tramp-compat-process-running-p)
582 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
583 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
584 (tramp-gvfs-handle-rename-file)
585 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
586 (tramp-set-file-uid-gid)
587 * net/tramp-smb.el (tramp-smb-handle-copy-file)
588 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
591 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
592 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
593 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
594 (tramp-gw-open-network-stream): Suppress unrelated traces.
596 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
597 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
598 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
599 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
602 * net/tramp-cache.el (top): Suppress traces when reading
605 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
606 Refactor common code. Improve debug message.
607 (tramp-maybe-open-connection)
608 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
609 connection buffer too early.
611 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
612 from `tramp-smb-actions-with-acl'.
613 (tramp-smb-actions-set-acl): New defconst.
614 (tramp-smb-handle-copy-directory)
615 (tramp-smb-action-get-acl): New defun, renamed from
616 `tramp-smb-action-with-acl'.
617 (tramp-smb-action-set-acl): New defun.
618 (tramp-smb-handle-set-file-acl): Rewrite.
620 2013-10-17 Glenn Morris <rgm@gnu.org>
622 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
624 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
626 * skeleton.el (skeleton-newline): Remove.
627 (skeleton-internal-1): Use (insert "\n") instead.
629 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
632 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
633 forward-sexp-function while we redo its job (bug#15613).
635 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
637 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
638 represented by lists.
640 2013-10-16 Glenn Morris <rgm@gnu.org>
642 * tmm.el (tmm--history): New dynamic variable.
643 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
645 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
647 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
648 (tramp-smb-errors): Add error messages.
649 (tramp-smb-actions-with-acl): New defconst.
650 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
651 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
652 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
653 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
654 (tramp-smb-get-stat-capability): Fix tests.
656 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
658 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
661 2013-10-16 Glenn Morris <rgm@gnu.org>
663 * ansi-color.el (ansi-color-drop-regexp):
664 Add 1J, 1K, 2K. (Bug#15617)
666 * files.el (hack-local-variables--warned-lexical): New.
667 (hack-local-variables):
668 Warn about misplaced lexical-binding. (Bug#15616)
670 * net/eww.el (eww-render): Always set eww-current-url,
671 and update header line. (Bug#15622)
672 (eww-display-html): ... Rather than just doing it here.
674 2013-10-15 Eli Zaretskii <eliz@gnu.org>
676 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
677 menu navigations commands.
679 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
681 * progmodes/subword.el (subword-capitalize): Be careful when
682 the search for [[:alpha:]] fails (bug#15580).
684 2013-10-14 Eli Zaretskii <eliz@gnu.org>
686 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
687 to commands that scroll the menu.
689 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
691 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
692 Handle methods ending with `?' and `!'.
694 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
696 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
697 `japanese-cp932' to `cp932' to fix the problem where saving a
698 source file written in Shift_JIS twice would end up having
699 `coding: japanese-cp932' which Ruby could not recognize.
700 (ruby-mode-set-encoding): Add support for encodings mapped to nil
701 in `ruby-encoding-map'.
702 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
703 doesn't need to be explicitly declared in magic comment.
704 (ruby-encoding-map): Add type declaration for better customize UI.
706 2013-10-13 Glenn Morris <rgm@gnu.org>
708 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
709 Occur buffers are read-only. http://bugs.debian.org/720775
711 * emacs-lisp/authors.el (authors-fixed-entries):
712 Comment out old alpha stuff.
714 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
716 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
717 to `after-save-hook' instead of `before-save-hook'.
718 (ruby-mode-set-encoding): Use the value of coding system used to
719 write the file. Call `basic-save-buffer-1' after modifying the
722 2013-10-13 Alan Mackenzie <acm@muc.de>
724 Fix indentation/fontification of Java enum with
725 "implements"/generic.
727 * progmodes/cc-engine.el (c-backward-over-enum-header):
728 Extracted from the three other places and enhanced to handle generics.
729 (c-inside-bracelist-p): Uses new function above.
730 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
732 (c-font-lock-enum-tail): Uses new function above.
734 2013-10-13 Kenichi Handa <handa@gnu.org>
736 * international/mule-cmds.el (select-safe-coding-system): Remove a
737 superfluous condition in chekcing whether a coding system is safe
740 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
742 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
744 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
746 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
748 2013-10-13 Glenn Morris <rgm@gnu.org>
750 * menu-bar.el (menu-bar-update-buffers):
751 Unify Buffers menu prompt string. (Bug#15576)
753 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
755 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
757 (authors-fixed-entries): Use accented form of name.
759 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
761 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
762 method calls (bug#15594).
763 (ruby-smie--args-separator-p): New function.
764 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
765 recognize paren-free method calls.
767 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
768 internals of universal-argument.
770 2013-10-11 Eli Zaretskii <eliz@gnu.org>
772 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
773 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
774 dropped menu on second mouse click on the menu bar.
776 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
778 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
779 (explicit-shell-file-name): Declare.
780 (sh--vars-before-point, sh--cmd-completion-table): New functions.
781 (sh-completion-at-point-function): New function.
783 (sh-smie--keyword-p): Remove unused argument.
784 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
786 (sh-set-shell): Always setup SMIE, even if we use the
787 old indentation code.
789 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
791 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
793 (ruby-smie-rules): Simplify the "do" rule. The cases when the
794 predicate would return nil are almost non-existent.
795 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
797 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
798 cache also after commands that modify the buffer but don't move
801 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
803 * env.el (substitute-env-in-file-name): New function.
804 (substitute-env-vars): Extend the meaning of the optional arg.
806 2013-10-10 Eli Zaretskii <eliz@gnu.org>
808 * term/w32-win.el (dynamic-library-alist): Define separate lists
809 of GIF DLLs for versions before and after 5.0.0 of giflib.
812 2013-10-10 João Távora <joaotavora@gmail.com>
814 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
815 not locked, use last revision and current source as
816 defaults. (Bug#15569)
818 2013-10-10 Masatake YAMATO <yamato@redhat.com>
820 * menu-bar.el (menu-bar-open): Don't use popup-menu if
823 2013-10-10 Martin Rudalics <rudalics@gmx.at>
825 * window.el (pop-to-buffer-same-window): Fix doc-string.
828 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
830 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
832 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
834 * calendar/icalendar.el (icalendar-import-file):
835 Fix interactive spec. (Bug#15482)
837 2013-10-10 Glenn Morris <rgm@gnu.org>
839 * desktop.el (desktop-save): Default to saving in .emacs.d,
840 since PWD is no longer in desktop-path by default. (Bug#15319)
842 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
843 now that text mode has a menu with the same entry.
844 (menu-bar-text-mode-auto-fill): Remove now unused func.
845 * textmodes/text-mode.el (text-mode-map):
846 Use auto-fill help text from menu-bar.el.
848 2013-10-10 John Anthony <john@jo.hnanthony.com>
850 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
852 2013-10-09 Juri Linkov <juri@jurta.org>
854 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
855 instead of this-command-keys. Add universal-argument-more and
856 universal-argument-minus to the list of prefix commands. (Bug#15568)
858 2013-10-09 Glenn Morris <rgm@gnu.org>
860 * vc/vc-svn.el (vc-svn-create-repo):
861 Expand paths in file://... url. (Bug#15446)
863 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
865 (authors): Remove unused local variables.
867 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
869 * profiler.el: Create a more coherent calltree from partial backtraces.
870 (profiler-format): Hide the tail with `invisible' so that C-s can still
871 find the hidden elements.
872 (profiler-calltree-depth): Don't recurse so enthusiastically.
873 (profiler-function-equal): New hash-table-test.
874 (profiler-calltree-build-unified): New function.
875 (profiler-calltree-build): Use it.
876 (profiler-report-make-name-part): Indent the calltree less.
877 (profiler-report-mode): Add visibility specs for profiler-format.
878 (profiler-report-expand-entry, profiler-report-toggle-entry):
879 Expand the whole subtree when provided with a prefix arg.
881 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
883 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
885 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
886 hanging iuwu-mod token.
887 (ruby-smie--forward-token): Do not include a dot after a token in
889 (ruby-smie--backward-token): Likewise.
891 2013-10-08 Juri Linkov <juri@jurta.org>
893 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
894 to isearch-other-control-char.
895 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
896 and isearch-post-command-hook to post-command-hook.
897 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
898 and isearch-post-command-hook from post-command-hook.
899 (isearch-unread-key-sequence)
900 (isearch-reread-key-sequence-naturally)
901 (isearch-lookup-scroll-key, isearch-other-control-char)
902 (isearch-other-meta-char): Remove functions.
903 (isearch-pre-command-hook, isearch-post-command-hook):
904 New functions based on isearch-other-meta-char rewritten
905 relying on the new behavior of overriding-terminal-local-map
906 that does not replace the local keymaps any more. (Bug#15200)
908 2013-10-08 Eli Zaretskii <eliz@gnu.org>
910 Support menus on text-mode terminals.
911 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
914 * tooltip.el (tooltip-mode): Don't error out on TTYs.
916 * menu-bar.el (popup-menu, popup-menu-normalize-position):
917 Move here from mouse.el.
918 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
920 (tty-menu-navigation-map): New map for TTY menu navigation.
922 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
924 * frame.el (display-mouse-p): Report text-mode mouse as available
926 (display-popup-menus-p): Report availability if mouse is
927 available; don't condition on window-system.
929 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
930 (tty-menu-selected-face): New faces.
932 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
934 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
935 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
936 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
937 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
939 (lisp-mode-variables): New `elisp' argument.
940 (emacs-lisp-mode): Use it.
941 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
942 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
944 * indent.el: Use lexical-binding.
945 (indent-region): Add progress reporter.
946 (tab-stop-list): Make it implicitly extend to infinity by repeating the
948 (indent--next-tab-stop): New function to implement this behavior.
949 (tab-to-tab-stop, move-to-tab-stop): Use it.
951 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
953 * indent.el (indent-rigidly--current-indentation): New function.
954 (indent-rigidly-map): New var.
955 (indent-rigidly): Use it to provide interactive mode (bug#8196).
957 2013-10-08 Bastien Guerry <bzg@gnu.org>
959 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
961 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
963 * progmodes/perl-mode.el: Use lexical-binding.
964 Remove redundant :group args.
965 (perl-nochange): Change default to be closer to other major modes's
967 (perl-indent-line): Don't consider text on current line as a
968 valid beginning of function from which to indent.
970 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
971 with more than one argument (bug#15538).
973 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
975 * vc/pcvs.el: Use lexical-binding.
976 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
977 environment of `eval'.
978 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
979 than a list of expressions. Adjust callers.
980 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
982 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
984 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
985 case of the dot in a chained method call being on the following line.
987 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
989 * electric.el (electric-indent-inhibit): New var.
990 (electric-indent-post-self-insert-function): Use it.
991 * progmodes/python.el (python-mode): Set it.
993 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
996 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
998 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
999 (css-mode): Use electric-indent-chars.
1001 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1002 (font-lock-beg, font-lock-end): Move before first use.
1003 (nxml-mode): Use syntax-propertize-function.
1004 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1005 (nxml-extend-after-change-region): Remove.
1006 * nxml/xmltok.el: Use lexical-binding.
1007 (xmltok-save): Use `declare'.
1008 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1009 * nxml/nxml-util.el: Use lexical-binding.
1010 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1012 * nxml/nxml-ns.el: Use lexical-binding.
1013 (nxml-ns-save): Use `declare'.
1014 (nxml-ns-prefixes-for): Avoid add-to-list.
1015 * nxml/rng-match.el: Use lexical-binding.
1016 (rng--ipattern): Use cl-defstruct.
1017 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1018 (rng-cons-group-after, rng-subst-group-after)
1019 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1020 Use closures instead of `(lambda...).
1022 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1024 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1027 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1028 Use `tramp-handle-insert-file-contents'.
1029 (tramp-gvfs-handle-insert-file-contents): Remove function.
1031 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1032 Use `save-restriction' in order to keep markers.
1034 * net/trampver.el: Update release number.
1036 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1038 * progmodes/compile.el (compilation-parse-errors):
1039 Use compilation--put-prop.
1040 (compilation--ensure-parse): Check compilation-multiline.
1042 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1044 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1047 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1049 * progmodes/ruby-mode.el: Fix recently added tests.
1050 (ruby-smie-grammar): Add - and +.
1051 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1052 (ruby-smie--backward-id): New functions.
1053 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1054 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1057 2013-10-07 Leo Liu <sdl.web@gmail.com>
1059 * register.el (register-preview-delay)
1060 (register-preview-functions): New variables.
1061 (register-read-with-preview, register-preview)
1062 (register-describe-oneline): New functions.
1063 (point-to-register, window-configuration-to-register)
1064 (frame-configuration-to-register, jump-to-register)
1065 (number-to-register, view-register, insert-register)
1066 (copy-to-register, append-to-register, prepend-to-register)
1067 (copy-rectangle-to-register): Use register-read-with-preview to
1068 read register. (Bug#15525)
1070 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1072 * net/network-stream.el (network-stream-open-starttls): Don't add
1073 --insecure if it's already present, because that gnutls-cli
1074 rejects getting that parameter twice.
1076 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1078 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1081 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1083 * newcomment.el (comment-use-global-state): Change default value
1084 to t, mark obsolete (Bug#15251).
1085 (comment-beginning): In addition to `comment-to-syntax', check the
1086 value of `comment-use-global-state'.
1088 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1090 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1091 (ruby-comment-column): Follow the global default, by default.
1092 (ruby-smie-grammar): Add assignment syntax.
1093 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1094 open-paren, a comma, or a \.
1095 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1096 and line continuations.
1097 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1098 followed by implicit semi-colons. Add rule for string concatenation
1099 and for indentation at BOB.
1100 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1102 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1103 calling next-sexp, since next-token may have skipped chars which
1104 next-sexp doesn't know should be skipped!
1106 2013-10-05 Leo Liu <sdl.web@gmail.com>
1108 * progmodes/octave.el (octave-send-region):
1109 Call compilation-forget-errors.
1111 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1113 * vc/vc-svn.el (vc-svn-find-admin-dir):
1114 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1115 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1116 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1117 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1119 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1121 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1123 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1125 * subr.el (read-passwd): Hide chars even when called within a context
1126 where after-change-functions is disabled (bug#15501).
1127 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1128 until we removed ourself from overriding-terminal-local-map.
1130 2013-10-04 Leo Liu <sdl.web@gmail.com>
1132 * progmodes/octave.el (inferior-octave-mode):
1133 Call compilation-forget-errors.
1135 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1137 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1139 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1141 * net/secrets.el (secrets-create-collection): Add optional
1142 argument ALIAS. Use proper Label keyword. Append ALIAS as
1143 dbus-call-method argument. (Bug#15516)
1145 2013-10-04 Leo Liu <sdl.web@gmail.com>
1147 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1148 (inferior-octave-compilation-font-lock-keywords): New variables.
1149 (compilation-error-regexp-alist)
1150 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1151 (inferior-octave-mode): Use compilation-shell-minor-mode.
1153 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1155 * minibuffer.el (completion--replace): Be careful that `end' might be
1158 2013-10-03 Daiki Ueno <ueno@gnu.org>
1160 Add support for package signature checking.
1161 * emacs-lisp/package.el (url-http-file-exists-p)
1162 (epg-make-context, epg-context-set-home-directory)
1163 (epg-verify-string, epg-context-result-for)
1164 (epg-signature-status, epg-signature-to-string)
1165 (epg-check-configuration, epg-configuration)
1166 (epg-import-keys-from-file): Declare.
1167 (package-check-signature): New user option.
1168 (package-unsigned-archives): New user option.
1169 (package-desc): Add `signed' field.
1170 (package-load-descriptor): Set `signed' field if .signed file exists.
1171 (package--archive-file-exists-p): New function.
1172 (package--check-signature): New function.
1173 (package-install-from-archive): Check package signature.
1174 (package--download-one-archive): Check archive signature.
1175 (package-delete): Remove .signed file.
1176 (package-import-keyring): New command.
1177 (package-refresh-contents): Import default keyring.
1178 (package-desc-status): Add "unsigned" status.
1179 (describe-package-1, package-menu--print-info)
1180 (package-menu-mark-delete, package-menu--find-upgrades)
1181 (package-menu--status-predicate): Support "unsigned" status.
1183 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1185 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1186 the new compilation scheme using the new byte-codes.
1188 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1189 (byte-pophandler): New byte codes.
1190 (byte-goto-ops): Adjust accordingly.
1191 (byte-compile--use-old-handlers): New var.
1192 (byte-compile-catch): Use new byte codes depending on
1193 byte-compile--use-old-handlers.
1194 (byte-compile-condition-case--old): Rename from
1195 byte-compile-condition-case.
1196 (byte-compile-condition-case--new): New function.
1197 (byte-compile-condition-case): New function that dispatches depending
1198 on byte-compile--use-old-handlers.
1199 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1202 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1203 Optimize under `condition-case' and `catch' if
1204 byte-compile--use-old-handlers is nil.
1205 (disassemble-offset): Handle new bytecodes.
1207 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1209 * subr.el (error): Use `declare'.
1210 (decode-char, encode-char): Use advertised-calling-convention instead
1211 of the docstring to discourage use of the `restriction' arg.
1213 2013-10-03 Daiki Ueno <ueno@gnu.org>
1215 * epg.el (epg-verify-file): Add a comment saying that it does not
1216 notify verification error as a return value nor a signal.
1217 (epg-verify-string): Ditto.
1219 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1221 * progmodes/compile.el (compilation-start): Try globbing the arg to
1224 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1226 Sync with Tramp 2.2.8.
1228 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1229 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1230 * net/trampver.el: Update release number.
1232 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1234 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1235 and default-process-coding-system for darwin only.
1237 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1239 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1241 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1243 * vc/vc-git.el (vc-git-grep): Disable pager.
1245 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1247 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1248 Use :url instead of :homepage, as per
1249 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1251 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1252 non-nil, use `syntax-ppss' (Bug#15251).
1254 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1256 * progmodes/octave.el (inferior-octave-startup-file):
1257 Prefer ~/.emacs.d/init_octave.m.
1259 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1261 * emacs-lisp/package.el (package-desc-from-define):
1262 Accept additional arguments as plist, convert them to an alist and store
1263 them in the `extras' slot.
1264 (package-generate-description-file): Convert extras alist back to
1265 plist and append to the `define-package' form arguments.
1266 (package--alist-to-plist): New function.
1267 (package--ac-desc): Add `extras' slot.
1268 (package--add-to-archive-contents): Check if the archive-contents
1269 vector is long enough, and if it is, pass its `extras' slot value
1270 to `package-desc-create'.
1271 (package-buffer-info): Call `lm-homepage', pass the returned value
1272 to `package-desc-from-define'.
1273 (describe-package-1): Render the homepage button (Bug#13291).
1275 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1276 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1278 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1280 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1281 and default-process-coding-system to utf-8-unix (Bug#15402).
1283 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1285 * subr.el (looking-back): Do not recommend using looking-back.
1287 2013-09-28 Alan Mackenzie <acm@muc.de>
1289 Fix indentation/fontification of Java enum with "implements".
1291 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1292 regexp which matches "implements", etc., in Java.
1293 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1294 specifier clauses coming after "enum".
1295 * progmodes/cc-fonts.el (c-font-lock-declarations)
1296 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1299 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1301 * faces.el (region): Change ns_selection_color to
1302 ns_selection_fg_color, add ns_selection_bg_color.
1304 2013-09-28 Leo Liu <sdl.web@gmail.com>
1306 * progmodes/octave.el (inferior-octave-completion-table)
1307 (inferior-octave-completion-at-point): Minor tweaks.
1309 * textmodes/ispell.el (ispell-lookup-words): Rename from
1310 lookup-words. (Bug#15460)
1311 (lookup-words): Obsolete.
1312 (ispell-complete-word, ispell-command-loop): All uses changed.
1314 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1316 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1317 (octave-mode-menu): Add octave-send-buffer.
1318 (octave-send-buffer): New function.
1320 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1322 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1324 (octave-mode-menu): Add octave-lookfor.
1325 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1327 (octave-lookfor): New function.
1329 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1331 * emacs-lisp/cl-macs.el:
1332 (cl--loop-destr-temps): Remove.
1333 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1335 (cl--loop-set-iterator-function): New function.
1336 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1337 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1338 Bind `it' with `let' instead of substituting it with `cl-subst'.
1339 (cl--unused-var-p): New function.
1340 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1341 Eliminate some unused variable warnings (bug#15326).
1343 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1345 * doc-view.el (doc-view-scale-reset): Rename from
1346 `doc-view-reset-zoom-level'.
1347 (doc-view-scale-adjust): New command.
1348 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1349 `doc-view-scale-adjust'.
1351 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1353 * doc-view.el (doc-view-reset-zoom-level): New command.
1354 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1355 zoom commands (bug#15466).
1357 2013-09-26 Kenichi Handa <handa@gnu.org>
1359 * international/quail.el (quail-help): Make it not a command.
1361 2013-09-26 Leo Liu <sdl.web@gmail.com>
1363 * minibuffer.el (completion-all-sorted-completions): Make args
1364 optional as they are.
1366 2013-09-25 Daniel Colascione <dancol@dancol.org>
1368 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1369 specs are and that they're not evaluated.
1371 2013-09-24 Sam Steingold <sds@gnu.org>
1373 * midnight.el (clean-buffer-list-kill-regexps)
1374 (clean-buffer-list-kill-buffer-names): Update for the new Man
1375 buffer naming which includes the object name.
1377 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1379 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1380 (eshell-parse-command, eshell-parse-pipeline): Use it since
1381 eshell-separate-commands requires a dynamic scoped var.
1382 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1384 2013-09-23 Leo Liu <sdl.web@gmail.com>
1386 * autoinsert.el (auto-insert-alist): Make the value of
1387 lexical-binding match its file setting.
1389 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
1391 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1393 * autoarg.el (autoarg-kp-digit-argument):
1394 * electric.el (Electric-command-loop):
1395 * kmacro.el (kmacro-step-edit-insert):
1396 Do not set universal-argument-num-events.
1398 2013-09-22 Leo Liu <sdl.web@gmail.com>
1400 * files.el (interpreter-mode-alist): Add octave.
1402 2013-09-21 Alan Mackenzie <acm@muc.de>
1404 C++: fontify identifier in declaration following "public:" correctly.
1405 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1406 to match "public", etc.
1407 (c-decl-prefix-re): Add ":" into the C++ value.
1408 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1409 bit. Add a check for a ":" preceded by "public", etc.
1411 2013-09-21 Eli Zaretskii <eliz@gnu.org>
1413 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1414 recognized by GDB 7.5 and later.
1416 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1418 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1420 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1422 * subr.el (internal--call-interactively): New const.
1423 (called-interactively-p): Use it (bug#3984).
1425 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1427 * vc/pcvs.el (cvs-mode-ignore):
1428 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1429 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1431 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1433 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1434 (eshell-ls-orig-insert-directory): Remove.
1435 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1436 (eshell-ls-use-in-dired): Use advice-add/remove.
1437 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1438 Add `orig-fun' arg for use in :around advice.
1439 Make it check (redundantly) eshell-ls-use-in-dired.
1441 2013-09-19 Glenn Morris <rgm@gnu.org>
1443 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1445 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1447 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1449 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
1451 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1452 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1453 (tramp-get-remote-python): New defuns.
1454 (tramp-get-remote-uid-with-perl)
1455 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1456 contributed by yary <not.com@gmail.com> (tiny change).
1457 (tramp-get-remote-uid-with-python)
1458 (tramp-get-remote-gid-with-python): New defuns. Python code
1459 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1460 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1462 2013-09-19 Glenn Morris <rgm@gnu.org>
1464 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1466 * eshell/em-unix.el (eshell-remove-entries):
1467 Rename argument to avoid name-clash with global `top-level'.
1469 * eshell/esh-proc.el (eshell-kill-process-function):
1470 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1471 (eshell-reset-after-proc): Remove unused arg `proc'.
1473 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1474 (directory-files-and-attributes): Mark unused arg.
1476 * eshell/em-unix.el (eshell-remove-entries):
1477 Remove unused arg `path'. Update callers.
1479 * eshell/em-hist.el (eshell-hist-parse-arguments):
1480 Remove unused arg `silent'. Update callers.
1482 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1483 Fix (f)boundp mix-up.
1485 * eshell/em-smart.el (eshell-smart-scroll-window)
1486 (eshell-disable-after-change):
1487 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1489 2013-09-18 Alan Mackenzie <acm@muc.de>
1491 Fix fontification of type when followed by "const".
1492 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1493 "known" types from fontification.
1495 2013-09-18 Glenn Morris <rgm@gnu.org>
1497 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1498 (chart-face-list): Drop Emacsen without display-color-p.
1500 * net/eww.el (libxml-parse-html-region): Declare.
1501 (eww-display-html): Explicit error if no libxml2 support.
1503 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1505 * image.el (image-type-from-buffer, image-multi-frame-p):
1506 Remove --without-x warning/error.
1508 * mouse.el (mouse-yank-primary):
1509 * term.el (term-mouse-paste):
1510 Reorder to silence --without-x compilation.
1512 * mpc.el (doc-view-mode): Silence --without-x compilation.
1514 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1515 Silence --without-x compilation.
1517 * progmodes/gud.el (gud-find-file, gud-mode):
1518 Silence --without-x compilation.
1519 (tooltip-mode): Declare.
1521 * wdired.el (dired-backup-overwrite): Remove declaration.
1522 (wdired-mode-map): Add doc string.
1524 * custom.el (x-get-resource): Declare.
1526 * eshell/em-glob.el (ange-cache):
1527 * eshell/em-unix.el (ange-cache): Declare.
1529 * faces.el (x-display-list, x-open-connection, x-get-resource):
1532 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1533 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1536 * frame.el (x-display-grayscale-p, x-display-name): Declare.
1538 * net/gnutls.el (gnutls-log-level): Declare.
1540 * net/shr.el (image-size, image-animate): Declare.
1542 * simple.el (font-info): Declare.
1544 * subr.el (x-popup-dialog): Declare.
1546 * term/common-win.el (x-select-enable-primary)
1547 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1550 * term/ns-win.el (x-handle-args): Declare.
1552 * term/x-win.el (x-select-enable-clipboard): Declare.
1554 * term/w32-win.el (create-default-fontset): Declare.
1556 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1559 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1560 (fit-frame-to-buffer): Explicit error if --without-x.
1561 (mouse-autoselect-window-select): Silence compiler.
1563 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1565 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1566 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1567 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
1568 * eshell/esh-util.el (eshell-sublist):
1569 Remove unused local variables.
1571 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1573 * textmodes/two-column.el: Make 2C-split work for --without-x.
1574 (scroll-bar-columns): Autoload.
1575 (top-level): Require fringe when compiling.
1577 2013-09-18 Leo Liu <sdl.web@gmail.com>
1579 * subr.el (add-hook): Robustify to handle closure as well.
1581 2013-09-17 Glenn Morris <rgm@gnu.org>
1583 * simple.el (messages-buffer-mode-map): Unbind "g".
1585 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1587 * help-mode.el (help-mode-finish): Use derived-mode-p.
1588 Remove obsolete highlighting.
1590 * play/life.el (life-mode): Use define-derived-mode. Derive from
1592 (life): Let-bind inhibit-read-only.
1593 (life-setup): Avoid `setq'. Use `life-mode'.
1595 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1596 which should not be needed any more.
1597 (package-menu-refresh, package-menu-describe-package): Use user-error.
1599 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1600 (eshell-post-rewrite-command-hook): Make obsolete.
1601 (eshell-parse-command): Simplify.
1602 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1603 (eshell--cmd): Declare.
1604 (eshell-parse-pipeline): Remove unused var `final-p'.
1605 Pass a dynvar to eshell-post-rewrite-command-hook.
1606 Implement the new eshell-post-rewrite-command-function.
1607 (eshell-invoke-directly): Remove unused arg `input'.
1608 * eshell/esh-io.el (eshell-io-initialize):
1609 Use eshell-post-rewrite-command-function (bug#15399).
1610 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1611 adjust to new calling convention.
1612 (eshell-create-handles): Rename args to avoid clashing with dynvar
1615 2013-09-17 Glenn Morris <rgm@gnu.org>
1617 * simple.el (messages-buffer-mode): New major mode.
1618 (messages-buffer): New function.
1619 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1620 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
1621 (ert-run-test): Use `messages-buffer' function.
1622 (ert--force-message-log-buffer-truncation): Ignore read-only.
1623 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1624 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
1626 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1628 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1630 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1632 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1634 * icomplete.el (icomplete-in-buffer): New var.
1635 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1636 vars and replace them with functions.
1637 (icomplete-minibuffer-setup): Adjust accordingly.
1638 (icomplete--completion-table, icomplete--completion-predicate)
1639 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1641 (icomplete-forward-completions, icomplete-backward-completions)
1642 (icomplete-simple-completing-p, icomplete-exhibit)
1643 (icomplete-completions): Use them.
1644 (icomplete--in-region-buffer): New var.
1645 (icomplete--in-region-setup): New function.
1646 (icomplete-mode): Use it.
1648 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1650 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1651 return args and options.
1652 (eshell-eval-using-options): Use the new return value of
1653 eshell--do-opts to set the options's vars in their scope.
1654 (eshell--set-option): Rename from eshell-set-option.
1656 (eshell--process-option): Rename from eshell-process-option.
1658 (eshell--process-args): Use an `opt-vals' alist to store the options's
1659 values during their processing and return them additionally to the
1662 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1664 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1665 continuation character an operator, as far as indentation is
1666 concerned (Bug#15369).
1668 2013-09-15 Martin Rudalics <rudalics@gmx.at>
1670 * window.el (window--state-put-2): Don't process buffer state
1671 when buffer doesn't exist any more (Bug#15382).
1673 2013-09-15 Glenn Morris <rgm@gnu.org>
1675 * eshell/em-unix.el (eshell/rm):
1676 Make -f ignore missing files. (Bug#15373)
1678 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1679 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1680 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1682 2013-09-14 Glenn Morris <rgm@gnu.org>
1684 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1686 2013-09-13 Glenn Morris <rgm@gnu.org>
1688 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1689 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1691 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1693 * frame.el (x-focus-frame): Mark as declared in frame.c.
1695 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1697 * ls-lisp.el: Use advice-add.
1698 (original-insert-directory): Remove.
1699 (ls-lisp--insert-directory): Rename from insert-directory; add
1700 `orig-fun' argument.
1701 (insert-directory): Advise.
1703 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1705 * term.el (term-emulate-terminal): Decode the command string
1706 before passing it to term-command-hook. (Bug#15337)
1708 2013-09-13 Glenn Morris <rgm@gnu.org>
1710 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1712 * eshell/esh-ext.el (eshell-search-path): Declare.
1714 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1715 Otherwise an error occurs if eshell-dirs module not loaded.
1717 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1719 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1721 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1722 `tramp-check-proper-host'. Check for a valid method name.
1724 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1725 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1726 * net/tramp-sh.el (tramp-maybe-open-connection):
1727 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1729 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1730 also for hash values.
1732 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1734 * term/ns-win.el (parameters): Don't declare as dynamic.
1735 (before-make-frame-hook): Don't add ineffective function.
1737 * eshell/*.el: Use lexical-binding (bug#15231).
1739 2013-09-12 Kenichi Handa <handa@gnu.org>
1741 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1743 2013-09-12 Glenn Morris <rgm@gnu.org>
1745 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1746 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1748 * subr.el (do-after-load-evaluation): Also give compiler warnings
1749 when obsolete files are used (except by obsolete files).
1751 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1752 in the status output, assume `filename' is the first. (Bug#15322)
1754 * vc/vc.el (vc-deduce-fileset): Doc fix.
1756 * calc/calc-help.el (Info-goto-node):
1757 * progmodes/cperl-mode.el (Info-find-node):
1758 * vc/ediff.el (Info-goto-node): Update declarations.
1760 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1762 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1763 (vc-bzr-pull): Require vc-dispatcher.
1764 * vc/vc-git.el (vc-compilation-mode): Declare.
1765 (vc-git-pull): Require vc-dispatcher.
1767 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1769 * progmodes/octave.el (help-button-action): Declare.
1771 * shell.el (shell-directory-tracker): Output error as a message
1772 rather than just returning it as a string.
1773 (shell-process-pushd): Remove useless use of message.
1775 * dframe.el (dframe-timer-fn):
1776 * files.el (dir-locals-read-from-file):
1777 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1779 * reveal.el (reveal-post-command):
1780 * saveplace.el (load-save-place-alist-from-file):
1781 * shell.el (shell-resync-dirs):
1782 * w32-common-fns.el (x-get-selection-value):
1783 * emacs-lisp/copyright.el (copyright-find-copyright):
1784 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1785 * emulation/tpu-edt.el (tpu-copy-keyfile):
1786 * play/bubbles.el (bubbles--mark-neighbourhood):
1787 * progmodes/executable.el
1788 (executable-make-buffer-file-executable-if-script-p):
1789 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1791 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1793 Cleanup Eshell to rely less on dynamic scoping.
1794 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1795 last-value, and ext-command here. Bind `args' closer to `body'.
1796 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1797 (eshell--args): Declare new dynamic var.
1798 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1799 last-value, and ext-command. Pass `args' to `body'.
1800 (eshell-process-args): Bind eshell--args.
1801 (eshell-set-option): Use eshell--args.
1802 * eshell/eshell.el (eshell): Use derived-mode-p.
1803 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1804 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1805 (eshell-glob-function): Declare.
1806 * eshell/esh-util.el: Require cl-lib.
1807 (eshell-read-hosts-file): Avoid add-to-list.
1808 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1810 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1812 (eshell/diff): Remove unused var `err'.
1813 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1815 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1816 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1818 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1819 Move declaration before first use.
1820 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1821 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1824 2013-09-12 Glenn Morris <rgm@gnu.org>
1826 * term/ns-win.el (global-map): Remove binding for ispell-next,
1827 deleted 1999-05-29. (Bug#15357)
1829 2013-09-11 Glenn Morris <rgm@gnu.org>
1831 * echistory.el (electric-command-history): Remove call to deleted func.
1833 * play/landmark.el (landmark-mode): Fix typos.
1835 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1836 Check cvs-sort-ignore-file is bound.
1838 * savehist.el: No need for cl when compiling on Emacs.
1840 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1842 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1844 (eshell-self-insert-command, eshell-send-invisible):
1845 Remove unused argument.
1846 (eshell-handle-control-codes): Remove unused var `orig'.
1847 Avoid delete-backward-char.
1849 * files.el (set-auto-mode): Simplify a bit further.
1851 2013-09-11 Glenn Morris <rgm@gnu.org>
1853 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1854 (set-auto-mode): Don't regexp-quote elements.
1855 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1856 * progmodes/cc-mode.el (interpreter-mode-alist):
1857 * progmodes/ruby-mode.el (interpreter-mode-alist):
1858 Revert previous change.
1860 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1862 * play/snake.el (snake-mode):
1863 * play/mpuz.el (mpuz-mode):
1864 * play/landmark.el (lm-mode):
1865 * play/blackbox.el (blackbox-mode):
1866 * play/5x5.el (5x5-mode):
1867 * obsolete/options.el (Edit-options-mode):
1868 * net/quickurl.el (quickurl-list-mode):
1869 * net/newst-treeview.el (newsticker-treeview-mode):
1870 * mail/rmailsum.el (rmail-summary-mode):
1871 * mail/mspools.el (mspools-mode):
1872 * locate.el (locate-mode):
1873 * ibuffer.el (ibuffer-mode):
1874 * emulation/ws-mode.el (wordstar-mode):
1875 * emacs-lisp/debug.el (debugger-mode):
1876 * array.el (array-mode):
1877 * net/eudc.el (eudc-mode): Use define-derived-mode.
1878 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1879 Move initialization into declaration.
1880 (mairix-searches-mode): Use define-derived-mode.
1881 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1882 (eudc-edit-hotlist): Use dolist.
1883 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1884 (Man-mode): Use define-derived-mode.
1885 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1886 (Info-edit-mode): Use define-derived-mode.
1887 (Info-cease-edit): Use Info-mode.
1888 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1890 (eshell-mode): Use define-derived-mode.
1891 * chistory.el (command-history-mode-map): Rename from
1892 command-history-map.
1893 (command-history-mode): Use define-derived-mode.
1894 (Command-history-setup): Remove function.
1895 * calc/calc.el (calc-trail-mode-map): New var.
1896 (calc-trail-mode): Use define-derived-mode.
1897 (calc-trail-buffer): Set calc-main-buffer manually.
1898 * bookmark.el (bookmark-insert-annotation): New function.
1899 (bookmark-edit-annotation): Use it.
1900 (bookmark-edit-annotation-mode): Make it a proper major mode.
1901 (bookmark-send-edited-annotation): Use derived-mode-p.
1902 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1903 closer to its ideal place. Use \' to match EOS.
1905 * profiler.el (profiler-calltree-find): Use function-equal.
1907 2013-09-10 Glenn Morris <rgm@gnu.org>
1909 * files.el (interpreter-mode-alist): Convert to regexps.
1910 (set-auto-mode): Adapt for this. (Bug#15306)
1911 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1912 Comment out unused variable.
1913 * progmodes/cc-mode.el (interpreter-mode-alist):
1914 * progmodes/python.el (interpreter-mode-alist):
1915 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1916 * progmodes/sh-script.el (sh-set-shell):
1917 No longer use interpreter-mode-alist to get list of shells.
1919 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1921 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1923 * simple.el: Use set-temporary-overlay-map for universal-argument.
1924 (universal-argument-map): Don't use default-bindings (bug#15317).
1925 Bind switch-frame explicitly. Replace universal-argument-minus with
1926 a conditional binding.
1927 (universal-argument-num-events, saved-overriding-map): Remove.
1928 (restore-overriding-map): Remove.
1929 (universal-argument--mode): Rename from save&set-overriding-map,
1931 (universal-argument, universal-argument-more, negative-argument)
1932 (digit-argument): Adjust accordingly.
1933 (universal-argument-minus): Remove.
1934 (universal-argument-other-key): Remove.
1936 * subr.el (with-demoted-errors): Add `format' argument.
1938 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
1940 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1941 `tramp-cleanup-connection'.
1943 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1944 parameters KEEP-DEBUG and KEEP-PASSWORD.
1946 * net/tramp.el (tramp-file-name-handler):
1947 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1948 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1949 (tramp-maybe-open-connection):
1950 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1951 Use `tramp-cleanup-connection'.
1953 * net/tramp-sh.el (tramp-maybe-open-connection):
1954 Catch 'uname-changed inside the progress reporter.
1956 2013-09-10 Glenn Morris <rgm@gnu.org>
1958 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1960 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1961 returns "alternate access method" in mode (eg "-rw-r--r--.").
1963 2013-09-08 Glenn Morris <rgm@gnu.org>
1965 * saveplace.el (load-save-place-alist-from-file):
1966 Demote errors. (Bug#15305)
1968 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
1970 Improve compatibility with older Emacsen, and XEmacs.
1972 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1973 only if it is bound. It isn't for XEmacs.
1974 (with-tramp-progress-reporter): Do not let-bind `result'.
1975 This yields to scoping errors in XEmacs.
1976 (tramp-handle-make-auto-save-file-name): New function, moved from
1979 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1980 for `make-auto-save-file-name'.
1981 (tramp-adb--gnu-switches-to-ash):
1982 Use `tramp-compat-replace-regexp-in-string'.
1984 * net/tramp-cache.el (tramp-cache-print): Call
1985 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1987 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1988 bound. It isn't for XEmacs.
1990 * net/tramp-compat.el (tramp-compat-copy-file):
1991 Catch `wrong-number-of-arguments' error.
1992 (tramp-compat-replace-regexp-in-string): New defun.
1994 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1995 for `make-auto-save-file-name'.
1996 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1998 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1999 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2000 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2002 * net/tramp-gw.el (tramp-gw-open-network-stream):
2003 Use `tramp-compat-replace-regexp-in-string'.
2005 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2006 Call `tramp-handle-make-auto-save-file-name'.
2007 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2008 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2009 (tramp-sh-file-inotifywait-process-filter):
2010 Use `tramp-compat-replace-regexp-in-string'.
2011 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2013 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2014 for `make-auto-save-file-name'.
2015 (tramp-smb-handle-copy-directory):
2016 Call `tramp-compat-replace-regexp-in-string'.
2017 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2018 (tramp-smb-handle-copy-file): Improve error message.
2019 (tramp-smb-handle-rename-file): Rename directly only in case
2020 `newname' does not exist yet. This is a restriction of smbclient.
2021 (tramp-smb-maybe-open-connection): Rerun the function only when
2022 `auth-sources' is non-nil.
2024 2013-09-08 Kenichi Handa <handa@gnu.org>
2026 * international/characters.el: Set category "^" (Combining) for
2029 2013-09-07 Alan Mackenzie <acm@muc.de>
2031 Correctly fontify Java class constructors.
2032 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2034 (c-recognize-typeless-decls): Set the Java value to t.
2035 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2036 While handling a "(", add a check for, effectively, Java, and handle a
2037 "typeless" declaration there.
2039 2013-09-07 Roland Winkler <winkler@gnu.org>
2041 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2042 field subtitle for entry type book.
2044 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2046 * minibuffer.el: Make minibuffer-complete call completion-in-region
2047 rather than other way around.
2048 (completion--some, completion-pcm--find-all-completions):
2049 Don't delay signals when debugging.
2050 (minibuffer-completion-contents): Beware fields within the
2051 minibuffer contents.
2052 (completion-all-sorted-completions): Use defvar-local.
2053 (completion--do-completion, completion--cache-all-sorted-completions)
2054 (completion-all-sorted-completions, minibuffer-force-complete):
2055 Add args `beg' and `end'.
2056 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2057 (minibuffer-complete): Use completion-in-region.
2058 (completion-complete-and-exit): New fun, extracted from
2059 minibuffer-complete-and-exit.
2060 (minibuffer-complete-and-exit): Use it.
2061 (completion--complete-and-exit): Rename from
2062 minibuffer--complete-and-exit.
2063 (completion-in-region--single-word): New function, extracted from
2064 minibuffer-complete-word.
2065 (minibuffer-complete-word): Use it.
2066 (display-completion-list): Make `common-substring' argument obsolete.
2067 (completion--in-region): Call completion--in-region-1 instead of
2068 minibuffer-complete.
2069 (completion-help-at-point): Pass boundaries to
2070 minibuffer-completion-help as args rather than via an overlay.
2071 (completion-pcm--string->pattern): Use `any-delim'.
2072 (completion-pcm--optimize-pattern): New function.
2073 (completion-pcm--pattern->regex): Handle `any-delim'.
2074 * icomplete.el (icomplete-forward-completions)
2075 (icomplete-backward-completions, icomplete-completions):
2076 Adjust calls to completion-all-sorted-completions and
2077 completion--cache-all-sorted-completions.
2078 (icomplete-with-completion-tables): Default to t.
2079 * emacs-lisp/crm.el (crm--current-element): Rename from
2080 crm--select-current-element. Don't put an overlay but return the
2082 (crm--completion-command): Take two new args to bind to the boundaries.
2083 (crm-completion-help): Adjust accordingly.
2084 (crm-complete): Use completion-in-region.
2085 (crm-complete-word): Use completion-in-region--single-word.
2086 (crm-complete-and-exit): Use completion-complete-and-exit.
2088 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2090 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2093 2013-09-06 Juri Linkov <juri@jurta.org>
2095 * info.el (Info-display-images-node): When image file doesn't exist
2096 display text version of the image if it's provided in the Info file.
2097 Otherwise, display the location of missing image from SRC attribute.
2098 Add help-echo text property from ALT attribute. (Bug#15279)
2100 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2102 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2103 (edit-abbrevs-mode): Use define-derived-mode.
2105 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2106 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2108 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2109 Use define-derived-mode.
2111 * epg.el (epg-start-encrypt): Minor CSE simplification.
2113 2013-09-06 William Xu <william.xwl@gmail.com>
2115 * arc-mode.el: Add support for 7za (bug#15264).
2116 (archive-7z-program): New var.
2117 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2118 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2119 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2121 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2125 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2126 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2127 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2128 (tramp-postfix-host-format, tramp-file-name-regexp)
2129 (tramp-completion-file-name-regexp)
2130 (tramp-completion-dissect-file-name)
2131 (tramp-handle-substitute-in-file-name): Remove 'url case.
2132 (tramp-file-name-regexp-url)
2133 (tramp-completion-file-name-regexp-url): Remove constants.
2135 2013-09-06 Glenn Morris <rgm@gnu.org>
2137 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2139 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2141 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2142 keywords" below "here-doc beginnings" (Bug#15270).
2144 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2146 * subr.el (pop): Use `car-safe'.
2147 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2148 to detect unused `pop' return value.
2150 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2152 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2153 (python-fill-string): Remove unused var `marker'.
2154 (python-skeleton-add-menu-items): Remove unused var `items'.
2156 * international/mule-cmds.el: Require CL.
2157 (find-coding-systems-for-charsets): Avoid add-to-list.
2158 (sanitize-coding-system-list): New function, extracted from
2159 select-safe-coding-system-interactively.
2160 (select-safe-coding-system-interactively): Use it.
2161 (read-input-method-name): Accept symbols for `default'.
2163 * emacs-lisp/advice.el (defadvice): Add indent rule.
2165 2013-09-05 Daniel Hackney <dan@haxney.org>
2169 * net/browse-url.el:
2172 * net/eudcb-ldap.el:
2185 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2186 byte compiler. Remove some unused let-bound variables.
2188 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2190 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2191 a "ref-cell", since it gets better optimized (bug#14883).
2193 2013-09-05 Glenn Morris <rgm@gnu.org>
2195 * progmodes/cc-awk.el (c-forward-sws): Declare.
2197 2013-09-04 Glenn Morris <rgm@gnu.org>
2199 * generic-x.el [rul-generic-mode]: Require cc-mode.
2200 (c++-mode-syntax-table): Declare.
2201 (rul-generic-mode-syntax-table): Init in the defvar.
2203 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2205 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2206 (vc-do-command, vc-set-async-update):
2207 * vc/vc-mtn.el (vc-mtn-dir-status):
2208 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2209 (vc-hg-pull, vc-hg-merge-branch):
2210 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2211 (vc-git-merge-branch):
2212 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2213 (vc-cvs-dir-status-files):
2214 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2215 (vc-bzr-dir-status-files):
2216 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2217 * vc/vc-annotate.el: Use lexical-binding.
2218 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2219 (vc-sentinel-movepoint): Declare.
2220 (vc-annotate): Don't use `goto-line'.
2221 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2222 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2223 (vc-sentinel-movepoint): Declare.
2224 * vc/vc-svn.el: Use lexical-binding.
2225 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2227 * vc/vc-rcs.el: Use lexical-binding.
2229 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2230 `deleted'. Don't drop errors silently.
2232 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2234 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2236 * vc/vc.el (vc-ignore): Rewrite.
2237 (vc-default-ignore): New function.
2238 (vc-default-ignore-completion-table): Use find-ignore-file.
2240 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2241 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2242 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2243 Remove. Most code moved to vc.el.
2245 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2247 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2248 * net/tramp-smb.el (tramp-smb-get-file-entries):
2249 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2250 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2252 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2254 (eww-change-select): Remove unused var `properties'.
2255 (eww-make-unique-file-name): Remove unused var `base'.
2257 * finder.el (finder-compile-keywords): Don't mess with windows.
2259 * calculator.el (calculator-funcall): Fix typo in last change.
2261 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2263 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2264 <pkg>-autoloads.el file stop us.
2266 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2267 warnings, and factor out common code.
2269 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2271 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2272 two-character operators and whether the character preceding them
2273 changes their meaning (Bug#15208).
2275 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2277 Format code sent to Python shell for robustness.
2278 * progmodes/python.el (python-shell-buffer-substring):
2280 (python-shell-send-region, python-shell-send-buffer): Use it.
2282 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
2284 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2285 * net/tramp.el (tramp-user-error): ... here.
2286 (tramp-find-method, tramp-check-proper-host)
2287 (tramp-dissect-file-name, tramp-debug-message)
2288 (tramp-handle-shell-command):
2289 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2290 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2292 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2294 2013-09-02 Martin Rudalics <rudalics@gmx.at>
2296 * avoid.el (mouse-avoidance-point-position)
2297 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2300 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2302 * progmodes/python.el (python-shell-completion-get-completions):
2303 Drop use of deleted `comint-last-prompt-overlay'.
2304 (python-nav-if-name-main): New command.
2306 2013-09-01 Glenn Morris <rgm@gnu.org>
2308 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2309 Avoid leading space in $wins. Otherwise the sed command used by
2310 eg compile-main ends up containing "/*.el". (Bug#15170)
2312 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2314 2013-08-30 Glenn Morris <rgm@gnu.org>
2316 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2317 Fix is-this-a-directory logic. (Bug#15220)
2319 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2321 * textmodes/css-mode.el: Use SMIE.
2322 (css-smie-grammar): New var.
2323 (css-smie--forward-token, css-smie--backward-token)
2324 (css-smie-rules): New functions.
2325 (css-mode): Use them.
2326 (css-navigation-syntax-table): Remove var.
2327 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2328 (css-indent-calculate, css-indent-line): Remove functions.
2330 Misc changes to reduce use of `(lambda...); and other cleanups.
2331 * cus-edit.el: Use lexical-binding.
2332 (customize-push-and-save, customize-apropos)
2333 (custom-buffer-create-internal): Use closures.
2334 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2335 * progmodes/ada-xref.el: Use setq.
2336 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2337 * dframe.el: Use lexical-binding.
2338 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2339 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2340 * descr-text.el: Use lexical-binding.
2341 (describe-text-widget, describe-text-sexp, describe-property-list):
2343 * comint.el (comint-history-isearch-push-state): Use a closure.
2344 * calculator.el: Use lexical-binding.
2345 (calculator-number-to-string): Make it work with lexical-binding.
2346 (calculator-funcall): Same and use cl-letf.
2348 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2349 (lisp--company-doc-string, lisp--company-location): New functions.
2350 (lisp-completion-at-point): Use them to improve Company support.
2352 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2353 params of lambda expressions.
2354 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2355 (ruby-smie--opening-pipe-p): New function.
2356 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2357 symbols and matched |...| for formal params.
2358 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2359 from being treated as hanging. Handle "rescue".
2361 2013-08-29 Glenn Morris <rgm@gnu.org>
2363 * progmodes/cc-engine.el (c-pull-open-brace):
2364 Move definition before use.
2366 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2368 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2369 are immutable. Don't use `unsafe' any more.
2370 (cl--defsubst-expand): Don't substitute at the same time as keeping
2371 a residual unused let-binding. Don't use `unsafe' any more.
2373 2013-08-29 Glenn Morris <rgm@gnu.org>
2375 * calendar/cal-china.el (calendar-chinese-year-cache):
2378 * nxml/nxml-util.el (nxml-debug-clear-inside):
2379 Use cl-loop rather than loop.
2381 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2383 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2385 2013-08-28 Glenn Morris <rgm@gnu.org>
2387 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2389 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2391 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2393 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2395 * simple.el (repeat-complex-command--called-interactively-skip):
2397 (repeat-complex-command): Use it (bug#14136).
2399 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2400 (c-define-abbrev-table): Add `doc' argument.
2401 (c-mode-abbrev-table, c++-mode-abbrev-table)
2402 (objc-mode-abbrev-table, java-mode-abbrev-table)
2403 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2404 (awk-mode-abbrev-table): Use it.
2405 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2406 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2407 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2408 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2409 Move initialization into the declaration; and remove any
2412 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2413 and dynamic let binding.
2415 * vc/smerge-mode.el: Remove redundant :group args.
2417 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2420 2013-08-28 Juri Linkov <juri@jurta.org>
2422 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2423 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2424 (isearch-other-meta-char): Handle an undefined shifted printing
2425 character by downshifting it. (Bug#15200)
2427 2013-08-28 Juri Linkov <juri@jurta.org>
2429 * isearch.el (isearch-search): Change regexp error message for
2430 non-regexp searches. (Bug#15166)
2432 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2434 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2435 for portability to hosts where /bin/sh has problems.
2437 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2439 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2441 2013-08-27 Juri Linkov <juri@jurta.org>
2443 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2444 in the keyboard macro. (Bug#15126)
2446 2013-08-27 Juri Linkov <juri@jurta.org>
2448 * isearch.el (isearch-quote-char): Comment out converting unibyte
2449 to multibyte, thus syncing with its `quoted-insert' counterpart.
2452 2013-08-27 Martin Rudalics <rudalics@gmx.at>
2454 * window.el (display-buffer-use-some-window): Add missing
2455 argument in call of get-largest-window (Bug#15185).
2456 Reported by Stephen Leake.
2458 2013-08-27 Glenn Morris <rgm@gnu.org>
2460 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2462 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2464 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2465 from a matcher-function unless there's no more matches (bug#15161).
2467 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2469 * minibuffer.el: Revert change from 2013-08-20.
2471 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2472 with text property `tramp-default', if appropriate.
2473 (tramp-check-proper-host): New defun.
2474 (tramp-dissect-file-name): Do not check hostname. Revert change
2476 (tramp-backtrace): Make VEC-OR-PROC optional.
2478 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2479 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2480 * net/tramp-sh.el (tramp-maybe-open-connection):
2481 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2482 Apply `tramp-check-proper-host'.
2484 2013-08-26 Tassilo Horn <tsdh@gnu.org>
2486 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2487 lambda expression in order to have `describe-variable' display it.
2489 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2491 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2492 BUF can be optional. (Bug#15186)
2494 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2496 * progmodes/flymake.el (flymake-get-real-file-name-function):
2497 Fix broken customization. (Bug#15184)
2499 2013-08-25 Alan Mackenzie <acm@muc.de>
2501 Improve indentation of bracelists defined by macros (without "=").
2503 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2504 expansion begins with "{", regard it as bracelist when it doesn't
2507 Parse C++ inher-intro when there's a template split over 2 lines.
2509 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2510 rigorously the search for "class" etc. followed by ":".
2512 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2513 random languages a regexp which never matches rather than nil.
2515 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2517 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2518 (c-awk-regexp-one-line-possibly-open-char-list-re)
2519 (c-awk-one-line-possibly-open-regexp-re)
2520 (c-awk-one-line-non-syn-ws*-re): Remove.
2521 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2522 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2523 (c-awk-space*-unclosed-regexp-/-re): New constants.
2524 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2525 aren't regexp delimiters.
2527 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2528 handling for a rare situation in AWK Mode involving unterminated
2531 2013-08-23 Glenn Morris <rgm@gnu.org>
2533 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2535 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2537 * files.el (create-file-buffer): If the result would begin with
2538 spaces, prepend a "|" instead of removing them. (Bug#15162)
2540 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2542 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2543 text-properties (bug#15155).
2545 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2547 (calc-keypad-redraw): Remove unused var `pad'.
2548 (calc-keypad-press): Remove unused var `menu'.
2550 2013-08-23 Martin Rudalics <rudalics@gmx.at>
2552 * window.el (display-buffer-pop-up-frame):
2553 Call pop-up-frame-function with BUFFER current so `make-frame' will
2554 use it as the new frame's buffer (Bug#15133).
2556 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2558 * calendar/timeclock.el: Minor cleanups.
2559 (timeclock-ask-before-exiting, timeclock-use-display-time):
2561 (timeclock-modeline-display): Define as alias before the
2563 (timeclock-mode-line-display): Use define-minor-mode.
2564 (timeclock-day-list-template): Make it a function, add an argument.
2565 (timeclock-day-list-required, timeclock-day-list-length)
2566 (timeclock-day-list-debt, timeclock-day-list-span)
2567 (timeclock-day-list-break): Adjust calls accordingly.
2569 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2571 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2572 Use read--expression so that completion works again.
2574 2013-08-21 Sam Steingold <sds@gnu.org>
2576 Add rudimentary inferior shell interaction
2577 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2578 (sh-set-shell): Reset it.
2579 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2580 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
2582 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2584 * align.el: Use lexical-binding.
2585 (align-region): Simplify accordingly.
2587 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
2589 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2591 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2594 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
2598 * net/tramp-cmds.el:
2600 * net/tramp-gvfs.el:
2602 * net/tramp-sh.el: Don't wrap external variable declarations by
2603 `eval-when-compile'.
2605 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2607 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2608 now that Emacs supports ImageMagick animations.
2610 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
2612 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2613 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2615 2013-08-16 Martin Rudalics <rudalics@gmx.at>
2617 * window.el (mouse-autoselect-window-select): Do autoselect when
2618 mouse pointer is on margin.
2620 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2622 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2624 2013-08-16 Glenn Morris <rgm@gnu.org>
2626 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2627 Handle "Remote Directory" response of some clients. (Bug#15058)
2629 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2630 Tweak warning. (Bug#14926)
2632 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2633 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2635 * image-mode.el (image-mode-map): Add menu items to reverse,
2636 increase, decrease, reset animation speed.
2637 (image--set-speed, image-increase-speed, image-decrease-speed)
2638 (image-reverse-speed, image-reset-speed): New functions.
2639 (image-mode-map): Add bindings for speed commands.
2641 * image.el (image-animate-get-speed, image-animate-set-speed):
2643 (image-animate-timeout): Respect image :speed property.
2645 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2647 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2648 previous line (bug#15101).
2649 (debugger-eval-expression, debugger-record-expression):
2650 Use read--expression (bug#15102).
2652 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
2654 Remove byte compiler warnings, visible when compiling with
2655 `byte-compile-force-lexical-warnings' set to t.
2657 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2658 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2659 (tramp-handle-unhandled-file-name-directory)
2660 (tramp-handle-file-notify-add-watch, tramp-action-login)
2661 (tramp-action-succeed, tramp-action-permission-denied)
2662 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2665 * net/tramp-adb.el (tramp-adb-parse-device-names)
2666 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2667 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2668 (tramp-adb-handle-file-truename): Remove unused arguments.
2670 * net/tramp-cache.el (tramp-flush-directory-property)
2671 (tramp-flush-connection-property, tramp-list-connections)
2672 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2674 * net/tramp-compat.el (tramp-compat-make-temp-file):
2675 Rename FILENAME to F.
2677 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2678 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2679 (tramp-zeroconf-parse-workstation-device-names)
2680 (tramp-zeroconf-parse-webdav-device-names)
2681 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2683 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2684 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2686 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2688 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2689 (tramp-sh-handle-insert-file-contents-literally)
2690 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2692 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2693 Remove unused variables.
2695 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2696 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2697 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2699 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2700 Make them a defconst.
2701 (tramp-uuencode-region): Remove unused variable.
2703 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2705 * frameset.el (frameset--prop-setter): New function.
2706 (frameset-prop): Add gv-setter declaration.
2707 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2708 parameter was already set in FILTERED. Doc fix.
2709 (frameset--record-minibuffer-relationships): Allow saving a
2710 minibufferless frame without its corresponding minibuffer frame.
2711 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2712 frame, if the frame id matches.
2713 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2714 frames before orphaned ones.
2715 (frameset-restore): Warn about orphaned windows, instead of error out.
2717 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2719 * window.el (window-make-atom): Don't overwrite parameter
2721 (display-buffer-in-atom-window): Handle special case where we
2722 split an already atomic window.
2723 (window--major-non-side-window, display-buffer-in-side-window)
2724 (window--side-check): Ignore minibuffer window when walking
2726 (window-deletable-p): Return 'frame only if no other frame uses
2727 our minibuffer window.
2728 (record-window-buffer): Run buffer-list-update-hook.
2729 (split-window): Make sure window--check-frame won't destroy an
2730 existing atomic window in case the new window gets nested
2732 (display-buffer-at-bottom): Ignore minibuffer window when
2733 walking window tree. Don't split a side window.
2734 (pop-to-buffer): Don't set-buffer here, the select-window call
2736 (mouse-autoselect-window-select): Autoselect only if we are in the
2737 text portion of the window.
2739 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2741 * net/shr.el (shr-parse-image-data): New function to grab both the
2742 data itself and the Content-Type.
2743 (shr-put-image): Use it.
2745 * net/eww.el (eww-display-image): Ditto.
2747 * image.el (image-content-type-suffixes): New variable.
2749 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2751 * progmodes/python.el (python-imenu--build-tree)
2752 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2754 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2756 * simple.el (backward-word): Mention the optional argument.
2758 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2760 * frameset.el (frameset--make): Rename constructor from make-frameset.
2761 (frameset-p, frameset-valid-p): Don't autoload.
2762 (frameset-valid-p): Use normal accessors.
2764 2013-08-13 Glenn Morris <rgm@gnu.org>
2766 * progmodes/compile.el (compile-command): Tweak example in doc.
2767 * obsolete/scribe.el (scribe-mode):
2768 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2770 * mail/feedmail.el (feedmail-confirm-outgoing)
2771 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2773 * cus-start.el (truncate-partial-width-windows): Fix type.
2775 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2777 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2779 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2781 * emacs-lisp/timer.el (timer--time-setter): New function.
2782 (timer--time): Use it as gv-setter.
2784 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2785 setter is not a symbol.
2787 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2789 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2790 if sending fails. This makes debugging easier.
2792 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2794 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2795 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2796 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2798 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2800 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2802 2013-08-12 Glenn Morris <rgm@gnu.org>
2804 * format.el (format-annotate-function):
2805 Handle read-only text properties in the source. (Bug#14887)
2807 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2809 * net/eww.el (eww-display-html): Ignore coding system errors.
2810 One web site uses "utf-8lias" as the coding system.
2812 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2814 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2816 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2818 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2819 (tutorial--detailed-help): Remove unused local variables.
2820 (tutorial--save-tutorial-to): Use ignore-errors.
2821 (help-with-tutorial): Use looking-at-p.
2823 * view.el (view-buffer-other-window, view-buffer-other-frame):
2824 Mark unused arguments.
2826 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2827 (woman-select-symbol-fonts, woman, woman-find-file)
2828 (woman-insert-file-contents, woman-non-underline-faces):
2830 (woman1-unquote): Move declaration.
2832 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2833 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2834 argument. Remove unused local variable.
2835 (xml-parse-elem-type): Use string-match-p.
2836 (xml-substitute-numeric-entities): Use ignore-errors.
2838 * calculator.el (calculator): Mark unused argument.
2839 (calculator-paste, calculator-quit, calculator-integer-p):
2841 (calculator-string-to-number, calculator-decimal, calculator-exp)
2842 (calculator-op-or-exp): Use string-match-p.
2844 * dired.el (dired-buffer-more-recently-used-p): Declare.
2845 (dired-insert-set-properties, dired-insert-old-subdirs):
2848 * dired-aux.el (dired-compress): Use ignore-errors.
2849 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2850 (dired-do-async-shell-command, dired-do-shell-command)
2851 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2852 (dired-insert-subdir-validate): Use string-match-p.
2853 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2854 (dired-add-entry): Use string-match-p, looking-at-p.
2855 (dired-insert-subdir-newpos): Remove unused local variable.
2857 * filenotify.el (file-notify-callback): Remove unused local variable.
2859 * filesets.el (filesets-error): Mark unused argument.
2860 (filesets-which-command-p, filesets-filter-dir-names)
2861 (filesets-directory-files, filesets-get-external-viewer)
2862 (filesets-ingroup-get-data): Use string-match-p.
2864 * find-file.el (ff-other-file-name, ff-other-file-name)
2865 (ff-find-the-other-file, ff-cc-hh-converter):
2866 Remove unused local variables.
2867 (ff-get-file-name): Use string-match-p.
2868 (ff-all-dirs-under): Use ignore-errors.
2870 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2871 (follow-select-if-visible): Remove unused local variable.
2873 * forms.el (read-file-filter): Move declaration.
2874 (forms--make-format, forms--make-parser, forms-insert-record):
2875 Quote function with #'.
2876 (forms--update): Use string-match-p. Quote function with #'.
2878 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2879 (help-make-xrefs): Use looking-at-p.
2880 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2882 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2883 (ibuffer-confirm-operation-on): Use string-match-p.
2885 * msb.el (msb-item-handler, msb-dired-item-handler):
2886 Mark unused arguments.
2888 * ses.el (ses-decode-cell-symbol)
2889 (ses-kill-override): Remove unused local variable.
2890 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2891 (ses-load): Use ignore-errors, looking-at-p.
2892 (ses-jump-safe): Use ignore-errors.
2893 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2895 * tabify.el (untabify, tabify): Mark unused arguments.
2897 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2898 Mark unused argument.
2899 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2900 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2902 * emacs-lisp/timer.el (timer--time): Define setter with
2903 gv-define-setter to avoid deprecation warning.
2905 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2906 (*record-cmpl-statistics-p*): Remove (was commented out).
2907 (cmpl-statistics-block): Remove (body was commented out).
2908 All callers changed.
2909 (add-completions-from-buffer, load-completions-from-file):
2910 Remove unused variables.
2912 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2914 * filecache.el (file-cache-delete-file-list):
2915 Print message only when told so.
2916 (file-cache-files-matching): Use #' in mapconcat argument.
2918 * ffap.el (ffap-url-at-point): Fix reference to variable
2919 thing-at-point-default-mail-uri-scheme.
2921 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2923 * subr.el (define-error): New function.
2924 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2925 error-file-not-found and define with define-error.
2926 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2927 and define with define-error.
2928 * userlock.el (file-locked, file-supersession):
2929 * simple.el (mark-inactive):
2930 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2931 * progmodes/ada-mode.el (ada-mode-errors):
2932 * play/life.el (life-extinct):
2933 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2934 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2935 * nxml/rng-util.el (rng-error):
2936 * nxml/rng-uri.el (rng-uri-error):
2937 * nxml/rng-match.el (rng-compile-error):
2938 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2939 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2940 * nxml/nxml-rap.el (nxml-scan-error):
2941 * nxml/nxml-outln.el (nxml-outline-error):
2942 * net/soap-client.el (soap-error):
2943 * net/gnutls.el (gnutls-error):
2944 * net/ange-ftp.el (ftp-error):
2945 * mpc.el (mpc-proc-error):
2946 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2947 (json-number-format, json-string-escape, json-string-format)
2948 (json-key-format, json-object-format):
2949 * jka-compr.el (compression-error):
2950 * international/quail.el (quail-error):
2951 * international/kkc.el (kkc-error):
2952 * emacs-lisp/ert.el (ert-test-failed):
2953 * calc/calc.el (calc-error, inexact-result, math-overflow)
2955 * bookmark.el (bookmark-error-no-filename):
2956 * epg.el (epg-error): Define with define-error.
2958 * time.el (display-time-event-handler)
2959 (display-time-next-load-average): Don't call sit-for since it seems
2960 unnecessary (bug#15045).
2962 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2963 Use #' instead of ' to quote functions.
2964 (checkdoc-output-mode): Use setq-local.
2965 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2966 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2967 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2968 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2969 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2970 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2971 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2972 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2974 * ido.el (ido-completion-help): Fix up compiler warning.
2976 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2978 * frameset.el (frameset-p): Add autoload cookie.
2979 (frameset--jump-to-register): New function, based on code moved from
2981 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2983 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2984 (frameset-restore, frameset-save, frameset-session-filter-alist):
2985 Remove declarations.
2986 (register-alist): Doc fix.
2987 (frameset-to-register): Move to frameset.el.
2988 (jump-to-register, describe-register-1): Remove frameset-specific code.
2990 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2992 * allout-widgets.el (allout-widgets-pre-command-business)
2993 (allout-widgets-post-command-business)
2994 (allout-widgets-after-change-handler)
2995 (allout-decorate-item-and-context, allout-set-boundary-marker)
2996 (allout-body-modification-handler)
2997 (allout-graphics-modification-handler): Mark ignored arguments.
2998 (allout-widgets-post-command-business)
2999 (allout-widgets-exposure-change-processor)
3000 (allout-widgets-exposure-undo-processor)
3001 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3002 (allout-parse-item-at-point, allout-decorate-item-guides)
3003 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3004 * allout.el (epa-passphrase-callback-function): Declare.
3005 (allout-overlay-insert-in-front-handler)
3006 (allout-overlay-interior-modification-handler)
3007 (allout-isearch-end-handler, allout-chart-siblings)
3008 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3009 (allout-yank-processing, allout-process-exposed)
3010 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3011 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3012 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3013 (lisp-indent-defform): Mark ignored arguments.
3014 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3015 (calculate-lisp-indent): Remove unused variables.
3016 * international/characters.el (indian-2-column, arabic-2-column)
3017 (tibetan): Mark ignored arguments.
3018 (use-cjk-char-width-table): Mark ignored arguments.
3019 Remove unused variables.
3020 * international/fontset.el (build-default-fontset-data)
3021 (x-compose-font-name, create-fontset-from-fontset-spec):
3022 Mark ignored arguments.
3023 (fontset-plain-name): Remove unused variables.
3024 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3025 (keyboard-coding-system): Mark ignored arguments.
3026 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3027 * help.el (resize-temp-buffer-window):
3028 * window.el (display-buffer-in-major-side-window)
3029 (display-buffer-in-side-window, display-buffer-in-previous-window):
3030 Remove unused variables.
3031 * isearch.el (isearch-forward-symbol):
3032 * version.el (emacs-bzr-version-bzr):
3033 * international/mule-cmds.el (current-language-environment):
3034 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3036 * term/pc-win.el (x-list-fonts, x-display-planes)
3037 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3038 (x-server-version, x-display-screens, x-display-mm-height)
3039 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3040 (x-selection-owner-p, x-own-selection-internal)
3041 (x-disown-selection-internal, x-get-selection-internal)
3042 (msdos-initialize-window-system):
3043 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3044 * term/x-win.el (x-handle-no-bitmap-icon):
3045 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3046 (vc-default-find-file-hook, vc-default-extra-menu):
3047 Mark ignored arguments.
3049 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3051 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3052 break-condition in the context of the debugged code (bug#12685).
3054 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3057 Do not use an overlay to highlight the last prompt. (Bug#14744)
3058 (comint-mode): Make comint-last-prompt buffer local.
3059 (comint-last-prompt): New variable.
3060 (comint-last-prompt-overlay): Remove. Superseded by
3062 (comint-snapshot-last-prompt, comint-output-filter):
3063 Use comint-last-prompt.
3065 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3067 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3068 (frameset-save): Check validity of the resulting frameset.
3070 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3072 * ido.el (ido-record-command): Add doc string.
3074 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3076 * frameset.el (frameset): Do not disable creation of the default
3077 frameset-p predicate. Doc fix.
3078 (frameset-valid-p): New function, copied from the old predicate-p.
3079 Add additional checks.
3080 (frameset-restore): Check with frameset-valid-p.
3081 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3082 (frameset-name, frameset-description, frameset-properties)
3083 (frameset-states): Add docstring.
3084 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3085 (frameset-filter-alist): Doc fixes.
3087 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3089 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3091 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3093 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3094 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3095 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3096 (byte-compile-normal-call): Remove obsolescence check.
3098 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3100 * frameset.el (frameset-restore): Doc fix.
3102 * register.el (frameset-frame-id, frameset-frame-with-id)
3103 (frameset-p, frameset-restore, frameset-save): Declare.
3104 (register-alist): Document framesets.
3105 (frameset-session-filter-alist): Declare.
3106 (frameset-to-register): New function.
3107 (jump-to-register): Implement jumping to framesets. Doc fix.
3108 (describe-register-1): Describe framesets.
3110 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3112 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3114 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3115 Use lexical-binding.
3117 * frameset.el (frameset): Use type vector, not list (incompatible
3118 change). Do not declare a new constructor, use the default one.
3119 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3120 `name' and `description', respectively, and add read-only slot
3121 `timestamp'. Doc fixes.
3122 (frameset-copy, frameset-persistent-filter-alist)
3123 (frameset-filter-alist, frameset-switch-to-gui-p)
3124 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3125 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3126 (frameset-filter-iconified, frameset-keep-original-display-p):
3128 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3129 Rename from frameset-filter-(save|restore)-param. All callers changed.
3131 (frameset-p): Adapt to change to vector and be more thorough.
3132 Change arg name to OBJECT. Doc fix.
3133 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3134 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3135 All callers changed.
3136 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3137 All callers changed.
3138 (frameset--record-minibuffer-relationships): Rename from
3139 frameset--process-minibuffer-frames. All callers changed.
3140 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3141 Use new default constructor (again). Doc fix.
3142 (frameset--find-frame-if): Rename from `frameset--find-frame.
3143 All callers changed.
3144 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3145 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3147 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3148 PARAMETERS and WINDOW-STATE, respectively.
3149 (frameset-restore): Add new keyword argument PREDICATE.
3150 Reset frameset--target-display to nil. Doc fix.
3152 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3154 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3156 (bat-mode-syntax-table): Mark \n as end-of-comment.
3157 (bat-font-lock-keywords): Remove comment rule.
3159 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3160 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3162 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3163 (byte-compile-callargs-warn): Use `push'.
3164 (byte-compile-arglist-warn): Ignore higher-order "calls".
3165 (byte-compile-file-form-autoload): Use `pcase'.
3166 (byte-compile-function-form): If quoting a symbol, check that it exists.
3168 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3170 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3171 and add a few popular commands found in batch files.
3172 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3173 (dos-mode): Doc fixes.
3175 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3177 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3178 (dos-mode): Use setq-local. Add space after "rem".
3179 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3180 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3182 2013-08-07 Arni Magnusson <arnima@hafro.is>
3184 * progmodes/dos.el: New file.
3185 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3188 2013-08-06 Glenn Morris <rgm@gnu.org>
3190 * calendar/calendar.el: Add new faces, and day-header-array.
3191 (calendar-weekday-header, calendar-weekend-header)
3192 (calendar-month-header): New faces.
3193 (calendar-day-header-construct): New function.
3194 (calendar-day-header-width): Also :set calendar-day-header-array.
3195 (calendar-american-month-header, calendar-european-month-header)
3196 (calendar-iso-month-header): Use calendar- faces.
3197 (calendar-generate-month):
3198 Use calendar-day-header-array for day headers; apply faces to them.
3199 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3200 (calendar-abbrev-construct): Add optional maxlen argument.
3201 (calendar-day-name-array): Doc fix.
3202 (calendar-day-name-array, calendar-abbrev-length)
3203 (calendar-day-abbrev-array):
3204 Also :set calendar-day-header-array, and maybe redraw.
3205 (calendar-day-header-array): New option. (Bug#15007)
3206 (calendar-font-lock-keywords): Set to nil and make obsolete.
3207 (calendar-day-name): Add option to use header array.
3209 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3211 * net/shr.el (shr-render-td): Remove debugging.
3212 (shr-render-td): Make width computation consistent by defaulting
3213 all zero-width columns to 10 characters. This may not be optimal,
3214 but it's at least consistent.
3215 (shr-make-table-1): Redo last change to fix the real problem in
3218 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3220 * files.el (cache-long-line-scans):
3221 Make obsolete alias to `cache-long-scans'.
3223 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3225 * frameset.el (frameset, frameset-filter-alist)
3226 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3227 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3228 (frameset-compute-pos): Rename from frameset--compute-pos,
3230 (frameset-move-onscreen): Use frameset-compute-pos.
3231 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3233 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3234 Fix typos in docstrings.
3236 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3238 * frame.el (get-other-frame): Tiny cleanup.
3240 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3242 * vc/vc.el (vc-default-ignore-completion-table):
3243 Silence byte-compiler warning.
3245 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3246 slot , which can indeed be nil.
3247 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3248 Move entry for `left' from persistent to live filter alist.
3249 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3251 (frameset-filter-params): When restoring a frame, copy items added to
3252 `filtered', to avoid unwittingly modifying the original parameters.
3253 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3254 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3256 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3257 to use looking-at-p instead of looking-at. (Bug#15028)
3259 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3261 Revert introduction of isearch-filter-predicates (bug#14714).
3262 Rely on add-function instead.
3263 * isearch.el (isearch-filter-predicates): Rename it back to
3264 isearch-filter-predicate.
3265 (isearch-message-prefix): Use advice-function-mapc and advice
3266 properties to get the isearch-message-prefix.
3267 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3268 instead of run-hook-with-args-until-failure.
3269 (isearch-filter-visible): Not obsolete any more.
3270 * loadup.el: Preload nadvice.
3271 * replace.el (perform-replace): Revert to funcall
3272 instead of run-hook-with-args-until-failure.
3273 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3274 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3275 dired-isearch-filenames-toggle; make it into a proper minor mode.
3276 Use add/remove-function.
3277 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3278 Call the minor-mode rather than add/remove-hook.
3279 (dired-isearch-filter-filenames):
3280 Remove isearch-message-prefix property.
3281 * info.el (Info--search-loop): New function, extracted from Info-search.
3282 Funcall isearch-filter-predicate instead of
3283 run-hook-with-args-until-failure isearch-filter-predicates.
3284 (Info-search): Use it.
3285 (Info-mode): Use isearch-filter-predicate instead of
3286 isearch-filter-predicates.
3288 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3290 Do not call to `selected-window' where it is assumed by default.
3291 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3292 `window-hscroll', `window-width', `window-height', `window-buffer',
3293 `window-frame', `window-start', `window-point', `next-window'
3294 and `window-display-table'.
3295 * abbrev.el (abbrev--default-expand):
3296 * bs.el (bs--show-with-configuration):
3297 * buff-menu.el (Buffer-menu-mouse-select):
3298 * calc/calc.el (calc):
3299 * calendar/calendar.el (calendar-generate-window):
3300 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3302 * comint.el (send-invisible, comint-dynamic-complete-filename)
3303 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3304 * completion.el (complete):
3305 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3306 * disp-table.el (describe-current-display-table):
3307 * doc-view.el (doc-view-insert-image):
3308 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3309 * ehelp.el (with-electric-help):
3310 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3311 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3312 * emacs-lisp/helper.el (Helper-help-scroller):
3313 * emulation/cua-base.el (cua--post-command-handler-1):
3314 * eshell/esh-mode.el (eshell-output-filter):
3315 * ffap.el (ffap-gnus-wrapper):
3316 * help-macro.el (make-help-screen):
3317 * hilit-chg.el (highlight-compare-buffers):
3318 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3319 * hl-line.el (global-hl-line-highlight):
3320 * icomplete.el (icomplete-simple-completing-p):
3321 * isearch.el (isearch-done):
3322 * jit-lock.el (jit-lock-stealth-fontify):
3323 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3324 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3325 * mpc.el (mpc-tagbrowser, mpc):
3326 * net/rcirc.el (rcirc-any-buffer):
3327 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3328 * play/landmark.el (landmark-max-width, landmark-max-height):
3329 * play/zone.el (zone):
3330 * progmodes/compile.el (compilation-goto-locus):
3331 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3332 * progmodes/etags.el (find-tag-other-window):
3333 * progmodes/fortran.el (fortran-column-ruler):
3334 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3335 * progmodes/verilog-mode.el (verilog-point-text):
3336 * reposition.el (reposition-window):
3337 * rot13.el (toggle-rot13-mode):
3338 * server.el (server-switch-buffer):
3339 * shell.el (shell-dynamic-complete-command)
3340 (shell-dynamic-complete-environment-variable):
3341 * simple.el (insert-buffer, set-selective-display)
3342 (delete-completion-window):
3343 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3344 (speedbar-recenter):
3345 * startup.el (fancy-splash-head):
3346 * textmodes/ispell.el (ispell-command-loop):
3347 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3348 * tutorial.el (help-with-tutorial):
3349 * vc/add-log.el (add-change-log-entry):
3350 * vc/compare-w.el (compare-windows):
3351 * vc/ediff-help.el (ediff-indent-help-message):
3352 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3353 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3354 (ediff-setup-control-frame):
3355 * vc/emerge.el (emerge-position-region):
3356 * vc/pcvs-util.el (cvs-bury-buffer):
3357 * window.el (walk-windows, mouse-autoselect-window-select):
3358 * winner.el (winner-set-conf, winner-undo): Related users changed.
3360 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3362 * frameset.el (frameset--set-id): Doc fix.
3363 (frameset-frame-id, frameset-frame-id-equal-p)
3364 (frameset-locate-frame-id): New functions.
3365 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3366 (frameset-restore): Use them.
3368 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3370 Do not call to `selected-frame' where it is assumed by default.
3371 Affected functions are `raise-frame', `redraw-frame',
3372 `frame-first-window', `frame-terminal' and `delete-frame'.
3373 * calendar/appt.el (appt-disp-window):
3374 * epg.el (epg-wait-for-completion):
3375 * follow.el (follow-delete-other-windows-and-split)
3376 (follow-avoid-tail-recenter):
3377 * international/mule.el (set-terminal-coding-system):
3378 * mail/rmail.el (rmail-mail-return):
3379 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3380 * progmodes/f90.el (f90-add-imenu-menu):
3381 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3382 * server.el (server-switch-buffer):
3383 * simple.el (delete-completion-window):
3385 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3386 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3387 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3388 * vc/ediff.el (ediff-documentation): Related users changed.
3389 * frame.el (selected-terminal): Remove the leftover.
3391 2013-08-05 Glenn Morris <rgm@gnu.org>
3393 * calendar/calendar.el (calendar-generate-month):
3394 Fix for calendar-column-width != 1 + calendar-day-digit-width.
3395 (calendar-generate-month, calendar-font-lock-keywords):
3396 Fix for calendar-day-header-width > length of any day name.
3398 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3400 * desktop.el (desktop-clear): Use new name of sort predicate.
3402 * frameset.el (frameset): Add docstring. Move :version property to its
3404 (frameset-copy): Rename from copy-frameset.
3405 (frameset-p): Check more thoroughly.
3406 (frameset-prop): Do not check for :version, which is no longer a prop.
3407 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3408 Use new :never value instead of t.
3409 (frameset-filter-alist): Expand and clarify docstring.
3410 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3411 (frameset-filter-minibuffer, frameset-filter-save-param)
3412 (frameset-filter-restore-param, frameset-filter-iconified):
3413 Add pointer to docstring of frameset-filter-alist.
3414 (frameset-filter-params): Rename filter values to be more meaningful:
3415 :never instead of t, and reverse the meanings of :save and :restore.
3416 (frameset--process-minibuffer-frames): Clarify error message.
3417 (frameset-save): Avoid unnecessary and confusing call to framep.
3418 Use new BOA constructor for framesets.
3419 (frameset--reuse-list): Doc fix.
3420 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3421 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3422 (frameset-minibufferless-first-p): Doc fix.
3423 Rename from frameset-sort-frames-for-deletion.
3424 (frameset-restore): Doc fixes. Use new function names.
3425 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3427 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3429 * desktop.el (desktop-restore-forces-onscreen)
3430 (desktop-restore-reuses-frames): Document :keyword constant values.
3431 (desktop-filter-parameters-alist): Remove, now identical to
3432 frameset-filter-alist.
3433 (desktop--filter-tty*): Remove, moved to frameset.el.
3434 (desktop-save-frameset, desktop-restore-frameset):
3435 Do not pass :filters argument.
3437 * frameset.el (frameset-live-filter-alist)
3438 (frameset-persistent-filter-alist): New variables.
3439 (frameset-filter-alist): Use them. Add autoload cookie.
3440 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3441 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3442 `frameset--id' (it's supposed to be internal to frameset.el).
3443 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3444 (frameset--initial-params): New function.
3445 (frameset--get-frame): Use it. Doc fix.
3446 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3447 Accept :all, not 'all.
3448 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3449 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3450 with fbound symbols. Fix frame id matching, and remove matching ids if
3451 the frame being restored is deleted. Obey :delete.
3453 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3455 * subr.el (macrop): New function.
3456 (text-clone--maintaining): New var.
3457 (text-clone--maintain): Rename from text-clone-maintain. Use it
3458 instead of inhibit-modification-hooks.
3460 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3461 a proxy, so as handle autoloads and redefinitions of the target.
3462 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3464 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3465 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3466 (pcase--mutually-exclusive-p): New function.
3467 (pcase--split-consp): Use it.
3468 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3469 mutually exclusive with the current predicate.
3471 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3472 (edebug-macrop): Remove. Use `macrop' instead.
3473 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3475 * eshell/esh-cmd.el (eshell-macrop):
3476 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3478 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3480 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3481 (advice-mapc): New function, using it.
3482 (advice-function-member-p): New function.
3483 (advice--normalize): Store the cdr in advice--saved-rewrite since
3484 that's the part that will be changed.
3485 (advice--symbol-function): New function.
3486 (advice-remove): Handle removal before the function is defined.
3487 Adjust to new advice--saved-rewrite.
3488 (advice-member-p): Use advice-function-member-p and
3489 advice--symbol-function.
3491 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3493 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3494 (frameset-filter-minibuffer): Doc fix.
3495 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
3496 (frameset--set-id, frameset--process-minibuffer-frames)
3497 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3498 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3500 * desktop.el (desktop-clear): Only delete frames when called
3501 interactively and desktop-restore-frames is non-nil. Doc fix.
3502 (desktop-read): Set desktop-saved-frameset to nil.
3504 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3506 * vc/vc.el (vc-ignore): Rewrite.
3507 (vc-default-ignore-completion-table):
3509 (vc--add-line, vc--remove-regexp): New functions.
3511 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3512 (vc-svn-ignore-completion-table): New function.
3514 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3515 (vc-hg-ignore-completion-table):
3516 (vc-hg-find-ignore-file): New functions.
3518 * vc/vc-git.el (vc-git-ignore): Rewrite.
3519 (vc-git-ignore-completion-table):
3520 (vc-git-find-ignore-file): New functions.
3522 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3524 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3525 (vc-bzr-ignore-completion-table):
3526 (vc-bzr-find-ignore-file): New functions.
3528 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
3530 * frameset.el (frameset-prop): New function and setter.
3531 (frameset-save): Do not modify frame list passed by the caller.
3533 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3535 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3537 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3539 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3540 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3542 * custom.el (custom-initialize-default, custom-initialize-set)
3543 (custom-initialize-reset, custom-initialize-changed): Affect the
3544 toplevel-default-value (bug#6275, bug#14586).
3545 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3548 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3550 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3551 Add cl-def* expressions.
3553 * frameset.el (frameset-filter-params): Fix order of arguments.
3555 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3557 Move code related to saving frames to frameset.el.
3558 * desktop.el: Require frameset.
3559 (desktop-restore-frames): Doc fix.
3560 (desktop-restore-reuses-frames): Rename from
3561 desktop-restoring-reuses-frames.
3562 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3563 (desktop-clear): Clear frames too.
3564 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3565 (desktop--filter-tty*, desktop-save, desktop-read):
3566 Use frameset functions.
3567 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3568 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3569 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3570 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3571 (desktop--process-minibuffer-frames, desktop-save-frames)
3572 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3573 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3574 (desktop--sort-states, desktop-restoring-frames-p)
3575 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3576 (desktop-restoring-frameset-p, desktop-restore-frameset)
3577 (desktop--check-dont-save, desktop-save-frameset): New functions.
3578 (desktop--app-id): New constant.
3579 (desktop-first-buffer, desktop-buffer-ok-count)
3580 (desktop-buffer-fail-count): Move before first use.
3581 * frameset.el: New file.
3583 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3585 * files.el: Use lexical-binding.
3586 (dir-locals-read-from-file): Remove unused `err' variable.
3587 (hack-dir-local-variables--warned-coding): New var.
3588 (hack-dir-local-variables): Use it to avoid repeated warnings.
3589 (make-backup-file-name--default-function): New function.
3590 (make-backup-file-name-function): Use it as default.
3591 (buffer-stale--default-function): New function.
3592 (buffer-stale-function): Use it as default.
3593 (revert-buffer-insert-file-contents--default-function): New function.
3594 (revert-buffer-insert-file-contents-function): Use it as default.
3595 (insert-directory): Avoid add-to-list.
3597 * autorevert.el (auto-revert-handler): Simplify.
3598 Use buffer-stale--default-function.
3600 2013-08-01 Tassilo Horn <tsdh@gnu.org>
3602 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3604 * whitespace.el (whitespace-ensure-local-variables): New function.
3605 (whitespace-cleanup-region): Call it.
3606 (whitespace-turn-on): Call it.
3608 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
3610 Complete file name handlers.
3612 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3613 (tramp-handle-verify-visited-file-modtime)
3614 (tramp-handle-file-notify-rm-watch): New functions.
3615 (tramp-call-process): Do not bind `default-directory'.
3617 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3618 Order alphabetically.
3619 [access-file, add-name-to-file, dired-call-process]:
3620 [dired-compress-file, file-acl, file-notify-rm-watch]:
3621 [file-ownership-preserved-p, file-selinux-context]:
3622 [make-directory-internal, make-symbolic-link, set-file-acl]:
3623 [set-file-selinux-context, set-visited-file-modtime]:
3624 [verify-visited-file-modtime]: Add handler.
3625 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3627 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3628 [file-notify-add-watch, file-notify-rm-watch]:
3629 [set-file-times, set-visited-file-modtime]:
3630 [verify-visited-file-modtime]: Add handler.
3631 (with-tramp-gvfs-error-message)
3632 (tramp-gvfs-handle-set-visited-file-modtime)
3633 (tramp-gvfs-fuse-file-name): Remove.
3634 (tramp-gvfs-handle-file-notify-add-watch)
3635 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3636 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3638 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3639 Order alphabetically.
3640 [file-notify-rm-watch ]: Use default Tramp handler.
3641 [executable-find]: Remove private handler.
3642 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3643 `default-directory'.
3644 (tramp-sh-handle-executable-find)
3645 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3646 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3647 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3648 Do not use `format' in `tramp-message'.
3650 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3651 [file-notify-rm-watch, set-visited-file-modtime]:
3652 [verify-visited-file-modtime]: Add handler.
3653 (tramp-smb-call-winexe): Do not bind `default-directory'.
3655 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3657 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3659 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3661 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3663 (log-view-diff-changeset): Same.
3664 (log-view-diff-common): Call backend command `previous-revision'
3665 to find out the previous revision, in both cases. Swap the
3666 variables `to' and `fr', so that `fr' usually refers to the
3667 earlier revision (Bug#14989).
3669 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
3671 * ibuf-ext.el (ibuffer-filter-by-filename):
3672 Make it work with dired buffers too.
3674 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3676 * emacs-lisp/re-builder.el (reb-color-display-p):
3677 * files.el (save-buffers-kill-terminal):
3678 * net/browse-url.el (browse-url):
3679 * server.el (server-save-buffers-kill-terminal):
3680 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3681 Prefer nil to selected-frame for the first arg of frame-parameter.
3683 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3685 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3687 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
3689 * minibuffer.el (completion--twq-all): Try and preserve each
3690 completion's case choice (bug#14907).
3692 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3694 * net/network-stream.el (open-network-stream): Mention the new
3695 :nogreeting parameter.
3696 (network-stream-open-starttls): Use the :nogreeting parameter
3699 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3701 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3702 more natural than popping.
3704 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3705 (shr-urlify): Highlight under mouse.
3707 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3709 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3711 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3713 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3716 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3717 point-min==1. Fix search string. Fix parentheses missing.
3719 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3720 assume point-min==1. Fix search string. Fix parentheses missing.
3722 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3724 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3727 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3729 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3730 initial frame is minibuffer-less. (Bug#14841)
3732 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3734 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3737 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3738 (tramp-maybe-open-connection): Use it.
3740 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3742 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3743 minimal set of parameters passed when creating a frame, because
3744 the minibuffer status of a frame cannot be changed later.
3746 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3748 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3749 replace-regexp-in-string and inadvertent omissions in previous change.
3750 (todo-filter-items): Ensure only file names are comma-separated in
3751 name of filtered items buffer.
3753 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3755 * desktop.el: Optionally force offscreen frames back onscreen.
3756 (desktop-restoring-reuses-frames): New option.
3757 (desktop--compute-pos, desktop--move-onscreen): New functions.
3758 (desktop--make-frame): Use desktop--move-onscreen.
3760 2013-07-27 Alan Mackenzie <acm@muc.de>
3762 Fontify a Java generic method as a function.
3763 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3766 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3768 * calendar/todo-mode.el: Add command to rename todo files.
3769 (todo-rename-file): New command.
3770 (todo-key-bindings-t): Add key binding for it. Change the
3771 bindings of todo-filter-regexp-items(-multifile) to use `x'
3772 instead of `r', since the latter is better suited to the new
3775 2013-07-27 Alan Mackenzie <acm@muc.de>
3777 Make Java try-with-resources statement parse properly.
3778 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3779 (c-block-stmt-1-2-key): New language constants/variables.
3780 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3781 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3782 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3783 with c-block-stmt-1-2-key.
3785 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3787 * desktop.el (desktop--make-frame): Apply most frame parameters after
3788 creating the frame to force (partially or totally) offscreen frames to
3789 be restored as such.
3791 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3793 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3796 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3798 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3799 `base' arg of backtrace-frame.
3801 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3803 * simple.el (list-processes): Doc fix.
3805 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3807 * desktop.el (desktop--select-frame):
3808 Try harder to reuse existing frames.
3810 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3812 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3813 (edebug-eval): Use backtrace-eval.
3814 (edebug--display, edebug--recursive-edit): Don't let-bind the
3815 edebug-outer-* vars that keep track of variables we locally let-bind.
3816 (edebug-outside-excursion): Don't restore outside values of locally
3818 (edebug--display): Use user-error.
3819 (cl-lexical-debug, cl-debug-env): Remove.
3821 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3823 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3824 are restored to be sure that they are visible before deleting any
3827 2013-07-26 Matthias Meulien <orontee@gmail.com>
3829 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3830 vc-print-root-log. (Bug#14948)
3832 2013-07-26 Richard Stallman <rms@gnu.org>
3834 Add aliases for encrypting mail.
3835 * epa.el (epa-mail-aliases): New option.
3836 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3837 Bind inhibit-read-only so read-only text doesn't ruin everything.
3838 (epa-mail-default-recipients): New subroutine broken out.
3839 Handle epa-mail-aliases.
3841 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3843 Add support for lexical variables to the debugger's `e' command.
3844 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3845 vars, except for debugger-outer-match-data.
3846 (debugger-frame-number): Move check for "on a function call" from
3847 callers into it. Add `skip-base' argument.
3848 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3849 (debugger-env-macro): Only reset the state stored in non-variables,
3850 i.e. current-buffer and match-data.
3851 (debugger-eval-expression): Rewrite using backtrace-eval.
3852 * subr.el (internal--called-interactively-p--get-frame): Remove.
3853 (called-interactively-p):
3854 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3855 `base' arg of backtrace-frame instead.
3857 2013-07-26 Glenn Morris <rgm@gnu.org>
3859 * align.el (align-regexp): Doc fix. (Bug#14857)
3860 (align-region): Explicit error if subexpression missing/does not match.
3862 * simple.el (global-visual-line-mode):
3863 Do not duplicate the mode lighter. (Bug#14858)
3865 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3867 * window.el (display-buffer): In display-buffer bind
3868 split-window-keep-point to t, bug#14829.
3870 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3872 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3873 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3874 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3875 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3877 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3878 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3880 2013-07-25 Glenn Morris <rgm@gnu.org>
3882 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3884 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3886 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3887 parameter to modify-frame-parameters if the value has not changed;
3888 this is a workaround for bug#14949.
3889 (desktop--make-frame): On cl-delete-if call, check parameter name,
3892 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3894 * vc/vc.el (vc-ignore): New function.
3896 * vc/vc-svn.el (vc-svn-ignore): New function.
3898 * vc/vc-hg.el (vc-hg-ignore): New function.
3900 * vc/vc-git.el (vc-git-ignore): New function.
3902 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3903 (vc-dir-ignore): New function.
3905 * vc/vc-cvs.el (vc-cvs-ignore): New function.
3906 (cvs-append-to-ignore): Move here from pcvs.el.
3908 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3910 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3912 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
3914 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3915 (desktop-restore-frames): Warn when deleting an existing frame failed.
3917 2013-07-24 Glenn Morris <rgm@gnu.org>
3919 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3921 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
3923 * filenotify.el (file-notify-supported-p):
3924 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3927 * autorevert.el (auto-revert-use-notify):
3928 (auto-revert-notify-add-watch):
3929 * net/tramp.el (tramp-file-name-for-operation):
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-sh.el (tramp-sh-file-name-handler-alist):
3933 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3934 Remove `file-notify-supported-p' entry.
3936 2013-07-24 Glenn Morris <rgm@gnu.org>
3938 * printing.el: Replace all uses of deleted ps-windows-system,
3939 ps-lp-system, ps-flatten-list with lpr- versions.
3941 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3943 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3944 checked with memq (bug#14935).
3946 * files.el (revert-buffer-function): Use a non-nil default.
3947 (revert-buffer-preserve-modes): Declare var to
3948 provide access to the `preserve-modes' argument.
3949 (revert-buffer): Let-bind it.
3950 (revert-buffer--default): New function, extracted from revert-buffer.
3952 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3954 * lpr.el: Signal print errors more prominently.
3955 (print-region-function): Don't default to nil.
3956 (lpr-print-region): New function, extracted from print-region-1.
3957 Check lpr's return value and signal an error in case of problem.
3958 (print-region-1): Use it.
3959 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3961 (ps-printer-name): Default to nil.
3962 (ps-printer-name-option): Default to lpr-printer-switch.
3963 (ps-print-region-function): Don't default to nil.
3964 (ps-postscript-code-directory): Simplify default.
3965 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3966 (ps-string-list, ps-eval-switch, ps-flatten-list)
3967 (ps-flatten-list-1): Remove.
3968 (ps-multibyte-buffer): Avoid setq.
3969 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3970 (print-region-function, ps-print-region-function): Don't set them here.
3972 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3974 * ido.el (ido-fractionp):
3975 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3976 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3977 (ido-max-directory-size, ido-max-dir-file-cache)
3978 (ido-decorations): Doc fix.
3980 * ansi-color.el: Fix old URL.
3982 2013-07-23 Michael R. Mauger <michael@mauger.com>
3984 * progmodes/sql.el: Version 3.3
3985 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3986 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3987 (sql-interactive-remove-continuation-prompt): Rewrite, use
3988 functions above. Fix continuation prompt and complete output line
3990 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3991 redirected output buffer.
3992 (sql-mode): Restore deleted code (Bug#13591).
3994 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3996 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3998 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4000 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4002 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4003 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4004 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4006 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4008 * desktop.el (desktop-clear): Simplify; remove useless checks
4009 against invalid buffer names.
4010 (desktop-list*): Use cl-list*.
4011 (desktop-buffer-info, desktop-create-buffer): Simplify.
4013 2013-07-23 Leo Liu <sdl.web@gmail.com>
4015 * bookmark.el (bookmark-make-record): Restore NAME as a default
4018 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4020 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4021 extracted from autoload--insert-text.
4022 (autoload--insert-text): Remove.
4023 (autoload--print-cookie-text): New function, extracted from
4024 autoload--insert-cookie-text.
4025 (autoload--insert-cookie-text): Remove.
4026 (autoload-generate-file-autoloads): Adjust calls accordingly.
4028 * winner.el (winner-hook-installed-p): Remove.
4029 (winner-mode): Simplify accordingly.
4031 * subr.el (add-to-list): Fix compiler-macro when `append' is
4032 not constant. Don't use `cl-member' for the base case.
4034 * progmodes/subword.el: Fix boundary case (bug#13758).
4035 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4037 (subword-backward-regexp): Make it a constant.
4038 (subword-forward-internal): Don't treat a trailing capital as the
4039 beginning of a word.
4041 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4043 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4044 global value of tabulated-list-revert-hook (bug#14930).
4046 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4048 * desktop.el: Require 'cl-lib.
4049 (desktop-before-saving-frames-functions): New hook.
4050 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4051 for frames being saved. Rename from desktop--save-minibuffer-frames.
4052 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4053 Do not save frames with non-nil `desktop-dont-save' parameter.
4054 Filter out deleted frames.
4055 (desktop--find-frame): Use cl-find-if.
4056 (desktop--select-frame): Use cl-(first|second|third) to access values
4058 (desktop--make-frame): Use cl-delete-if.
4059 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4060 (desktop-restore-frames): Use cl-(first|second|third) to access values
4061 of desktop-mini. Look for visible frame at the end, not while
4064 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4065 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4066 Use string-match-p, looking-at-p (bug#14927).
4068 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4070 * desktop.el (desktop-saved-frame-states):
4071 Rename from desktop--saved-states; all users changed.
4072 (desktop-save-frames): Rename from desktop--save-frames.
4073 Do not save state to desktop file.
4074 (desktop-save): Save desktop-saved-frame-states to desktop file
4076 (desktop-restoring-frames-p): New function.
4077 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4078 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4079 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4081 * desktop.el: Correctly restore iconified frames.
4082 (desktop--filter-iconified-position): New function.
4083 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4085 2013-07-20 Glenn Morris <rgm@gnu.org>
4087 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4088 Let `message' do the formatting.
4089 (def-gdb-preempt-display-buffer): Add explicit format.
4091 * image-dired.el (image-dired-track-original-file):
4092 Use with-current-buffer.
4093 (image-dired-track-thumbnail): Use with-current-buffer.
4094 Avoid changing point of wrong window.
4096 * image-dired.el (image-dired-track-original-file):
4097 Avoid changing point of wrong window. (Bug#14909)
4099 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4101 * progmodes/gdb-mi.el (gdb-done-or-error):
4102 Guard against "%" in gdb output. (Bug#14127)
4104 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4106 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4109 * international/mule.el (coding-system-iso-2022-flags): Fix last
4112 2013-07-20 Kenichi Handa <handa@gnu.org>
4114 * international/mule.el (coding-system-iso-2022-flags):
4115 Add `8-bit-level-4'. (Bug#8522)
4117 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4119 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4122 * net/eww.el (eww-process-text-input): Allow inputting when the
4123 point is at the start of the line, as the properties aren't
4126 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4129 2013-07-19 Richard Stallman <rms@gnu.org>
4131 * epa.el (epa-popup-info-window): Doc fix.
4133 * subr.el (split-string): New arg TRIM.
4135 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4137 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4138 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4140 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4142 * filenotify.el (file-notify--library): Rename from
4143 `file-notify-support'. Do not autoload. Adapt all uses.
4144 (file-notify-supported-p): New defun.
4146 * autorevert.el (auto-revert-use-notify):
4147 Use `file-notify-supported-p' instead of `file-notify-support'.
4149 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4151 * net/tramp.el (tramp-file-name-for-operation):
4152 Add `file-notify-supported-p'.
4154 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4156 (tramp-sh-file-name-handler-alist): Add it as handler for
4157 `file-notify-supported-p '.
4159 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4160 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4161 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4162 Add `ignore' as handler for `file-notify-*' functions.
4164 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4166 * simple.el (line-move-partial, line-move): Don't start vscroll or
4167 scroll-up if the current line is not taller than the window.
4170 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4172 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4173 highlight question marks in the method names as strings.
4174 (ruby-block-beg-keywords): Inline.
4175 (ruby-font-lock-keyword-beg-re): Extract from
4176 `ruby-font-lock-keywords'.
4178 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4180 * frame.el (blink-cursor-blinks): New defcustom.
4181 (blink-cursor-blinks-done): New defvar.
4182 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4183 (blink-cursor-timer-function): Check if number of blinks has been
4185 (blink-cursor-suspend, blink-cursor-check): New defuns.
4187 2013-07-15 Glenn Morris <rgm@gnu.org>
4189 * edmacro.el (edmacro-format-keys): Fix previous change.
4191 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4193 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4194 The hack didn't work outside English locales anyway.
4196 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4198 * simple.el (define-alternatives): Rename from alternatives-define,
4199 per RMS' suggestion.
4201 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4203 * desktop.el (desktop-restore-frames): Change default to t.
4204 (desktop-restore-in-current-display): Now offer more options.
4205 (desktop-restoring-reuses-frames): New customization option.
4206 (desktop--saved-states): Doc fix.
4207 (desktop-filter-parameters-alist): New variable, renamed and expanded
4208 from desktop--excluded-frame-parameters.
4209 (desktop--target-display): New variable.
4210 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4211 (desktop--filter-tty*, desktop--filter-*-color)
4212 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4213 (desktop--filter-save-desktop-parm)
4214 (desktop-restore-in-original-display-p): New functions.
4215 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4216 (desktop--save-minibuffer-frames): New function, inspired by a similar
4217 function from Martin Rudalics.
4218 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4219 (desktop--restore-in-this-display-p): Remove.
4220 (desktop--find-frame): Rename from desktop--find-frame-in-display
4221 and add predicate argument.
4222 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4223 (desktop--reuse-list): New variable.
4224 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4226 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4228 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
4230 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4232 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4234 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4235 Highlight conversion methods on Kernel.
4237 2013-07-13 Alan Mackenzie <acm@muc.de>
4239 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4240 and comment it out. This out-commenting enables certain C++
4241 declarations to be parsed correctly.
4243 2013-07-13 Eli Zaretskii <eliz@gnu.org>
4245 * international/mule.el (define-coding-system): Doc fix.
4247 * simple.el (default-font-height): Don't call font-info if the
4248 frame's default font didn't change since the frame was created.
4251 2013-07-13 Leo Liu <sdl.web@gmail.com>
4253 * ido.el (ido-read-file-name): Guard against non-symbol value.
4255 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4257 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4260 2013-07-13 Leo Liu <sdl.web@gmail.com>
4262 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4263 ido-set-matches call. (Bug#6852)
4265 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4267 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4268 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4270 (ruby-font-lock-keywords): Distinguish calls to functions with
4271 module-like names from module references. Highlight character
4274 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4276 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4277 (gdb-send): Handle continued commands. (Bug#14847)
4279 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4281 * desktop.el (desktop--v2s): Remove unused local variable.
4282 (desktop-save-buffer): Make defvar-local; adjust docstring.
4283 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4284 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4286 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4288 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4290 2013-07-12 Eli Zaretskii <eliz@gnu.org>
4292 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4295 2013-07-12 Glenn Morris <rgm@gnu.org>
4297 * doc-view.el: Require cl-lib at runtime too.
4298 (doc-view-remove-if): Remove.
4299 (doc-view-search-next-match, doc-view-search-previous-match):
4302 * edmacro.el: Require cl-lib at runtime too.
4303 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4304 (edmacro-mismatch, edmacro-subseq): Remove.
4306 * shadowfile.el: Require cl-lib.
4307 (shadow-remove-if): Remove.
4308 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4311 * wid-edit.el: Require cl-lib.
4312 (widget-choose): Use cl-remove-if.
4313 (widget-remove-if): Remove.
4315 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4316 (ebrowse-delete-if-not): Remove.
4317 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4318 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4319 Use cl-delete-if-not.
4321 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4323 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4324 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4326 2013-07-12 Leo Liu <sdl.web@gmail.com>
4328 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4330 2013-07-11 Glenn Morris <rgm@gnu.org>
4332 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4333 (edebug-gensym-index, edebug-gensym):
4334 Remove reimplementation of cl-gensym.
4335 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4337 * thumbs.el: Require cl-lib at run-time too.
4338 (thumbs-gensym-counter, thumbs-gensym):
4339 Remove reimplementation of cl-gensym.
4340 (thumbs-temp-file): Use cl-gensym.
4342 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4343 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4344 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4345 (ert--union, ert--gensym-counter, ert--gensym-counter)
4346 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4347 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4348 (ert-make-test-unbound, ert--expand-should-1)
4349 (ert--expand-should, ert--should-error-handle-error)
4350 (should-error, ert--explain-equal-rec)
4351 (ert--plist-difference-explanation, ert-select-tests)
4352 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4353 Use cl-lib functions rather than reimplementations.
4355 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4357 * net/tramp.el (tramp-methods): Extend docstring.
4358 (tramp-connection-timeout): New defcustom.
4359 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4360 (with-tramp-progress-reporter): Simplify.
4361 (tramp-process-actions): Improve messages.
4363 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4364 * net/tramp-sh.el (tramp-maybe-open-connection):
4365 Use `tramp-connection-timeout'.
4366 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4369 2013-07-11 Leo Liu <sdl.web@gmail.com>
4371 * ido.el (ido-read-file-name): Conform to the requirements of
4372 read-file-name. (Bug#11861)
4373 (ido-read-directory-name): Conform to the requirements of
4374 read-directory-name.
4376 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
4378 * subr.el (delay-warning): New function.
4380 2013-07-10 Eli Zaretskii <eliz@gnu.org>
4382 * simple.el (default-line-height): New function.
4383 (line-move-partial, line-move): Use it instead of computing the
4385 (line-move-partial): Always compute ROWH. If the last line is
4386 partially-visible, but its text is completely visible, allow
4387 cursor to enter such a partially-visible line.
4389 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
4391 Improve error messages. (Bug#14808)
4393 * net/tramp.el (tramp-current-connection): New defvar, moved from
4395 (tramp-message-show-progress-reporter-message): Remove, not
4397 (tramp-error-with-buffer): Show message in minibuffer.
4398 Discard input before waiting. Reset connection timestamp.
4399 (with-tramp-progress-reporter): Improve messages.
4400 (tramp-process-actions): Use progress reporter. Delete process in
4401 case of error. Improve messages.
4403 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4404 Call `tramp-error-with-buffer' with vector and buffer.
4405 (tramp-current-connection): Remove.
4406 (tramp-maybe-open-connection): The car of
4407 `tramp-current-connection' are the first 3 slots of the vector.
4409 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4411 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4412 inside continued strings.
4414 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4416 Timestamp fixes for undo (Bug#14824).
4417 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4419 2013-07-10 Leo Liu <sdl.web@gmail.com>
4421 * files.el (require-final-newline): Allow safe local value.
4424 2013-07-09 Leo Liu <sdl.web@gmail.com>
4426 * ido.el (ido-read-directory-name): Handle fallback.
4427 (ido-read-file-name): Update DIR to ido-current-directory.
4429 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
4431 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4433 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4434 "autoload". Remove "warn lower camel case" section, previously
4435 commented out. Highlight negation char. Do not highlight the
4436 target in singleton method definitions.
4438 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4440 * faces.el (tty-setup-hook): Declare the hook.
4442 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4443 and detect when a guard/pred depends on local vars (bug#14773).
4444 (pcase--u1): Adjust caller.
4446 2013-07-08 Eli Zaretskii <eliz@gnu.org>
4448 * simple.el (line-move-partial, line-move): Account for
4450 (line-move-partial): Avoid setting vscroll when the last
4451 partially-visible line in window is of default height.
4453 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4455 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4458 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
4460 * subr.el (read-quoted-char): Remove unused local variable `char'.
4462 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4464 * ediff.el (ediff-version): Version update.
4465 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4466 (ediff-merge-with-ancestor-command, ediff-directories-command)
4467 (ediff-directories3-command, ediff-merge-directories-command)
4468 (ediff-merge-directories-with-ancestor-command): New functions.
4469 All are command-line interfaces to ediff: to facilitate calling
4470 Emacs with the appropriate ediff functions invoked.
4472 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4473 (viper-save-kill-buffer): Check if buffer is modified.
4475 * viper.el (viper-version): Version update.
4476 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4478 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4480 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4481 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4482 (viper-intercept-ESC-key): Simplify.
4483 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4484 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4485 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4486 (viper-setup-ESC-to-escape): New functions.
4487 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4488 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
4490 2013-07-07 Eli Zaretskii <eliz@gnu.org>
4492 * simple.el (default-font-height, window-screen-lines):
4494 (line-move, line-move-partial): Use them instead of
4495 frame-char-height and window-text-height. This makes scrolling
4496 text smoother when the buffer's default face uses a font that is
4497 different from the frame's default font.
4499 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4501 * files.el (write-file): Do not display confirm dialog for NS,
4502 it does its own dialog, which can't be cancelled (Bug#14578).
4504 2013-07-06 Eli Zaretskii <eliz@gnu.org>
4506 * simple.el (line-move-partial): Adjust the row returned by
4507 posn-at-point for the current window-vscroll. (Bug#14567)
4509 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
4511 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4512 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4515 2013-07-06 Martin Rudalics <rudalics@gmx.at>
4517 * window.el (window-state-put-stale-windows): New variable.
4518 (window--state-put-2): Save list of windows without matching buffer.
4519 (window-state-put): Remove "bufferless" windows if possible.
4521 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4523 * simple.el (alternatives-define): Remove leftover :group keyword.
4526 2013-07-06 Leo Liu <sdl.web@gmail.com>
4528 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4529 (ido-enable-virtual-buffers): New variable.
4530 (ido-buffer-internal, ido-toggle-virtual-buffers)
4531 (ido-make-buffer-list): Use it.
4532 (ido-exhibit): Support turning on and off virtual buffers
4535 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4537 * simple.el (alternatives-define): New macro.
4539 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4541 * subr.el (read-quoted-char): Use read-key.
4542 (sit-for): Let read-event decode tty input (bug#14782).
4544 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
4546 * calendar/todo-mode.el: Add handling of file deletion, both by
4547 mode command and externally. Fix various related bugs.
4548 Clarify Commentary and improve some documentation strings and code.
4549 (todo-delete-file): New command.
4550 (todo-check-file): New function.
4551 (todo-show): Handle external deletion of the file we're trying to
4552 show (bug#14688). Replace called-interactively-p by an optional
4553 prefix argument to avoid problematic interaction with catch form
4554 when byte compiled (bug#14702).
4555 (todo-quit): Handle external deletion of the archive's todo file.
4556 Make sure the buffer that was visiting the archive file is still
4557 live before trying to bury it.
4558 (todo-category-completions): Handle external deletion of any
4559 category completion files.
4560 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4561 of todo files, in case of external deletion.
4562 (todo-add-file): Replace unnecessary setq by let-binding.
4563 (todo-find-archive): Check whether there are any archives.
4564 Replace unnecessary setq by let-binding.
4565 (todo-archive-done-item): Use find-file-noselect to get the
4566 archive buffer whether or not the archive already exists.
4567 Remove superfluous code. Use file size instead of buffer-file-name to
4568 check if the archive is new; if it is, update list of archives.
4569 (todo-default-todo-file): Allow nil to be a valid value for when
4570 there are no todo files.
4571 (todo-reevaluate-default-file-defcustom): Use corrected definition
4572 of todo-default-todo-file.
4573 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4574 (todo-delete-category, todo-show-categories-table)
4575 (todo-category-number): Clarify comment.
4576 (todo-filter-items): Clarify documentation string.
4577 (todo-show-current-file, todo-display-as-todo-file)
4578 (todo-reset-and-enable-done-separator): Tweak documentation string.
4579 (todo-done-separator): Make separator length window-width, since
4580 bug#2749 is now fixed.
4582 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
4584 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4585 Support both "gvfs-monitor-dir" and "inotifywait".
4586 (tramp-sh-file-inotifywait-process-filter): Rename from
4587 `tramp-sh-file-notify-process-filter'.
4588 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4589 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4591 2013-07-05 Leo Liu <sdl.web@gmail.com>
4593 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4595 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4597 * frame.el (display-pixel-height, display-pixel-width)
4598 (display-mm-height, display-mm-width): Mention behavior on
4599 multi-monitor setups in docstrings.
4600 (w32-display-monitor-attributes-list): Declare function.
4601 (display-monitor-attributes-list): Use it.
4603 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
4605 * filenotify.el: New package.
4607 * autorevert.el (top): Require filenotify.el.
4608 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4610 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4611 (auto-revert-notify-handler): Use `file-notify-*' functions.
4613 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4615 * net/tramp.el (tramp-file-name-for-operation):
4616 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
4618 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4619 for `file-notify-add-watch' and `file-notify-rm-watch'.
4620 (tramp-process-sentinel): Improve trace.
4621 (tramp-sh-handle-file-notify-add-watch)
4622 (tramp-sh-file-notify-process-filter)
4623 (tramp-sh-handle-file-notify-rm-watch)
4624 (tramp-get-remote-inotifywait): New defuns.
4626 2013-07-03 Juri Linkov <juri@jurta.org>
4628 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4629 call of `occur-read-primary-args' to interactive spec.
4631 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4632 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4634 2013-07-03 Matthias Meulien <orontee@gmail.com>
4636 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4637 `Buffer-menu-multi-occur'. Add it to the menu.
4638 (Buffer-menu-mode): Document it in docstring.
4639 (Buffer-menu-multi-occur): New command. (Bug#14673)
4641 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4643 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4644 keywords and built-ins.
4646 2013-07-03 Glenn Morris <rgm@gnu.org>
4648 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4650 Make info-xref checks case-sensitive by default
4651 * info.el (Info-find-node, Info-find-in-tag-table)
4652 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4653 Add option for exact case matching of nodes.
4654 * info-xref.el (info-xref): New custom group.
4655 (info-xref-case-fold): New option.
4656 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4658 2013-07-03 Leo Liu <sdl.web@gmail.com>
4660 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4662 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4664 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4665 middle of block statement initially, lower the depth. Remove
4666 FIXME comment, not longer valid. Remove middle of block statement
4667 detection, no need to do that anymore since we've been using
4668 `ruby-parse-region' here.
4670 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4672 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4674 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
4676 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4678 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
4680 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4681 (desktop-restore-in-current-display): New customization option.
4682 (desktop--excluded-frame-parameters): Add `font'.
4683 (desktop--save-frames): Rename from desktop--save-windows.
4684 (desktop--restore-in-this-display-p): New function.
4685 (desktop--make-full-frame): Remove unwanted width/height from
4686 full(width|height) frames.
4687 (desktop--restore-frames): Rename from desktop--restore-windows.
4688 Obey desktop-restore-current-display. Do not delete old frames or
4689 select a new frame unless we were able to restore at least one frame.
4691 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
4693 * files.el (find-file-noselect): Simplify conditional expression.
4695 * remember.el (remember-append-to-file):
4696 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4698 Add `remember-notes' function to store random notes across Emacs
4700 * remember.el (remember-data-file): Add :set callback to affect
4701 notes buffer (if any).
4702 (remember-notes): New command.
4703 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4704 New defcustoms for the `remember-notes' function.
4705 (remember-notes-save-and-bury-buffer): New command.
4706 (remember-notes-mode-map): New variable.
4707 (remember-mode): New minor mode.
4708 (remember-notes--kill-buffer-query): New function.
4709 * startup.el (initial-buffer-choice): Add notes to custom type.
4711 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4713 * bindings.el (right-char, left-char): Don't call sit-for, this is
4714 no longer needed. Use arithmetic comparison only for numerical
4717 * international/mule-cmds.el (select-safe-coding-system):
4718 Handle the case of FROM being a string correctly. (Bug#14755)
4720 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4722 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4723 progression on degenerate tables.
4724 (shr-rescale-image): ImageMagick animated images currently don't work.
4726 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4728 Some fixes and improvements for desktop frame restoration.
4729 It is still experimental and disabled by default.
4730 * desktop.el (desktop--save-windows): Put the selected frame at
4731 the head of the list.
4732 (desktop--make-full-frame): New function.
4733 (desktop--restore-windows): Try to re-select the frame that was
4734 selected upon saving. Do not abort if some frames fail to restore,
4735 just show an error message and continue. Set up maximized frames
4736 so they have default non-maximized dimensions.
4738 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4740 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4741 Don't start heredoc inside a string or comment.
4743 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4745 * bindings.el (visual-order-cursor-movement): New defcustom.
4746 (right-char, left-char): Provide visual-order cursor motion by
4747 calling move-point-visually. Update the doc strings.
4749 2013-06-28 Kenichi Handa <handa@gnu.org>
4751 * international/mule.el (define-coding-system): New coding system
4752 properties :inhibit-null-byte-detection,
4753 :inhibit-iso-escape-detection, and :prefer-utf-8.
4754 (set-buffer-file-coding-system): If :charset-list property of
4755 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4756 appropriate for setting.
4758 * international/mule-cmds.el (select-safe-coding-system):
4759 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4760 multibyte characters, return utf-8 (or one of its siblings).
4762 * international/mule-conf.el (prefer-utf-8): New coding system.
4763 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4766 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4768 * net/shr.el (shr-render-region): New function.
4770 * net/eww.el: Autoload `eww-browse-url'.
4772 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4774 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4775 Adapt to `package-desc-version' being a list.
4776 Use `package--ac-desc-version' to retrieve version from a package
4779 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4781 New experimental feature to save&restore window and frame setup.
4782 * desktop.el (desktop-save-windows): New defcustom.
4783 (desktop--saved-states): New var.
4784 (desktop--excluded-frame-parameters): New defconst.
4785 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4786 (desktop--restore-windows, desktop--save-windows): New functions.
4787 (desktop-save): Call `desktop--save-windows'.
4788 (desktop-read): Call `desktop--restore-windows'.
4790 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4792 * net/shr.el (add-face-text-property): Remove compat definition.
4794 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4796 * info.el (Info-try-follow-nearest-node): Move search for footnote
4797 above search for node name to prevent missing a footnote (bug#14717).
4799 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4801 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4803 2013-06-27 Leo Liu <sdl.web@gmail.com>
4805 * net/eww.el (eww-read-bookmarks): Check file size.
4807 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4809 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4810 advice--pending if newdef is nil or an autoload (bug#13820).
4811 (advice-mapc): New function.
4813 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4815 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4817 (eww-mode-map): Add a menu bar.
4818 (eww-add-bookmark): New command.
4819 (eww-bookmark-mode): New mode and commands.
4820 (eww-add-bookmark): Remove newlines from the title.
4821 (eww-bookmark-browse): Don't bug out if it's the only window.
4823 2013-06-26 Glenn Morris <rgm@gnu.org>
4825 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4826 (hfy-size): Handle ttys. (Bug#14668)
4828 * info-xref.el: Update for Texinfo 5 change in *note format.
4829 (info-xref-node-re, info-xref-note-re): New constants.
4830 (info-xref-check-buffer): Use info-xref-note-re.
4832 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4834 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4836 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4837 nil terminate the loop (bug#14718).
4839 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4841 * net/eww.el: Rework history traversal. When going forward/back,
4842 put these actions into the history, too, so that they can be
4844 (eww-render): Move the history reset to the correct buffer.
4846 2013-06-25 Juri Linkov <juri@jurta.org>
4848 * files-x.el (modify-dir-local-variable): Change the header comment
4849 in the file with directory local variables. (Bug#14692)
4851 * files-x.el (read-file-local-variable-value): Add `default'.
4854 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4856 * net/eww.el (eww-make-unique-file-name): Create a unique file
4857 name before saving to entering `y' accidentally asynchronously.
4859 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4861 * net/eww.el (eww-download): New command and keystroke.
4863 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4865 * net/eww.el (eww-copy-page-url): Change name of command.
4867 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4868 be more consistent with Info and dired.
4870 * net/eww.el (eww-mode-map): Ditto.
4872 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4874 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4875 packages from archives.
4876 (package-archive-contents): Change format; include obsolete packages.
4877 (package-desc): Use `dir' to mark builtin packages.
4878 (package--from-builtin): Set the `dir' field to `builtin'.
4879 (generated-autoload-file, version-control): Declare.
4880 (package-compute-transaction): Change first arg and return value to be
4881 lists of package-descs. Adjust to new package-archive-contents format.
4882 (package--add-to-archive-contents): Adjust to new
4883 package-archive-contents format.
4884 (package-download-transaction): Arg is now a list of package-descs.
4885 (package-install): If `pkg' is a package name, pass it as
4886 a requirement, so it is subject to the usual (e.g. disabled) checks.
4887 (describe-package): Accept package-desc as well.
4888 (describe-package-1): Describe a specific package-desc. Add links to
4889 other package-descs for the same package name.
4890 (package-menu-describe-package): Pass the actual package-desc.
4891 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4893 (package-desc-status): New function.
4894 (package-menu--refresh): New function, extracted
4895 from package-menu--generate.
4896 (package-menu--generate): Use it.
4897 (package-delete): Update package-alist.
4898 (package-menu-execute): Don't call package-initialize.
4900 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4901 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4902 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4903 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4904 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4905 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4907 2013-06-25 Martin Rudalics <rudalics@gmx.at>
4909 * window.el (window--state-get-1): Workaround for bug#14527.
4910 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4912 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4914 * net/eww.el (eww-back-url): Implement the history by stashing all
4915 the data into a list.
4916 (eww-forward-url): Allow going forward in the history, too.
4918 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4920 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4921 for values and use read--expression for expressions (bug#14710).
4922 (read-file-local-variable): Avoid setq.
4923 (read-file-local-variable-mode): Use minor-mode-list.
4925 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4927 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4930 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4932 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4933 Update imenu-support when dialect changes.
4935 2013-06-25 Leo Liu <sdl.web@gmail.com>
4937 * ido.el (ido-read-internal): Allow forward slash on windows.
4939 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4941 * net/eww.el (eww): Start of strings is \\`, not ^.
4943 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4945 * net/shr.el (shr-browse-url): Fix interactive spec.
4947 * net/eww.el (eww): Add a trailing slash to domain names.
4949 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
4951 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4953 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4955 * net/shr.el (shr-browse-url): Use an external browser if given a
4958 * net/eww.el (eww-external-browser): Move to shr.
4960 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4962 * net/eww.el (eww): Work more correctly for file: URLs.
4963 (eww-detect-charset): Allow quoted charsets.
4964 (eww-yank-page-url): New command and keystroke.
4966 2013-06-24 Daiki Ueno <ueno@gnu.org>
4968 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4969 file name of gpg executable.
4970 (epg-context-program): New function.
4971 (epg-context-home-directory): New function.
4972 (epg-context-set-program): New function.
4973 (epg-context-set-home-directory): New function.
4974 (epg--start): Use `epg-context-program' instead of
4976 (epg--list-keys-1): Likewise.
4978 2013-06-24 Leo Liu <sdl.web@gmail.com>
4980 * ido.el (ido-read-internal): Fix bug#14620.
4982 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4984 * faces.el (face-documentation): Simplify.
4985 (read-face-attribute, tty-find-type, x-resolve-font-name):
4986 Use `string-match-p'.
4987 (list-faces-display): Use `string-match-p'. Simplify.
4988 (face-spec-recalc): Check face to avoid face alias loops.
4989 (read-color): Use `string-match-p' and non-capturing parenthesis.
4991 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4993 * net/shr.el (shr-rescale-image): Use the new
4994 :max-width/:max-height functionality.
4996 2013-06-23 Ivan Kanis <ivan@kanis.fr>
4998 * net/eww.el (eww-search-prefix): New variable.
5000 (eww-external-browser): New variable.
5001 (eww-mode-map): New keystroke.
5002 (eww-browse-with-external-browser): New command.
5004 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5006 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5008 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5009 Don't skip aligning the next header field when padding is 0;
5010 otherwise, field width is not respected unless the title is as
5013 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5015 * emacs-lisp/package.el (package-el-version): Remove.
5016 (package-process-define-package): Fix inf-loop.
5017 (package-install): Allow symbols as arguments again.
5019 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5021 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5022 add some more keyword-like methods.
5023 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5025 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5027 * bs.el (bs-buffer-show-mark): Make defvar-local.
5028 (bs-mode): Use setq-local.
5030 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5031 (emacs-lock--try-unlocking): Make defvar-local.
5033 2013-06-22 Glenn Morris <rgm@gnu.org>
5035 * play/cookie1.el (cookie-apropos): Minor simplification.
5037 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5039 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5041 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5042 `regexp-opt', it breaks the build during dumping.
5044 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5046 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5047 Highlight keyword-like methods on Kernel and Module with
5048 font-lock-builtin-face.
5049 (auto-mode-alist): Consolidate different entries into one regexp
5050 and add more *file-s.
5052 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5054 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5056 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5057 (diary-entry): Use it in the action of this button type instead of
5060 * calendar/todo-mode.el: New version.
5061 (todo-add-category): Append new category to end of file and give
5062 it the highest number, instead of putting it at the beginning and
5063 giving it 0. Incorporate noninteractive functionality.
5064 (todo-forward-category): Adapt to 1-based category numbering.
5065 Allow skipping over archived categories.
5066 (todo-backward-category): Derive from todo-forward-category.
5067 (todo-backward-item, todo-forward-item): Make noninteractive and
5068 delegate interactive part to new commands. Make sensitive to done items.
5069 (todo-categories): Make value an alist of category names and
5070 vectors of item counts.
5071 (todo-category-beg): Make a defconst.
5072 (todo-category-number): Use 1 instead of 0 as initial value.
5073 (todo-category-select): Make sensitive to overlays, optional item
5074 highlighting and done items.
5075 (todo-delete-item): Make sensitive to overlays and marked and done items.
5076 (todo-edit-item): Make sensitive to overlays and editing of
5077 date/time header optional. Add format checks.
5078 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5079 no-op if point is not on an item. Advertise using todo-edit-quit.
5080 (todo-edit-mode): Make sensitive to new format, font-locking, and
5081 multiple todo files.
5082 (todo-insert-item, todo-insert-item-here): Derive from
5083 todo-basic-insert-item and extend functionality.
5084 (todo-item-end, todo-item-start): Make sensitive to done items.
5085 (todo-item-string): Don't return text properties. Restore point.
5086 (todo-jump-to-category): Make sensitive to multiple todo files and
5087 todo archives. Use extended category completion.
5088 (todo-lower-item, todo-raise-item): Rename to *-priority and
5089 derive from todo-set-item-priority.
5090 (todo-mode): Derive from special-mode. Make sensitive to new
5091 format, font-locking and multiple todo files. Make read-only.
5092 (todo-mode-map): Don't suppress digit keys, so they can supply
5093 prefix arguments. Add many new key bindings.
5094 (todo-prefix): Insert as an overlay instead of file text.
5095 Change semantics from diary date expression to purely visual mark.
5096 (todo-print): Rename to todo-print-buffer. Make buffer display
5097 features printable. Remove option to restrict number of items
5098 printed. Add option to print to file.
5099 (todo-print-function): Rename to todo-print-buffer-function.
5100 (todo-quit): Extend to handle exiting new todo modes.
5101 (todo-remove-item): Make sensitive to overlays.
5102 (todo-save): Extend to buffers of filtered items.
5103 (todo-show): Make sensitive to done items, multiple todo files and
5104 new todo modes. Offer to convert legacy todo file before creating
5105 first new todo file.
5106 (todo-show-priorities): Rename to todo-top-priorities.
5107 Change semantics of value 0.
5108 (todo-top-priorities): Rename to todo-filter-top-priorities,
5109 derive from todo-filter-items and extend functionality.
5110 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5111 and extend functionality to other types of filtered items.
5112 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5113 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5114 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5115 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5116 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5117 (todo-edit-mode-hook, todo-entry-prefix-function)
5118 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5119 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5120 (todo-initials, todo-insert-threshold, todo-item-string-start)
5121 (todo-line-string, todo-menu, todo-mode-hook)
5122 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5123 (todo-print-priorities, todo-remove-separator)
5124 (todo-save-top-priorities-too, todo-string-count-lines)
5125 (todo-string-multiline-p, todo-time-string-format)
5126 (todo-tmp-buffer-name): Remove.
5127 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5128 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5129 (todo-edit-category-diary-inclusion)
5130 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5131 (todo-edit-file, todo-edit-item-date-day)
5132 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5133 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5134 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5135 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5136 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5137 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5138 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5139 (todo-filter-top-priorities-multifile, todo-find-archive)
5140 (todo-find-filtered-items-file, todo-go-to-source-item)
5141 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5142 (todo-jump-to-archive-category, todo-lower-category)
5143 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5144 (todo-move-category, todo-move-item, todo-next-button)
5145 (todo-next-item, todo-padded-string, todo-powerset)
5146 (todo-previous-button, todo-previous-item)
5147 (todo-print-buffer-to-file, todo-raise-category)
5148 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5149 (todo-set-category-number, todo-set-item-priority)
5150 (todo-set-top-priorities-in-category)
5151 (todo-set-top-priorities-in-file, todo-show-categories-table)
5152 (todo-sort-categories-alphabetically-or-numerically)
5153 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5154 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5155 (todo-toggle-item-header, todo-toggle-item-highlighting)
5156 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5157 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5158 (todo-unarchive-items, todo-unmark-category): New commands.
5159 (todo-absolute-file-name, todo-add-to-buffer-list)
5160 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5161 (todo-basic-insert-item, todo-category-completions)
5162 (todo-category-number, todo-category-string-matcher-1)
5163 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5164 (todo-check-format, todo-clear-matches)
5165 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5166 (todo-current-category, todo-date-string-matcher)
5167 (todo-define-insertion-command, todo-diary-expired-matcher)
5168 (todo-diary-goto-entry, todo-diary-item-p)
5169 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5170 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5171 (todo-done-item-section-p, todo-done-separator)
5172 (todo-done-string-matcher, todo-files, todo-filter-items)
5173 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5174 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5175 (todo-insert-category-line, todo-insert-item-from-calendar)
5176 (todo-insert-sort-button, todo-insert-with-overlays)
5177 (todo-insertion-command-name, todo-insertion-key-bindings)
5178 (todo-label-to-key, todo-longest-category-name-length)
5179 (todo-make-categories-list, todo-mode-external-set)
5180 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5181 (todo-modes-set-3, todo-multiple-filter-files)
5182 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5183 (todo-read-category, todo-read-date, todo-read-dayname)
5184 (todo-read-file-name, todo-read-time)
5185 (todo-reevaluate-category-completions-files-defcustom)
5186 (todo-reevaluate-default-file-defcustom)
5187 (todo-reevaluate-filelist-defcustoms)
5188 (todo-reevaluate-filter-files-defcustom)
5189 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5190 (todo-reset-done-separator, todo-reset-done-separator-string)
5191 (todo-reset-done-string, todo-reset-global-current-todo-file)
5192 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5193 (todo-reset-prefix, todo-set-categories)
5194 (todo-set-date-from-calendar, todo-set-show-current-file)
5195 (todo-set-top-priorities, todo-short-file-name)
5196 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5197 (todo-total-item-counts, todo-update-buffer-list)
5198 (todo-update-categories-display, todo-update-categories-sexp)
5199 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5201 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5203 (todo-categories, todo-display, todo-edit, todo-faces)
5204 (todo-filtered): New defgroups.
5205 (todo-archived-only, todo-button, todo-category-string, todo-date)
5206 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5207 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5208 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5209 (todo-add-item-if-new-category, todo-always-add-time-string)
5210 (todo-categories-align, todo-categories-archived-label)
5211 (todo-categories-category-label, todo-categories-diary-label)
5212 (todo-categories-done-label, todo-categories-number-separator)
5213 (todo-categories-todo-label, todo-categories-totals-label)
5214 (todo-category-completions-files, todo-completion-ignore-case)
5215 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5216 (todo-done-separator-string, todo-done-string)
5217 (todo-files-function, todo-filter-done-items, todo-filter-files)
5218 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5219 (todo-initial-category, todo-initial-file, todo-item-mark)
5220 (todo-legacy-date-time-regexp, todo-mode-line-function)
5221 (todo-nondiary-marker, todo-number-prefix)
5222 (todo-print-buffer-function, todo-show-current-file)
5223 (todo-show-done-only, todo-show-first, todo-show-with-done)
5224 (todo-skip-archived-categories, todo-top-priorities-overrides)
5225 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5226 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5228 (todo-category-done, todo-date-pattern, todo-date-string-start)
5229 (todo-diary-items-buffer, todo-done-string-start)
5230 (todo-filtered-items-buffer, todo-item-start)
5231 (todo-month-abbrev-array, todo-month-name-array)
5232 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5233 (todo-top-priorities-buffer): New defconsts.
5234 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5235 (todo-categories-with-marks, todo-category-string-face)
5236 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5237 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5238 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5239 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5240 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5241 (todo-font-lock-keywords, todo-global-current-todo-file)
5242 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5243 (todo-insertion-commands-args)
5244 (todo-insertion-commands-args-genlist)
5245 (todo-insertion-commands-names, todo-insertion-map)
5246 (todo-key-bindings-t, todo-key-bindings-t+a)
5247 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5248 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5249 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5250 (todo-visited): New variables.
5252 2013-06-21 Glenn Morris <rgm@gnu.org>
5254 * play/cookie1.el (cookie-apropos): Add optional display argument.
5255 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5256 (psychoanalyze-pinhead): Use cookie-doctor.
5258 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5260 * emacs-lisp/package.el (tar-get-file-descriptor)
5261 (tar--extract): Declare.
5263 2013-06-21 Eduard Wiebe <usenet@pusto.de>
5265 Extend flymake's warning predicate to be a function (bug#14217).
5266 * progmodes/flymake.el (flymake-warning-predicate): New.
5267 (flymake-parse-line): Use it.
5268 (flymake-warning-re): Make obsolete alias to
5269 `flymake-warning-predicate'.
5271 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5273 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5274 (package-obsolete-list): Remove.
5275 (package-activate): Remove min-version argument. Add `force' argument.
5276 Adjust to new package-alist format.
5277 (package-mark-obsolete): Remove.
5278 (package-unpack): Force reload of the package's autoloads.
5279 (package-installed-p): Check builtins if the installed package is not
5281 (package-initialize): Don't reset package-obsolete-list.
5282 Don't specify which package version to activate.
5283 (package-process-define-package, describe-package-1)
5284 (package-menu--generate): Adjust to new package-alist format.
5286 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5288 * allout-widgets.el (allout-widgets-mode-off)
5289 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5290 (allout-widgets-post-command-business)
5291 (allout-widgets-after-copy-or-kill-function)
5292 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5293 (allout-decorate-item-and-context)
5294 (allout-graphics-modification-handler): Fix typos in docstrings.
5295 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5297 * cmuscheme.el (scheme-start-file): Doc fix.
5298 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5299 (scheme-input-filter): Use `string-match-p'.
5301 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5303 * dired-x.el: Use Dired consistently in docstrings.
5305 * dired.el: Use Dired consistently in docstrings.
5306 (dired-readin, dired-mode): Use `setq-local'.
5307 (dired-switches-alist): Make defvar-local.
5308 (dired-buffers-for-dir): Use `zerop'.
5309 (dired-safe-switches-p, dired-switches-escape-p)
5310 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5311 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5312 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5313 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5314 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5315 (dired-toggle-marks, dired-mark-files-containing-regexp)
5316 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5317 (dired-flag-auto-save-files, dired-flag-backup-files):
5319 (dired-mark-files-regexp, dired-build-subdir-alist):
5320 Use `string-match-p', `looking-at-p'.
5322 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5323 (direct-print-region-helper): Use `string-match-p'.
5325 2013-06-21 Leo Liu <sdl.web@gmail.com>
5327 * comint.el (comint-redirect-results-list-from-process):
5330 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5332 * net/eww.el (eww-update-header-line-format): Quote % characters.
5334 2013-06-21 Glenn Morris <rgm@gnu.org>
5336 * play/cookie1.el (cookie): New custom group.
5337 (cookie-file): New option.
5338 (cookie-check-file): New function.
5339 (cookie): Make it interactive. Make start and end messages optional.
5340 Interactively, display the result. Default to cookie-file.
5341 (cookie-insert): Default to cookie-file.
5342 (cookie-snarf): Make start and end messages optional.
5343 Default to cookie-file. Use with-temp-buffer.
5344 (cookie-read): Rename from read-cookie.
5345 Make start and end messages optional. Default to cookie-file.
5346 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5348 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5349 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5351 2013-06-21 Leo Liu <sdl.web@gmail.com>
5353 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5355 2013-06-21 Glenn Morris <rgm@gnu.org>
5357 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5359 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5360 Daniel Hackney <dan@haxney.org>
5362 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5363 Consolidate the single-file vs tarball code.
5364 (package-desc-suffix): New function.
5365 (package-desc-full-name): Don't bother inlining it.
5366 (package-load-descriptor): Return the new package-desc.
5367 (package-mark-obsolete): Remove unused arg `package'.
5368 (package-unpack): Make it work for single files as well.
5369 Make it update package-alist.
5370 (package--make-autoloads-and-stuff): Rename from
5371 package--make-autoloads-and-compile. Don't compile any more.
5372 (package--compile): New function.
5373 (package-generate-description-file): New function, extracted from
5374 package-unpack-single.
5375 (package-unpack-single): Remove.
5376 (package--with-work-buffer): Add indentation and debugging info.
5377 (package-download-single): Remove.
5378 (package-install-from-archive): Rename from package-download-tar, make
5379 it take a pkg-desc, and make it work for single files as well.
5380 (package-download-transaction): Simplify.
5381 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5382 external tar program.
5383 (package-install-from-buffer): Remove `pkg-desc' argument.
5384 Use package-tar-file-info for tar-mode buffers.
5385 (package-install-file): Simplify accordingly.
5386 (package-archive-base): Change to take a pkg-desc.
5387 * tar-mode.el (tar--check-descriptor): New function, extracted from
5389 (tar-get-descriptor): Use it.
5390 (tar-get-file-descriptor): New function.
5391 (tar--extract): New function, extracted from tar-extract.
5392 (tar--extract): Use it.
5393 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5394 case the summary uses non-ascii. Adjust to new calling convention of
5395 package-tar-file-info.
5397 2013-06-21 Leo Liu <sdl.web@gmail.com>
5399 * comint.el (comint-redirect-results-list-from-process):
5400 Fix random delay. (Bug#14681)
5402 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5404 * profiler.el (profiler-format-number): Use log, not log10.
5406 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5408 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5410 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5412 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5413 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5415 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5416 (AUTOGENEL): ... here.
5417 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5418 (cl--defsubst-expand): Use it.
5420 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5422 * subr.el (log10): Move here from C code, and declare as obsolete.
5423 All uses of (log10 X) replaced with (log X 10).
5425 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5427 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5428 Declare with `defvar-local'.
5429 (tabulated-list-use-header-line, tabulated-list-entries)
5430 (tabulated-list-padding, tabulated-list-printer)
5431 (tabulated-list-sort-key): Declare with `defvar-local'.
5432 (tabulated-list-init-header, tabulated-list-print-fake-header):
5435 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
5437 * arc-mode.el (archive-mode): Add `archive-write-file' to
5438 `write-contents-functions' also for remote files. (Bug#14652)
5440 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5442 * cus-edit.el (custom-commands): Fix typos.
5443 (custom-display): Fix tooltip text.
5444 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5445 Fix typos in docstrings.
5446 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5447 (custom-unlispify-menu-entry, custom-magic-value-create)
5448 (custom-add-see-also, custom-group-value-create): Use ?\s.
5449 (custom-guess-type, customize-apropos, editable-field)
5450 (custom-face-value-create): Use `string-match-p'.
5451 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5453 * custom.el (custom-load-symbol): Use `string-match-p'.
5455 * ansi-color.el: Convert to lexical binding.
5456 (ansi-colors): Fix URL.
5457 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5458 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5459 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5461 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5463 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5465 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5467 2013-06-19 Tom Tromey <tromey@redhat.com>
5469 * net/eww.el (eww-top-url): Remove.
5470 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5471 (eww-render): Set new variables. Don't set eww-top-url.
5472 (eww-handle-link): Handle "prev", "home", and "contents".
5473 Downcase the rel text.
5474 (eww-top-url): Choose best top URL.
5476 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5478 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5479 relying in widget.el. Using widget.el leads to too many
5480 user interface inconsistencies.
5481 (eww-self-insert): Implement entering commands in text fields.
5482 (eww-process-text-input): New function to make text input field editing
5484 (eww-submit): Rewrite to use the new-style form methods.
5485 (eww-select-display): Display the correct selected item.
5486 (eww-change-select): Implement changing the select value.
5487 (eww-toggle-checkbox): Implement radio/checkboxes.
5488 (eww-update-field): Fix compilation error.
5489 (eww-tag-textarea): Implement <textarea>.
5491 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5492 we don't shadow mode-specific bindings.
5494 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5497 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5499 2013-06-19 Glenn Morris <rgm@gnu.org>
5501 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5503 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5505 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5508 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5510 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5512 * net/browse-url.el (browse-url-browser-function):
5513 `eww-browse-url' has the right calling signature, `eww' does not.
5515 2013-06-19 Glenn Morris <rgm@gnu.org>
5517 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5518 Only eval autoloaded macros.
5519 (byte-compile-autoload): Only give the macro warning for macros.
5521 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5522 (ps-underlined-faces): Declare.
5524 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5525 (speedbar-add-supported-extension): Declare.
5527 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5528 Don't include a date stamp in the header of the generated file;
5529 it leads to needless differences between output files.
5531 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5533 * net/secrets.el (secrets-struct-secret-content-type):
5534 Replace check of introspection data by a test call of "CreateItem".
5535 Some servers do not offer introspection.
5537 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5539 * electric.el (electric-pair-mode): Improve interaction with
5540 electric-layout-mode.
5541 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5542 (electric-pair-syntax): Use text-mode-syntax-table in comments
5544 (electric-pair--insert): New function.
5545 (electric-pair-post-self-insert-function): Use it and
5546 electric--after-char-pos.
5548 2013-06-19 Leo Liu <sdl.web@gmail.com>
5550 * progmodes/octave.el (octave-help): Fix regexp.
5552 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5554 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5555 (shr-table-horizontal-line): Allow nil as a value, and change the
5557 (shr-insert-table-ruler): Respect the nil value.
5559 2013-06-18 Tom Tromey <tromey@barimba>
5561 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5563 (eww-open-file): New defun.
5564 (eww-render): Initialize new variables.
5565 (eww-display-html): Handle "link" and "a".
5566 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5567 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5568 (eww-back-url): Rename from eww-previous-url.
5569 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5572 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5574 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5575 Distinguish ternary operator tokens from slash symbol and slash
5578 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5580 Convert symbol prettification into minor mode and global minor mode.
5582 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5583 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5584 (prettify-symbols--keywords): Rename from
5585 `prog-prettify-symbols-alist' and make a local defvar.
5586 (prettify-symbols--compose-symbol): Rename from
5587 `prog--prettify-font-lock-compose-symbol'.
5588 (prettify-symbols--make-keywords): Rename from
5589 `prog-prettify-font-lock-symbols-keywords' and simplify.
5590 (prog-prettify-install): Remove.
5591 (prettify-symbols-mode): New minor mode, based on
5592 `prog-prettify-install'.
5593 (turn-on-prettify-symbols-mode): New function.
5594 (global-prettify-symbols-mode): New globalized minor mode.
5596 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5597 * progmodes/cfengine.el (cfengine3-mode):
5598 * progmodes/perl-mode.el (perl-mode): Don't call
5599 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5601 2013-06-18 Juri Linkov <juri@jurta.org>
5603 * files-x.el (modify-file-local-variable-message): New function.
5604 (modify-file-local-variable)
5605 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5606 and call `modify-file-local-variable-message' when it's non-nil.
5607 (add-file-local-variable, delete-file-local-variable)
5608 (add-file-local-variable-prop-line)
5609 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5610 and use it. (Bug#9820)
5612 2013-06-18 Juri Linkov <juri@jurta.org>
5614 * emulation/vi.el (vi-shell-op):
5615 * emulation/vip.el (vip-execute-com, ex-command):
5616 * emulation/viper-cmd.el (viper-exec-bang):
5617 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5618 the call of `shell-command-on-region'. (Bug#14637)
5620 * simple.el (shell-command-on-region): Doc fix.
5622 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5624 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5627 2013-06-18 Glenn Morris <rgm@gnu.org>
5629 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5631 * newcomment.el (comment-search-forward, comment-search-backward):
5632 Doc fix. (Bug#14376)
5634 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5636 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5637 (buffer-face-mode-invoke): Doc fix.
5639 2013-06-18 Matthias Meulien <orontee@gmail.com>
5641 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
5642 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
5644 2013-06-18 Glenn Morris <rgm@gnu.org>
5646 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5647 Replace obsolete function generic-make-keywords with its expansion.
5649 * progmodes/python.el (ffap-alist): Declare.
5651 * textmodes/reftex.el (bibtex-mode-map): Declare.
5653 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5655 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5656 (package-unpack, package-unpack-single): Return the pkg-dir.
5657 (package-download-transaction): Use it to update package-alist.
5659 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5661 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5664 2013-06-17 Juri Linkov <juri@jurta.org>
5666 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5668 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5670 * emacs-lisp/package.el (package-load-descriptor):
5671 Remove `with-syntax-table' call, `read' doesn't need it.
5672 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5674 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5676 * startup.el (command-line): Expand package name returned by
5677 `package--description-file' (bug#14639).
5679 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5681 * emacs-lisp/package.el (package-load-descriptor): Do not call
5682 `emacs-lisp-mode', just use its syntax table.
5684 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5686 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5687 `font-lock-extra-managed-props' if any prettifying keyword is added.
5688 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5689 (prog-mode): Use `setq-local'.
5691 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5693 * international/characters.el (standard-case-table): Set syntax of ?»
5694 and ?« to punctuation.
5696 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5698 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5699 Save relevant match data before calling `syntax-ppss' (bug#14595).
5701 2013-06-15 Juri Linkov <juri@jurta.org>
5703 * files-x.el (modify-file-local-variable-prop-line): Add local
5704 variables to the end of the existing comment on the first line.
5705 Use `file-auto-mode-skip' to skip interpreter magic line,
5706 and also skip XML declaration.
5708 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5710 * startup.el (package--builtin-versions): New var.
5711 (package-subdirectory-regexp): Remove.
5712 (package--description-file): Hard code its value instead.
5714 * emacs-lisp/package.el: Don't activate packages older than builtin.
5715 (package-obsolete-list): Rename from package-obsolete-alist, and make
5716 it into a simple list of package-desc.
5717 (package-strip-version): Remove.
5718 (package-built-in-p): Use package--builtin-versions.
5719 (package-mark-obsolete): Simplify.
5720 (package-process-define-package): Mark it obsolete if older than the
5722 (package-handle-response): Use line-end-position.
5723 (package-read-archive-contents, package--download-one-archive):
5725 (package--add-to-archive-contents): Skip if older than the builtin or
5727 (package-menu-describe-package): Fix last change.
5728 (package-list-unversioned): New var.
5729 (package-menu--generate): Use it.
5731 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5732 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5733 (autoload-builtin-package-versions): New variable.
5734 (autoload-generate-file-autoloads): Use them.
5735 Remove the list of autoloaded functions/macros from the
5736 (autoload...) comments.
5738 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5740 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5742 * simple.el (line-move-partial): Don't jump to the next screen
5743 line as soon as it becomes visible. Instead, continue enlarging
5744 the vscroll until the portion of a tall screen line that's left on
5745 display is about the height of the frame's default font.
5748 2013-06-15 Glenn Morris <rgm@gnu.org>
5750 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5751 compilation-error-regexp-alist void, or local while let-bound.
5753 * progmodes/make-mode.el (makefile-mode-syntax-table):
5754 Treat "=" as punctuation. (Bug#14614)
5756 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5758 * help-fns.el (describe-variable):
5759 Add extra line for permanent-local variables.
5761 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5763 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5764 Add export, import, library. (Bug#9164)
5765 (library): Set indent function.
5767 2013-06-14 Glenn Morris <rgm@gnu.org>
5769 * term/xterm.el (xterm--query):
5770 Stop after first matching handler. (Bug#14615)
5772 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5774 Add support for dired in saveplace.
5775 * dired.el (dired-initial-position-hook): New variable.
5776 (dired-initial-position): Call hook to place cursor position.
5777 * saveplace.el (save-place-to-alist): Add dired position.
5778 (save-place-dired-hook): New function.
5780 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5782 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5783 through a symbol rather than letrec.
5785 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5786 (package-desc): Add `dir' field.
5787 (package-desc-full-name): New function.
5788 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5789 (package-maybe-load-descriptor): Remove.
5790 (package-load-all-descriptors): Just call package-load-descriptor.
5791 (package--disabled-p): New function.
5792 (package-desc-vers, package-desc-doc): Remove aliases.
5793 (package--dir): Remove function.
5794 (package-activate): Check if a package is disabled.
5795 (package-process-define-package): New function, extracted from
5797 (define-package): Turn into a place holder.
5798 (package-unpack-single, package-tar-file-info):
5799 Use package--description-file.
5800 (package-compute-transaction): Use package--disabled-p.
5801 (package-download-transaction): Don't call
5802 package-maybe-load-descriptor since they're all loaded anyway.
5803 (package-install): Change argument to be a pkg-desc.
5804 (package-delete): Use a single pkg-desc argument.
5805 (describe-package-1): Use package-desc-dir instead of package--dir.
5806 Use package-desc property instead of package-symbol.
5807 (package-install-button-action): Adjust accordingly.
5808 (package--push): Rewrite.
5809 (package-menu--print-info): Adjust accordingly. Change the ID format
5811 (package-menu-describe-package, package-menu-get-status)
5812 (package-menu--find-upgrades, package-menu-mark-upgrades)
5813 (package-menu-execute, package-menu--name-predicate):
5815 * startup.el (package--description-file): New function.
5816 (command-line): Use it.
5817 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5818 Use package-desc-version.
5820 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5821 (byte-compile-preprocess): Use it.
5822 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5823 can't quite recognize.
5824 (byte-compile-add-to-list): Remove.
5825 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5826 (cconv-closure-convert): Add assertion.
5828 * emacs-lisp/map-ynp.el: Use lexical-binding.
5829 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5830 Factor out some repeated code.
5832 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5834 * subr.el (with-eval-after-load): New macro.
5835 (eval-after-load): Allow form to be a function.
5836 take advantage of lexical-binding.
5837 (do-after-load-evaluation): Use dolist and adjust to new format.
5838 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5840 2013-06-13 Juri Linkov <juri@jurta.org>
5842 * replace.el (perform-replace): Display "symbol " and other search
5843 modes from `isearch-message-prefix' in the *Help* buffer.
5845 * isearch.el (isearch-query-replace): Add " symbol" and other
5846 possible search modes from `isearch-message-prefix' to the prompt.
5847 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5848 when reading a regexp to collect.
5850 2013-06-13 Juri Linkov <juri@jurta.org>
5852 * isearch.el (word-search-regexp): Match whitespace if the search
5853 string begins or ends in whitespace. The LAX arg is applied to
5854 both ends of the search string. Use `regexp-quote' and explicit
5855 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5856 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5857 boundaries are replaced with symbol boundaries, and characters
5858 between symbols match non-word non-symbol syntax. (Bug#14602)
5860 2013-06-13 Juri Linkov <juri@jurta.org>
5862 * isearch.el (isearch-del-char): Don't exceed the length of
5863 `isearch-string' by the prefix arg. (Bug#14563)
5865 2013-06-13 Juri Linkov <juri@jurta.org>
5867 * isearch.el (isearch-yank-word, isearch-yank-line)
5868 (isearch-char-by-name, isearch-quote-char)
5869 (isearch-printing-char, isearch-process-search-char):
5870 Add optional count prefix arg. (Bug#14563)
5872 * international/isearch-x.el
5873 (isearch-process-search-multibyte-characters):
5874 Add optional count prefix arg.
5876 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5878 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5879 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5882 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5884 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5886 2013-06-13 Glenn Morris <rgm@gnu.org>
5888 * startup.el (tty-handle-args):
5889 Don't just discard "--" and anything after. (Bug#14608)
5891 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5893 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5895 Implement changes in Secret Service API. Make it backward compatible.
5896 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5897 (secrets-create-item): Use it. Prefix properties with interface.
5899 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5901 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5902 (term-emulate-terminal): Respect term-suppress-hard-newline.
5904 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5906 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5907 Only remove a `thumb-file' overlay. (Bug#14548)
5909 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
5911 * mail/reporter.el (reporter-submit-bug-report):
5912 Handle missing package-name. (Bug#14600)
5914 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5916 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5917 (reftex-citation-prompt, reftex-default-bibliography)
5918 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5919 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5920 (reftex-bib-sort-author, reftex-bib-sort-year)
5921 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5922 (reftex-extract-bib-entries-from-thebibliography)
5923 (reftex-get-bibkey-default, reftex-get-bib-names)
5924 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5925 (reftex-format-bib-entry, reftex-parse-bibitem)
5926 (reftex-format-bibitem, reftex-do-citation)
5927 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5928 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5929 (reftex-insert-bib-matches, reftex-format-citation)
5930 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5931 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5932 existing comments into docstrings.
5934 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5936 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5938 2013-06-12 Andreas Schwab <schwab@suse.de>
5940 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5941 for auto-save files.
5943 2013-06-12 Glenn Morris <rgm@gnu.org>
5945 * ido.el (ido-delete-ignored-files): Remove.
5946 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5947 Go back to calling ido-ignore-item-p directly.
5949 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5951 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5953 * ido.el (ido-delete-ignored-files): New function,
5954 split from ido-make-file-list-1.
5955 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5956 (ido-make-file-list-1): Use ido-delete-ignored-files.
5958 2013-06-12 Leo Liu <sdl.web@gmail.com>
5960 * progmodes/octave.el (inferior-octave-startup)
5961 (inferior-octave-completion-table)
5962 (inferior-octave-track-window-width-change)
5963 (octave-eldoc-function-signatures, octave-help)
5964 (octave-find-definition): Use single quoted strings.
5965 (inferior-octave-startup-args): Change default value.
5966 (inferior-octave-startup): Do not hard code "-i" and
5967 "--no-line-editing".
5968 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5969 (inferior-octave-directory-tracker): Use it.
5970 (octave-goto-function-definition): Robustify.
5971 (octave-help): Support highlighting operators in 'See also'.
5972 (octave-find-definition): Find subfunctions only in Octave mode.
5974 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5976 * help-fns.el (help-fns--compiler-macro): If the handler function is
5977 named, then put a link to it.
5978 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5979 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5981 (cl-eval-when): Simplify debug spec.
5982 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5983 compiler-macro function instead of setting `compiler-macro-file'.
5985 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5987 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5988 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5990 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5991 Daniel Hackney <dan@haxney.org>
5993 First part of Daniel Hackney's patch to package.el.
5994 * emacs-lisp/package.el: Use defstruct.
5995 (package-desc): New, main struct.
5996 (package--bi-desc, package--ac-desc): New structs, used to describe the
5997 format in external files.
5998 (package-desc-vers): Replace with package-desc-version accessor.
5999 (package-desc-doc): Replace with package-desc-summary accessor.
6000 (package-activate-1): Remove `package' arg since the pkg-vec now
6002 (define-package): Use package-desc-from-define.
6003 (package-unpack-single): Change file-name arg to be a symbol.
6004 (package--add-to-archive-contents): Use package-desc-create and new
6005 accessor functions to package--ac-desc.
6006 (package-buffer-info, package-tar-file-info): Return a package-desc.
6007 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6008 arg to be a package-desc.
6009 (package-install-file): Adjust accordingly. Use \' to match EOS.
6010 (package--from-builtin): New function.
6011 (describe-package-1, package-menu--generate): Use it.
6012 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6013 (package-generate-autoloads): Idem and return the name of the file.
6014 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6015 Change pkg-info arg to be a package-desc.
6016 Use package-make-ac-desc.
6017 (package-upload-file): Use \' to match EOS.
6018 * finder.el (finder-compile-keywords): Use package-make-builtin.
6020 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6022 * vc/vc.el (vc-deduce-fileset): Change error message.
6023 (vc-read-backend): New function.
6024 (vc-next-action): Use it.
6026 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6028 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6029 (prolog-font-lock-keywords): Use regexp-opt instead.
6030 Don't manually highlight strings.
6031 (prolog-mode-variables): Simplify comment-start-skip.
6032 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6034 * emacs-lisp/generic.el (generic--normalise-comments)
6035 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6036 (generic-mode-set-comments): Use them.
6037 (generic-bracket-support): Use setq-local.
6038 (generic-make-keywords-list): Declare obsolete.
6040 2013-06-11 Glenn Morris <rgm@gnu.org>
6042 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6043 Prettify after setting font-lock-defaults. (Bug#14574)
6045 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6047 * replace.el (query-replace, occur-read-regexp-defaults-function)
6049 * subr.el (declare-function, number-sequence, local-set-key)
6050 (substitute-key-definition, locate-user-emacs-file)
6051 (with-silent-modifications, split-string, eval-after-load):
6052 Fix typos, remove unneeded backslashes and reflow some docstrings.
6054 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6056 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6057 default for Elisp files.
6059 2013-06-11 Glenn Morris <rgm@gnu.org>
6061 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6062 although define-derived-mode was doing this anyway. (Bug#14583)
6064 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6066 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6067 Fix make-variable-buffer-local call to refer to the correct variable.
6069 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6071 * eshell/em-term.el (eshell-visual-commands)
6072 (eshell-visual-subcommands, eshell-visual-options):
6073 Add summary line to docstrings. Add cross-references.
6075 2013-06-10 Glenn Morris <rgm@gnu.org>
6077 * epa.el (epa-read-file-name): New function. (Bug#14510)
6078 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6080 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6082 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6083 output redirection to be ignored with visual commands.
6085 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6087 * eshell/em-term.el (eshell-visual-command-p): New function.
6088 (eshell-term-initialize): Move long lambda to separate function
6089 eshell-visual-command-p.
6090 * eshell/em-dirs.el (eshell-dirs-initialise):
6091 * eshell/em-script.el (eshell-script-initialize):
6092 Add missing #' to lambda.
6094 2013-06-08 Leo Liu <sdl.web@gmail.com>
6096 * progmodes/octave.el (octave-add-log-current-defun): New function.
6097 (octave-mode): Set add-log-current-defun-function.
6098 (octave-goto-function-definition): Do not move point if not found.
6099 (octave-find-definition): Enhance to try subfunctions first.
6101 2013-06-08 Glenn Morris <rgm@gnu.org>
6103 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6104 (byte-compile-backward-char, byte-compile-backward-word):
6105 Improve previous change, to handle non-explicit nil.
6107 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6109 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6110 (smie--opener/closer-at-point): New function.
6111 (smie--matching-block-data): Use it. Don't match from right after an
6112 opener or right before a closer. Obey smie-blink-matching-inners.
6113 Don't signal a mismatch for repeated inners like "switch..case..case".
6115 2013-06-07 Leo Liu <sdl.web@gmail.com>
6117 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6119 (octave-function-header-regexp): Fix. (Bug#14570)
6120 (octave-help-mode-finish-hook, octave-help-mode-finish):
6121 Remove. Just use temp-buffer-show-hook.
6123 * newcomment.el (comment-search-backward): Revert last change.
6126 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6128 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6130 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6131 through xargs, to avoid failure due to MS-Windows limitations on
6132 command-line length.
6134 2013-06-06 Glenn Morris <rgm@gnu.org>
6136 * font-lock.el (lisp-font-lock-keywords-2):
6137 Treat user-error like error.
6139 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6140 (byte-compile-backward-char, byte-compile-backward-word):
6141 Handle explicit nil arguments. (Bug#14565)
6143 2013-06-05 Alan Mackenzie <acm@muc.de>
6145 * isearch.el (isearch-allow-prefix): New user option.
6146 (isearch-other-meta-char): Don't exit isearch when a prefix
6147 argument is typed whilst `isearch-allow-prefix' is non-nil.
6150 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6152 * autorevert.el (auto-revert-notify-handler): Use memq.
6153 Hide assertion failure.
6155 * skeleton.el: Use cl-lib.
6156 (skeleton-further-elements): Use defvar-local.
6157 (skeleton-insert): Use cl-progv.
6159 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6161 * progmodes/prog-mode.el (prog-prettify-symbols)
6162 (prog-prettify-install): Update docstrings.
6164 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6166 * simple.el: Move all the prog-mode code to prog-mode.el.
6167 * progmodes/prog-mode.el: New file.
6168 * loadup.el: Add prog-mode.el.
6170 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6172 * simple.el (prog-prettify-symbols): Add version.
6173 (prog-prettify-install): Add convenience function to prettify symbols.
6175 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6176 (perl--augmented-font-lock-keywords-1)
6177 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6178 variables and use it.
6180 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6181 (cfengine3-mode): Remove unneeded variable and use it.
6183 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6184 (lisp--augmented-font-lock-keywords-1)
6185 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6186 Remove unneeded variables and use it.
6188 2013-06-05 João Távora <joaotavora@gmail.com>
6190 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6191 to point when opening the connection. (Bug#14380)
6193 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6195 * subr.el (load-history-regexp, load-history-filename-element)
6196 (eval-after-load, after-load-functions, do-after-load-evaluation)
6197 (eval-next-after-load, display-delayed-warnings)
6198 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6199 definition of save-match-data.
6200 (overriding-local-map): Remove accidental obsolescence declaration.
6202 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6204 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6206 Generalize symbol prettify support to prog-mode and implement it
6207 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6208 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6209 (prog--prettify-font-lock-compose-symbol)
6210 (prog-prettify-font-lock-symbols-keywords): New variables and
6211 functions to support symbol prettification.
6212 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6213 (lisp--augmented-font-lock-keywords-1)
6214 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6215 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6216 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6217 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6218 Implement prettify of -> => :: strings.
6219 * progmodes/perl-mode.el (perl-prettify-symbols)
6220 (perl--font-lock-compose-symbol)
6221 (perl--font-lock-symbols-keywords): Move to prog-mode.
6222 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6223 (perl-font-lock-keywords-1)
6224 (perl-font-lock-keywords-2): Remove explicit prettify support.
6225 (perl--augmented-font-lock-keywords)
6226 (perl--augmented-font-lock-keywords-1)
6227 (perl--augmented-font-lock-keywords-2, perl-mode):
6228 Implement prettify support.
6230 2013-06-05 Leo Liu <sdl.web@gmail.com>
6232 Re-implement smie matching block highlight using
6233 show-paren-data-function. (Bug#14395)
6234 * emacs-lisp/smie.el (smie-matching-block-highlight)
6235 (smie--highlight-matching-block-overlay)
6236 (smie--highlight-matching-block-lastpos)
6237 (smie-highlight-matching-block)
6238 (smie-highlight-matching-block-mode): Remove.
6239 (smie--matching-block-data-cache): New variable.
6240 (smie--matching-block-data): New function.
6241 (smie-setup): Use smie--matching-block-data for
6242 show-paren-data-function.
6244 * progmodes/octave.el (octave-mode-menu): Fix.
6245 (octave-find-definition): Skip garbage lines.
6247 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6249 Fix compilation error with simultaneous dynamic+lexical scoping.
6250 Add warning when a defvar appears after the first let-binding.
6251 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6252 (byte-compile-close-variables): Initialize it.
6253 (byte-compile--declare-var): New function.
6254 (byte-compile-file-form-defvar)
6255 (byte-compile-file-form-define-abbrev-table)
6256 (byte-compile-file-form-custom-declare-variable): Use it.
6257 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6258 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6259 (byte-compile-bind): Handle dynamic bindings that shadow
6261 (byte-compile-unbind): Make arg non-optional.
6262 (byte-compile-let): Simplify.
6263 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6264 (cconv--analyse-function, cconv-analyse-form): Populate it.
6265 Protect byte-compile-bound-variables to limit the scope of defvars.
6266 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6267 Remove unneeded rule for `declare'.
6269 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6270 so as to avoid depending on cl-adjoin at run-time.
6271 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6273 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6274 (macroexp--warn-and-return): Use it.
6276 2013-06-05 Leo Liu <sdl.web@gmail.com>
6278 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6280 2013-06-04 Leo Liu <sdl.web@gmail.com>
6282 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6283 (compilation-auto-jump): Suppress the "Mark set" message to give
6284 way to exit message.
6286 2013-06-04 Alan Mackenzie <acm@muc.de>
6288 Remove faulty optimisation from indentation calculation.
6289 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6290 search limit based on 2000 characters back from indent-point.
6292 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6294 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6296 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6298 * emacs-lisp/lisp.el: Use lexical-binding.
6299 (lisp--local-variables-1, lisp--local-variables): New functions.
6300 (lisp--local-variables-completion-table): New var.
6301 (lisp-completion-at-point): Use it complete let-bound vars.
6303 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6304 eagerly (bug#14422).
6306 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
6308 * autorevert.el (auto-revert-notify-enabled)
6309 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6310 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6311 (auto-revert-notify-handler): Handle also gfilenotify.
6313 * subr.el (file-notify-handle-event): New defun. Replacing ...
6314 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6317 2013-06-03 Juri Linkov <juri@jurta.org>
6319 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6320 `M-s h .'. (Bug#14427)
6322 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6323 command `hi-lock-face-symbol-at-point'.
6324 (hi-lock-face-symbol-at-point): New command.
6325 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6326 (hi-lock-menu): Add `highlight-symbol-at-point'.
6327 (hi-lock-mode): Doc fix.
6329 * isearch.el (isearch-forward-symbol-at-point): New command.
6330 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6331 (isearch-highlight-regexp): Add a regexp which matches
6332 words/symbols for word/symbol mode.
6334 * subr.el (find-tag-default-bounds): New function with the body
6335 mostly moved from `find-tag-default'.
6336 (find-tag-default): Move most code to `find-tag-default-bounds',
6337 call it and apply `buffer-substring-no-properties' afterwards.
6339 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6341 * eshell/em-term.el (eshell-term-initialize):
6342 Use `cl-intersection' rather than `intersection'.
6344 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6346 * vc/log-view.el: Doc fix.
6347 (log-view-mode-map): Copy keymap from `special-mode-map'.
6349 2013-06-02 Eric Ludlam <zappo@gnu.org>
6351 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6352 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6353 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6354 (eieio-unbound, eieio-default-superclass)
6355 (eieio--define-field-accessors, method-static, method-before)
6356 (method-primary, method-after, method-num-lists)
6357 (method-generic-before, method-generic-primary)
6358 (method-generic-after, method-num-slots)
6359 (eieio-specialized-key-to-generic-key)
6360 (eieio--check-type, class-v, class-p)
6361 (eieio-class-name, define-obsolete-function-alias)
6362 (eieio-class-parents-fast, eieio-class-children-fast)
6363 (same-class-fast-p, class-constructor, generic-p)
6364 (generic-primary-only-p, generic-primary-only-one-p)
6365 (class-option-assoc, class-option, eieio-object-p)
6366 (class-abstract-p, class-method-invocation-order)
6367 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6368 (eieio-class-un-autoload, eieio-defclass)
6369 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6370 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6371 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6372 (eieio-defgeneric-reset-generic-form)
6373 (eieio-defgeneric-form-primary-only)
6374 (eieio-defgeneric-reset-generic-form-primary-only)
6375 (eieio-defgeneric-form-primary-only-one)
6376 (eieio-defgeneric-reset-generic-form-primary-only-one)
6377 (eieio-unbind-method-implementations)
6378 (eieio--defmethod, eieio--typep)
6379 (eieio-perform-slot-validation, eieio-validate-slot-value)
6380 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6381 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6382 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6383 (eieio-slot-name-index, eieio-class-slot-name-index)
6384 (eieio-set-defaults, eieio-initarg-to-attribute)
6385 (eieio-attribute-to-initarg, eieio-c3-candidate)
6386 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6387 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6388 (eieio-class-precedence-list, eieio-generic-call-methodname)
6389 (eieio-generic-call-arglst, eieio-generic-call-key)
6390 (eieio-generic-call-next-method-list)
6391 (eieio-pre-method-execution-functions, eieio-generic-call)
6392 (eieio-generic-call-primary-only, eieiomt-method-list)
6393 (eieiomt-optimizing-obarray, eieiomt-install)
6394 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6395 (eieio-generic-form, eieio-defmethod, make-obsolete)
6396 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6397 (defclass): Remove `eval-and-compile' from macro.
6398 (call-next-method, shared-initialize): Instead of using
6399 `scoped-class' variable, use new eieio--scoped-class, and
6400 eieio--with-scoped-class.
6401 (initialize-instance): Rename local variable 'scoped-class' to
6402 'this-class' to remove ambiguitity from old global.
6404 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6406 (eieio--scoped-class-stack): New variable.
6407 (eieio--scoped-class): New fcn.
6408 (eieio--with-scoped-class): New scoping macro.
6409 (eieio-defclass): Use pushnew instead of add-to-list.
6410 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6411 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6412 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6413 `scoped-class' variable, use new eieio--scoped-class, and
6414 eieio--with-scoped-class.
6416 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6418 2013-06-02 Tassilo Horn <tsdh@gnu.org>
6420 * eshell/esh-ext.el (eshell-external-command): Pass args to
6421 `eshell-find-interpreter'.
6422 (eshell-find-interpreter): Add new second parameter ARGS.
6424 * eshell/em-script.el (eshell-script-initialize): Add second arg
6425 to the function added as MATCH to `eshell-interpreter-alist'.
6427 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6428 the function added as MATCH to `eshell-interpreter-alist'.
6430 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6431 (eshell-visual-options): New defcustom.
6432 (eshell-escape-control-x): Adapt docstring.
6433 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6434 `eshell-visual-options' in addition to `eshell-visual-commands'.
6435 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6437 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
6439 * progmodes/python.el (python-indent-block-enders): Add break,
6440 continue and raise keywords.
6442 2013-06-01 Glenn Morris <rgm@gnu.org>
6444 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6446 Plain (f)boundp silences compilation warnings since Emacs 22.1.
6447 * progmodes/cc-cmds.el (delete-forward-p):
6448 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6449 * progmodes/cc-engine.el (buffer-syntactic-context):
6450 * progmodes/cc-fonts.el (face-property-instance):
6451 * progmodes/cc-mode.el (set-keymap-parents):
6452 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6453 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6454 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6455 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6456 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6458 * progmodes/cc-vars.el (other): Emacs has this widget since
6459 at least 21.1, so don't (re)define it.
6461 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6462 Replace the obsolete alias pcomplete-arg-quote-list.
6464 2013-06-01 Leo Liu <sdl.web@gmail.com>
6466 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6468 (inferior-octave-minimal-columns)
6469 (inferior-octave-last-column-width): New variables.
6470 (inferior-octave-track-window-width-change): New function.
6471 (inferior-octave-mode): Adjust column width so that Octave output,
6472 for example from 'ls', can fit into the window nicely.
6474 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6476 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6477 Highlight expansions inside regexp literals.
6479 2013-05-31 Glenn Morris <rgm@gnu.org>
6481 * obsolete/sym-comp.el (symbol-complete):
6482 Replace obsolete completion-annotate-function.
6484 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6486 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6488 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6489 New function, checks if point is inside a literal that allows
6490 expression expansion.
6491 (ruby-syntax-propertize-expansion): Use it.
6492 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6495 2013-05-30 Juri Linkov <juri@jurta.org>
6497 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6499 (isearch-invisible): New variable.
6500 (isearch-forward): Doc fix.
6501 (isearch-mode): Set `isearch-invisible'
6502 to the value of `search-invisible'.
6503 (isearch-toggle-case-fold): Doc fix.
6504 (isearch-toggle-invisible): New command.
6505 (isearch-query-replace): Let-bind `search-invisible'
6506 to the value of `isearch-invisible'.
6507 (isearch-search): Use `isearch-invisible' instead of
6508 `search-invisible'. Let-bind `search-invisible'
6509 to the value of `isearch-invisible'. (Bug#11378)
6511 2013-05-30 Juri Linkov <juri@jurta.org>
6513 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6514 call when `query-flag' is nil and `search-invisible' is non-nil.
6517 2013-05-30 Glenn Morris <rgm@gnu.org>
6519 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6521 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6522 (cc-require): Suppress spurious "noruntime" warnings.
6523 (cc-require-when-compile): Use fboundp, for sake of compiler.
6525 * progmodes/cc-mode.el: Move load of cc-vars before that of
6526 cc-langs (which in turn loads cc-vars), to quieten compiler.
6528 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6530 * paren.el: Simplify the code.
6531 (show-paren-mode): Always start the timer.
6532 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6533 (show-paren--overlay, show-paren--overlay-1): Rename from
6534 show-paren-overlay and show-paren-overlay-1, and initialize to an
6535 overlay rather than to nil.
6536 (show-paren-function): Misc cleanup and simplifications.
6538 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6540 * paren.el (show-paren-data-function): New hook.
6541 (show-paren--default): New function, extracted from show-paren-function.
6542 (show-paren-function): Use show-paren-data-function.
6544 2013-05-30 Glenn Morris <rgm@gnu.org>
6546 * ielm.el (ielm-map, ielm-complete-symbol):
6547 Use completion-at-point rather than obsolete functions.
6548 (inferior-emacs-lisp-mode): Doc fix.
6549 Set completion-at-point-functions, rather than
6550 comint-dynamic-complete-functions.
6552 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6553 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6554 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6556 * image.el (image-animated-p): Tweak definition.
6558 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6559 (rlogin-process-connection-type): Tweak default. Add set-after.
6560 (rlogin-host): Doc fix.
6561 (rlogin): Tweak prompt.
6562 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6564 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6565 * progmodes/tcl.el (inferior-tcl-mode-map):
6566 Use completion-at-point rather than obsolete alias.
6568 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6570 * minibuffer.el (read-file-name-completion-ignore-case):
6571 Move before completion--in-region, for eager macro expansion.
6573 2013-05-29 Juri Linkov <juri@jurta.org>
6575 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6576 for total count of matching lines. Add `global-matches' for total
6577 count of matches. Rename `matches' to `lines' for count of
6578 matching lines. Add `matches' for count of matches.
6579 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6580 to `prev-line' for line number of prev match endpt.
6581 Increment `matches' for every match. Print the number of
6582 matching lines in the header.
6583 (occur-context-lines): Rename `lines' to `curr-line'.
6584 Rename `prev-lines' to `prev-line'. (Bug#14017)
6586 2013-05-29 Juri Linkov <juri@jurta.org>
6588 * replace.el (perform-replace): Add `skip-read-only-count',
6589 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6590 Increment them for corresponding conditions and report the number
6591 of skipped occurrences in the final message. (Bug#11746)
6592 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6593 (replace-string, replace-regexp): Doc fix.
6595 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6597 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6599 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
6600 prog-mode-map (bug#14504).
6602 2013-05-29 Leo Liu <sdl.web@gmail.com>
6604 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6605 (octave-help): Small simplification.
6607 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6608 off the highlight first.
6610 2013-05-29 Glenn Morris <rgm@gnu.org>
6612 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6613 Handle idlwave-last-system-routine-info-cons-cell being nil.
6615 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6616 (idlwave-write-paths): Simplify via with-temp-buffer.
6618 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6619 * emulation/cua-rect.el: Also load cua-base at run time.
6621 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6622 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6623 (cperl-imenu-on-info): Require imenu.
6625 2013-05-28 Alan Mackenzie <acm@muc.de>
6627 Handle "capitalised keywords" correctly.
6628 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
6630 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
6632 * eshell/em-unix.el: Add -r option to cp.
6634 2013-05-28 Glenn Morris <rgm@gnu.org>
6636 * vc/vc-arch.el (vc-exec-after): Declare.
6637 (vc-switches): Autoload.
6638 * vc/vc-bzr.el: No need to require vc when compiling.
6639 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6640 (vc-resynch-buffer, vc-dir-refresh): Declare.
6641 (vc-setup-buffer, vc-switches): Autoload.
6642 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6643 (vc-resynch-buffer): Declare.
6644 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
6645 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
6646 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6647 (grep-read-regexp, grep-read-files, grep-expand-template)
6648 (vc-dir-refresh): Declare.
6649 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6650 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6651 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
6652 * vc/vc-mtn.el (vc-exec-after): Declare.
6653 (vc-switches): Autoload.
6654 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6655 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6656 (vc-file-tree-walk): Declare.
6657 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6658 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6659 (vc-tag-precondition, vc-rename-master): Autoload.
6660 * vc/vc-svn.el (vc-exec-after): Declare.
6661 (vc-switches, vc-setup-buffer): Autoload.
6662 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6664 (vc-resynch-buffer): Declare.
6666 * obsolete/fast-lock.el (byte-compile-warnings):
6667 Don't warn about obsolete features in this obsolete file.
6669 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6670 Move definition before use.
6672 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6673 (dun-unix-verbs): Remove dun-zippy.
6674 (dun-zippy): Remove function.
6676 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6678 2013-05-27 Juri Linkov <juri@jurta.org>
6680 * replace.el (replace-search): New function with code moved out
6681 from `perform-replace'.
6682 (replace-highlight, replace-dehighlight): Move function definitions
6683 up closer to `replace-search'. (Bug#11746)
6685 2013-05-27 Juri Linkov <juri@jurta.org>
6687 * replace.el (perform-replace): Ignore invisible matches.
6688 In addition to checking `query-replace-skip-read-only', also
6689 filter out matches by calling `run-hook-with-args-until-failure'
6690 on `isearch-filter-predicates', and also check `search-invisible'
6691 for t or call `isearch-range-invisible'.
6692 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6694 2013-05-27 Juri Linkov <juri@jurta.org>
6696 * isearch.el (isearch-filter-predicates): Rename from
6697 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6698 (isearch-message-prefix): Display text from the property
6699 `isearch-message-prefix' of the currently active filters.
6700 (isearch-search): Don't compare `isearch-filter-predicate' with
6701 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6702 on `isearch-filter-predicates'. Also check `search-invisible' for t
6703 or call `isearch-range-invisible'.
6704 (isearch-filter-visible): Make obsolete.
6705 (isearch-lazy-highlight-search):
6706 Call `run-hook-with-args-until-failure' on
6707 `isearch-filter-predicates' and use `isearch-range-invisible'.
6709 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6710 `isearch-filter-predicates' instead of `funcall'ing
6711 `isearch-filter-predicate'.
6712 (Info-mode): Set `Info-isearch-filter' to
6713 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6715 * dired-aux.el (dired-isearch-filter-predicate-orig):
6717 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6718 (dired-isearch-filenames-end): Add and remove
6719 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6720 instead of changing the value of `isearch-filter-predicate'.
6721 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6722 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6723 Put property `isearch-message-prefix' to "filename " on
6724 `dired-isearch-filter-filenames'.
6726 * wdired.el (wdired-change-to-wdired-mode):
6727 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6728 locally instead of changing `isearch-filter-predicate'.
6729 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6731 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6733 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6734 return the commit hash (Bug#14459). Also set the
6735 `vc-git-detached' property.
6736 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6737 (vc-git-mode-line-string): Use the same help-echo format whether
6738 in detached mode or not, because we know the actual revision now.
6739 When in detached mode, shorten the revision to 7 chars.
6741 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6743 * emacs-lisp/easy-mmode.el (define-minor-mode):
6744 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6745 mode hook and provide a docstring.
6747 2013-05-27 Alan Mackenzie <acm@muc.de>
6749 Remove spurious syntax-table text properties inserted by C-y.
6750 * progmodes/cc-mode.el (c-after-change): Also clear hard
6751 syntax-table property with value nil.
6753 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6755 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6756 when reading the events; the buffer layout shall not be changed.
6758 2013-05-27 Leo Liu <sdl.web@gmail.com>
6760 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6762 (inferior-octave-directory-tracker): Automatically re-sync
6764 (octave-help): Improve handling of 'See also'.
6766 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6768 * doc-view.el: Minor naming convention tweaks.
6769 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6771 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6772 even if there's no `display' property yet (bug#14435).
6774 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6776 * subr.el (unmsys--file-name): Rename from reveal-filename.
6778 * Makefile.in (custom-deps, finder-data, autoloads)
6779 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6780 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6781 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6783 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6785 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6786 error-completion on the first 2 args of condition-case (bug#14446).
6789 2013-05-25 Leo Liu <sdl.web@gmail.com>
6791 * comint.el (comint-previous-matching-input): Do not flood the
6792 *Messages* buffer with trivial messages.
6794 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6796 * progmodes/flymake.el (flymake-nop): Don't return a string.
6797 (flymake-set-at): Fix typo.
6799 * simple.el (read--expression): New function, extracted from
6800 eval-expression. Set completion-at-point-functions (bug#14465).
6801 (eval-expression, eval-minibuffer): Use it.
6803 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6805 * progmodes/flymake.el (flymake-save-buffer-in-file)
6806 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6807 (flymake-selected-frame, flymake-log, flymake-ins-after)
6808 (flymake-set-at, flymake-get-buildfile-from-cache)
6809 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6810 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6811 Refine the doc string.
6812 (flymake-get-file-name-mode-and-masks): Reformat.
6813 (flymake-get-real-file-name-function): Fix a minor bug.
6815 2013-05-24 Juri Linkov <juri@jurta.org>
6817 * progmodes/grep.el (grep-mode-font-lock-keywords):
6818 Support =linenumber= format used by git-grep for lines with
6819 function names. (Bug#13549)
6821 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6823 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6824 0 after a semi-colon; it works better for smie-auto-fill.
6825 (octave--indent-new-comment-line): New function.
6826 (octave-indent-new-comment-line): Use it (indirectly).
6827 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6828 modify comment-line-break-function.
6830 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6831 (smie-setup): Use add-function to set it.
6833 2013-05-24 Sam Steingold <sds@gnu.org>
6835 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6836 argument (before the `interactive' argument).
6838 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6840 * image-mode.el (image-mode-winprops): Add winprops to
6841 image-mode-winprops-alist before running
6842 image-mode-new-window-functions.
6843 * doc-view.el (doc-view-new-window-function): Don't delay
6844 doc-view-goto-page via timers (bug#14435).
6846 2013-05-24 Tassilo Horn <tsdh@gnu.org>
6848 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6849 (doc-view-desktop-save-buffer): New function.
6850 (doc-view-restore-desktop-buffer): New function.
6851 (desktop-buffer-mode-handlers):
6852 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6854 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6855 `desktop-save-buffer' function.
6857 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
6859 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6860 (tramp-gvfs-file-name-handler): Raise a user error when
6861 `tramp-gvfs-enabled' is nil.
6862 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6863 Do not raise a user error when loading package. (Bug#14447)
6865 * net/xesam.el: Move to obsolete/.
6867 2013-05-24 Glenn Morris <rgm@gnu.org>
6869 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6871 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6873 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6874 (Info-find-node, Man-getpage-in-background): Declare.
6876 * mail/unrmail.el (unrmail):
6877 Replace obsolete detect-coding-with-priority.
6879 * net/socks.el (socks-split-string): Use this rather than split-string.
6880 (socks-nslookup-host): Update for above change.
6881 (dynamic-choice, s5-dynamic-choice-match)
6882 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6883 Comment out unused code.
6885 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6886 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6887 (gud-tooltip-echo-area): Make obsolete.
6888 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6890 * progmodes/js.el (js--optimize-arglist): Declare.
6892 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6894 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6895 (ediff-window-C): Declare.
6897 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6898 Tweak requires to silence compiler.
6900 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6901 (he-search-string, he-tried-table, he-expand-list)
6902 (he-init-string, he-string-member, he-substitute-string)
6903 (he-reset-string): Declare.
6905 * obsolete/options.el (list-options): Use custom-variable-p,
6906 rather than obsolete alias.
6908 2013-05-23 Sam Steingold <sds@gnu.org>
6910 * simple.el (shell-command-on-region): Pass the `replace' argument
6911 down to `call-process-region' to comply with the doc as reported on
6912 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6914 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6916 * emacs-lisp/smie.el (smie-indent-forward-token)
6917 (smie-indent-backward-token): Handle string tokens (bug#14381).
6919 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6921 * ielm.el (ielm-menu): New menu.
6922 (inferior-emacs-lisp-mode): Set comment-start.
6924 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6926 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6927 Fix deactivate action.
6929 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6930 Add cleveref macros.
6932 * lisp/textmodes/reftex-parse.el
6933 (reftex-locate-bibliography-files): Accept options for
6934 bibliography commands.
6935 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6936 Add addbibresource. Basic Biblatex support.
6938 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
6940 * net/tramp-gvfs.el (top):
6941 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6942 when loading package. (Bug#14447)
6944 2013-05-23 Glenn Morris <rgm@gnu.org>
6946 * progmodes/js.el: No need to load comint when compiling.
6947 (ring-insert, comint-send-string, comint-send-input)
6948 (comint-last-input-end, ido-chop): Declare.
6950 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6951 * vc/ediff-mult.el: Adjust requires.
6952 (ediff-directories-internal, ediff-directory-revisions-internal)
6953 (ediff-patch-file-internal): Declare.
6954 * vc/ediff-ptch.el: Adjust requires.
6955 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6956 (ediff-find-file): Autoload.
6957 * vc/ediff-util.el: No need to load ediff when compiling.
6958 (ediff-regions-internal): Declare.
6959 * vc/ediff-wind.el: Adjust requires.
6960 (ediff-compute-toolbar-width): Define when compiling.
6961 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6962 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6963 (dired-get-filename, dired-get-marked-files)
6964 (ediff-last-dir-patch, ediff-patch-default-directory)
6965 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6966 (ediff-patch-buffer-internal): Declare.
6968 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6969 (ispell-process, ispell-buffer-local-words, lm-summary)
6970 (lm-section-start, lm-section-end): Declare.
6971 (checkdoc-ispell-init): Simplify.
6973 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6974 (he-string-member, he-reset-string, he-substitute-string): Declare.
6976 * eshell/em-ls.el: Adjust requires.
6977 (eshell-glob-regexp): Declare.
6978 * eshell/em-tramp.el: Adjust requires.
6979 (eshell-parse-command): Autoload.
6980 * eshell/em-xtra.el: Adjust requires.
6981 (eshell-parse-command): Autoload.
6982 * eshell/esh-ext.el: Adjust requires.
6983 (eshell-parse-command, eshell-close-handles): Autoload.
6984 * eshell/esh-io.el: Adjust requires.
6985 (eshell-output-filter): Autoload.
6986 * eshell/esh-util.el: No need to load tramp when compiling.
6987 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6989 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6990 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6991 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6992 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6993 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6994 * eshell/esh-opt.el, eshell/esh-proc.el:
6995 * eshell/esh-var.el: Adjust requires.
6996 * eshell/eshell.el: Do not require esh-util twice.
6997 (eshell-add-input-to-history): Declare.
6998 (eshell-command): Check history module is active before using it.
7000 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7002 2013-05-22 Leo Liu <sdl.web@gmail.com>
7004 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7006 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7008 * autorevert.el (auto-revert-notify-add-watch)
7009 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7010 it indicates changes in file modification time.
7012 2013-05-22 Glenn Morris <rgm@gnu.org>
7014 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7015 Always delete the autoloaded function from the noruntime and
7016 unresolved functions lists.
7018 * allout.el: No need to load epa, epg, overlay when compiling.
7019 (epg-context-set-passphrase-callback, epg-list-keys)
7020 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7021 (epg-key-user-id-list): Declare.
7023 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7024 (viper-set-parsing-style-toggling-macro)
7025 (viper-set-emacs-state-searchstyle-macros):
7026 Use called-interactively-p on Emacs.
7027 (viper-looking-back): Make it an obsolete alias. Update callers.
7028 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7029 Use looking-back rather than viper-looking-back.
7030 (viper-tmp-insert-at-eob, viper-enlarge-region)
7031 (viper-read-string-with-history, viper-register-to-point)
7032 (viper-append-to-register, viper-change-state-to-vi)
7033 (viper-backward-char-carefully, viper-forward-char-carefully)
7034 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7035 (viper-change-state-to-emacs): Declare.
7036 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7037 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7038 * emulation/viper-mous.el: Do not load viper-cmd.
7039 (viper-backward-char-carefully, viper-forward-char-carefully)
7040 (viper-forward-word, viper-adjust-window): Declare.
7042 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7044 * progmodes/idlw-help.el (idlwave-help-fontify):
7045 Use called-interactively-p.
7047 * term/w32console.el (w32-get-console-codepage)
7048 (w32-get-console-output-codepage): Declare.
7050 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7051 Remove unnecessary declarations.
7052 (dframe-message): Doc fix.
7054 * info.el (dframe-select-attached-frame, dframe-current-frame):
7057 * speedbar.el (speedbar-message): Make it an obsolete alias.
7059 (speedbar-with-attached-buffer)
7060 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7061 (speedbar-with-writable): Use backquote.
7062 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7063 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7064 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7065 rather than speedbar- aliases.
7066 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7067 (speedbar-make-specialized-keymap, speedbar-insert-button)
7068 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7069 (speedbar-do-function-pointer): Declare.
7070 (rmail-speedbar-button, rmail-speedbar-find-file)
7071 (rmail-speedbar-move-message):
7072 Use dframe-with-attached-buffer rather than speedbar- alias.
7073 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7074 (dframe-message, speedbar-make-specialized-keymap)
7075 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7076 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7077 (speedbar-insert-button, dframe-select-attached-frame)
7078 (dframe-maybee-jump-to-attached-frame)
7079 (speedbar-change-initial-expansion-list)
7080 (speedbar-previously-used-expansion-list-name): Declare.
7081 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7082 Use dframe-message, dframe-with-attached-buffer rather than
7084 (gud-sentinel): Silence compiler.
7085 * progmodes/vhdl-mode.el (speedbar-refresh)
7086 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7087 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7088 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7089 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7090 (speedbar-file-lists, speedbar-make-tag-line)
7091 (speedbar-line-directory, speedbar-goto-this-file)
7092 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7093 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7094 (speedbar-make-button, speedbar-reset-scanners)
7095 (speedbar-files-item-info, speedbar-line-text)
7096 (speedbar-find-file-in-frame, speedbar-set-timer)
7097 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7098 (speedbar-with-writable): Do not (re)define it.
7099 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7100 rather than speedbar- alias.
7102 2013-05-21 Leo Liu <sdl.web@gmail.com>
7104 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7106 (octave-mode): Tweak fill-nobreak-predicate.
7107 (inferior-octave-startup): Check process to avoid infinite loop.
7108 (inferior-octave): Pop to buffer first to show abornmal process
7111 2013-05-21 Glenn Morris <rgm@gnu.org>
7113 * printing.el (pr-menu-bar): Define when compiling.
7115 2013-05-21 Leo Liu <sdl.web@gmail.com>
7117 * progmodes/octave.el (octave-auto-fill): Remove.
7118 (octave-indent-new-comment-line): Improve.
7119 (octave-mode): Use auto fill mode through
7120 comment-line-break-function and fill-nobreak-predicate.
7121 (octave-goto-function-definition): Support DEFUN_DLD.
7122 (octave-beginning-of-defun): Small tweak.
7123 (octave-help): Show parent directory.
7125 2013-05-21 Glenn Morris <rgm@gnu.org>
7127 * files.el (dired-unmark):
7128 * progmodes/gud.el (gdb-input): Update declarations.
7130 * calculator.el (electric, ehelp): No need to load when compiling.
7131 (Electric-command-loop, electric-describe-mode): Declare.
7133 * doc-view.el (doc-view-current-converter-processes): Move before use.
7135 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7136 Move MODE-set-explicitly definition before use.
7138 * international/mule-diag.el (mule-diag):
7139 Don't use obsolete window-system-version.
7141 * mail/feedmail.el (smtpmail): No need to load when compiling.
7142 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7144 * mail/mail-utils.el (rfc822): No need to load when compiling.
7145 (rfc822-addresses): Autoload it.
7146 (mail-strip-quoted-names): Trivial simplification.
7148 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7149 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7151 * net/snmp-mode.el (tempo): Don't duplicate requires.
7153 * progmodes/prolog.el (info): No need to load when compiling.
7154 (comint): Require before shell requires it.
7155 (Info-goto-node): Autoload it.
7156 (Info-follow-nearest-node): Declare.
7157 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7159 * textmodes/artist.el (picture-mode-exit): Declare.
7161 * textmodes/reftex-parse.el (reftex-parse-from-file):
7162 Trivial rewrite so the compiler can parse it better.
7164 2013-05-20 Leo Liu <sdl.web@gmail.com>
7166 * progmodes/octave.el (octave-help-mode-map)
7167 (octave-help-mode-finish-hook): New variables.
7168 (octave-help-mode, octave-help-mode-finish): New functions.
7169 (octave-help): Use octave-help-mode.
7171 2013-05-20 Glenn Morris <rgm@gnu.org>
7173 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7175 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7177 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7178 start at point, so that expansion starting right after opening
7179 slash in a regexp is recognized.
7180 (ruby-syntax-before-regexp-re): New defvar, extracted from
7181 ruby-syntax-propertize-function. Since the value of this regexp
7182 is looked up at runtime now, we should be able to turn
7183 `ruby-syntax-methods-before-regexp' into a defcustom later.
7184 (ruby-syntax-propertize-function): Split regexp matching into two
7185 parts, for opening and closing slashes. That allows us to skip
7186 over string interpolations and support multiline regexps.
7187 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7188 for them, which calls `ruby-syntax-propertize-expansion'.
7189 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7190 call to `ruby-syntax-propertize-function'.
7191 (ruby-syntax-propertize-expansion): Extracted from
7192 `ruby-syntax-propertize-expansions'. Handles one expansion.
7193 (ruby-syntax-propertize-percent-literal): Leave point right after
7194 the percent symbol, so that the expression expansion rule can
7195 propertize the contents.
7196 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7198 (ruby-syntax-propertize-expansions): Remove.
7200 2013-05-18 Juri Linkov <juri@jurta.org>
7202 * man.el (Man-default-man-entry): Remove `-' from the end
7203 of the default value. (Bug#14400)
7205 2013-05-18 Glenn Morris <rgm@gnu.org>
7207 * comint.el (comint-password-prompt-regexp):
7208 Allow "password for XXX" where XXX contains colons (eg https://...).
7210 2013-05-18 Leo Liu <sdl.web@gmail.com>
7212 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7213 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
7214 (octave-source-directories): Don't check process.
7215 (octave-source-directories, octave-find-definition): Doc fix.
7217 2013-05-18 Glenn Morris <rgm@gnu.org>
7219 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7220 Remove backspace/delete bindings. (Bug#14392)
7222 * cus-dep.el (custom-make-dependencies): Sort the output.
7223 (custom-versions-load-alist): Convert comment to doc.
7225 2013-05-17 Leo Liu <sdl.web@gmail.com>
7227 * newcomment.el (comment-search-backward): Stricter in finding
7228 comment start. (Bug#14303)
7230 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7231 (octave-comment-start-skip): Properly anchored.
7233 2013-05-17 Leo Liu <sdl.web@gmail.com>
7235 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7236 Clean up when turned off. (Bug#14395)
7237 (smie--highlight-matching-block-overlay): No longer buffer-local.
7238 (smie-highlight-matching-block): Adjust.
7240 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7242 Doc string fix for "nanoseconds" (Bug#14406).
7243 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7244 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7246 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7248 * calc/calc-units.el (math-extract-units): Preserve powers
7251 2013-05-17 Leo Liu <sdl.web@gmail.com>
7253 * subr.el (delete-consecutive-dups): New function.
7254 * ido.el (ido-set-matches-1): Use it.
7255 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7256 * ido.el (ido-remove-consecutive-dups): Remove.
7258 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7260 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7261 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7262 regexp-opt's `words'.
7264 2013-05-16 Leo Liu <sdl.web@gmail.com>
7266 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7267 (smie--highlight-matching-block-overlay)
7268 (smie--highlight-matching-block-lastpos)
7269 (smie--highlight-matching-block-timer): New variables.
7270 (smie-highlight-matching-block): New function.
7271 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7272 (smie-setup): Conditionally enable smie-blink-matching-open.
7274 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7276 Sync with upstream verilog-mode r840.
7277 * progmodes/verilog-mode.el (verilog-mode-version)
7278 (verilog-mode-release-date): Update.
7279 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7280 (verilog-sig-tieoff): Fix string error on
7281 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7282 (verilog-read-decls): Fix parameters confusing
7283 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7285 2013-05-16 Eli Zaretskii <eliz@gnu.org>
7287 * subr.el (reveal-filename): New function.
7289 * loadup.el: Compute Emacs executable versions on MS-Windows,
7290 where executables have the .exe extension. Add a hard link
7291 emacs-XX.YY.ZZ.exe on MS-Windows.
7293 * Makefile.in (XARGS_LIMIT): New variable.
7294 (custom-deps, finder-data, autoloads)
7295 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7296 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7297 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7298 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7300 2013-05-16 Leo Liu <sdl.web@gmail.com>
7302 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7303 (octave-mode-menu, octave-mode-map): Remove its uses.
7305 2013-05-16 Reto Zimmermann <reto@gnu.org>
7307 Sync with upstream vhdl mode v3.34.2.
7308 * progmodes/vhdl-mode.el: Use `push' throughout.
7309 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7310 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7311 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7312 (vhdl-actual-generic-name): New option to derive actual generic name.
7313 (vhdl-port-paste-signals): Replace formal by actual generics.
7314 (vhdl-beautify): New name for old group vhdl-align. Update users.
7315 (vhdl-beautify-options): New option.
7316 (vhdl-last-input-event): New compat alias. Use throughout.
7317 (vhdl-goto-line): Replace user level function `goto-line'.
7318 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7319 vhdl-fix-statement-buffer.
7320 (vhdl-create-mode-menu): Add some entries.
7321 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7322 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7323 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7324 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7325 to force statements on one line.
7326 (vhdl-remove-trailing-spaces-region):
7327 New, split from vhdl-remove-trailing-spaces.
7328 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7329 Respect vhdl-beautify-options.
7330 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7331 (vhdl-update-sensitivity-list): Not add with index if exists without.
7332 Not include array index with signal. Ignore keywords in comments.
7333 (vhdl-get-visible-signals): Regexp tweaks.
7334 (vhdl-template-component-inst): Handle empty library.
7335 (vhdl-template-type): Add template for 'enum' type.
7336 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7337 Use vhdl-replace-string.
7338 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7339 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7340 (vhdl-speedbar-initialize): Update for above name change.
7341 (vhdl-compose-wire-components): Fix in handling of constants.
7342 (vhdl-error-regexp-emacs-alist): New variable.
7343 (vhdl-error-regexp-add-emacs): New function;
7344 adds support for new compile.el (Emacs 22+)
7345 (vhdl-generate-makefile-1): Change target order for single lib. units.
7346 Allow use of absolute file names.
7348 2013-05-16 Leo Liu <sdl.web@gmail.com>
7350 * simple.el (prog-indent-sexp): Indent enclosing defun.
7352 2013-05-15 Glenn Morris <rgm@gnu.org>
7354 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7355 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7356 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7357 (whitespace-highlight): Move to whitespace group.
7359 * comint.el (comint-source):
7360 * pcmpl-linux.el (pcmpl-linux):
7361 * shell.el (shell-faces):
7362 * eshell/esh-opt.el (eshell-opt):
7363 * international/ccl.el (ccl): Remove empty custom groups.
7365 * completion.el (dynamic-completion-mode):
7366 * jit-lock.el (jit-lock-debug-mode):
7367 * minibuffer.el (completion-in-region-mode):
7368 * type-break.el (type-break-mode-line-message-mode)
7369 (type-break-query-mode):
7370 * emulation/tpu-edt.el (tpu-edt-mode):
7371 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7372 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7373 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7375 * term/xterm.el (xterm): Change parent group to terminals.
7377 * master.el (master): Remove empty custom group.
7378 (master-mode): Remove unused :group argument.
7379 * textmodes/refill.el (refill): Remove empty custom group.
7380 (refill-mode): Remove unused :group argument.
7382 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7384 * cus-dep.el: Provide a feature.
7385 (custom-make-dependencies): Ignore dotfiles (dir-locals).
7386 Don't mistakenly ignore files whose basenames match a basename
7387 from preloaded-file-list (eg cedet/ede/simple.el).
7388 Add a fallback method for getting :group.
7390 2013-05-15 Juri Linkov <juri@jurta.org>
7392 * isearch.el (isearch-char-by-name): Rename from
7393 `isearch-insert-char-by-name'. Doc fix.
7394 (isearch-forward): Mention `isearch-char-by-name' in
7395 the docstring. (Bug#13348)
7397 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7398 `exit-minibuffer' instead of
7399 `isearch-nonincremental-exit-minibuffer'.
7400 (isearch-edit-string): Remove mention of
7401 `isearch-nonincremental-exit-minibuffer' from docstring.
7402 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7403 (isearch-forward-exit-minibuffer)
7404 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7406 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7408 * loadup.el: Just use unversioned DOC.
7410 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7411 literals as extending to EOB.
7412 (nxml-last-fontify-end): Remove unused variable.
7413 (nxml-after-change1): Use with-silent-modifications.
7414 (nxml-extend-after-change-region): Simplify.
7415 (nxml-extend-after-change-region1): Remove function.
7416 (nxml-after-change1): Don't adjust for dependent regions.
7417 (nxml-fontify-matcher): Simplify.
7418 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7419 (xmltok-add-dependent): Remove function.
7420 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7421 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7422 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7423 unclosed <[[, <?, comment, and other literals as extending to EOB.
7424 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7425 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7427 (rng-do-some-validation-1): Don't mark dependent regions.
7428 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7429 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7430 (nxml-clear-dependent-regions): Remove functions.
7431 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7432 (nxml-ensure-scan-up-to-date):
7433 Don't clear&mark dependent regions.
7435 2013-05-15 Leo Liu <sdl.web@gmail.com>
7437 * progmodes/octave.el (octave-goto-function-definition):
7438 Improve and fix callers.
7440 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7442 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7443 the setter (bug#14387).
7445 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7446 surrounding group (bug#14402).
7448 2013-05-14 Juri Linkov <juri@jurta.org>
7450 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7453 2013-05-14 Glenn Morris <rgm@gnu.org>
7455 * progmodes/f90.el (f90-imenu-generic-expression):
7456 Fix typo in 2013-05-08 change. (Bug#14402)
7458 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7460 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7461 Remove signals for which replies are never received.
7463 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7465 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7466 (gdb-handler-alist, gdb-handler-number): Remove variables.
7467 (gdb-handler-list): New variable.
7468 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7469 (gdb-pending-handler-p, gdb-handle-reply)
7470 (gdb-remove-all-pending-triggers): New functions.
7471 (gdb-discard-unordered-replies): New defcustom.
7472 (gdb-handler): New defstruct.
7473 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7474 instead of gdb-pending-triggers. Update docstring.
7475 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7476 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7477 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7478 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7479 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7480 (gdb-frame-handler): Pending triggers are now automatically managed.
7481 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7483 (gdb-input): Automatically handles pending triggers. Update docstring.
7484 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7485 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7487 (gdb-done-or-error): Now use gdb-handle-reply.
7489 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7491 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7494 2013-05-14 Glenn Morris <rgm@gnu.org>
7496 * subr.el (user-emacs-directory-warning): New option.
7497 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7499 2013-05-14 Leo Liu <sdl.web@gmail.com>
7501 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7503 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7504 (octave-font-lock-texinfo-comment): Fix invalid search bound
7505 error: wrong side of point.
7507 2013-05-14 Glenn Morris <rgm@gnu.org>
7509 * progmodes/flymake.el (flymake-xml-program): New option.
7510 (flymake-xml-init): Use it.
7512 * term/xterm.el: Provide a feature.
7514 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
7516 2013-05-13 Glenn Morris <rgm@gnu.org>
7518 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7519 Add compat aliases as a hack workaround. (Bug#14384)
7521 2013-05-13 Leo Liu <sdl.web@gmail.com>
7523 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7525 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7527 (octave-comment-start-skip): Include %!.
7528 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7530 2013-05-12 Leo Liu <sdl.web@gmail.com>
7532 * progmodes/octave.el (inferior-octave-startup): Store the value
7533 of __octave_srcdir__ for octave-source-directories.
7534 (inferior-octave-check-process): New function refactored out of
7535 inferior-octave-send-list-and-digest.
7536 (octave-source-directories)
7537 (octave-find-definition-filename-function): New variables.
7538 (octave-source-directories)
7539 (octave-find-definition-default-filename): New functions.
7540 (octave-find-definition): Improve to find functions implemented in C++.
7542 2013-05-12 Glenn Morris <rgm@gnu.org>
7544 * calendar/diary-lib.el (diary-outlook-format-1):
7545 Don't include dayname in the output. (Bug#14349)
7547 2013-05-11 Glenn Morris <rgm@gnu.org>
7549 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7551 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7552 Treat cc-provide like provide.
7554 2013-05-11 Kevin Ryde <user42@zip.com.au>
7556 * cus-dep.el (custom-make-dependencies):
7557 Use generated-autoload-load-name for the sake of files such
7558 such cedet/semantic/bovine/c.el, where the base file name
7559 is not in load-path. (Bug#5277)
7561 2013-05-11 Glenn Morris <rgm@gnu.org>
7563 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7566 2013-05-11 Leo Liu <sdl.web@gmail.com>
7568 * progmodes/octave.el (octave-indent-comment): Improve.
7569 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
7570 (octave-eldoc-function-signatures, octave-eldoc-function):
7572 (octave-mode, inferior-octave-mode): Add eldoc support.
7574 2013-05-11 Richard Stallman <rms@gnu.org>
7576 * epa.el (epa-decrypt-file): Take output file name as argument
7577 and read it using `interactive'.
7579 2013-05-11 Leo Liu <sdl.web@gmail.com>
7581 * progmodes/octave.el (octave-beginning-of-line)
7582 (octave-end-of-line): Check before using up-list because it jumps
7583 out of more syntactic contructs since moving to smie.
7584 (octave-indent-comment): New function.
7585 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
7586 (octave-begin-keywords, octave-end-keywords)
7587 (octave-reserved-words, octave-smie-bnf-table)
7588 (octave-smie-rules): Add new keywords from Octave 3.6.4.
7590 2013-05-11 Glenn Morris <rgm@gnu.org>
7592 * faces.el (internal-face-x-get-resource):
7593 * frame.el (ns-display-monitor-attributes-list):
7594 * calc/calc-aent.el (math-to-radians-2):
7595 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
7598 * calc/calc-menu.el: Make it loadable in isolation.
7600 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7601 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7602 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7603 (eudc-bbdb-query-internal): Require 'bbdb.
7605 * lpr.el (lpr-headers-switches):
7606 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7608 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7610 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7612 * term.el (term-set-escape-char): Make it idempotent.
7614 2013-05-10 Leo Liu <sdl.web@gmail.com>
7616 * progmodes/octave.el (inferior-octave-completion-table):
7617 No longer a function and all uses changed. Use cache to speed up
7618 completion due to bug#11906.
7619 (octave-beginning-of-defun): Re-write to be more general.
7621 2013-05-10 Glenn Morris <rgm@gnu.org>
7623 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7625 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7627 * comint.el (comint-redirect-send-command-to-process): Use :around
7628 rather than :override for comint-redirect-filter.
7629 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7630 Call it instead of comint-redirect-original-filter-function (which
7631 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7633 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7635 * frame.el (display-monitor-attributes-list): Add NS case.
7636 (ns-display-monitor-attributes-list): Declare.
7638 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
7640 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7642 2013-05-09 Glenn Morris <rgm@gnu.org>
7644 * international/fontset.el (vertical-centering-font-regexp):
7647 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7649 * bookmark.el (bookmark-search-delay):
7650 * cus-start.el (vertical-centering-font-regexp):
7651 * ps-mule.el (ps-mule-font-info-database-default):
7652 * ps-print.el (ps-default-fg, ps-default-bg):
7653 * type-break.el (type-break-good-break-interval):
7654 * whitespace.el (whitespace-indentation-regexp)
7655 (whitespace-space-after-tab-regexp):
7656 * emacs-lisp/testcover.el (testcover-1value-functions)
7657 (testcover-noreturn-functions, testcover-progn-functions)
7658 (testcover-prog1-functions):
7659 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7660 * eshell/em-glob.el (eshell-glob-translate-alist):
7661 * play/tetris.el (tetris-tty-colors):
7662 * progmodes/cpp.el (cpp-face-default-list):
7663 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7664 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7665 (idlwave-help-browser-generic-args):
7666 * progmodes/make-mode.el (makefile-special-targets-list):
7667 * progmodes/python.el (python-shell-virtualenv-path):
7668 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7669 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7670 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7671 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7672 * textmodes/reftex-vars.el (reftex-format-label-function):
7673 * textmodes/remember.el (remember-diary-file): Fix custom types.
7675 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7678 2013-05-09 Leo Liu <sdl.web@gmail.com>
7680 * progmodes/octave.el (inferior-octave-completion-at-point):
7681 Restore file completion. (Bug#14300)
7682 (inferior-octave-startup): Fix incorrect highlighting for the
7685 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7687 * progmodes/ruby-mode.el: First cut at SMIE support.
7688 (ruby-use-smie): New var.
7689 (ruby-smie-grammar): New constant.
7690 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7691 (ruby-smie--forward-token, ruby-smie--backward-token)
7692 (ruby-smie-rules): New functions.
7693 (ruby-mode-variables): Setup SMIE if applicable.
7695 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7697 * simple.el (line-move-visual): Signal beginning/end of buffer
7698 only if vertical-motion moved less than it was requested. Avoids
7699 silly incorrect error messages when there are display strings with
7700 multiple newlines at EOL.
7702 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7704 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7705 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7706 (prolog-char-quote-workaround):
7707 * progmodes/cperl-mode.el (cperl-under-as-char):
7708 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7710 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7712 (vhdl-mode-syntax-table-init): Remove.
7714 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7717 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7719 (ld-script-font-lock-keywords):
7720 Change regexps to use things like \_< and \_>.
7722 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7723 Change all regexps to use things like \_< and \_>.
7725 * progmodes/autoconf.el (autoconf-definition-regexp)
7726 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7727 Handle a _ with symbol syntax.
7728 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7730 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7731 Consolidate declaration.
7732 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7734 (ada-create-syntax-table): Remove.
7735 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7736 already has the right syntax nowadays.
7737 (ada-goto-next-word): Don't change the syntax of "_".
7739 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7742 2013-05-08 Sam Steingold <sds@gnu.org>
7744 * thingatpt.el (thing-at-point): Accept optional second argument
7745 NO-PROPERTIES to strip the text properties from the return value.
7746 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7747 to `thing-at-point' instead of stripping the properties ourselves.
7748 Also, when `thing-at-point' fails to find a url, prepend "http://"
7749 to the filename at point on the assumption that the user is
7750 pointing at something like gnu.org/gnu.
7752 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7754 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7755 * faces.el (crm-separator):
7756 Silence byte-compiler.
7758 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7759 (tool-bar-map): Remove unneeded defvars.
7761 2013-05-08 Leo Liu <sdl.web@gmail.com>
7763 Re-work a fix for bug#10994 based on Le Wang's patch.
7764 * ido.el (ido-remove-consecutive-dups): New helper.
7765 (ido-completing-read): Use it.
7766 (ido-chop): Revert fix for bug#10994.
7768 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7770 * cus-edit.el (custom-save-variables):
7771 Pretty-print long values. (Bug#14187)
7773 2013-05-08 Glenn Morris <rgm@gnu.org>
7775 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7776 (m4-mode-syntax-table): Init in the defvar.
7777 (m4-mode-abbrev-table): Let define-derived-mode define it.
7779 2013-05-08 Tom Tromey <tromey@redhat.com>
7781 * progmodes/m4-mode.el (m4-mode-syntax-table):
7782 Do not treat "_" as word constituent. (Bug#14167)
7784 2013-05-07 Glenn Morris <rgm@gnu.org>
7786 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7787 Remove explicit eshell-isearch-cancel-map.
7789 * progmodes/f90.el (f90-smart-end-names): New option.
7790 (f90-smart-end): Doc fix.
7791 (f90-end-block-optional-name): New constant.
7792 (f90-block-match): Respect f90-smart-end-names.
7794 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7796 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7797 about implicit semi-colons (bug#14218).
7799 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7801 * frame.el (display-monitor-attributes-list)
7802 (frame-monitor-attributes): New functions.
7804 2013-05-06 Leo Liu <sdl.web@gmail.com>
7806 * progmodes/octave.el (octave-syntax-propertize-function): Change
7807 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7808 (octave-font-lock-keywords): Use octave-operator-regexp.
7809 (octave-completion-at-point): Rename from
7810 octave-completion-at-point-function.
7811 (inferior-octave-directory-tracker): Robustify.
7812 (octave-text-functions): Remove and fix its uses. No such things
7815 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7817 * emacs-lisp/trace.el (trace--display-buffer): New function.
7818 (trace-make-advice): Use it.
7820 2013-05-06 Juri Linkov <juri@jurta.org>
7822 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7823 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7825 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7826 in the help string. (Bug#12985)
7828 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7830 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7832 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7834 * progmodes/perl-mode.el: Add support for here documents.
7835 (perl-syntax-propertize-function): Match here-doc markers.
7836 (perl-syntax-propertize-special-constructs): Find their end.
7837 (perl-imenu-generic-expression): Use [:alnum:].
7839 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7840 (advice--add-function): Refresh the advice if already present
7843 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
7845 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7847 2013-05-06 Glenn Morris <rgm@gnu.org>
7849 * w32-fns.el (w32-charset-info-alist): Declare.
7851 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7852 of its defcustom properties.
7853 (eshell-cmpl-initialize): No need to load pcomplete.
7855 * generic-x.el: No need to require comint when compiling.
7857 * net/eudc-export.el: Make it loadable without bbdb.
7858 (top-level): Use require rather than load-library.
7859 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7860 (eudc-batch-export-records-to-bbdb)
7861 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7864 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7866 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7867 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7868 some tweaks, instead.
7870 2013-05-05 Leo Liu <sdl.web@gmail.com>
7872 * progmodes/octave.el (octave-font-lock-keywords)
7873 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7874 (inferior-octave-send-list-and-digest): Improve error message.
7875 (octave-mode, inferior-octave-mode): Use setq-local.
7876 (octave-help): Set info-lookup-mode.
7878 2013-05-05 Richard Stallman <rms@gnu.org>
7880 * vc/compare-w.el (compare-windows-whitespace):
7881 Treat no-break space as whitespace.
7883 * mail/rmailsum.el (rmail-summary-rmail-update):
7884 Detect empty summary and don't change selected message.
7885 (rmail-summary-goto-msg): Likewise.
7887 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7888 Doc fixes, rename args.
7890 2013-05-05 Alan Mackenzie <acm@muc.de>
7892 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7894 2013-05-05 Juri Linkov <juri@jurta.org>
7896 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7897 to not add the length of the summary segment to the return value.
7900 2013-05-05 Leo Liu <sdl.web@gmail.com>
7902 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7903 (inferior-octave-output-filter): Remove.
7904 (octave-send-region, inferior-octave-startup): Fix callers.
7905 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7906 (octave-binary-file-extensions): New user variable.
7907 (octave-find-definition): Confirm if opening binary files.
7908 (octave-help-file): Use octave-find-definition to get the binary
7910 (octave-help): Adjust for octave-help-file change.
7912 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7914 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7915 Merge the two entries that handle function definitions.
7916 (pascal--syntax-propertize): New const.
7917 (pascal-mode): Use it. Use setq-local.
7919 2013-05-04 Glenn Morris <rgm@gnu.org>
7921 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7922 (diary-from-outlook): Respect diary-from-outlook-function.
7924 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7926 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7927 Move the declaration from C.
7928 (read-minibuffer, eval-minibuffer): Move from C.
7929 (completion-setup-function): Avoid minibuffer-completion-contents.
7931 2013-05-03 Leo Liu <sdl.web@gmail.com>
7933 * progmodes/octave.el (octave-font-lock-keywords): Do not
7934 dehighlight 'end' in comments or strings.
7935 (octave-completing-read, octave-goto-function-definition):
7937 (octave-help-buffer): New user variable.
7938 (octave-help-file, octave-help-function): New button types.
7939 (octave-help): New command and bind it to C-h ;.
7940 (octave-find-definition): New command and bind it to M-.
7941 (user-error): Alias to error if not defined.
7943 2013-05-02 Leo Liu <sdl.web@gmail.com>
7945 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7947 (octave-font-lock-keywords): Include [ and {.
7949 2013-05-02 Leo Liu <sdl.web@gmail.com>
7951 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7952 (inferior-octave): Remove calling comint-mode and return the buffer.
7953 (inferior-octave-startup): Cosmetic changes.
7955 2013-05-02 Leo Liu <sdl.web@gmail.com>
7957 * progmodes/octave.el (octave-syntax-propertize-function):
7958 Include the case when ' is at line beginning. (Bug#14336)
7960 2013-05-02 Glenn Morris <rgm@gnu.org>
7962 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7963 * desktop.el (vc-dir-mode): Just autoload it here.
7965 2013-05-02 Alan Mackenzie <acm@muc.de>
7967 Eliminate variable c-standard-font-lock-fontify-region-function.
7968 * progmodes/cc-mode.el
7969 (c-standard-font-lock-fontify-region-function): Remove.
7970 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7972 2013-05-01 Leo Liu <sdl.web@gmail.com>
7974 * progmodes/octave.el: Compatible with older emacs-24 releases.
7975 (inferior-octave-has-built-in-variables): Remove. Built-in
7976 variables were removed from Octave in 2007.
7977 (inferior-octave-startup): Fix uses.
7978 (comint-line-beginning-position): Remove compatibility code for
7981 2013-05-01 Juri Linkov <juri@jurta.org>
7983 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7985 2013-05-01 Juri Linkov <juri@jurta.org>
7987 * comint.el (comint-previous-matching-input): Don't print message
7988 "History item: %d" when `isearch-mode' is active.
7989 (comint-history-isearch-message): Print message "History item: %d"
7990 when `comint-input-ring-index' is not empty and this function is
7991 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7993 2013-05-01 Leo Liu <sdl.web@gmail.com>
7995 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7996 definitions. Use completion-at-point to insert keywords.
7997 (octave-abbrev-start): Remove.
7998 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8000 2013-04-30 Leo Liu <sdl.web@gmail.com>
8002 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8005 2013-04-30 Alan Mackenzie <acm@muc.de>
8007 Handle arbitrarily long C++ member initialisation lists.
8008 * progmodes/cc-engine.el (c-back-over-member-initializers):
8010 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8011 (most) member init lists.
8013 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8015 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8018 2013-04-30 Leo Liu <sdl.web@gmail.com>
8020 * progmodes/octave.el (octave-variables): Remove. No builtin
8021 variables any more. All converted to functions.
8022 (octave-font-lock-keywords, octave-completion-at-point-function):
8024 (octave-font-lock-texinfo-comment): New user variable.
8025 (octave-texinfo-font-lock-keywords): New variable for texinfo
8027 (octave-function-comment-block): New face.
8028 (octave-font-lock-texinfo-comment): New function.
8029 (octave-mode): Font lock texinfo comment block.
8031 2013-04-29 Leo Liu <sdl.web@gmail.com>
8033 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8034 indexing expression.
8035 (octave-continuation-string): Do not use \.
8036 (inferior-octave-complete-impossible): Remove.
8037 (inferior-octave-completion-table)
8038 (inferior-octave-completion-at-point): Remove its uses.
8039 (inferior-octave-startup): completion_matches was introduced to
8040 Octave in 1996 so safe to assume it.
8041 (octave-function-file-comment): Improve to follow how Octave does it.
8042 (octave-update-function-file-comment): Tweak.
8044 2013-04-29 Leo Liu <sdl.web@gmail.com>
8046 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8047 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8048 (octave-function-file-comment): Fix typo.
8049 (octave-sync-function-file-names): Use read-char-choice.
8051 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8053 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8054 to t for the less important warnings.
8056 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8058 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8060 2013-04-27 Glenn Morris <rgm@gnu.org>
8062 * vc/log-view.el (log-view-current-entry):
8063 Treat "---" separator lines as part of the following rev. (Bug#14169)
8065 2013-04-27 Juri Linkov <juri@jurta.org>
8067 * subr.el (read-number): Doc fix about using it by interactive
8068 code letter `n'. (Bug#14254)
8070 2013-04-27 Juri Linkov <juri@jurta.org>
8072 * desktop.el (desktop-auto-save-timeout): New option.
8073 (desktop-file-checksum): New variable.
8074 (desktop-save): Add optional arg `auto-save' and don't auto-save
8076 (desktop-auto-save-timer): New variable.
8077 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8078 (after-init-hook): Call `desktop-auto-save-set-timer'.
8079 Suggested by Reuben Thomas <rrt@sc3d.org> in
8080 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8082 2013-04-27 Leo Liu <sdl.web@gmail.com>
8084 * progmodes/octave.el (octave-function-file-p)
8085 (octave-skip-comment-forward, octave-function-file-comment)
8086 (octave-update-function-file-comment): New functions.
8087 (octave-mode-map): Bind C-c ; to
8088 octave-update-function-file-comment.
8089 (octave-mode-menu): Add octave-update-function-file-comment.
8090 (octave-mode, inferior-octave-mode): Fix doc-string.
8091 (octave-insert-defun): Conform to Octave's coding convention.
8094 * files.el (basic-save-buffer): Don't let errors in
8095 before-save-hook prevent saving buffer.
8097 2013-04-20 Roland Winkler <winkler@gnu.org>
8099 * faces.el (read-face-name): Use completing-read if arg multiple
8102 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8104 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8105 displayed, move point to after the totals line.
8106 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8109 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8111 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8112 Add current dir to the load-path.
8113 (package-generate-autoloads): Don't rely on
8114 autoload-ensure-default-file.
8116 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8118 * textmodes/remember.el (remember-store-in-files): Document that
8119 the file name format is passed to `format-time-string'.
8121 2013-04-26 Leo Liu <sdl.web@gmail.com>
8123 * progmodes/octave.el (octave-sync-function-file-names): New function.
8124 (octave-mode): Use it in before-save-hook.
8126 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8128 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8131 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8132 \n and comment, even if it's not an implicit ; (bug#14218).
8134 2013-04-26 Glenn Morris <rgm@gnu.org>
8136 * subr.el (read-number): Once more use `read' rather than
8137 `string-to-number', to trap non-numeric input. (Bug#14254)
8139 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8141 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8142 Use `syntax-multiline' text property consistently instead of
8143 `font-lock-multiline'. (Bug#14237)
8145 2013-04-26 Glenn Morris <rgm@gnu.org>
8147 * emacs-lisp/shadow.el (list-load-path-shadows):
8148 No longer necessary to check for duplicate simple.el, since
8149 2012-07-07 change to init_lread to not include installation lisp
8150 directories in load-path when running uninstalled. (Bug#14270)
8152 2013-04-26 Leo Liu <sdl.web@gmail.com>
8154 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8155 (octave-mode, inferior-octave-mode): Use setq-local.
8156 (octave-not-in-string-or-comment-p): Rename to
8157 octave-in-string-or-comment-p.
8158 (octave-in-comment-p, octave-in-string-p)
8159 (octave-in-string-or-comment-p): Replace defsubst with defun.
8161 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8163 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8165 2013-04-25 Bastien Guerry <bzg@gnu.org>
8167 * textmodes/remember.el (remember-data-directory)
8168 (remember-directory-file-name-format): Fix custom types.
8170 2013-04-25 Leo Liu <sdl.web@gmail.com>
8172 * progmodes/octave.el (octave-completion-at-point-function):
8173 Make use of inferior octave process.
8174 (octave-initialize-completions): Remove.
8175 (inferior-octave-completion-table): New function.
8176 (inferior-octave-completion-at-point): Use it.
8177 (octave-completion-alist): Remove.
8179 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8181 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8182 (opascal-mode-syntax-table): New var.
8183 (opascal-literal-kind, opascal-is-literal-end)
8184 (opascal-literal-token-at): Rewrite.
8185 (opascal--literal-start-re, opascal-font-lock-keywords)
8186 (opascal--syntax-propertize): New constants.
8187 (opascal-font-lock-defaults): Adjust.
8188 (opascal-mode): Use them. Set comment-<foo> variables as well.
8189 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8190 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8191 (delphi-other-face, opascal-other-face): Remove face variables.
8192 (opascal-save-state): Remove macro.
8193 (opascal-fontifying-progress-step): Remove constant.
8194 (opascal--ignore-changes): Remove var.
8195 (opascal-set-token-property, opascal-parse-next-literal)
8196 (opascal-is-stable-literal, opascal-complete-literal)
8197 (opascal-is-literal-start, opascal-face-of)
8198 (opascal-parse-region, opascal-parse-region-until-stable)
8199 (opascal-fontify-region, opascal-after-change)
8200 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8201 (opascal-debug-parse-region, opascal-debug-parse-window)
8202 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8203 (opascal-debug-fontify-buffer): Remove.
8204 (opascal-debug-mode-map): Adjust accordingly.
8206 2013-04-25 Leo Liu <sdl.web@gmail.com>
8208 Merge octave-mod.el and octave-inf.el into octave.el with some
8210 * progmodes/octave.el: New file renamed from octave-mod.el.
8211 * progmodes/octave-inf.el: Merged into octave.el.
8212 * progmodes/octave-mod.el: Renamed to octave.el.
8214 2013-04-25 Tassilo Horn <tsdh@gnu.org>
8216 * textmodes/reftex-vars.el
8217 (reftex-label-ignored-macros-and-environments): New defcustom.
8219 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8221 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8223 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8224 (smie-indent-keyword): Improve the check to ensure that the next
8225 comment is really on the same line.
8226 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8228 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8229 semi-colons if the line is not otherwise empty (bug#14218).
8231 2013-04-25 Glenn Morris <rgm@gnu.org>
8233 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8235 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8237 * progmodes/opascal.el (opascal-set-token-property): Rename from
8238 opascal-set-text-properties and only set `token' (bug#14134).
8239 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8240 (opascal-literal-text-properties): Remove.
8241 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8244 2013-04-24 Reuben Thomas <rrt@sc3d.org>
8246 * textmodes/remember.el (remember-handler-functions): Add an
8247 option for a new handler `remember-store-in-files'.
8248 (remember-data-directory, remember-directory-file-name-format):
8250 (remember-store-in-files): New function to store remember notes
8251 as separate files within a directory.
8253 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8255 * progmodes/compile.el (compilation-next-error-function):
8256 Pass "formats" to compilation-find-file (bug#11777).
8258 2013-04-24 Glenn Morris <rgm@gnu.org>
8260 * vc/vc-bzr.el (vc-bzr-print-log):
8261 * vc/vc-hg.el (vc-hg-print-log):
8262 * vc/vc-svn.el (vc-svn-print-log):
8263 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8265 * vc/vc-bzr.el (vc-bzr-print-log):
8266 * vc/vc-cvs.el (vc-cvs-print-log):
8267 * vc/vc-git.el (vc-git-print-log):
8268 * vc/vc-hg.el (vc-hg-print-log):
8269 * vc/vc-mtn.el (vc-mtn-print-log):
8270 * vc/vc-rcs.el (vc-rcs-print-log):
8271 * vc/vc-sccs.el (vc-sccs-print-log):
8272 * vc/vc-svn.el (vc-svn-print-log):
8273 * vc/vc.el (vc-print-log-internal): Doc fixes.
8275 2013-04-23 Glenn Morris <rgm@gnu.org>
8277 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8278 Remove venerable code attempting to avoid substitute-command-keys.
8280 2013-04-23 Tassilo Horn <tsdh@gnu.org>
8282 * textmodes/reftex-vars.el (reftex-label-regexps):
8283 Call `reftex-compile-variables' after changes to this variable.
8285 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8287 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
8288 Use lexical-binding.
8289 (jit-lock-force-redisplay): Use markers, check buffer's continued
8290 existence and beware narrowed buffers.
8291 (jit-lock-fontify-now): Adjust call accordingly.
8293 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8295 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8296 to avoid misleading the user.
8298 2013-04-22 Leo Liu <sdl.web@gmail.com>
8300 * info-look.el: Prefer latex2e.info. (Bug#14240)
8302 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
8304 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8306 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8307 * net/tramp.el (tramp-call-process): ... here.
8308 (tramp-set-completion-function, tramp-parse-putty):
8309 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8310 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8311 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8312 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8313 (tramp-call-local-coding-command): Use `tramp-call-process'
8314 instead of `tramp-compat-call-process'.
8316 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8317 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8318 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8319 (tramp-find-inline-compress): Improve traces.
8320 (tramp-maybe-send-script): Check for Perl binary.
8321 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8323 2013-04-22 Daiki Ueno <ueno@gnu.org>
8325 * epg.el (epg-context-pinentry-mode): New function.
8326 (epg-context-set-pinentry-mode): New function.
8327 (epg--start): Pass --pinentry-mode option to gpg command.
8329 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8331 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8332 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8333 `completion-at-point'. (Bug#13774)
8335 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8336 default key binding for `describe-distribution' has been moved to
8337 `C-h C-o'. (Bug#13970)
8339 2013-04-21 Glenn Morris <rgm@gnu.org>
8341 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8343 (vc-print-log): Clarify interactive prompt.
8345 2013-04-20 Glenn Morris <rgm@gnu.org>
8347 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8348 No longer include timestamp etc information.
8350 2013-04-20 Roland Winkler <winkler@gnu.org>
8352 * faces.el (read-face-name): Bug fix, return just one face if arg
8353 multiple is nil. (Bug#14209)
8355 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8357 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8358 (remove-function): Autoload.
8360 * comint.el (comint-redirect-original-filter-function): Remove.
8361 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8362 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8363 (vc-cvs-annotate-command):
8364 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8365 * progmodes/prolog.el (prolog-consult-compile):
8366 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8367 Use add/remove-function instead.
8368 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8369 (gud-tooltip-process-output, gud-tooltip-tips):
8370 Use add/remove-function instead.
8371 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8372 (scheme-interaction-mode, exit-scheme-interaction-mode):
8373 Use add/remove-function instead.
8375 * vc/vc-dispatcher.el: Use lexical-binding.
8376 (vc--process-sentinel): Rename from vc-process-sentinel.
8377 Change last arg to be the code to run. Don't use vc-previous-sentinel
8378 and vc-sentinel-commands any more.
8379 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8380 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8382 2013-04-19 Masatake YAMATO <yamato@redhat.com>
8384 * progmodes/sh-script.el (sh-imenu-generic-expression):
8385 Handle function names with a single character. (Bug#14111)
8387 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
8389 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8390 for subroutines defined in an eval (bug#14182).
8392 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8394 * bookmark.el (bookmark-completing-read): Improve handling of empty
8397 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8399 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8401 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8403 New faster Imenu implementation (bug#14058).
8404 * progmodes/python.el:
8405 (python-imenu-prev-index-position):
8406 (python-imenu-format-item-label-function)
8407 (python-imenu-format-parent-item-label-function)
8408 (python-imenu-format-parent-item-jump-label-function):
8410 (python-imenu-format-item-label)
8411 (python-imenu-format-parent-item-label)
8412 (python-imenu-format-parent-item-jump-label)
8413 (python-imenu--put-parent, python-imenu--build-tree)
8414 (python-imenu-create-index, python-imenu-create-flat-index)
8415 (python-util-popn): New functions.
8416 (python-mode): Set imenu-create-index-function to
8417 python-imenu-create-index.
8419 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8421 * winner.el (winner-active-region): Use region-active-p, activate-mark
8422 and deactivate-mark (bug#14225).
8424 * simple.el (deactivate-mark): Don't inline it.
8426 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
8428 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8430 2013-04-18 Tassilo Horn <tsdh@gnu.org>
8432 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8433 file extensions from the archive-mode entry in order to prefer
8434 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8436 2013-04-18 Leo Liu <sdl.web@gmail.com>
8438 * bindings.el (help-event-list): Add ?\?.
8440 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8442 * subr.el (with-wrapper-hook): Declare obsolete.
8443 * simple.el (filter-buffer-substring-function): New hook.
8444 (filter-buffer-substring): Use it.
8445 (filter-buffer-substring-functions): Mark obsolete.
8446 * minibuffer.el (completion-in-region-function): New hook.
8447 (completion-in-region): Use it.
8448 (completion-in-region-functions): Mark obsolete.
8449 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8450 * abbrev.el (abbrev-expand-function): New hook.
8451 (expand-abbrev): Use it.
8452 (abbrev-expand-functions): Mark obsolete.
8453 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8456 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8458 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8459 and do not care about match data.
8461 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8463 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8464 completion tables when completing error conditions and
8465 `declare' arguments.
8466 (lisp-complete-symbol, field-complete): Mark as obsolete.
8467 (check-parens): Unmatched parens are user errors.
8468 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8470 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
8472 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8473 command changed buffer (ie. `flyspell-pre-buffer' is not current
8474 buffer), which prevents making decisions based on invalid value of
8475 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8476 cause an error when `flyspell-pre-point' was nil after switching
8478 (flyspell-post-command-hook): No longer needs to change buffers when
8479 checking pre-word. While at it remove unnecessary progn.
8481 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8483 * textmodes/ispell.el (ispell-add-per-file-word-list):
8484 Fix `flyspell-correct-word-before-point' error when accepting
8485 words and `coment-padding' is an integer by using
8486 `comment-normalize-vars' (Bug #14214).
8488 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8490 New defun movement commands.
8491 * progmodes/python.el (python-nav--syntactically)
8492 (python-nav--forward-defun, python-nav-backward-defun)
8493 (python-nav-forward-defun): New functions.
8495 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8497 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8498 (python-syntax-context): Use named compiler-macro for backwards
8499 compatibility with Emacs 24.x.
8501 2013-04-17 Leo Liu <sdl.web@gmail.com>
8503 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8504 octave-hide-process-buffer.
8506 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8508 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8511 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8513 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8514 Fix adjustment of offset when receiving incomplete responses from GDB
8517 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8519 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8520 python-mode-abbrev-table.
8521 (python-skeleton-define): Adjust accordingly.
8522 (python-mode-abbrev-table): New table that inherits from it so that
8523 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8525 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8526 (abbrev-symbol): Use it.
8527 (abbrev--before-point): Use it since we already handle inheritance.
8529 2013-04-16 Leo Liu <sdl.web@gmail.com>
8531 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8532 binding to info-lookup-symbol.
8534 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
8536 * minibuffer.el (completion--twq-all):
8537 * term/ns-win.el (ns-initialize-window-system):
8538 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8540 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8542 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8545 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8547 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8549 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8550 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8552 (ruby-end-of-defun): Remove the unused arg, change the docstring
8553 to reflect that this function is only used as the value of
8554 `end-of-defun-function'.
8555 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8556 to reflect an earlier change that beginning/end-of-defun functions
8557 jump between methods in a class definition, as well as top-level
8560 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8562 * minibuffer.el (minibuffer-complete): Don't just scroll
8563 a *Completions* that's been iconified.
8564 (minibuffer-force-complete): Make sure repetitions do cycle when going
8565 through completion-in-region -> minibuffer-complete.
8567 2013-04-15 Alan Mackenzie <acm@muc.de>
8569 Correct the placement of c-cpp-delimiters when there're #s not at
8572 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8573 place a submatch around the #.
8574 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8575 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
8578 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8580 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8581 (advice--member-p): New arg `name'.
8582 (advice--add-function, advice-member-p): Use it (bug#14202).
8584 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8586 Reformulate java imenu-generic-expression.
8587 The old expression contained ill formed regexps.
8589 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8590 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8591 (cc-imenu-java-method-arg-regexp): New defconsts.
8592 (cc-imenu-java-build-type-args-regex): New defun.
8593 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
8594 handling of spaces in the regexp.
8596 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8598 * textmodes/ispell.el (ispell-command-loop): Remove
8599 flyspell highlight of a word when ispell accepts it (bug #14178).
8601 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
8603 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8604 uses code from the previous `ange-ftp-run-real-handler'.
8605 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8606 only in case that function exist. This is needed for proper
8609 2013-04-15 Tassilo Horn <tsdh@gnu.org>
8611 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8613 * textmodes/reftex.el (reftex-compile-variables): Use it.
8615 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8617 * files.el (normal-mode): Only use default major-mode if no other mode
8620 * emacs-lisp/trace.el (trace-values): New function.
8622 * files.el: Allow : in local variables (bug#14089).
8623 (hack-local-variable-regexp): New var.
8624 (hack-local-variables-prop-line, hack-local-variables): Use it.
8626 2013-04-13 Roland Winkler <winkler@gnu.org>
8628 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8629 data before it gets modified by bibtex-beginning-of-entry.
8631 2013-04-13 Roland Winkler <winkler@gnu.org>
8633 * textmodes/bibtex.el (bibtex-url): Doc fix.
8635 2013-04-13 Roland Winkler <winkler@gnu.org>
8637 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8638 does not visit a BibTeX file, exclude it from the list of buffers
8639 returned by bibtex-initialize.
8641 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
8643 * window.el (split-window): Remove interactive form, since as a
8644 command this function is a special case of split-window-below.
8647 2013-04-12 Roland Winkler <winkler@gnu.org>
8649 * faces.el (read-face-name): Do not override value of arg default.
8650 Allow single faces and strings as default values. Remove those
8651 elements from return value that are not faces.
8652 (describe-face): Simplify.
8653 (face-at-point): New optional args thing and multiple so that this
8654 function can provide the same functionality previously provided by
8656 (make-face-bold, make-face-unbold, make-face-italic)
8657 (make-face-unitalic, make-face-bold-italic, invert-face)
8658 (modify-face, read-face-and-attribute): Use face-at-point.
8660 * cus-edit.el (customize-face, customize-face-other-window)
8661 * cus-theme.el (custom-theme-add-face)
8662 * face-remap.el (buffer-face-set)
8663 * facemenu.el (facemenu-set-face): Use face-at-point.
8665 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
8667 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8669 2013-04-10 Tassilo Horn <tsdh@gnu.org>
8671 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8672 off leading { and trailing } from field values.
8674 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8676 * emacs-lisp/timer.el (timer--check): New function.
8677 (timer--time, timer-set-function, timer-event-handler): Use it.
8678 (timer-set-idle-time): Simplify.
8679 (timer--activate): CSE.
8680 (timer-event-handler): Give more info in error message.
8681 (internal-timer-start-idle): New function, moved from C.
8683 * mpc.el (mpc-proc): Add `restart' argument.
8684 (mpc-proc-cmd): Use it.
8685 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8686 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8689 2013-04-10 Masatake YAMATO <yamato@redhat.com>
8691 * progmodes/sh-script.el: Implement `sh-mode' own
8692 `add-log-current-defun-function' (bug#14112).
8693 (sh-current-defun-name): New function.
8694 (sh-mode): Use the function.
8696 2013-04-09 Bastien Guerry <bzg@gnu.org>
8698 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8700 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8702 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8704 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8707 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8709 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8712 2013-04-07 Leo Liu <sdl.web@gmail.com>
8714 * pcmpl-x.el: New file.
8716 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8718 Do not set x-display-name until X connection is established.
8719 This is needed to prevent from weird situation described at
8720 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8721 * frame.el (make-frame): Set x-display-name after call to
8722 window system initialization function, not before.
8723 * term/x-win.el (x-initialize-window-system): Add optional
8724 display argument and use it.
8725 * term/w32-win.el (w32-initialize-window-system):
8726 * term/ns-win.el (ns-initialize-window-system):
8727 * term/pc-win.el (msdos-initialize-window-system):
8728 Add compatible optional display argument.
8730 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8732 * files.el (normal-backup-enable-predicate): On MS-Windows and
8733 MS-DOS compare truenames of temporary-file-directory and of the
8734 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8735 don't fail comparison by compare-strings. Also, compare file
8736 names case-insensitively on MS-Windows and MS-DOS.
8738 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8740 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8741 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8743 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8745 * whitespace.el (whitespace-color-on, whitespace-color-off):
8746 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8748 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8750 * ispell.el (ispell-set-spellchecker-params):
8751 Really set `ispell-args' for all equivs.
8753 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8755 * ido.el (ido-completions): Use extra elements of ido-decorations
8757 (ido-decorations): Update docstring.
8759 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8761 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8762 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8763 nil during initialization, in order not to miss changes since the
8764 file was opened. (Bug#14140)
8766 2013-04-05 Leo Liu <sdl.web@gmail.com>
8768 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8770 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8772 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8774 2013-04-04 Glenn Morris <rgm@gnu.org>
8776 * electric.el (electric-pair-inhibit-predicate): Add :version.
8778 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8780 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8781 when a package is required several times (bug#14082).
8783 2013-04-04 Roland Winkler <winkler@gnu.org>
8785 * faces.el (read-face-name): Behave as promised by the docstring.
8786 Assume that arg default is a list of faces.
8787 (describe-face): Call read-face-name with list of default faces.
8789 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8791 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8792 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8793 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8795 (bookmark-exit-hook-internal): Save even if list is empty.
8797 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8799 * emacs-lisp/package.el (package-pinned-packages): New var.
8800 (package--add-to-archive-contents): Obey it (bug#14118).
8802 2013-04-03 Alan Mackenzie <acm@muc.de>
8804 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8805 Also adapt to the new values of element 7 of a parse state.
8807 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8808 parameter `not-in-delimiter'. Handle being inside comment opener.
8809 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8810 character in case we're typing a '*' after a '/'.
8811 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8812 instead by passing the parameter to c-state-pp-to-literal.
8814 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8815 for elt. 7 of a parse state.
8817 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8819 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8820 * international/latin1-disp.el, international/mule-util.el:
8821 * language/cyril-util.el, language/european.el, language/ind-util.el:
8822 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8823 * language/tibetan.el, language/viet-util.el:
8824 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8826 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8828 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8829 (electric-pair-post-self-insert-function): Use it.
8830 (electric-pair-default-inhibit): New function, extracted from
8831 electric-pair-post-self-insert-function.
8833 2013-03-31 Roland Winkler <winkler@gnu.org>
8835 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8837 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8839 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8841 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
8843 Un-indent after "pass" and "return" statements (Bug#13888)
8844 * progmodes/python.el (python-indent-block-enders): New var.
8845 (python-indent-calculate-indentation): Use it.
8847 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
8849 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8850 defun. Defining it as defalias could introduce too eager
8851 byte-compiler optimization. (Bug#14030)
8853 2013-03-30 Chong Yidong <cyd@gnu.org>
8855 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8857 2013-03-30 Leo Liu <sdl.web@gmail.com>
8859 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8860 (kmacro-execute-from-register): Pass the keyboard macro to
8861 kmacro-call-macro or repeating won't work correctly.
8863 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8865 * progmodes/subword.el: Back to using `forward-symbol'.
8867 * subr.el (forward-whitespace, forward-symbol)
8868 (forward-same-syntax): Move from thingatpt.el.
8870 2013-03-29 Leo Liu <sdl.web@gmail.com>
8872 * kmacro.el (kmacro-to-register): New command.
8873 (kmacro-execute-from-register): New function.
8874 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8876 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8878 * mpc.el: Use defvar-local and setq-local.
8879 (mpc--proc-connect): Connection failures are not bugs.
8880 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8881 (mpc-volume-map): Bind to the up-events.
8883 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8885 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8886 instead of `forward-symbol'.
8888 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8890 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8891 (edebug--recursive-edit): Use it.
8892 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8893 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8895 2013-03-28 Leo Liu <sdl.web@gmail.com>
8897 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8899 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8901 * facemenu.el (list-colors-callback): New defvar.
8902 (list-colors-redisplay): New function.
8903 (list-colors-display): Install list-colors-redisplay as the
8904 revert-buffer-function. (Bug#14063)
8906 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8908 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8909 and suffixes don't overlap (bug#14061).
8911 * case-table.el: Use lexical-binding.
8912 (case-table-get-table): New function.
8913 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8915 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8917 * progmodes/subword.el: Add `superword-mode' to do word motion
8918 over symbol_words (parallels and leverages `subword-mode' which
8919 does word motion inside MixedCaseWords).
8921 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8923 * eshell/em-unix.el: Move su and sudo to...
8924 * eshell/em-tramp.el: ...Eshell tramp module.
8926 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8928 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8929 Change return value to be a sexp. Delay `get-buffer' to after
8930 restoring the desktop (bug#13951).
8932 2013-03-26 Leo Liu <sdl.web@gmail.com>
8934 * register.el: Move semantic tag handling back to
8935 cedet/semantic/senator.el. (Bug#14052)
8937 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8939 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8940 into the prompt either (bug#13963).
8942 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8944 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8945 part of "(error-foo)".
8947 2013-03-24 Juri Linkov <juri@jurta.org>
8949 * replace.el (list-matching-lines-prefix-face): New defcustom.
8950 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8951 `occur-engine' if `face-differs-from-default-p' returns t.
8952 (occur-engine): Add `,' inside backquote construct to evaluate
8953 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8954 Pass `prefix-face' to the functions `occur-context-lines' and
8955 `occur-engine-add-prefix'.
8956 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8957 `prefix-face' and propertize the prefix with `prefix-face'.
8960 2013-03-24 Leo Liu <sdl.web@gmail.com>
8962 * nxml/rng-valid.el (rng-validate-while-idle)
8963 (rng-validate-quick-while-idle): Guard against deleted buffer.
8966 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8967 is the last entry in kill-buffer-hook.
8969 * files.el (kill-buffer-hook): Doc fix.
8971 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8973 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8976 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8978 2013-03-23 Leo Liu <sdl.web@gmail.com>
8980 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8983 * nxml/rng-valid.el (rng-validate-mode)
8984 (rng-after-change-function, rng-do-some-validation):
8985 * nxml/rng-maint.el (rng-validate-buffer):
8986 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8987 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8988 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8989 (nxml-extend-after-change-region): Use with-silent-modifications.
8991 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8994 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8995 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8996 timer-idle-list. (Bug#13999)
8998 2013-03-23 Juri Linkov <juri@jurta.org>
9000 * info.el (info-index-match): New face.
9001 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9002 main pattern and add text properties with the new face to matches
9003 in index entries relative to the beginning of the index entry.
9006 2013-03-21 Eric Ludlam <zappo@gnu.org>
9008 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9009 Inhibit read only while inserting objects.
9011 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9013 * progmodes/cfengine.el: Update docs to mention
9014 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9015 symbol motion. Remove "_" from the word syntax.
9017 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9019 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9020 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9022 2013-03-20 Juri Linkov <juri@jurta.org>
9024 * info.el (Info-next-reference-or-link)
9025 (Info-prev-reference-or-link): New functions.
9026 (Info-next-reference, Info-prev-reference): Use them.
9027 (Info-try-follow-nearest-node): Handle footnote navigation.
9028 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9030 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9032 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9033 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9035 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9037 Suppress unnecessary non-ASCII chatter during build process.
9038 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9039 (batch-skkdic-convert): Suppress most of the chatter.
9040 It's not needed so much now that machines are faster,
9041 and its non-ASCII component was confusing; see Dmitry Gutov in
9042 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9044 2013-03-20 Leo Liu <sdl.web@gmail.com>
9046 * ido.el (ido-chop): Fix bug#10994.
9048 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9050 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9052 (whitespace-color-on, whitespace-color-off):
9053 Use `font-lock-fontify-buffer' (Bug#13817).
9055 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9057 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9058 remapping in mode-line.
9059 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9061 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9063 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9064 value for `whitespace-line' face (Bug#13875).
9065 (whitespace-font-lock-keywords): Change description.
9066 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9067 the constructed keywords instead.
9068 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9070 2013-03-19 Leo Liu <sdl.web@gmail.com>
9072 * progmodes/compile.el (compilation-display-error): New command.
9073 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9076 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9078 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9080 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9082 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9084 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9086 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9088 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9089 * net/tramp-gvfs.el (top):
9090 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9091 (tramp-handle-shell-command): Use it.
9092 (tramp-dissect-file-name): Raise an error when hostname is a
9093 method name, and neither method nor user is specified.
9095 * net/trampver.el: Update release number.
9097 2013-03-18 Leo Liu <sdl.web@gmail.com>
9099 Make sure eldoc can be turned off properly.
9100 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9102 (eldoc-display-message-p): Revert last change.
9103 (eldoc-display-message-no-interference-p)
9104 (eldoc-print-current-symbol-info): Tweak.
9106 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9108 * doc-view.el (doc-view-new-window-function): Check the new window
9109 overlay's display property instead the char property of the
9110 buffer's first char. Use `with-selected-window' instead of
9111 `save-window-excursion' with `select-window'.
9112 (doc-view-document->bitmap): Check the current doc-view overlay's
9113 display property instead the char property of the buffer's first char.
9115 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9117 Automate the build of ja-dic.el (Bug#13984).
9118 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9119 from the input, rather than assume that it's been done for us by the
9120 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9121 the current date into a ja-dic.el comment, as that complicates
9124 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9126 * whitespace.el: Fix double evaluation.
9127 (whitespace-space, whitespace-hspace, whitespace-tab)
9128 (whitespace-newline, whitespace-trailing, whitespace-line)
9129 (whitespace-space-before-tab, whitespace-indentation)
9130 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9132 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9133 (whitespace-color-on): Use a single font-lock-add-keywords call.
9134 Fix double-evaluation of face variables.
9136 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9138 * net/tramp-adb.el (tramp-adb-parse-device-names):
9139 Use `start-process' instead of `call-process'. Otherwise, the
9140 function might be blocked under MS Windows. (Bug#13299)
9142 2013-03-17 Leo Liu <sdl.web@gmail.com>
9144 Extend eldoc to display info in the mode-line. (Bug#13978)
9145 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9146 (eldoc-mode-line-string): New variable.
9147 (eldoc-minibuffer-message): New function.
9148 (eldoc-message-function): New variable.
9149 (eldoc-message): Use it.
9150 (eldoc-display-message-p)
9151 (eldoc-display-message-no-interference-p):
9152 Support eldoc-post-insert-mode.
9154 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9155 (eval-expression): Run it.
9157 2013-03-17 Roland Winkler <winkler@gnu.org>
9159 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9160 strings in the list of return values.
9162 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9164 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9165 radix before checking for HMS forms.
9167 2013-03-16 Leo Liu <sdl.web@gmail.com>
9169 * progmodes/scheme.el: Add indentation and font-locking for λ.
9172 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9174 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9175 token before point (bug#13942).
9177 2013-03-16 Leo Liu <sdl.web@gmail.com>
9179 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9181 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9183 * startup.el (command-line-normalize-file-name): Fix handling of
9184 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9185 <xfq.free@gmail.com> in
9186 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9188 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9190 Sync with Tramp 2.2.7.
9192 * net/trampver.el: Update release number.
9194 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9196 * doc-view.el: Fix bug#13887.
9197 (doc-view-insert-image): Don't modify overlay associated to
9198 non-live windows, and implement horizontal centering of image in
9199 case it's smaller than the window.
9200 (doc-view-new-window-function): Force redisplay of new windows on
9203 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9205 * saveplace.el (save-place-alist-to-file): Don't sort
9206 `save-place-alist', just pretty-print it (bug#13882).
9208 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
9210 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9211 Check whether `default-file-name-coding-system' is bound.
9214 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9216 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9217 backquotes for `obsolete' (bug#13929).
9219 * international/mule.el (find-auto-coding): Include file name in
9220 obsolescence warning (bug#13922).
9222 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9224 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9225 for CFEngine 3-specific indentation.
9226 (cfengine3-indent-line): Use it. Fix up category regex.
9227 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9229 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9231 * type-break.el (type-break-file-name):
9232 * textmodes/remember.el (remember-data-file):
9233 * strokes.el (strokes-file):
9234 * shadowfile.el (shadow-initialize):
9235 * saveplace.el (save-place-file):
9236 * ps-bdf.el (bdf-cache-file):
9237 * progmodes/idlwave.el (idlwave-config-directory):
9238 * net/quickurl.el (quickurl-url-file):
9239 * international/kkc.el (kkc-init-file-name):
9240 * ido.el (ido-save-directory-list-file):
9241 * emulation/viper.el (viper-custom-file-name):
9242 * emulation/vip.el (vip-startup-file):
9243 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9244 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9246 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9248 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9249 * language/thai-word.el: Switch to UTF-8.
9251 See ChangeLog.16 for earlier changes.
9257 Copyright (C) 2011-2013 Free Software Foundation, Inc.
9259 This file is part of GNU Emacs.
9261 GNU Emacs is free software: you can redistribute it and/or modify
9262 it under the terms of the GNU General Public License as published by
9263 the Free Software Foundation, either version 3 of the License, or
9264 (at your option) any later version.
9266 GNU Emacs is distributed in the hope that it will be useful,
9267 but WITHOUT ANY WARRANTY; without even the implied warranty of
9268 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9269 GNU General Public License for more details.
9271 You should have received a copy of the GNU General Public License
9272 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.