1 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4 table and abbrev table, `define-derived-mode' does that for us
7 2013-11-01 Glenn Morris <rgm@gnu.org>
9 * Makefile.in: Remove manual mh-e dependencies (writing .elc
10 files is atomic for some time, so no parallel compilation issues).
12 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
14 * faces.el (face-x-resources): Add :distant-foreground.
15 (region): Use :distant-foreground for gtk and ns.
17 2013-11-01 Tassilo Horn <tsdh@gnu.org>
19 Allow multiple bibliographies when BibLaTeX is used rathen than
21 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
22 (reftex-locate-bibliography-files): Us it.
24 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
26 * image.el (image-type-header-regexps): Fix the 'pbm' part to
27 allow comments in pbm files.
29 * term/w32-win.el (dynamic-library-alist): Support newer versions
30 of libjpeg starting with v7: look only for the DLL from the
31 version against which Emacs was built.
32 Support versions of libpng beyond 1.4.x.
35 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
37 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
38 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
40 (ruby-deep-arglist): Add property :type.
42 2013-10-31 Glenn Morris <rgm@gnu.org>
44 * Makefile.in (custom-deps, finder-data): No need to setq the target
45 variables, we are in the right directory and the defaults work fine.
47 2013-10-30 Glenn Morris <rgm@gnu.org>
49 * Makefile.in (autoloads): Do not use abs_lisp.
51 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
52 `newline' does not respect `standard-output', so use `princ'.
54 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
56 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
57 * buff-menu.el (Buffer-menu--unmark): New function.
58 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
60 2013-10-30 Glenn Morris <rgm@gnu.org>
62 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
64 * emacs-lisp/package.el (lm-homepage): Declare.
66 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
69 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
71 * Makefile.in (finder-data, autoloads, update-subdirs)
72 (compile-main, compile-clean, compile-always, bootstrap-clean):
73 Check return value of cd.
74 (compile-calc): Remove.
76 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
78 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
80 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
81 (byte-compile-and-folded): New function.
82 (=, <, >, <=, >=): Use it.
84 * dos-w32.el (minibuffer-history-case-insensitive-variables)
85 (path-separator, null-device, buffer-file-coding-system)
86 (lpr-headers-switches): Check system-type before modifying them.
87 (find-buffer-file-type-coding-system): Mark obsolete.
88 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
89 find-file-not-found-set-buffer-file-coding-system.
90 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
91 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
92 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
93 (w32-direct-print-region-helper, w32-direct-print-region-function)
94 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
95 * startup.el (normal-top-level-add-subdirs-to-load-path):
96 * ps-print.el (ps-print-region-function):
97 * lpr.el (print-region-function): Use new name.
99 * subr.el (custom-declare-variable-early): Remove function.
100 (custom-declare-variable-list): Remove var.
101 (error, user-error): Remove `while' loop.
102 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
103 (user-emacs-directory-warning, locate-user-emacs-file):
105 * simple.el (read-quoted-char-radix, read-quoted-char):
106 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
108 * custom.el (custom-declare-variable-list): Don't process
109 custom-declare-variable-list.
111 * progmodes/python.el (python-shell-get-buffer): New function.
112 (python-shell-get-process): Use it.
113 (python-shell-send-string): Always use utf-8 and add a cookie to tell
114 Python which encoding was used. Don't split-string since we only care
115 about the first line. Return the temp-file, if applicable.
116 (python-shell-send-region): Tell compile.el how to turn locations in
117 the temp-file into locations in the source buffer.
119 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
121 * subr.el (undefined): Add missing behavior from the C code for
124 * rect.el: Use lexical-binding. Add new rectangular region support.
125 (rectangle-mark): New command.
126 (rectangle--region): New var.
127 (deactivate-mark-hook): Reset rectangle--region.
128 (rectangle--extract-region, rectangle--insert-for-yank)
129 (rectangle--highlight-for-redisplay)
130 (rectangle--unhighlight-for-redisplay): New functions.
131 (region-extract-function, redisplay-unhighlight-region-function)
132 (redisplay-highlight-region-function): Use them to handle
134 * simple.el (region-extract-function): New var.
135 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
136 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
137 (kill-region): Replace obsolete `yank-handler' arg with `region'.
138 (copy-region-as-kill, kill-ring-save): Add `region' argument.
139 (redisplay-unhighlight-region-function)
140 (redisplay-highlight-region-function): New vars.
141 (redisplay--update-region-highlight): New function.
142 (pre-redisplay-function): Use it.
143 (exchange-point-and-mark): Don't deactivate the mark before
144 reactivate-it anyway.
145 * comint.el (comint-kill-region): Remove yank-handler argument.
146 * delsel.el (delete-backward-char, backward-delete-char-untabify)
147 (delete-char): Remove property, since it's now part of their
149 (self-insert-iso): Remove property since this command doesn't exist.
151 * emacs-lisp/package.el (package--download-one-archive)
152 (describe-package-1): Don't query the user about final newline.
154 2013-10-29 Daniel Colascione <dancol@dancol.org>
156 * net/tramp.el (tramp-methods): Document new functionality.
157 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
158 tramp-hostname-checker if method provides one instead of scanning
159 argument list for "%h" to decide hostname acceptability.
161 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
163 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
164 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
165 Handle COPY-CONTENTS. (Bug#15737)
167 2013-10-28 Daiki Ueno <ueno@gnu.org>
170 (epa-file-cache-passphrase-for-symmetric-encryption):
171 Document that this option has no effect with GnuPG 2.0 (bug#15552).
173 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
175 * image.el (defimage):
176 (image-load-path): Doc fixes.
178 2013-10-27 Alan Mackenzie <acm@muc.de>
180 Indent statements in macros following "##" correctly.
181 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
182 Modify the "#" arm of a cond form to handle "#" and "##" operators.
184 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
186 * linum.el (linum-update-window): Fix boundary test (bug#13446).
188 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
190 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
191 after `=' is probably a new expression.
193 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
195 * man.el (man-imenu-title): New option.
196 (Man-mode-map): Add menu. (Bug#15722)
197 (Man-mode): Add imenu to menu.
199 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
201 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
202 specific in what the first arg can be: a non-keyword word,
203 string/regexp/percent literal opener, opening paren, or unary
204 operator followed directly by word.
206 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
208 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
209 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
210 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
211 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
212 Remove vars, they do not apply any more.
213 (prolog-mode-abbrev-table): Remove redundant declaration.
214 (prolog-upper-case-string, prolog-lower-case-string): Remove.
215 (prolog-use-smie): Remove.
216 (prolog-smie-rules): Add indentation rule for the if-then-else layout
217 supported by prolog-electric-if-then-else-flag.
218 (prolog-mode-variables, prolog-menu): Use setq-local.
219 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
220 Remove binding to `Backspace' since this key doesn't exist anyway.
221 Remove bindings for electric self-inserting keys.
222 (prog-mode): Assume it's defined.
223 (prolog-post-self-insert): New function.
224 (prolog-mode): Use it.
225 (prolog-indent-line, prolog-indent-level)
226 (prolog-find-indent-of-matching-paren)
227 (prolog-indentation-level-of-line, prolog-goto-comment-column)
228 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
229 (prolog-goto-next-paren, prolog-in-string-or-comment)
230 (prolog-tokenize, prolog-inside-mline-comment)
231 (prolog-find-start-of-mline-comment): Remove functions.
232 (prolog-find-unmatched-paren, prolog-clause-end)
233 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
234 (prolog-electric--if-then-else): Rename from
235 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
236 (prolog-tokenize-searchkey): Remove const.
237 (prolog-clause-info): Use forward-sexp.
238 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
239 (prolog-electric-if-then-else): Remove commands.
240 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
241 for use in post-self-insert-hook.
242 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
243 for use in post-self-insert-hook.
244 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
245 for use in post-self-insert-hook.
246 (prolog-electric--underscore): Rename from prolog-electric--underscore;
247 adapt it for use in post-self-insert-hook.
249 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
251 * emacs-lisp/ert.el (ert-run-tests-interactively):
252 Use `completing-read'. (Bug#9756)
254 2013-10-25 Eli Zaretskii <eliz@gnu.org>
256 * simple.el (line-move): Call line-move-1 instead of
257 line-move-visual when the current window hscroll is zero, but
258 temporary-goal-column indicates we will need to hscroll as result
259 of the movement. (Bug#15712)
261 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
263 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
264 capitalization. Use :visible instead of :active.
265 Fix `ruby-indent-exp' reference. Add menu items for the generic
266 commands that are used with SMIE.
267 (ruby-do-end-to-brace): Insert space after `{'.
269 2013-10-25 John Anthony <john@jo.hnanthony.com>
271 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
273 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
275 2013-10-25 Glenn Morris <rgm@gnu.org>
277 * vc/vc.el (vc-print-log): Don't use a working revision unless
278 one was explicitly specified. (Bug#15322)
280 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
282 * subr.el (add-to-list): Preserve return value in compiler-macro
285 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
287 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
288 result. Ask user to retry using '-all' flag. (Bug#15701)
290 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
292 * emacs-lisp/smie.el: New smie-config system.
293 (smie-config): New defcustom.
294 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
295 (smie-config-guess, smie-config-save): New commands.
296 (smie-config--mode-local, smie-config--buffer-local)
297 (smie-config--trace, smie-config--modefuns): New vars.
298 (smie-config--advice, smie-config--mode-hook)
299 (smie-config--setter, smie-config-local, smie-config--get-trace)
300 (smie-config--guess-value, smie-config--guess): New functions.
301 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
302 text properties. Treat "string fence" syntax like string syntax.
304 * progmodes/sh-script.el (sh-use-smie): Change default.
305 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
306 (sh-var-value): Simplify by CSE.
307 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
308 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
310 (sh-guess-basic-offset): Use cl-incf.
311 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
313 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
315 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
318 2013-10-24 Glenn Morris <rgm@gnu.org>
320 * Makefile.in (abs_top_srcdir): Remove.
321 (update-subdirs): Use relative path to update-subdirs.
323 2013-10-24 Eli Zaretskii <eliz@gnu.org>
325 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
326 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
327 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
328 Call unmsys--file-name before expand-file-name, not after it.
330 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
332 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
333 (ert-test-skipped): New error.
334 (ert-skip, ert-stats-skipped): New defuns.
335 (ert--skip-unless): New macro.
336 (ert-test-skipped): New struct.
337 (ert--run-test-debugger, ert-test-result-type-p)
338 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
339 (ert--stats-set-test-and-result, ert-char-for-test-result)
340 (ert-string-for-test-result, ert-run-tests-batch)
341 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
342 Handle skipped tests. (Bug#9803)
344 2013-10-24 Glenn Morris <rgm@gnu.org>
346 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
348 * Makefile.in (abs_top_srcdir): New, set by configure.
349 (update-subdirs): Correct build-aux location.
351 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
353 * vc/vc.el (vc-print-root-log): Always set `default-directory'
354 value, whether we could auto-deduce `backend', or not.
356 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
357 with parameters" example. Simplify the "is it block or is it
358 hash" check, but also make it more thorough.
360 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
362 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
364 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
366 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
369 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
372 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
374 * progmodes/compile.el (compilation-directory-matcher)
375 (compilation-page-delimiter):
376 Support GNU Make-4.0 directory quoting. (Bug#15678)
378 2013-10-23 Leo Liu <sdl.web@gmail.com>
380 * ido.el (ido-tidy): Handle read-only text.
382 2013-10-23 Glenn Morris <rgm@gnu.org>
384 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
385 (emacs, compile, compile-always):
386 Quote entities that might contain whitespace.
387 (custom-deps, finder-data, autoloads): Use abs_lisp.
388 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
389 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
390 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
392 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
394 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
395 Use `following-char'.
397 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
399 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
400 * progmodes/ruby-mode.el (ruby-smie-rules):
401 Remove corresponding workaround. Fix indentation rule of ";" so it
402 also applies when ";" is the parent.
404 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
406 * frame.el (display-screens, display-pixel-height)
407 (display-pixel-width, display-mm-width, display-backing-store)
408 (display-save-under, display-planes, display-color-cells)
409 (display-visual-class, display-monitor-attributes-list):
410 Mention the optional ‘display’ argument in doc strings.
412 2013-10-22 Michael Gauland <mikelygee@amuri.net>
414 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
415 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
417 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
419 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
420 TODO. Add "." after " @ ".
421 (ruby-smie--at-dot-call): New function. Checks if point at method
422 call with explicit target.
423 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
424 to the method name tokens when it precedes them.
425 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
426 (ruby-smie-rules): Add rule for indentation before and after "."
429 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
431 * textmodes/remember.el (remember-diary-extract-entries):
434 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
437 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
439 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
440 (ruby-smie--implicit-semi-p): Add new operator chars.
442 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
444 (ruby-smie--args-separator-p): Check that there's no newline
445 between method call and its arguments.
447 2013-10-20 Alan Mackenzie <acm@muc.de>
449 Allow comma separated lists after Java "implements".
451 * progmodes/cc-engine.el (c-backward-over-enum-header):
453 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
454 from a "disallowed" list in enum fontification.
456 2013-10-20 Johan Bockgård <bojohan@gnu.org>
458 * startup.el (default-frame-background-mode): Remove unused defvar.
460 * progmodes/verilog-mode.el (verilog-mode): Don't set
461 comment-indent-function globally.
463 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
465 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
466 Move Info menu item creation to ns-win.el.
468 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
471 * menu-bar.el: Move GNUStep specific menus...
473 * term/ns-win.el (ns-initialize-window-system): ... to here.
475 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
477 * simple.el (newline): Only run post-self-insert-hook when
478 called interactively.
480 2013-10-19 Johan Bockgård <bojohan@gnu.org>
482 * icomplete.el (icomplete-with-completion-tables): Add :version.
484 2013-10-19 Alan Mackenzie <acm@muc.de>
486 Fix fontification bugs with constructors and const.
488 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
489 CASE 2) Remove the check for the absence of a suffix construct
490 after a function declaration with only types (no identifiers) in
491 the parentheses. Also, accept a function declaration with just a
492 type inside the parentheses, if this type can be positively
493 recognised as such, or if a prefix keyword like "explicit" nails
494 down the construct as a declaration.
496 2013-10-19 Eli Zaretskii <eliz@gnu.org>
498 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
499 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
500 the problem whereby selecting a menu item that leads to a
501 minibuffer prompt moves the cursor out of the minibuffer window,
502 making it hard to type at the prompt. Suggested by Stefan Monnier
503 <monnier@iro.umontreal.ca>.
505 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
507 * menu-bar.el: Don't make Services menu.
509 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
511 * ffap.el: Handle "/usr/include/c++/<version>" directories.
512 (ffap-alist): Use ffap-c++-mode for c++-mode.
513 (ffap-c++-path): New variable.
514 (ffap-c++-mode): New function.
516 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
518 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
520 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
522 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
523 introduced on 2013-09-08, which results in an infinite loop
524 requesting a password.
526 2013-10-18 Glenn Morris <rgm@gnu.org>
528 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
530 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
532 Sync with upstream verilog-mode revision 1a6ecec7.
533 * progmodes/verilog-mode.el (verilog-mode-version): Update.
534 (verilog-mode-release-date): Remove.
535 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
536 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
537 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
538 (verilog-auto-tieoff-ignore-regexp)
539 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
540 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
541 (verilog-signals-with, verilog-dir-cache-preserving)
542 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
544 (verilog-case-fold): New option, to control case folding in
545 regexp searches, bug597.
546 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
547 (verilog-string-match-fold, verilog-in-paren-count)
548 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
549 (verilog-at-close-struct-p): New functions.
550 (verilog-beg-block-re-ordered, verilog-extended-case-re)
551 (verilog-forward-sexp, verilog-set-auto-endcomments):
552 (verilog-leap-to-case-head): Handle "unique0" case.
553 (verilog-in-constraint-re): New constant.
554 (verilog-keywords, verilog-type-font-keywords):
555 Add some SystemVerilog 1800-2012 keywords.
556 (verilog-label-be): Remove unimplemented argument, bug669.
557 (verilog-batch-execute-func): When batch expanding clear
558 create-lockfiles to prevent spurious user locks when a file ends
560 (verilog-calculate-indent, verilog-calc-1)
561 (verilog-at-close-constraint-p, verilog-at-constraint-p)
562 (verilog-do-indent): Fix indentation of nested constraints
564 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
565 (verilog-auto-inst-param): Use verilog-string-match-fold.
566 (verilog-read-inst-module-matcher):
567 Fix AUTOINST on gate primitives with #1.
568 (verilog-read-decls): Fix double-declaring user-defined typed signals.
569 Reads all user-defined typed variables.
570 (verilog-read-defines): Fix reading definitions inside comments, bug647.
571 (verilog-signals-matching-regexp)
572 (verilog-signals-not-matching-regexp, verilog-auto):
573 Respect verilog-case-fold.
574 (verilog-diff-report): Fix line count.
575 (verilog-auto-assign-modport): Remove unused local `modi'.
576 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
577 better handle multidimensional arrays.
578 Fix packed array ports misadding bit index in AUTOINST, bug637.
579 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
580 to not double-declare existing outputs and inputs, respectively.
581 (verilog-template-map): Bind U to verilog-sk-uvm-component.
582 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
583 (verilog-sk-uvm-component): New skeleton.
584 (verilog-submit-bug-report): Add verilog-case-fold,
585 remove verilog-mode-release-date.
587 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
589 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
592 2013-10-18 Reuben Thomas <rrt@sc3d.org>
594 * textmodes/remember.el (remember): set buffer-offer-save in
595 remember buffers (bug#13566).
597 2013-10-18 Daniel Colascione <dancol@dancol.org>
599 When evaluating forms in ielm, direct standard output to ielm
600 buffer. Add new ielm-return-for-effect command. Remove trailing
601 whitespace throughout.
603 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
604 (ielm-return-for-effect): New command.
605 (ielm-send-input): Accept optional `for-effect' parameter.
606 (ielm-eval-input): Accept optional `for-effect' parameter.
607 Bind `standard-output' to stream we create using
608 `ielm-standard-output-impl'. Suppress printing result when
610 (ielm-standard-output-impl): New function.
611 (inferior-emacs-lisp-mode): Explain new features in documentation.
613 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
617 * net/tramp.el (tramp-debug-message): Do not check for connection
619 (tramp-message): Use "vector" connection property.
621 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
622 (tramp-equal-remote, tramp-eshell-directory-change)
623 * net/tramp-adb.el (tramp-adb-handle-copy-file)
624 (tramp-adb-handle-rename-file)
625 * net/tramp-cmds.el (tramp-list-remote-buffers)
626 (tramp-cleanup-connection, tramp-cleanup-this-connection)
627 * net/tramp-compat.el (tramp-compat-process-running-p)
628 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
629 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
630 (tramp-gvfs-handle-rename-file)
631 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
632 (tramp-set-file-uid-gid)
633 * net/tramp-smb.el (tramp-smb-handle-copy-file)
634 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
637 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
638 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
639 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
640 (tramp-gw-open-network-stream): Suppress unrelated traces.
642 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
643 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
644 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
645 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
648 * net/tramp-cache.el (top): Suppress traces when reading
651 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
652 Refactor common code. Improve debug message.
653 (tramp-maybe-open-connection)
654 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
655 connection buffer too early.
657 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
658 from `tramp-smb-actions-with-acl'.
659 (tramp-smb-actions-set-acl): New defconst.
660 (tramp-smb-handle-copy-directory)
661 (tramp-smb-action-get-acl): New defun, renamed from
662 `tramp-smb-action-with-acl'.
663 (tramp-smb-action-set-acl): New defun.
664 (tramp-smb-handle-set-file-acl): Rewrite.
666 2013-10-17 Glenn Morris <rgm@gnu.org>
668 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
670 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
672 * skeleton.el (skeleton-newline): Remove.
673 (skeleton-internal-1): Use (insert "\n") instead.
675 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
678 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
679 forward-sexp-function while we redo its job (bug#15613).
681 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
683 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
684 represented by lists.
686 2013-10-16 Glenn Morris <rgm@gnu.org>
688 * tmm.el (tmm--history): New dynamic variable.
689 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
691 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
693 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
694 (tramp-smb-errors): Add error messages.
695 (tramp-smb-actions-with-acl): New defconst.
696 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
697 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
698 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
699 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
700 (tramp-smb-get-stat-capability): Fix tests.
702 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
704 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
707 2013-10-16 Glenn Morris <rgm@gnu.org>
709 * ansi-color.el (ansi-color-drop-regexp):
710 Add 1J, 1K, 2K. (Bug#15617)
712 * files.el (hack-local-variables--warned-lexical): New.
713 (hack-local-variables):
714 Warn about misplaced lexical-binding. (Bug#15616)
716 * net/eww.el (eww-render): Always set eww-current-url,
717 and update header line. (Bug#15622)
718 (eww-display-html): ... Rather than just doing it here.
720 2013-10-15 Eli Zaretskii <eliz@gnu.org>
722 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
723 menu navigations commands.
725 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
727 * progmodes/subword.el (subword-capitalize): Be careful when
728 the search for [[:alpha:]] fails (bug#15580).
730 2013-10-14 Eli Zaretskii <eliz@gnu.org>
732 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
733 to commands that scroll the menu.
735 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
737 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
738 Handle methods ending with `?' and `!'.
740 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
742 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
743 `japanese-cp932' to `cp932' to fix the problem where saving a
744 source file written in Shift_JIS twice would end up having
745 `coding: japanese-cp932' which Ruby could not recognize.
746 (ruby-mode-set-encoding): Add support for encodings mapped to nil
747 in `ruby-encoding-map'.
748 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
749 doesn't need to be explicitly declared in magic comment.
750 (ruby-encoding-map): Add type declaration for better customize UI.
752 2013-10-13 Glenn Morris <rgm@gnu.org>
754 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
755 Occur buffers are read-only. http://bugs.debian.org/720775
757 * emacs-lisp/authors.el (authors-fixed-entries):
758 Comment out old alpha stuff.
760 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
762 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
763 to `after-save-hook' instead of `before-save-hook'.
764 (ruby-mode-set-encoding): Use the value of coding system used to
765 write the file. Call `basic-save-buffer-1' after modifying the
768 2013-10-13 Alan Mackenzie <acm@muc.de>
770 Fix indentation/fontification of Java enum with
771 "implements"/generic.
773 * progmodes/cc-engine.el (c-backward-over-enum-header):
774 Extracted from the three other places and enhanced to handle generics.
775 (c-inside-bracelist-p): Uses new function above.
776 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
778 (c-font-lock-enum-tail): Uses new function above.
780 2013-10-13 Kenichi Handa <handa@gnu.org>
782 * international/mule-cmds.el (select-safe-coding-system): Remove a
783 superfluous condition in chekcing whether a coding system is safe
786 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
788 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
790 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
792 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
794 2013-10-13 Glenn Morris <rgm@gnu.org>
796 * menu-bar.el (menu-bar-update-buffers):
797 Unify Buffers menu prompt string. (Bug#15576)
799 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
801 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
803 (authors-fixed-entries): Use accented form of name.
805 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
807 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
808 method calls (bug#15594).
809 (ruby-smie--args-separator-p): New function.
810 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
811 recognize paren-free method calls.
813 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
814 internals of universal-argument.
816 2013-10-11 Eli Zaretskii <eliz@gnu.org>
818 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
819 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
820 dropped menu on second mouse click on the menu bar.
822 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
824 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
825 (explicit-shell-file-name): Declare.
826 (sh--vars-before-point, sh--cmd-completion-table): New functions.
827 (sh-completion-at-point-function): New function.
829 (sh-smie--keyword-p): Remove unused argument.
830 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
832 (sh-set-shell): Always setup SMIE, even if we use the
833 old indentation code.
835 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
837 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
839 (ruby-smie-rules): Simplify the "do" rule. The cases when the
840 predicate would return nil are almost non-existent.
841 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
843 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
844 cache also after commands that modify the buffer but don't move
847 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
849 * env.el (substitute-env-in-file-name): New function.
850 (substitute-env-vars): Extend the meaning of the optional arg.
852 2013-10-10 Eli Zaretskii <eliz@gnu.org>
854 * term/w32-win.el (dynamic-library-alist): Define separate lists
855 of GIF DLLs for versions before and after 5.0.0 of giflib.
858 2013-10-10 João Távora <joaotavora@gmail.com>
860 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
861 not locked, use last revision and current source as
862 defaults. (Bug#15569)
864 2013-10-10 Masatake YAMATO <yamato@redhat.com>
866 * menu-bar.el (menu-bar-open): Don't use popup-menu if
869 2013-10-10 Martin Rudalics <rudalics@gmx.at>
871 * window.el (pop-to-buffer-same-window): Fix doc-string.
874 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
876 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
878 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
880 * calendar/icalendar.el (icalendar-import-file):
881 Fix interactive spec. (Bug#15482)
883 2013-10-10 Glenn Morris <rgm@gnu.org>
885 * desktop.el (desktop-save): Default to saving in .emacs.d,
886 since PWD is no longer in desktop-path by default. (Bug#15319)
888 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
889 now that text mode has a menu with the same entry.
890 (menu-bar-text-mode-auto-fill): Remove now unused func.
891 * textmodes/text-mode.el (text-mode-map):
892 Use auto-fill help text from menu-bar.el.
894 2013-10-10 John Anthony <john@jo.hnanthony.com>
896 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
898 2013-10-09 Juri Linkov <juri@jurta.org>
900 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
901 instead of this-command-keys. Add universal-argument-more and
902 universal-argument-minus to the list of prefix commands. (Bug#15568)
904 2013-10-09 Glenn Morris <rgm@gnu.org>
906 * vc/vc-svn.el (vc-svn-create-repo):
907 Expand paths in file://... url. (Bug#15446)
909 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
911 (authors): Remove unused local variables.
913 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
915 * profiler.el: Create a more coherent calltree from partial backtraces.
916 (profiler-format): Hide the tail with `invisible' so that C-s can still
917 find the hidden elements.
918 (profiler-calltree-depth): Don't recurse so enthusiastically.
919 (profiler-function-equal): New hash-table-test.
920 (profiler-calltree-build-unified): New function.
921 (profiler-calltree-build): Use it.
922 (profiler-report-make-name-part): Indent the calltree less.
923 (profiler-report-mode): Add visibility specs for profiler-format.
924 (profiler-report-expand-entry, profiler-report-toggle-entry):
925 Expand the whole subtree when provided with a prefix arg.
927 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
929 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
931 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
932 hanging iuwu-mod token.
933 (ruby-smie--forward-token): Do not include a dot after a token in
935 (ruby-smie--backward-token): Likewise.
937 2013-10-08 Juri Linkov <juri@jurta.org>
939 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
940 to isearch-other-control-char.
941 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
942 and isearch-post-command-hook to post-command-hook.
943 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
944 and isearch-post-command-hook from post-command-hook.
945 (isearch-unread-key-sequence)
946 (isearch-reread-key-sequence-naturally)
947 (isearch-lookup-scroll-key, isearch-other-control-char)
948 (isearch-other-meta-char): Remove functions.
949 (isearch-pre-command-hook, isearch-post-command-hook):
950 New functions based on isearch-other-meta-char rewritten
951 relying on the new behavior of overriding-terminal-local-map
952 that does not replace the local keymaps any more. (Bug#15200)
954 2013-10-08 Eli Zaretskii <eliz@gnu.org>
956 Support menus on text-mode terminals.
957 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
960 * tooltip.el (tooltip-mode): Don't error out on TTYs.
962 * menu-bar.el (popup-menu, popup-menu-normalize-position):
963 Move here from mouse.el.
964 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
966 (tty-menu-navigation-map): New map for TTY menu navigation.
968 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
970 * frame.el (display-mouse-p): Report text-mode mouse as available
972 (display-popup-menus-p): Report availability if mouse is
973 available; don't condition on window-system.
975 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
976 (tty-menu-selected-face): New faces.
978 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
980 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
981 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
982 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
983 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
985 (lisp-mode-variables): New `elisp' argument.
986 (emacs-lisp-mode): Use it.
987 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
988 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
990 * indent.el: Use lexical-binding.
991 (indent-region): Add progress reporter.
992 (tab-stop-list): Make it implicitly extend to infinity by repeating the
994 (indent--next-tab-stop): New function to implement this behavior.
995 (tab-to-tab-stop, move-to-tab-stop): Use it.
997 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
999 * indent.el (indent-rigidly--current-indentation): New function.
1000 (indent-rigidly-map): New var.
1001 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1003 2013-10-08 Bastien Guerry <bzg@gnu.org>
1005 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1007 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1009 * progmodes/perl-mode.el: Use lexical-binding.
1010 Remove redundant :group args.
1011 (perl-nochange): Change default to be closer to other major modes's
1013 (perl-indent-line): Don't consider text on current line as a
1014 valid beginning of function from which to indent.
1016 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1017 with more than one argument (bug#15538).
1019 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1021 * vc/pcvs.el: Use lexical-binding.
1022 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1023 environment of `eval'.
1024 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1025 than a list of expressions. Adjust callers.
1026 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1028 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1030 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1031 case of the dot in a chained method call being on the following line.
1033 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1035 * electric.el (electric-indent-inhibit): New var.
1036 (electric-indent-post-self-insert-function): Use it.
1037 * progmodes/python.el (python-mode): Set it.
1039 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1042 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1044 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1045 (css-mode): Use electric-indent-chars.
1047 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1048 (font-lock-beg, font-lock-end): Move before first use.
1049 (nxml-mode): Use syntax-propertize-function.
1050 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1051 (nxml-extend-after-change-region): Remove.
1052 * nxml/xmltok.el: Use lexical-binding.
1053 (xmltok-save): Use `declare'.
1054 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1055 * nxml/nxml-util.el: Use lexical-binding.
1056 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1058 * nxml/nxml-ns.el: Use lexical-binding.
1059 (nxml-ns-save): Use `declare'.
1060 (nxml-ns-prefixes-for): Avoid add-to-list.
1061 * nxml/rng-match.el: Use lexical-binding.
1062 (rng--ipattern): Use cl-defstruct.
1063 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1064 (rng-cons-group-after, rng-subst-group-after)
1065 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1066 Use closures instead of `(lambda...).
1068 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1070 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1073 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1074 Use `tramp-handle-insert-file-contents'.
1075 (tramp-gvfs-handle-insert-file-contents): Remove function.
1077 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1078 Use `save-restriction' in order to keep markers.
1080 * net/trampver.el: Update release number.
1082 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1084 * progmodes/compile.el (compilation-parse-errors):
1085 Use compilation--put-prop.
1086 (compilation--ensure-parse): Check compilation-multiline.
1088 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1090 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1093 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1095 * progmodes/ruby-mode.el: Fix recently added tests.
1096 (ruby-smie-grammar): Add - and +.
1097 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1098 (ruby-smie--backward-id): New functions.
1099 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1100 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1103 2013-10-07 Leo Liu <sdl.web@gmail.com>
1105 * register.el (register-preview-delay)
1106 (register-preview-functions): New variables.
1107 (register-read-with-preview, register-preview)
1108 (register-describe-oneline): New functions.
1109 (point-to-register, window-configuration-to-register)
1110 (frame-configuration-to-register, jump-to-register)
1111 (number-to-register, view-register, insert-register)
1112 (copy-to-register, append-to-register, prepend-to-register)
1113 (copy-rectangle-to-register): Use register-read-with-preview to
1114 read register. (Bug#15525)
1116 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1118 * net/network-stream.el (network-stream-open-starttls): Don't add
1119 --insecure if it's already present, because that gnutls-cli
1120 rejects getting that parameter twice.
1122 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1124 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1127 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1129 * newcomment.el (comment-use-global-state): Change default value
1130 to t, mark obsolete (Bug#15251).
1131 (comment-beginning): In addition to `comment-to-syntax', check the
1132 value of `comment-use-global-state'.
1134 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1136 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1137 (ruby-comment-column): Follow the global default, by default.
1138 (ruby-smie-grammar): Add assignment syntax.
1139 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1140 open-paren, a comma, or a \.
1141 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1142 and line continuations.
1143 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1144 followed by implicit semi-colons. Add rule for string concatenation
1145 and for indentation at BOB.
1146 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1148 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1149 calling next-sexp, since next-token may have skipped chars which
1150 next-sexp doesn't know should be skipped!
1152 2013-10-05 Leo Liu <sdl.web@gmail.com>
1154 * progmodes/octave.el (octave-send-region):
1155 Call compilation-forget-errors.
1157 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1159 * vc/vc-svn.el (vc-svn-find-admin-dir):
1160 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1161 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1162 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1163 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1165 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1167 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1169 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1171 * subr.el (read-passwd): Hide chars even when called within a context
1172 where after-change-functions is disabled (bug#15501).
1173 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1174 until we removed ourself from overriding-terminal-local-map.
1176 2013-10-04 Leo Liu <sdl.web@gmail.com>
1178 * progmodes/octave.el (inferior-octave-mode):
1179 Call compilation-forget-errors.
1181 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1183 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1185 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1187 * net/secrets.el (secrets-create-collection): Add optional
1188 argument ALIAS. Use proper Label keyword. Append ALIAS as
1189 dbus-call-method argument. (Bug#15516)
1191 2013-10-04 Leo Liu <sdl.web@gmail.com>
1193 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1194 (inferior-octave-compilation-font-lock-keywords): New variables.
1195 (compilation-error-regexp-alist)
1196 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1197 (inferior-octave-mode): Use compilation-shell-minor-mode.
1199 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1201 * minibuffer.el (completion--replace): Be careful that `end' might be
1204 2013-10-03 Daiki Ueno <ueno@gnu.org>
1206 Add support for package signature checking.
1207 * emacs-lisp/package.el (url-http-file-exists-p)
1208 (epg-make-context, epg-context-set-home-directory)
1209 (epg-verify-string, epg-context-result-for)
1210 (epg-signature-status, epg-signature-to-string)
1211 (epg-check-configuration, epg-configuration)
1212 (epg-import-keys-from-file): Declare.
1213 (package-check-signature): New user option.
1214 (package-unsigned-archives): New user option.
1215 (package-desc): Add `signed' field.
1216 (package-load-descriptor): Set `signed' field if .signed file exists.
1217 (package--archive-file-exists-p): New function.
1218 (package--check-signature): New function.
1219 (package-install-from-archive): Check package signature.
1220 (package--download-one-archive): Check archive signature.
1221 (package-delete): Remove .signed file.
1222 (package-import-keyring): New command.
1223 (package-refresh-contents): Import default keyring.
1224 (package-desc-status): Add "unsigned" status.
1225 (describe-package-1, package-menu--print-info)
1226 (package-menu-mark-delete, package-menu--find-upgrades)
1227 (package-menu--status-predicate): Support "unsigned" status.
1229 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1231 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1232 the new compilation scheme using the new byte-codes.
1234 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1235 (byte-pophandler): New byte codes.
1236 (byte-goto-ops): Adjust accordingly.
1237 (byte-compile--use-old-handlers): New var.
1238 (byte-compile-catch): Use new byte codes depending on
1239 byte-compile--use-old-handlers.
1240 (byte-compile-condition-case--old): Rename from
1241 byte-compile-condition-case.
1242 (byte-compile-condition-case--new): New function.
1243 (byte-compile-condition-case): New function that dispatches depending
1244 on byte-compile--use-old-handlers.
1245 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1248 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1249 Optimize under `condition-case' and `catch' if
1250 byte-compile--use-old-handlers is nil.
1251 (disassemble-offset): Handle new bytecodes.
1253 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1255 * subr.el (error): Use `declare'.
1256 (decode-char, encode-char): Use advertised-calling-convention instead
1257 of the docstring to discourage use of the `restriction' arg.
1259 2013-10-03 Daiki Ueno <ueno@gnu.org>
1261 * epg.el (epg-verify-file): Add a comment saying that it does not
1262 notify verification error as a return value nor a signal.
1263 (epg-verify-string): Ditto.
1265 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1267 * progmodes/compile.el (compilation-start): Try globbing the arg to
1270 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1272 Sync with Tramp 2.2.8.
1274 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1275 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1276 * net/trampver.el: Update release number.
1278 2013-10-01 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 for darwin only.
1283 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1285 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1287 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1289 * vc/vc-git.el (vc-git-grep): Disable pager.
1291 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1293 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1294 Use :url instead of :homepage, as per
1295 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1297 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1298 non-nil, use `syntax-ppss' (Bug#15251).
1300 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1302 * progmodes/octave.el (inferior-octave-startup-file):
1303 Prefer ~/.emacs.d/init_octave.m.
1305 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1307 * emacs-lisp/package.el (package-desc-from-define):
1308 Accept additional arguments as plist, convert them to an alist and store
1309 them in the `extras' slot.
1310 (package-generate-description-file): Convert extras alist back to
1311 plist and append to the `define-package' form arguments.
1312 (package--alist-to-plist): New function.
1313 (package--ac-desc): Add `extras' slot.
1314 (package--add-to-archive-contents): Check if the archive-contents
1315 vector is long enough, and if it is, pass its `extras' slot value
1316 to `package-desc-create'.
1317 (package-buffer-info): Call `lm-homepage', pass the returned value
1318 to `package-desc-from-define'.
1319 (describe-package-1): Render the homepage button (Bug#13291).
1321 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1322 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1324 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1326 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1327 and default-process-coding-system to utf-8-unix (Bug#15402).
1329 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1331 * subr.el (looking-back): Do not recommend using looking-back.
1333 2013-09-28 Alan Mackenzie <acm@muc.de>
1335 Fix indentation/fontification of Java enum with "implements".
1337 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1338 regexp which matches "implements", etc., in Java.
1339 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1340 specifier clauses coming after "enum".
1341 * progmodes/cc-fonts.el (c-font-lock-declarations)
1342 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1345 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1347 * faces.el (region): Change ns_selection_color to
1348 ns_selection_fg_color, add ns_selection_bg_color.
1350 2013-09-28 Leo Liu <sdl.web@gmail.com>
1352 * progmodes/octave.el (inferior-octave-completion-table)
1353 (inferior-octave-completion-at-point): Minor tweaks.
1355 * textmodes/ispell.el (ispell-lookup-words): Rename from
1356 lookup-words. (Bug#15460)
1357 (lookup-words): Obsolete.
1358 (ispell-complete-word, ispell-command-loop): All uses changed.
1360 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1362 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1363 (octave-mode-menu): Add octave-send-buffer.
1364 (octave-send-buffer): New function.
1366 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1368 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1370 (octave-mode-menu): Add octave-lookfor.
1371 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1373 (octave-lookfor): New function.
1375 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1377 * emacs-lisp/cl-macs.el:
1378 (cl--loop-destr-temps): Remove.
1379 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1381 (cl--loop-set-iterator-function): New function.
1382 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1383 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1384 Bind `it' with `let' instead of substituting it with `cl-subst'.
1385 (cl--unused-var-p): New function.
1386 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1387 Eliminate some unused variable warnings (bug#15326).
1389 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1391 * doc-view.el (doc-view-scale-reset): Rename from
1392 `doc-view-reset-zoom-level'.
1393 (doc-view-scale-adjust): New command.
1394 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1395 `doc-view-scale-adjust'.
1397 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1399 * doc-view.el (doc-view-reset-zoom-level): New command.
1400 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1401 zoom commands (bug#15466).
1403 2013-09-26 Kenichi Handa <handa@gnu.org>
1405 * international/quail.el (quail-help): Make it not a command.
1407 2013-09-26 Leo Liu <sdl.web@gmail.com>
1409 * minibuffer.el (completion-all-sorted-completions): Make args
1410 optional as they are.
1412 2013-09-25 Daniel Colascione <dancol@dancol.org>
1414 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1415 specs are and that they're not evaluated.
1417 2013-09-24 Sam Steingold <sds@gnu.org>
1419 * midnight.el (clean-buffer-list-kill-regexps)
1420 (clean-buffer-list-kill-buffer-names): Update for the new Man
1421 buffer naming which includes the object name.
1423 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1425 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1426 (eshell-parse-command, eshell-parse-pipeline): Use it since
1427 eshell-separate-commands requires a dynamic scoped var.
1428 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1430 2013-09-23 Leo Liu <sdl.web@gmail.com>
1432 * autoinsert.el (auto-insert-alist): Make the value of
1433 lexical-binding match its file setting.
1435 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
1437 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1439 * autoarg.el (autoarg-kp-digit-argument):
1440 * electric.el (Electric-command-loop):
1441 * kmacro.el (kmacro-step-edit-insert):
1442 Do not set universal-argument-num-events.
1444 2013-09-22 Leo Liu <sdl.web@gmail.com>
1446 * files.el (interpreter-mode-alist): Add octave.
1448 2013-09-21 Alan Mackenzie <acm@muc.de>
1450 C++: fontify identifier in declaration following "public:" correctly.
1451 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1452 to match "public", etc.
1453 (c-decl-prefix-re): Add ":" into the C++ value.
1454 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1455 bit. Add a check for a ":" preceded by "public", etc.
1457 2013-09-21 Eli Zaretskii <eliz@gnu.org>
1459 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1460 recognized by GDB 7.5 and later.
1462 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1464 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1466 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1468 * subr.el (internal--call-interactively): New const.
1469 (called-interactively-p): Use it (bug#3984).
1471 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1473 * vc/pcvs.el (cvs-mode-ignore):
1474 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1475 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1477 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1479 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1480 (eshell-ls-orig-insert-directory): Remove.
1481 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1482 (eshell-ls-use-in-dired): Use advice-add/remove.
1483 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1484 Add `orig-fun' arg for use in :around advice.
1485 Make it check (redundantly) eshell-ls-use-in-dired.
1487 2013-09-19 Glenn Morris <rgm@gnu.org>
1489 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1491 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1493 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1495 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
1497 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1498 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1499 (tramp-get-remote-python): New defuns.
1500 (tramp-get-remote-uid-with-perl)
1501 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1502 contributed by yary <not.com@gmail.com> (tiny change).
1503 (tramp-get-remote-uid-with-python)
1504 (tramp-get-remote-gid-with-python): New defuns. Python code
1505 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1506 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1508 2013-09-19 Glenn Morris <rgm@gnu.org>
1510 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1512 * eshell/em-unix.el (eshell-remove-entries):
1513 Rename argument to avoid name-clash with global `top-level'.
1515 * eshell/esh-proc.el (eshell-kill-process-function):
1516 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1517 (eshell-reset-after-proc): Remove unused arg `proc'.
1519 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1520 (directory-files-and-attributes): Mark unused arg.
1522 * eshell/em-unix.el (eshell-remove-entries):
1523 Remove unused arg `path'. Update callers.
1525 * eshell/em-hist.el (eshell-hist-parse-arguments):
1526 Remove unused arg `silent'. Update callers.
1528 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1529 Fix (f)boundp mix-up.
1531 * eshell/em-smart.el (eshell-smart-scroll-window)
1532 (eshell-disable-after-change):
1533 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1535 2013-09-18 Alan Mackenzie <acm@muc.de>
1537 Fix fontification of type when followed by "const".
1538 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1539 "known" types from fontification.
1541 2013-09-18 Glenn Morris <rgm@gnu.org>
1543 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1544 (chart-face-list): Drop Emacsen without display-color-p.
1546 * net/eww.el (libxml-parse-html-region): Declare.
1547 (eww-display-html): Explicit error if no libxml2 support.
1549 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1551 * image.el (image-type-from-buffer, image-multi-frame-p):
1552 Remove --without-x warning/error.
1554 * mouse.el (mouse-yank-primary):
1555 * term.el (term-mouse-paste):
1556 Reorder to silence --without-x compilation.
1558 * mpc.el (doc-view-mode): Silence --without-x compilation.
1560 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1561 Silence --without-x compilation.
1563 * progmodes/gud.el (gud-find-file, gud-mode):
1564 Silence --without-x compilation.
1565 (tooltip-mode): Declare.
1567 * wdired.el (dired-backup-overwrite): Remove declaration.
1568 (wdired-mode-map): Add doc string.
1570 * custom.el (x-get-resource): Declare.
1572 * eshell/em-glob.el (ange-cache):
1573 * eshell/em-unix.el (ange-cache): Declare.
1575 * faces.el (x-display-list, x-open-connection, x-get-resource):
1578 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1579 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1582 * frame.el (x-display-grayscale-p, x-display-name): Declare.
1584 * net/gnutls.el (gnutls-log-level): Declare.
1586 * net/shr.el (image-size, image-animate): Declare.
1588 * simple.el (font-info): Declare.
1590 * subr.el (x-popup-dialog): Declare.
1592 * term/common-win.el (x-select-enable-primary)
1593 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1596 * term/ns-win.el (x-handle-args): Declare.
1598 * term/x-win.el (x-select-enable-clipboard): Declare.
1600 * term/w32-win.el (create-default-fontset): Declare.
1602 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1605 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1606 (fit-frame-to-buffer): Explicit error if --without-x.
1607 (mouse-autoselect-window-select): Silence compiler.
1609 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1611 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1612 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1613 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
1614 * eshell/esh-util.el (eshell-sublist):
1615 Remove unused local variables.
1617 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1619 * textmodes/two-column.el: Make 2C-split work for --without-x.
1620 (scroll-bar-columns): Autoload.
1621 (top-level): Require fringe when compiling.
1623 2013-09-18 Leo Liu <sdl.web@gmail.com>
1625 * subr.el (add-hook): Robustify to handle closure as well.
1627 2013-09-17 Glenn Morris <rgm@gnu.org>
1629 * simple.el (messages-buffer-mode-map): Unbind "g".
1631 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1633 * help-mode.el (help-mode-finish): Use derived-mode-p.
1634 Remove obsolete highlighting.
1636 * play/life.el (life-mode): Use define-derived-mode. Derive from
1638 (life): Let-bind inhibit-read-only.
1639 (life-setup): Avoid `setq'. Use `life-mode'.
1641 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1642 which should not be needed any more.
1643 (package-menu-refresh, package-menu-describe-package): Use user-error.
1645 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1646 (eshell-post-rewrite-command-hook): Make obsolete.
1647 (eshell-parse-command): Simplify.
1648 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1649 (eshell--cmd): Declare.
1650 (eshell-parse-pipeline): Remove unused var `final-p'.
1651 Pass a dynvar to eshell-post-rewrite-command-hook.
1652 Implement the new eshell-post-rewrite-command-function.
1653 (eshell-invoke-directly): Remove unused arg `input'.
1654 * eshell/esh-io.el (eshell-io-initialize):
1655 Use eshell-post-rewrite-command-function (bug#15399).
1656 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1657 adjust to new calling convention.
1658 (eshell-create-handles): Rename args to avoid clashing with dynvar
1661 2013-09-17 Glenn Morris <rgm@gnu.org>
1663 * simple.el (messages-buffer-mode): New major mode.
1664 (messages-buffer): New function.
1665 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1666 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
1667 (ert-run-test): Use `messages-buffer' function.
1668 (ert--force-message-log-buffer-truncation): Ignore read-only.
1669 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1670 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
1672 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1674 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1676 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1678 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1680 * icomplete.el (icomplete-in-buffer): New var.
1681 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1682 vars and replace them with functions.
1683 (icomplete-minibuffer-setup): Adjust accordingly.
1684 (icomplete--completion-table, icomplete--completion-predicate)
1685 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1687 (icomplete-forward-completions, icomplete-backward-completions)
1688 (icomplete-simple-completing-p, icomplete-exhibit)
1689 (icomplete-completions): Use them.
1690 (icomplete--in-region-buffer): New var.
1691 (icomplete--in-region-setup): New function.
1692 (icomplete-mode): Use it.
1694 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1696 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1697 return args and options.
1698 (eshell-eval-using-options): Use the new return value of
1699 eshell--do-opts to set the options's vars in their scope.
1700 (eshell--set-option): Rename from eshell-set-option.
1702 (eshell--process-option): Rename from eshell-process-option.
1704 (eshell--process-args): Use an `opt-vals' alist to store the options's
1705 values during their processing and return them additionally to the
1708 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1710 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1711 continuation character an operator, as far as indentation is
1712 concerned (Bug#15369).
1714 2013-09-15 Martin Rudalics <rudalics@gmx.at>
1716 * window.el (window--state-put-2): Don't process buffer state
1717 when buffer doesn't exist any more (Bug#15382).
1719 2013-09-15 Glenn Morris <rgm@gnu.org>
1721 * eshell/em-unix.el (eshell/rm):
1722 Make -f ignore missing files. (Bug#15373)
1724 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1725 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1726 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1728 2013-09-14 Glenn Morris <rgm@gnu.org>
1730 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1732 2013-09-13 Glenn Morris <rgm@gnu.org>
1734 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1735 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1737 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1739 * frame.el (x-focus-frame): Mark as declared in frame.c.
1741 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1743 * ls-lisp.el: Use advice-add.
1744 (original-insert-directory): Remove.
1745 (ls-lisp--insert-directory): Rename from insert-directory; add
1746 `orig-fun' argument.
1747 (insert-directory): Advise.
1749 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1751 * term.el (term-emulate-terminal): Decode the command string
1752 before passing it to term-command-hook. (Bug#15337)
1754 2013-09-13 Glenn Morris <rgm@gnu.org>
1756 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1758 * eshell/esh-ext.el (eshell-search-path): Declare.
1760 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1761 Otherwise an error occurs if eshell-dirs module not loaded.
1763 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1765 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1767 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1768 `tramp-check-proper-host'. Check for a valid method name.
1770 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1771 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1772 * net/tramp-sh.el (tramp-maybe-open-connection):
1773 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1775 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1776 also for hash values.
1778 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1780 * term/ns-win.el (parameters): Don't declare as dynamic.
1781 (before-make-frame-hook): Don't add ineffective function.
1783 * eshell/*.el: Use lexical-binding (bug#15231).
1785 2013-09-12 Kenichi Handa <handa@gnu.org>
1787 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1789 2013-09-12 Glenn Morris <rgm@gnu.org>
1791 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1792 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1794 * subr.el (do-after-load-evaluation): Also give compiler warnings
1795 when obsolete files are used (except by obsolete files).
1797 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1798 in the status output, assume `filename' is the first. (Bug#15322)
1800 * vc/vc.el (vc-deduce-fileset): Doc fix.
1802 * calc/calc-help.el (Info-goto-node):
1803 * progmodes/cperl-mode.el (Info-find-node):
1804 * vc/ediff.el (Info-goto-node): Update declarations.
1806 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1808 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1809 (vc-bzr-pull): Require vc-dispatcher.
1810 * vc/vc-git.el (vc-compilation-mode): Declare.
1811 (vc-git-pull): Require vc-dispatcher.
1813 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1815 * progmodes/octave.el (help-button-action): Declare.
1817 * shell.el (shell-directory-tracker): Output error as a message
1818 rather than just returning it as a string.
1819 (shell-process-pushd): Remove useless use of message.
1821 * dframe.el (dframe-timer-fn):
1822 * files.el (dir-locals-read-from-file):
1823 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1825 * reveal.el (reveal-post-command):
1826 * saveplace.el (load-save-place-alist-from-file):
1827 * shell.el (shell-resync-dirs):
1828 * w32-common-fns.el (x-get-selection-value):
1829 * emacs-lisp/copyright.el (copyright-find-copyright):
1830 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1831 * emulation/tpu-edt.el (tpu-copy-keyfile):
1832 * play/bubbles.el (bubbles--mark-neighbourhood):
1833 * progmodes/executable.el
1834 (executable-make-buffer-file-executable-if-script-p):
1835 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1837 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1839 Cleanup Eshell to rely less on dynamic scoping.
1840 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1841 last-value, and ext-command here. Bind `args' closer to `body'.
1842 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1843 (eshell--args): Declare new dynamic var.
1844 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1845 last-value, and ext-command. Pass `args' to `body'.
1846 (eshell-process-args): Bind eshell--args.
1847 (eshell-set-option): Use eshell--args.
1848 * eshell/eshell.el (eshell): Use derived-mode-p.
1849 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1850 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1851 (eshell-glob-function): Declare.
1852 * eshell/esh-util.el: Require cl-lib.
1853 (eshell-read-hosts-file): Avoid add-to-list.
1854 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1856 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1858 (eshell/diff): Remove unused var `err'.
1859 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1861 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1862 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1864 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1865 Move declaration before first use.
1866 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1867 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1870 2013-09-12 Glenn Morris <rgm@gnu.org>
1872 * term/ns-win.el (global-map): Remove binding for ispell-next,
1873 deleted 1999-05-29. (Bug#15357)
1875 2013-09-11 Glenn Morris <rgm@gnu.org>
1877 * echistory.el (electric-command-history): Remove call to deleted func.
1879 * play/landmark.el (landmark-mode): Fix typos.
1881 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1882 Check cvs-sort-ignore-file is bound.
1884 * savehist.el: No need for cl when compiling on Emacs.
1886 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1888 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1890 (eshell-self-insert-command, eshell-send-invisible):
1891 Remove unused argument.
1892 (eshell-handle-control-codes): Remove unused var `orig'.
1893 Avoid delete-backward-char.
1895 * files.el (set-auto-mode): Simplify a bit further.
1897 2013-09-11 Glenn Morris <rgm@gnu.org>
1899 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1900 (set-auto-mode): Don't regexp-quote elements.
1901 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1902 * progmodes/cc-mode.el (interpreter-mode-alist):
1903 * progmodes/ruby-mode.el (interpreter-mode-alist):
1904 Revert previous change.
1906 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1908 * play/snake.el (snake-mode):
1909 * play/mpuz.el (mpuz-mode):
1910 * play/landmark.el (lm-mode):
1911 * play/blackbox.el (blackbox-mode):
1912 * play/5x5.el (5x5-mode):
1913 * obsolete/options.el (Edit-options-mode):
1914 * net/quickurl.el (quickurl-list-mode):
1915 * net/newst-treeview.el (newsticker-treeview-mode):
1916 * mail/rmailsum.el (rmail-summary-mode):
1917 * mail/mspools.el (mspools-mode):
1918 * locate.el (locate-mode):
1919 * ibuffer.el (ibuffer-mode):
1920 * emulation/ws-mode.el (wordstar-mode):
1921 * emacs-lisp/debug.el (debugger-mode):
1922 * array.el (array-mode):
1923 * net/eudc.el (eudc-mode): Use define-derived-mode.
1924 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1925 Move initialization into declaration.
1926 (mairix-searches-mode): Use define-derived-mode.
1927 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1928 (eudc-edit-hotlist): Use dolist.
1929 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1930 (Man-mode): Use define-derived-mode.
1931 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1932 (Info-edit-mode): Use define-derived-mode.
1933 (Info-cease-edit): Use Info-mode.
1934 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1936 (eshell-mode): Use define-derived-mode.
1937 * chistory.el (command-history-mode-map): Rename from
1938 command-history-map.
1939 (command-history-mode): Use define-derived-mode.
1940 (Command-history-setup): Remove function.
1941 * calc/calc.el (calc-trail-mode-map): New var.
1942 (calc-trail-mode): Use define-derived-mode.
1943 (calc-trail-buffer): Set calc-main-buffer manually.
1944 * bookmark.el (bookmark-insert-annotation): New function.
1945 (bookmark-edit-annotation): Use it.
1946 (bookmark-edit-annotation-mode): Make it a proper major mode.
1947 (bookmark-send-edited-annotation): Use derived-mode-p.
1948 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1949 closer to its ideal place. Use \' to match EOS.
1951 * profiler.el (profiler-calltree-find): Use function-equal.
1953 2013-09-10 Glenn Morris <rgm@gnu.org>
1955 * files.el (interpreter-mode-alist): Convert to regexps.
1956 (set-auto-mode): Adapt for this. (Bug#15306)
1957 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1958 Comment out unused variable.
1959 * progmodes/cc-mode.el (interpreter-mode-alist):
1960 * progmodes/python.el (interpreter-mode-alist):
1961 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1962 * progmodes/sh-script.el (sh-set-shell):
1963 No longer use interpreter-mode-alist to get list of shells.
1965 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1967 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1969 * simple.el: Use set-temporary-overlay-map for universal-argument.
1970 (universal-argument-map): Don't use default-bindings (bug#15317).
1971 Bind switch-frame explicitly. Replace universal-argument-minus with
1972 a conditional binding.
1973 (universal-argument-num-events, saved-overriding-map): Remove.
1974 (restore-overriding-map): Remove.
1975 (universal-argument--mode): Rename from save&set-overriding-map,
1977 (universal-argument, universal-argument-more, negative-argument)
1978 (digit-argument): Adjust accordingly.
1979 (universal-argument-minus): Remove.
1980 (universal-argument-other-key): Remove.
1982 * subr.el (with-demoted-errors): Add `format' argument.
1984 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
1986 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1987 `tramp-cleanup-connection'.
1989 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1990 parameters KEEP-DEBUG and KEEP-PASSWORD.
1992 * net/tramp.el (tramp-file-name-handler):
1993 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1994 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1995 (tramp-maybe-open-connection):
1996 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1997 Use `tramp-cleanup-connection'.
1999 * net/tramp-sh.el (tramp-maybe-open-connection):
2000 Catch 'uname-changed inside the progress reporter.
2002 2013-09-10 Glenn Morris <rgm@gnu.org>
2004 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2006 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2007 returns "alternate access method" in mode (eg "-rw-r--r--.").
2009 2013-09-08 Glenn Morris <rgm@gnu.org>
2011 * saveplace.el (load-save-place-alist-from-file):
2012 Demote errors. (Bug#15305)
2014 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2016 Improve compatibility with older Emacsen, and XEmacs.
2018 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2019 only if it is bound. It isn't for XEmacs.
2020 (with-tramp-progress-reporter): Do not let-bind `result'.
2021 This yields to scoping errors in XEmacs.
2022 (tramp-handle-make-auto-save-file-name): New function, moved from
2025 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2026 for `make-auto-save-file-name'.
2027 (tramp-adb--gnu-switches-to-ash):
2028 Use `tramp-compat-replace-regexp-in-string'.
2030 * net/tramp-cache.el (tramp-cache-print): Call
2031 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2033 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2034 bound. It isn't for XEmacs.
2036 * net/tramp-compat.el (tramp-compat-copy-file):
2037 Catch `wrong-number-of-arguments' error.
2038 (tramp-compat-replace-regexp-in-string): New defun.
2040 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2041 for `make-auto-save-file-name'.
2042 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2044 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2045 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2046 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2048 * net/tramp-gw.el (tramp-gw-open-network-stream):
2049 Use `tramp-compat-replace-regexp-in-string'.
2051 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2052 Call `tramp-handle-make-auto-save-file-name'.
2053 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2054 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2055 (tramp-sh-file-inotifywait-process-filter):
2056 Use `tramp-compat-replace-regexp-in-string'.
2057 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2059 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2060 for `make-auto-save-file-name'.
2061 (tramp-smb-handle-copy-directory):
2062 Call `tramp-compat-replace-regexp-in-string'.
2063 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2064 (tramp-smb-handle-copy-file): Improve error message.
2065 (tramp-smb-handle-rename-file): Rename directly only in case
2066 `newname' does not exist yet. This is a restriction of smbclient.
2067 (tramp-smb-maybe-open-connection): Rerun the function only when
2068 `auth-sources' is non-nil.
2070 2013-09-08 Kenichi Handa <handa@gnu.org>
2072 * international/characters.el: Set category "^" (Combining) for
2075 2013-09-07 Alan Mackenzie <acm@muc.de>
2077 Correctly fontify Java class constructors.
2078 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2080 (c-recognize-typeless-decls): Set the Java value to t.
2081 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2082 While handling a "(", add a check for, effectively, Java, and handle a
2083 "typeless" declaration there.
2085 2013-09-07 Roland Winkler <winkler@gnu.org>
2087 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2088 field subtitle for entry type book.
2090 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2092 * minibuffer.el: Make minibuffer-complete call completion-in-region
2093 rather than other way around.
2094 (completion--some, completion-pcm--find-all-completions):
2095 Don't delay signals when debugging.
2096 (minibuffer-completion-contents): Beware fields within the
2097 minibuffer contents.
2098 (completion-all-sorted-completions): Use defvar-local.
2099 (completion--do-completion, completion--cache-all-sorted-completions)
2100 (completion-all-sorted-completions, minibuffer-force-complete):
2101 Add args `beg' and `end'.
2102 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2103 (minibuffer-complete): Use completion-in-region.
2104 (completion-complete-and-exit): New fun, extracted from
2105 minibuffer-complete-and-exit.
2106 (minibuffer-complete-and-exit): Use it.
2107 (completion--complete-and-exit): Rename from
2108 minibuffer--complete-and-exit.
2109 (completion-in-region--single-word): New function, extracted from
2110 minibuffer-complete-word.
2111 (minibuffer-complete-word): Use it.
2112 (display-completion-list): Make `common-substring' argument obsolete.
2113 (completion--in-region): Call completion--in-region-1 instead of
2114 minibuffer-complete.
2115 (completion-help-at-point): Pass boundaries to
2116 minibuffer-completion-help as args rather than via an overlay.
2117 (completion-pcm--string->pattern): Use `any-delim'.
2118 (completion-pcm--optimize-pattern): New function.
2119 (completion-pcm--pattern->regex): Handle `any-delim'.
2120 * icomplete.el (icomplete-forward-completions)
2121 (icomplete-backward-completions, icomplete-completions):
2122 Adjust calls to completion-all-sorted-completions and
2123 completion--cache-all-sorted-completions.
2124 (icomplete-with-completion-tables): Default to t.
2125 * emacs-lisp/crm.el (crm--current-element): Rename from
2126 crm--select-current-element. Don't put an overlay but return the
2128 (crm--completion-command): Take two new args to bind to the boundaries.
2129 (crm-completion-help): Adjust accordingly.
2130 (crm-complete): Use completion-in-region.
2131 (crm-complete-word): Use completion-in-region--single-word.
2132 (crm-complete-and-exit): Use completion-complete-and-exit.
2134 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2136 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2139 2013-09-06 Juri Linkov <juri@jurta.org>
2141 * info.el (Info-display-images-node): When image file doesn't exist
2142 display text version of the image if it's provided in the Info file.
2143 Otherwise, display the location of missing image from SRC attribute.
2144 Add help-echo text property from ALT attribute. (Bug#15279)
2146 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2148 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2149 (edit-abbrevs-mode): Use define-derived-mode.
2151 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2152 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2154 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2155 Use define-derived-mode.
2157 * epg.el (epg-start-encrypt): Minor CSE simplification.
2159 2013-09-06 William Xu <william.xwl@gmail.com>
2161 * arc-mode.el: Add support for 7za (bug#15264).
2162 (archive-7z-program): New var.
2163 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2164 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2165 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2167 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2171 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2172 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2173 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2174 (tramp-postfix-host-format, tramp-file-name-regexp)
2175 (tramp-completion-file-name-regexp)
2176 (tramp-completion-dissect-file-name)
2177 (tramp-handle-substitute-in-file-name): Remove 'url case.
2178 (tramp-file-name-regexp-url)
2179 (tramp-completion-file-name-regexp-url): Remove constants.
2181 2013-09-06 Glenn Morris <rgm@gnu.org>
2183 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2185 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2187 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2188 keywords" below "here-doc beginnings" (Bug#15270).
2190 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2192 * subr.el (pop): Use `car-safe'.
2193 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2194 to detect unused `pop' return value.
2196 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2198 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2199 (python-fill-string): Remove unused var `marker'.
2200 (python-skeleton-add-menu-items): Remove unused var `items'.
2202 * international/mule-cmds.el: Require CL.
2203 (find-coding-systems-for-charsets): Avoid add-to-list.
2204 (sanitize-coding-system-list): New function, extracted from
2205 select-safe-coding-system-interactively.
2206 (select-safe-coding-system-interactively): Use it.
2207 (read-input-method-name): Accept symbols for `default'.
2209 * emacs-lisp/advice.el (defadvice): Add indent rule.
2211 2013-09-05 Daniel Hackney <dan@haxney.org>
2215 * net/browse-url.el:
2218 * net/eudcb-ldap.el:
2231 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2232 byte compiler. Remove some unused let-bound variables.
2234 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2236 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2237 a "ref-cell", since it gets better optimized (bug#14883).
2239 2013-09-05 Glenn Morris <rgm@gnu.org>
2241 * progmodes/cc-awk.el (c-forward-sws): Declare.
2243 2013-09-04 Glenn Morris <rgm@gnu.org>
2245 * generic-x.el [rul-generic-mode]: Require cc-mode.
2246 (c++-mode-syntax-table): Declare.
2247 (rul-generic-mode-syntax-table): Init in the defvar.
2249 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2251 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2252 (vc-do-command, vc-set-async-update):
2253 * vc/vc-mtn.el (vc-mtn-dir-status):
2254 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2255 (vc-hg-pull, vc-hg-merge-branch):
2256 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2257 (vc-git-merge-branch):
2258 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2259 (vc-cvs-dir-status-files):
2260 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2261 (vc-bzr-dir-status-files):
2262 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2263 * vc/vc-annotate.el: Use lexical-binding.
2264 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2265 (vc-sentinel-movepoint): Declare.
2266 (vc-annotate): Don't use `goto-line'.
2267 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2268 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2269 (vc-sentinel-movepoint): Declare.
2270 * vc/vc-svn.el: Use lexical-binding.
2271 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2273 * vc/vc-rcs.el: Use lexical-binding.
2275 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2276 `deleted'. Don't drop errors silently.
2278 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2280 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2282 * vc/vc.el (vc-ignore): Rewrite.
2283 (vc-default-ignore): New function.
2284 (vc-default-ignore-completion-table): Use find-ignore-file.
2286 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2287 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2288 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2289 Remove. Most code moved to vc.el.
2291 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2293 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2294 * net/tramp-smb.el (tramp-smb-get-file-entries):
2295 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2296 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2298 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2300 (eww-change-select): Remove unused var `properties'.
2301 (eww-make-unique-file-name): Remove unused var `base'.
2303 * finder.el (finder-compile-keywords): Don't mess with windows.
2305 * calculator.el (calculator-funcall): Fix typo in last change.
2307 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2309 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2310 <pkg>-autoloads.el file stop us.
2312 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2313 warnings, and factor out common code.
2315 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2317 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2318 two-character operators and whether the character preceding them
2319 changes their meaning (Bug#15208).
2321 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2323 Format code sent to Python shell for robustness.
2324 * progmodes/python.el (python-shell-buffer-substring):
2326 (python-shell-send-region, python-shell-send-buffer): Use it.
2328 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
2330 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2331 * net/tramp.el (tramp-user-error): ... here.
2332 (tramp-find-method, tramp-check-proper-host)
2333 (tramp-dissect-file-name, tramp-debug-message)
2334 (tramp-handle-shell-command):
2335 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2336 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2338 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2340 2013-09-02 Martin Rudalics <rudalics@gmx.at>
2342 * avoid.el (mouse-avoidance-point-position)
2343 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2346 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2348 * progmodes/python.el (python-shell-completion-get-completions):
2349 Drop use of deleted `comint-last-prompt-overlay'.
2350 (python-nav-if-name-main): New command.
2352 2013-09-01 Glenn Morris <rgm@gnu.org>
2354 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2355 Avoid leading space in $wins. Otherwise the sed command used by
2356 eg compile-main ends up containing "/*.el". (Bug#15170)
2358 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2360 2013-08-30 Glenn Morris <rgm@gnu.org>
2362 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2363 Fix is-this-a-directory logic. (Bug#15220)
2365 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2367 * textmodes/css-mode.el: Use SMIE.
2368 (css-smie-grammar): New var.
2369 (css-smie--forward-token, css-smie--backward-token)
2370 (css-smie-rules): New functions.
2371 (css-mode): Use them.
2372 (css-navigation-syntax-table): Remove var.
2373 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2374 (css-indent-calculate, css-indent-line): Remove functions.
2376 Misc changes to reduce use of `(lambda...); and other cleanups.
2377 * cus-edit.el: Use lexical-binding.
2378 (customize-push-and-save, customize-apropos)
2379 (custom-buffer-create-internal): Use closures.
2380 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2381 * progmodes/ada-xref.el: Use setq.
2382 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2383 * dframe.el: Use lexical-binding.
2384 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2385 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2386 * descr-text.el: Use lexical-binding.
2387 (describe-text-widget, describe-text-sexp, describe-property-list):
2389 * comint.el (comint-history-isearch-push-state): Use a closure.
2390 * calculator.el: Use lexical-binding.
2391 (calculator-number-to-string): Make it work with lexical-binding.
2392 (calculator-funcall): Same and use cl-letf.
2394 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2395 (lisp--company-doc-string, lisp--company-location): New functions.
2396 (lisp-completion-at-point): Use them to improve Company support.
2398 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2399 params of lambda expressions.
2400 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2401 (ruby-smie--opening-pipe-p): New function.
2402 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2403 symbols and matched |...| for formal params.
2404 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2405 from being treated as hanging. Handle "rescue".
2407 2013-08-29 Glenn Morris <rgm@gnu.org>
2409 * progmodes/cc-engine.el (c-pull-open-brace):
2410 Move definition before use.
2412 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2414 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2415 are immutable. Don't use `unsafe' any more.
2416 (cl--defsubst-expand): Don't substitute at the same time as keeping
2417 a residual unused let-binding. Don't use `unsafe' any more.
2419 2013-08-29 Glenn Morris <rgm@gnu.org>
2421 * calendar/cal-china.el (calendar-chinese-year-cache):
2424 * nxml/nxml-util.el (nxml-debug-clear-inside):
2425 Use cl-loop rather than loop.
2427 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2429 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2431 2013-08-28 Glenn Morris <rgm@gnu.org>
2433 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2435 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2437 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2439 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2441 * simple.el (repeat-complex-command--called-interactively-skip):
2443 (repeat-complex-command): Use it (bug#14136).
2445 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2446 (c-define-abbrev-table): Add `doc' argument.
2447 (c-mode-abbrev-table, c++-mode-abbrev-table)
2448 (objc-mode-abbrev-table, java-mode-abbrev-table)
2449 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2450 (awk-mode-abbrev-table): Use it.
2451 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2452 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2453 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2454 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2455 Move initialization into the declaration; and remove any
2458 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2459 and dynamic let binding.
2461 * vc/smerge-mode.el: Remove redundant :group args.
2463 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2466 2013-08-28 Juri Linkov <juri@jurta.org>
2468 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2469 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2470 (isearch-other-meta-char): Handle an undefined shifted printing
2471 character by downshifting it. (Bug#15200)
2473 2013-08-28 Juri Linkov <juri@jurta.org>
2475 * isearch.el (isearch-search): Change regexp error message for
2476 non-regexp searches. (Bug#15166)
2478 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2480 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2481 for portability to hosts where /bin/sh has problems.
2483 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2485 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2487 2013-08-27 Juri Linkov <juri@jurta.org>
2489 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2490 in the keyboard macro. (Bug#15126)
2492 2013-08-27 Juri Linkov <juri@jurta.org>
2494 * isearch.el (isearch-quote-char): Comment out converting unibyte
2495 to multibyte, thus syncing with its `quoted-insert' counterpart.
2498 2013-08-27 Martin Rudalics <rudalics@gmx.at>
2500 * window.el (display-buffer-use-some-window): Add missing
2501 argument in call of get-largest-window (Bug#15185).
2502 Reported by Stephen Leake.
2504 2013-08-27 Glenn Morris <rgm@gnu.org>
2506 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2508 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2510 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2511 from a matcher-function unless there's no more matches (bug#15161).
2513 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2515 * minibuffer.el: Revert change from 2013-08-20.
2517 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2518 with text property `tramp-default', if appropriate.
2519 (tramp-check-proper-host): New defun.
2520 (tramp-dissect-file-name): Do not check hostname. Revert change
2522 (tramp-backtrace): Make VEC-OR-PROC optional.
2524 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2525 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2526 * net/tramp-sh.el (tramp-maybe-open-connection):
2527 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2528 Apply `tramp-check-proper-host'.
2530 2013-08-26 Tassilo Horn <tsdh@gnu.org>
2532 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2533 lambda expression in order to have `describe-variable' display it.
2535 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2537 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2538 BUF can be optional. (Bug#15186)
2540 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2542 * progmodes/flymake.el (flymake-get-real-file-name-function):
2543 Fix broken customization. (Bug#15184)
2545 2013-08-25 Alan Mackenzie <acm@muc.de>
2547 Improve indentation of bracelists defined by macros (without "=").
2549 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2550 expansion begins with "{", regard it as bracelist when it doesn't
2553 Parse C++ inher-intro when there's a template split over 2 lines.
2555 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2556 rigorously the search for "class" etc. followed by ":".
2558 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2559 random languages a regexp which never matches rather than nil.
2561 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2563 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2564 (c-awk-regexp-one-line-possibly-open-char-list-re)
2565 (c-awk-one-line-possibly-open-regexp-re)
2566 (c-awk-one-line-non-syn-ws*-re): Remove.
2567 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2568 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2569 (c-awk-space*-unclosed-regexp-/-re): New constants.
2570 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2571 aren't regexp delimiters.
2573 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2574 handling for a rare situation in AWK Mode involving unterminated
2577 2013-08-23 Glenn Morris <rgm@gnu.org>
2579 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2581 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2583 * files.el (create-file-buffer): If the result would begin with
2584 spaces, prepend a "|" instead of removing them. (Bug#15162)
2586 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2588 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2589 text-properties (bug#15155).
2591 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2593 (calc-keypad-redraw): Remove unused var `pad'.
2594 (calc-keypad-press): Remove unused var `menu'.
2596 2013-08-23 Martin Rudalics <rudalics@gmx.at>
2598 * window.el (display-buffer-pop-up-frame):
2599 Call pop-up-frame-function with BUFFER current so `make-frame' will
2600 use it as the new frame's buffer (Bug#15133).
2602 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2604 * calendar/timeclock.el: Minor cleanups.
2605 (timeclock-ask-before-exiting, timeclock-use-display-time):
2607 (timeclock-modeline-display): Define as alias before the
2609 (timeclock-mode-line-display): Use define-minor-mode.
2610 (timeclock-day-list-template): Make it a function, add an argument.
2611 (timeclock-day-list-required, timeclock-day-list-length)
2612 (timeclock-day-list-debt, timeclock-day-list-span)
2613 (timeclock-day-list-break): Adjust calls accordingly.
2615 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2617 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2618 Use read--expression so that completion works again.
2620 2013-08-21 Sam Steingold <sds@gnu.org>
2622 Add rudimentary inferior shell interaction
2623 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2624 (sh-set-shell): Reset it.
2625 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2626 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
2628 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2630 * align.el: Use lexical-binding.
2631 (align-region): Simplify accordingly.
2633 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
2635 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2637 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2640 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
2644 * net/tramp-cmds.el:
2646 * net/tramp-gvfs.el:
2648 * net/tramp-sh.el: Don't wrap external variable declarations by
2649 `eval-when-compile'.
2651 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2653 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2654 now that Emacs supports ImageMagick animations.
2656 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
2658 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2659 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2661 2013-08-16 Martin Rudalics <rudalics@gmx.at>
2663 * window.el (mouse-autoselect-window-select): Do autoselect when
2664 mouse pointer is on margin.
2666 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2668 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2670 2013-08-16 Glenn Morris <rgm@gnu.org>
2672 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2673 Handle "Remote Directory" response of some clients. (Bug#15058)
2675 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2676 Tweak warning. (Bug#14926)
2678 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2679 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2681 * image-mode.el (image-mode-map): Add menu items to reverse,
2682 increase, decrease, reset animation speed.
2683 (image--set-speed, image-increase-speed, image-decrease-speed)
2684 (image-reverse-speed, image-reset-speed): New functions.
2685 (image-mode-map): Add bindings for speed commands.
2687 * image.el (image-animate-get-speed, image-animate-set-speed):
2689 (image-animate-timeout): Respect image :speed property.
2691 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2693 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2694 previous line (bug#15101).
2695 (debugger-eval-expression, debugger-record-expression):
2696 Use read--expression (bug#15102).
2698 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
2700 Remove byte compiler warnings, visible when compiling with
2701 `byte-compile-force-lexical-warnings' set to t.
2703 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2704 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2705 (tramp-handle-unhandled-file-name-directory)
2706 (tramp-handle-file-notify-add-watch, tramp-action-login)
2707 (tramp-action-succeed, tramp-action-permission-denied)
2708 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2711 * net/tramp-adb.el (tramp-adb-parse-device-names)
2712 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2713 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2714 (tramp-adb-handle-file-truename): Remove unused arguments.
2716 * net/tramp-cache.el (tramp-flush-directory-property)
2717 (tramp-flush-connection-property, tramp-list-connections)
2718 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2720 * net/tramp-compat.el (tramp-compat-make-temp-file):
2721 Rename FILENAME to F.
2723 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2724 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2725 (tramp-zeroconf-parse-workstation-device-names)
2726 (tramp-zeroconf-parse-webdav-device-names)
2727 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2729 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2730 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2732 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2734 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2735 (tramp-sh-handle-insert-file-contents-literally)
2736 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2738 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2739 Remove unused variables.
2741 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2742 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2743 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2745 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2746 Make them a defconst.
2747 (tramp-uuencode-region): Remove unused variable.
2749 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2751 * frameset.el (frameset--prop-setter): New function.
2752 (frameset-prop): Add gv-setter declaration.
2753 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2754 parameter was already set in FILTERED. Doc fix.
2755 (frameset--record-minibuffer-relationships): Allow saving a
2756 minibufferless frame without its corresponding minibuffer frame.
2757 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2758 frame, if the frame id matches.
2759 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2760 frames before orphaned ones.
2761 (frameset-restore): Warn about orphaned windows, instead of error out.
2763 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2765 * window.el (window-make-atom): Don't overwrite parameter
2767 (display-buffer-in-atom-window): Handle special case where we
2768 split an already atomic window.
2769 (window--major-non-side-window, display-buffer-in-side-window)
2770 (window--side-check): Ignore minibuffer window when walking
2772 (window-deletable-p): Return 'frame only if no other frame uses
2773 our minibuffer window.
2774 (record-window-buffer): Run buffer-list-update-hook.
2775 (split-window): Make sure window--check-frame won't destroy an
2776 existing atomic window in case the new window gets nested
2778 (display-buffer-at-bottom): Ignore minibuffer window when
2779 walking window tree. Don't split a side window.
2780 (pop-to-buffer): Don't set-buffer here, the select-window call
2782 (mouse-autoselect-window-select): Autoselect only if we are in the
2783 text portion of the window.
2785 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2787 * net/shr.el (shr-parse-image-data): New function to grab both the
2788 data itself and the Content-Type.
2789 (shr-put-image): Use it.
2791 * net/eww.el (eww-display-image): Ditto.
2793 * image.el (image-content-type-suffixes): New variable.
2795 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2797 * progmodes/python.el (python-imenu--build-tree)
2798 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2800 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2802 * simple.el (backward-word): Mention the optional argument.
2804 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2806 * frameset.el (frameset--make): Rename constructor from make-frameset.
2807 (frameset-p, frameset-valid-p): Don't autoload.
2808 (frameset-valid-p): Use normal accessors.
2810 2013-08-13 Glenn Morris <rgm@gnu.org>
2812 * progmodes/compile.el (compile-command): Tweak example in doc.
2813 * obsolete/scribe.el (scribe-mode):
2814 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2816 * mail/feedmail.el (feedmail-confirm-outgoing)
2817 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2819 * cus-start.el (truncate-partial-width-windows): Fix type.
2821 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2823 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2825 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2827 * emacs-lisp/timer.el (timer--time-setter): New function.
2828 (timer--time): Use it as gv-setter.
2830 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2831 setter is not a symbol.
2833 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2835 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2836 if sending fails. This makes debugging easier.
2838 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2840 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2841 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2842 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2844 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2846 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2848 2013-08-12 Glenn Morris <rgm@gnu.org>
2850 * format.el (format-annotate-function):
2851 Handle read-only text properties in the source. (Bug#14887)
2853 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2855 * net/eww.el (eww-display-html): Ignore coding system errors.
2856 One web site uses "utf-8lias" as the coding system.
2858 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2860 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2862 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2864 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2865 (tutorial--detailed-help): Remove unused local variables.
2866 (tutorial--save-tutorial-to): Use ignore-errors.
2867 (help-with-tutorial): Use looking-at-p.
2869 * view.el (view-buffer-other-window, view-buffer-other-frame):
2870 Mark unused arguments.
2872 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2873 (woman-select-symbol-fonts, woman, woman-find-file)
2874 (woman-insert-file-contents, woman-non-underline-faces):
2876 (woman1-unquote): Move declaration.
2878 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2879 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2880 argument. Remove unused local variable.
2881 (xml-parse-elem-type): Use string-match-p.
2882 (xml-substitute-numeric-entities): Use ignore-errors.
2884 * calculator.el (calculator): Mark unused argument.
2885 (calculator-paste, calculator-quit, calculator-integer-p):
2887 (calculator-string-to-number, calculator-decimal, calculator-exp)
2888 (calculator-op-or-exp): Use string-match-p.
2890 * dired.el (dired-buffer-more-recently-used-p): Declare.
2891 (dired-insert-set-properties, dired-insert-old-subdirs):
2894 * dired-aux.el (dired-compress): Use ignore-errors.
2895 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2896 (dired-do-async-shell-command, dired-do-shell-command)
2897 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2898 (dired-insert-subdir-validate): Use string-match-p.
2899 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2900 (dired-add-entry): Use string-match-p, looking-at-p.
2901 (dired-insert-subdir-newpos): Remove unused local variable.
2903 * filenotify.el (file-notify-callback): Remove unused local variable.
2905 * filesets.el (filesets-error): Mark unused argument.
2906 (filesets-which-command-p, filesets-filter-dir-names)
2907 (filesets-directory-files, filesets-get-external-viewer)
2908 (filesets-ingroup-get-data): Use string-match-p.
2910 * find-file.el (ff-other-file-name, ff-other-file-name)
2911 (ff-find-the-other-file, ff-cc-hh-converter):
2912 Remove unused local variables.
2913 (ff-get-file-name): Use string-match-p.
2914 (ff-all-dirs-under): Use ignore-errors.
2916 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2917 (follow-select-if-visible): Remove unused local variable.
2919 * forms.el (read-file-filter): Move declaration.
2920 (forms--make-format, forms--make-parser, forms-insert-record):
2921 Quote function with #'.
2922 (forms--update): Use string-match-p. Quote function with #'.
2924 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2925 (help-make-xrefs): Use looking-at-p.
2926 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2928 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2929 (ibuffer-confirm-operation-on): Use string-match-p.
2931 * msb.el (msb-item-handler, msb-dired-item-handler):
2932 Mark unused arguments.
2934 * ses.el (ses-decode-cell-symbol)
2935 (ses-kill-override): Remove unused local variable.
2936 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2937 (ses-load): Use ignore-errors, looking-at-p.
2938 (ses-jump-safe): Use ignore-errors.
2939 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2941 * tabify.el (untabify, tabify): Mark unused arguments.
2943 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2944 Mark unused argument.
2945 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2946 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2948 * emacs-lisp/timer.el (timer--time): Define setter with
2949 gv-define-setter to avoid deprecation warning.
2951 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2952 (*record-cmpl-statistics-p*): Remove (was commented out).
2953 (cmpl-statistics-block): Remove (body was commented out).
2954 All callers changed.
2955 (add-completions-from-buffer, load-completions-from-file):
2956 Remove unused variables.
2958 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2960 * filecache.el (file-cache-delete-file-list):
2961 Print message only when told so.
2962 (file-cache-files-matching): Use #' in mapconcat argument.
2964 * ffap.el (ffap-url-at-point): Fix reference to variable
2965 thing-at-point-default-mail-uri-scheme.
2967 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2969 * subr.el (define-error): New function.
2970 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2971 error-file-not-found and define with define-error.
2972 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2973 and define with define-error.
2974 * userlock.el (file-locked, file-supersession):
2975 * simple.el (mark-inactive):
2976 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2977 * progmodes/ada-mode.el (ada-mode-errors):
2978 * play/life.el (life-extinct):
2979 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2980 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2981 * nxml/rng-util.el (rng-error):
2982 * nxml/rng-uri.el (rng-uri-error):
2983 * nxml/rng-match.el (rng-compile-error):
2984 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2985 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2986 * nxml/nxml-rap.el (nxml-scan-error):
2987 * nxml/nxml-outln.el (nxml-outline-error):
2988 * net/soap-client.el (soap-error):
2989 * net/gnutls.el (gnutls-error):
2990 * net/ange-ftp.el (ftp-error):
2991 * mpc.el (mpc-proc-error):
2992 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2993 (json-number-format, json-string-escape, json-string-format)
2994 (json-key-format, json-object-format):
2995 * jka-compr.el (compression-error):
2996 * international/quail.el (quail-error):
2997 * international/kkc.el (kkc-error):
2998 * emacs-lisp/ert.el (ert-test-failed):
2999 * calc/calc.el (calc-error, inexact-result, math-overflow)
3001 * bookmark.el (bookmark-error-no-filename):
3002 * epg.el (epg-error): Define with define-error.
3004 * time.el (display-time-event-handler)
3005 (display-time-next-load-average): Don't call sit-for since it seems
3006 unnecessary (bug#15045).
3008 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3009 Use #' instead of ' to quote functions.
3010 (checkdoc-output-mode): Use setq-local.
3011 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3012 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3013 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3014 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3015 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3016 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3017 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3018 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3020 * ido.el (ido-completion-help): Fix up compiler warning.
3022 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3024 * frameset.el (frameset-p): Add autoload cookie.
3025 (frameset--jump-to-register): New function, based on code moved from
3027 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3029 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3030 (frameset-restore, frameset-save, frameset-session-filter-alist):
3031 Remove declarations.
3032 (register-alist): Doc fix.
3033 (frameset-to-register): Move to frameset.el.
3034 (jump-to-register, describe-register-1): Remove frameset-specific code.
3036 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3038 * allout-widgets.el (allout-widgets-pre-command-business)
3039 (allout-widgets-post-command-business)
3040 (allout-widgets-after-change-handler)
3041 (allout-decorate-item-and-context, allout-set-boundary-marker)
3042 (allout-body-modification-handler)
3043 (allout-graphics-modification-handler): Mark ignored arguments.
3044 (allout-widgets-post-command-business)
3045 (allout-widgets-exposure-change-processor)
3046 (allout-widgets-exposure-undo-processor)
3047 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3048 (allout-parse-item-at-point, allout-decorate-item-guides)
3049 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3050 * allout.el (epa-passphrase-callback-function): Declare.
3051 (allout-overlay-insert-in-front-handler)
3052 (allout-overlay-interior-modification-handler)
3053 (allout-isearch-end-handler, allout-chart-siblings)
3054 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3055 (allout-yank-processing, allout-process-exposed)
3056 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3057 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3058 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3059 (lisp-indent-defform): Mark ignored arguments.
3060 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3061 (calculate-lisp-indent): Remove unused variables.
3062 * international/characters.el (indian-2-column, arabic-2-column)
3063 (tibetan): Mark ignored arguments.
3064 (use-cjk-char-width-table): Mark ignored arguments.
3065 Remove unused variables.
3066 * international/fontset.el (build-default-fontset-data)
3067 (x-compose-font-name, create-fontset-from-fontset-spec):
3068 Mark ignored arguments.
3069 (fontset-plain-name): Remove unused variables.
3070 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3071 (keyboard-coding-system): Mark ignored arguments.
3072 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3073 * help.el (resize-temp-buffer-window):
3074 * window.el (display-buffer-in-major-side-window)
3075 (display-buffer-in-side-window, display-buffer-in-previous-window):
3076 Remove unused variables.
3077 * isearch.el (isearch-forward-symbol):
3078 * version.el (emacs-bzr-version-bzr):
3079 * international/mule-cmds.el (current-language-environment):
3080 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3082 * term/pc-win.el (x-list-fonts, x-display-planes)
3083 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3084 (x-server-version, x-display-screens, x-display-mm-height)
3085 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3086 (x-selection-owner-p, x-own-selection-internal)
3087 (x-disown-selection-internal, x-get-selection-internal)
3088 (msdos-initialize-window-system):
3089 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3090 * term/x-win.el (x-handle-no-bitmap-icon):
3091 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3092 (vc-default-find-file-hook, vc-default-extra-menu):
3093 Mark ignored arguments.
3095 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3097 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3098 break-condition in the context of the debugged code (bug#12685).
3100 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3103 Do not use an overlay to highlight the last prompt. (Bug#14744)
3104 (comint-mode): Make comint-last-prompt buffer local.
3105 (comint-last-prompt): New variable.
3106 (comint-last-prompt-overlay): Remove. Superseded by
3108 (comint-snapshot-last-prompt, comint-output-filter):
3109 Use comint-last-prompt.
3111 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3113 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3114 (frameset-save): Check validity of the resulting frameset.
3116 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3118 * ido.el (ido-record-command): Add doc string.
3120 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3122 * frameset.el (frameset): Do not disable creation of the default
3123 frameset-p predicate. Doc fix.
3124 (frameset-valid-p): New function, copied from the old predicate-p.
3125 Add additional checks.
3126 (frameset-restore): Check with frameset-valid-p.
3127 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3128 (frameset-name, frameset-description, frameset-properties)
3129 (frameset-states): Add docstring.
3130 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3131 (frameset-filter-alist): Doc fixes.
3133 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3135 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3137 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3139 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3140 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3141 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3142 (byte-compile-normal-call): Remove obsolescence check.
3144 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3146 * frameset.el (frameset-restore): Doc fix.
3148 * register.el (frameset-frame-id, frameset-frame-with-id)
3149 (frameset-p, frameset-restore, frameset-save): Declare.
3150 (register-alist): Document framesets.
3151 (frameset-session-filter-alist): Declare.
3152 (frameset-to-register): New function.
3153 (jump-to-register): Implement jumping to framesets. Doc fix.
3154 (describe-register-1): Describe framesets.
3156 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3158 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3160 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3161 Use lexical-binding.
3163 * frameset.el (frameset): Use type vector, not list (incompatible
3164 change). Do not declare a new constructor, use the default one.
3165 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3166 `name' and `description', respectively, and add read-only slot
3167 `timestamp'. Doc fixes.
3168 (frameset-copy, frameset-persistent-filter-alist)
3169 (frameset-filter-alist, frameset-switch-to-gui-p)
3170 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3171 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3172 (frameset-filter-iconified, frameset-keep-original-display-p):
3174 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3175 Rename from frameset-filter-(save|restore)-param. All callers changed.
3177 (frameset-p): Adapt to change to vector and be more thorough.
3178 Change arg name to OBJECT. Doc fix.
3179 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3180 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3181 All callers changed.
3182 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3183 All callers changed.
3184 (frameset--record-minibuffer-relationships): Rename from
3185 frameset--process-minibuffer-frames. All callers changed.
3186 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3187 Use new default constructor (again). Doc fix.
3188 (frameset--find-frame-if): Rename from `frameset--find-frame.
3189 All callers changed.
3190 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3191 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3193 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3194 PARAMETERS and WINDOW-STATE, respectively.
3195 (frameset-restore): Add new keyword argument PREDICATE.
3196 Reset frameset--target-display to nil. Doc fix.
3198 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3200 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3202 (bat-mode-syntax-table): Mark \n as end-of-comment.
3203 (bat-font-lock-keywords): Remove comment rule.
3205 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3206 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3208 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3209 (byte-compile-callargs-warn): Use `push'.
3210 (byte-compile-arglist-warn): Ignore higher-order "calls".
3211 (byte-compile-file-form-autoload): Use `pcase'.
3212 (byte-compile-function-form): If quoting a symbol, check that it exists.
3214 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3216 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3217 and add a few popular commands found in batch files.
3218 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3219 (dos-mode): Doc fixes.
3221 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3223 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3224 (dos-mode): Use setq-local. Add space after "rem".
3225 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3226 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3228 2013-08-07 Arni Magnusson <arnima@hafro.is>
3230 * progmodes/dos.el: New file.
3231 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3234 2013-08-06 Glenn Morris <rgm@gnu.org>
3236 * calendar/calendar.el: Add new faces, and day-header-array.
3237 (calendar-weekday-header, calendar-weekend-header)
3238 (calendar-month-header): New faces.
3239 (calendar-day-header-construct): New function.
3240 (calendar-day-header-width): Also :set calendar-day-header-array.
3241 (calendar-american-month-header, calendar-european-month-header)
3242 (calendar-iso-month-header): Use calendar- faces.
3243 (calendar-generate-month):
3244 Use calendar-day-header-array for day headers; apply faces to them.
3245 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3246 (calendar-abbrev-construct): Add optional maxlen argument.
3247 (calendar-day-name-array): Doc fix.
3248 (calendar-day-name-array, calendar-abbrev-length)
3249 (calendar-day-abbrev-array):
3250 Also :set calendar-day-header-array, and maybe redraw.
3251 (calendar-day-header-array): New option. (Bug#15007)
3252 (calendar-font-lock-keywords): Set to nil and make obsolete.
3253 (calendar-day-name): Add option to use header array.
3255 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3257 * net/shr.el (shr-render-td): Remove debugging.
3258 (shr-render-td): Make width computation consistent by defaulting
3259 all zero-width columns to 10 characters. This may not be optimal,
3260 but it's at least consistent.
3261 (shr-make-table-1): Redo last change to fix the real problem in
3264 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3266 * files.el (cache-long-line-scans):
3267 Make obsolete alias to `cache-long-scans'.
3269 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3271 * frameset.el (frameset, frameset-filter-alist)
3272 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3273 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3274 (frameset-compute-pos): Rename from frameset--compute-pos,
3276 (frameset-move-onscreen): Use frameset-compute-pos.
3277 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3279 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3280 Fix typos in docstrings.
3282 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3284 * frame.el (get-other-frame): Tiny cleanup.
3286 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3288 * vc/vc.el (vc-default-ignore-completion-table):
3289 Silence byte-compiler warning.
3291 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3292 slot , which can indeed be nil.
3293 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3294 Move entry for `left' from persistent to live filter alist.
3295 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3297 (frameset-filter-params): When restoring a frame, copy items added to
3298 `filtered', to avoid unwittingly modifying the original parameters.
3299 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3300 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3302 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3303 to use looking-at-p instead of looking-at. (Bug#15028)
3305 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3307 Revert introduction of isearch-filter-predicates (bug#14714).
3308 Rely on add-function instead.
3309 * isearch.el (isearch-filter-predicates): Rename it back to
3310 isearch-filter-predicate.
3311 (isearch-message-prefix): Use advice-function-mapc and advice
3312 properties to get the isearch-message-prefix.
3313 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3314 instead of run-hook-with-args-until-failure.
3315 (isearch-filter-visible): Not obsolete any more.
3316 * loadup.el: Preload nadvice.
3317 * replace.el (perform-replace): Revert to funcall
3318 instead of run-hook-with-args-until-failure.
3319 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3320 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3321 dired-isearch-filenames-toggle; make it into a proper minor mode.
3322 Use add/remove-function.
3323 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3324 Call the minor-mode rather than add/remove-hook.
3325 (dired-isearch-filter-filenames):
3326 Remove isearch-message-prefix property.
3327 * info.el (Info--search-loop): New function, extracted from Info-search.
3328 Funcall isearch-filter-predicate instead of
3329 run-hook-with-args-until-failure isearch-filter-predicates.
3330 (Info-search): Use it.
3331 (Info-mode): Use isearch-filter-predicate instead of
3332 isearch-filter-predicates.
3334 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3336 Do not call to `selected-window' where it is assumed by default.
3337 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3338 `window-hscroll', `window-width', `window-height', `window-buffer',
3339 `window-frame', `window-start', `window-point', `next-window'
3340 and `window-display-table'.
3341 * abbrev.el (abbrev--default-expand):
3342 * bs.el (bs--show-with-configuration):
3343 * buff-menu.el (Buffer-menu-mouse-select):
3344 * calc/calc.el (calc):
3345 * calendar/calendar.el (calendar-generate-window):
3346 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3348 * comint.el (send-invisible, comint-dynamic-complete-filename)
3349 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3350 * completion.el (complete):
3351 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3352 * disp-table.el (describe-current-display-table):
3353 * doc-view.el (doc-view-insert-image):
3354 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3355 * ehelp.el (with-electric-help):
3356 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3357 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3358 * emacs-lisp/helper.el (Helper-help-scroller):
3359 * emulation/cua-base.el (cua--post-command-handler-1):
3360 * eshell/esh-mode.el (eshell-output-filter):
3361 * ffap.el (ffap-gnus-wrapper):
3362 * help-macro.el (make-help-screen):
3363 * hilit-chg.el (highlight-compare-buffers):
3364 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3365 * hl-line.el (global-hl-line-highlight):
3366 * icomplete.el (icomplete-simple-completing-p):
3367 * isearch.el (isearch-done):
3368 * jit-lock.el (jit-lock-stealth-fontify):
3369 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3370 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3371 * mpc.el (mpc-tagbrowser, mpc):
3372 * net/rcirc.el (rcirc-any-buffer):
3373 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3374 * play/landmark.el (landmark-max-width, landmark-max-height):
3375 * play/zone.el (zone):
3376 * progmodes/compile.el (compilation-goto-locus):
3377 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3378 * progmodes/etags.el (find-tag-other-window):
3379 * progmodes/fortran.el (fortran-column-ruler):
3380 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3381 * progmodes/verilog-mode.el (verilog-point-text):
3382 * reposition.el (reposition-window):
3383 * rot13.el (toggle-rot13-mode):
3384 * server.el (server-switch-buffer):
3385 * shell.el (shell-dynamic-complete-command)
3386 (shell-dynamic-complete-environment-variable):
3387 * simple.el (insert-buffer, set-selective-display)
3388 (delete-completion-window):
3389 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3390 (speedbar-recenter):
3391 * startup.el (fancy-splash-head):
3392 * textmodes/ispell.el (ispell-command-loop):
3393 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3394 * tutorial.el (help-with-tutorial):
3395 * vc/add-log.el (add-change-log-entry):
3396 * vc/compare-w.el (compare-windows):
3397 * vc/ediff-help.el (ediff-indent-help-message):
3398 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3399 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3400 (ediff-setup-control-frame):
3401 * vc/emerge.el (emerge-position-region):
3402 * vc/pcvs-util.el (cvs-bury-buffer):
3403 * window.el (walk-windows, mouse-autoselect-window-select):
3404 * winner.el (winner-set-conf, winner-undo): Related users changed.
3406 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3408 * frameset.el (frameset--set-id): Doc fix.
3409 (frameset-frame-id, frameset-frame-id-equal-p)
3410 (frameset-locate-frame-id): New functions.
3411 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3412 (frameset-restore): Use them.
3414 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3416 Do not call to `selected-frame' where it is assumed by default.
3417 Affected functions are `raise-frame', `redraw-frame',
3418 `frame-first-window', `frame-terminal' and `delete-frame'.
3419 * calendar/appt.el (appt-disp-window):
3420 * epg.el (epg-wait-for-completion):
3421 * follow.el (follow-delete-other-windows-and-split)
3422 (follow-avoid-tail-recenter):
3423 * international/mule.el (set-terminal-coding-system):
3424 * mail/rmail.el (rmail-mail-return):
3425 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3426 * progmodes/f90.el (f90-add-imenu-menu):
3427 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3428 * server.el (server-switch-buffer):
3429 * simple.el (delete-completion-window):
3431 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3432 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3433 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3434 * vc/ediff.el (ediff-documentation): Related users changed.
3435 * frame.el (selected-terminal): Remove the leftover.
3437 2013-08-05 Glenn Morris <rgm@gnu.org>
3439 * calendar/calendar.el (calendar-generate-month):
3440 Fix for calendar-column-width != 1 + calendar-day-digit-width.
3441 (calendar-generate-month, calendar-font-lock-keywords):
3442 Fix for calendar-day-header-width > length of any day name.
3444 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3446 * desktop.el (desktop-clear): Use new name of sort predicate.
3448 * frameset.el (frameset): Add docstring. Move :version property to its
3450 (frameset-copy): Rename from copy-frameset.
3451 (frameset-p): Check more thoroughly.
3452 (frameset-prop): Do not check for :version, which is no longer a prop.
3453 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3454 Use new :never value instead of t.
3455 (frameset-filter-alist): Expand and clarify docstring.
3456 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3457 (frameset-filter-minibuffer, frameset-filter-save-param)
3458 (frameset-filter-restore-param, frameset-filter-iconified):
3459 Add pointer to docstring of frameset-filter-alist.
3460 (frameset-filter-params): Rename filter values to be more meaningful:
3461 :never instead of t, and reverse the meanings of :save and :restore.
3462 (frameset--process-minibuffer-frames): Clarify error message.
3463 (frameset-save): Avoid unnecessary and confusing call to framep.
3464 Use new BOA constructor for framesets.
3465 (frameset--reuse-list): Doc fix.
3466 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3467 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3468 (frameset-minibufferless-first-p): Doc fix.
3469 Rename from frameset-sort-frames-for-deletion.
3470 (frameset-restore): Doc fixes. Use new function names.
3471 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3473 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3475 * desktop.el (desktop-restore-forces-onscreen)
3476 (desktop-restore-reuses-frames): Document :keyword constant values.
3477 (desktop-filter-parameters-alist): Remove, now identical to
3478 frameset-filter-alist.
3479 (desktop--filter-tty*): Remove, moved to frameset.el.
3480 (desktop-save-frameset, desktop-restore-frameset):
3481 Do not pass :filters argument.
3483 * frameset.el (frameset-live-filter-alist)
3484 (frameset-persistent-filter-alist): New variables.
3485 (frameset-filter-alist): Use them. Add autoload cookie.
3486 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3487 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3488 `frameset--id' (it's supposed to be internal to frameset.el).
3489 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3490 (frameset--initial-params): New function.
3491 (frameset--get-frame): Use it. Doc fix.
3492 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3493 Accept :all, not 'all.
3494 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3495 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3496 with fbound symbols. Fix frame id matching, and remove matching ids if
3497 the frame being restored is deleted. Obey :delete.
3499 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3501 * subr.el (macrop): New function.
3502 (text-clone--maintaining): New var.
3503 (text-clone--maintain): Rename from text-clone-maintain. Use it
3504 instead of inhibit-modification-hooks.
3506 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3507 a proxy, so as handle autoloads and redefinitions of the target.
3508 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3510 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3511 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3512 (pcase--mutually-exclusive-p): New function.
3513 (pcase--split-consp): Use it.
3514 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3515 mutually exclusive with the current predicate.
3517 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3518 (edebug-macrop): Remove. Use `macrop' instead.
3519 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3521 * eshell/esh-cmd.el (eshell-macrop):
3522 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3524 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3526 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3527 (advice-mapc): New function, using it.
3528 (advice-function-member-p): New function.
3529 (advice--normalize): Store the cdr in advice--saved-rewrite since
3530 that's the part that will be changed.
3531 (advice--symbol-function): New function.
3532 (advice-remove): Handle removal before the function is defined.
3533 Adjust to new advice--saved-rewrite.
3534 (advice-member-p): Use advice-function-member-p and
3535 advice--symbol-function.
3537 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3539 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3540 (frameset-filter-minibuffer): Doc fix.
3541 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
3542 (frameset--set-id, frameset--process-minibuffer-frames)
3543 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3544 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3546 * desktop.el (desktop-clear): Only delete frames when called
3547 interactively and desktop-restore-frames is non-nil. Doc fix.
3548 (desktop-read): Set desktop-saved-frameset to nil.
3550 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3552 * vc/vc.el (vc-ignore): Rewrite.
3553 (vc-default-ignore-completion-table):
3555 (vc--add-line, vc--remove-regexp): New functions.
3557 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3558 (vc-svn-ignore-completion-table): New function.
3560 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3561 (vc-hg-ignore-completion-table):
3562 (vc-hg-find-ignore-file): New functions.
3564 * vc/vc-git.el (vc-git-ignore): Rewrite.
3565 (vc-git-ignore-completion-table):
3566 (vc-git-find-ignore-file): New functions.
3568 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3570 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3571 (vc-bzr-ignore-completion-table):
3572 (vc-bzr-find-ignore-file): New functions.
3574 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
3576 * frameset.el (frameset-prop): New function and setter.
3577 (frameset-save): Do not modify frame list passed by the caller.
3579 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3581 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3583 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3585 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3586 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3588 * custom.el (custom-initialize-default, custom-initialize-set)
3589 (custom-initialize-reset, custom-initialize-changed): Affect the
3590 toplevel-default-value (bug#6275, bug#14586).
3591 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3594 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3596 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3597 Add cl-def* expressions.
3599 * frameset.el (frameset-filter-params): Fix order of arguments.
3601 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3603 Move code related to saving frames to frameset.el.
3604 * desktop.el: Require frameset.
3605 (desktop-restore-frames): Doc fix.
3606 (desktop-restore-reuses-frames): Rename from
3607 desktop-restoring-reuses-frames.
3608 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3609 (desktop-clear): Clear frames too.
3610 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3611 (desktop--filter-tty*, desktop-save, desktop-read):
3612 Use frameset functions.
3613 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3614 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3615 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3616 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3617 (desktop--process-minibuffer-frames, desktop-save-frames)
3618 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3619 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3620 (desktop--sort-states, desktop-restoring-frames-p)
3621 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3622 (desktop-restoring-frameset-p, desktop-restore-frameset)
3623 (desktop--check-dont-save, desktop-save-frameset): New functions.
3624 (desktop--app-id): New constant.
3625 (desktop-first-buffer, desktop-buffer-ok-count)
3626 (desktop-buffer-fail-count): Move before first use.
3627 * frameset.el: New file.
3629 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3631 * files.el: Use lexical-binding.
3632 (dir-locals-read-from-file): Remove unused `err' variable.
3633 (hack-dir-local-variables--warned-coding): New var.
3634 (hack-dir-local-variables): Use it to avoid repeated warnings.
3635 (make-backup-file-name--default-function): New function.
3636 (make-backup-file-name-function): Use it as default.
3637 (buffer-stale--default-function): New function.
3638 (buffer-stale-function): Use it as default.
3639 (revert-buffer-insert-file-contents--default-function): New function.
3640 (revert-buffer-insert-file-contents-function): Use it as default.
3641 (insert-directory): Avoid add-to-list.
3643 * autorevert.el (auto-revert-handler): Simplify.
3644 Use buffer-stale--default-function.
3646 2013-08-01 Tassilo Horn <tsdh@gnu.org>
3648 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3650 * whitespace.el (whitespace-ensure-local-variables): New function.
3651 (whitespace-cleanup-region): Call it.
3652 (whitespace-turn-on): Call it.
3654 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
3656 Complete file name handlers.
3658 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3659 (tramp-handle-verify-visited-file-modtime)
3660 (tramp-handle-file-notify-rm-watch): New functions.
3661 (tramp-call-process): Do not bind `default-directory'.
3663 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3664 Order alphabetically.
3665 [access-file, add-name-to-file, dired-call-process]:
3666 [dired-compress-file, file-acl, file-notify-rm-watch]:
3667 [file-ownership-preserved-p, file-selinux-context]:
3668 [make-directory-internal, make-symbolic-link, set-file-acl]:
3669 [set-file-selinux-context, set-visited-file-modtime]:
3670 [verify-visited-file-modtime]: Add handler.
3671 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3673 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3674 [file-notify-add-watch, file-notify-rm-watch]:
3675 [set-file-times, set-visited-file-modtime]:
3676 [verify-visited-file-modtime]: Add handler.
3677 (with-tramp-gvfs-error-message)
3678 (tramp-gvfs-handle-set-visited-file-modtime)
3679 (tramp-gvfs-fuse-file-name): Remove.
3680 (tramp-gvfs-handle-file-notify-add-watch)
3681 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3682 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3684 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3685 Order alphabetically.
3686 [file-notify-rm-watch ]: Use default Tramp handler.
3687 [executable-find]: Remove private handler.
3688 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3689 `default-directory'.
3690 (tramp-sh-handle-executable-find)
3691 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3692 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3693 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3694 Do not use `format' in `tramp-message'.
3696 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3697 [file-notify-rm-watch, set-visited-file-modtime]:
3698 [verify-visited-file-modtime]: Add handler.
3699 (tramp-smb-call-winexe): Do not bind `default-directory'.
3701 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3703 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3705 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3707 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3709 (log-view-diff-changeset): Same.
3710 (log-view-diff-common): Call backend command `previous-revision'
3711 to find out the previous revision, in both cases. Swap the
3712 variables `to' and `fr', so that `fr' usually refers to the
3713 earlier revision (Bug#14989).
3715 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
3717 * ibuf-ext.el (ibuffer-filter-by-filename):
3718 Make it work with dired buffers too.
3720 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3722 * emacs-lisp/re-builder.el (reb-color-display-p):
3723 * files.el (save-buffers-kill-terminal):
3724 * net/browse-url.el (browse-url):
3725 * server.el (server-save-buffers-kill-terminal):
3726 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3727 Prefer nil to selected-frame for the first arg of frame-parameter.
3729 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3731 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3733 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
3735 * minibuffer.el (completion--twq-all): Try and preserve each
3736 completion's case choice (bug#14907).
3738 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3740 * net/network-stream.el (open-network-stream): Mention the new
3741 :nogreeting parameter.
3742 (network-stream-open-starttls): Use the :nogreeting parameter
3745 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3747 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3748 more natural than popping.
3750 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3751 (shr-urlify): Highlight under mouse.
3753 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3755 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3757 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3759 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3762 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3763 point-min==1. Fix search string. Fix parentheses missing.
3765 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3766 assume point-min==1. Fix search string. Fix parentheses missing.
3768 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3770 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3773 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3775 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3776 initial frame is minibuffer-less. (Bug#14841)
3778 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3780 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3783 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3784 (tramp-maybe-open-connection): Use it.
3786 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3788 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3789 minimal set of parameters passed when creating a frame, because
3790 the minibuffer status of a frame cannot be changed later.
3792 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3794 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3795 replace-regexp-in-string and inadvertent omissions in previous change.
3796 (todo-filter-items): Ensure only file names are comma-separated in
3797 name of filtered items buffer.
3799 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3801 * desktop.el: Optionally force offscreen frames back onscreen.
3802 (desktop-restoring-reuses-frames): New option.
3803 (desktop--compute-pos, desktop--move-onscreen): New functions.
3804 (desktop--make-frame): Use desktop--move-onscreen.
3806 2013-07-27 Alan Mackenzie <acm@muc.de>
3808 Fontify a Java generic method as a function.
3809 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3812 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3814 * calendar/todo-mode.el: Add command to rename todo files.
3815 (todo-rename-file): New command.
3816 (todo-key-bindings-t): Add key binding for it. Change the
3817 bindings of todo-filter-regexp-items(-multifile) to use `x'
3818 instead of `r', since the latter is better suited to the new
3821 2013-07-27 Alan Mackenzie <acm@muc.de>
3823 Make Java try-with-resources statement parse properly.
3824 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3825 (c-block-stmt-1-2-key): New language constants/variables.
3826 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3827 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3828 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3829 with c-block-stmt-1-2-key.
3831 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3833 * desktop.el (desktop--make-frame): Apply most frame parameters after
3834 creating the frame to force (partially or totally) offscreen frames to
3835 be restored as such.
3837 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3839 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3842 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3844 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3845 `base' arg of backtrace-frame.
3847 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3849 * simple.el (list-processes): Doc fix.
3851 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3853 * desktop.el (desktop--select-frame):
3854 Try harder to reuse existing frames.
3856 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3858 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3859 (edebug-eval): Use backtrace-eval.
3860 (edebug--display, edebug--recursive-edit): Don't let-bind the
3861 edebug-outer-* vars that keep track of variables we locally let-bind.
3862 (edebug-outside-excursion): Don't restore outside values of locally
3864 (edebug--display): Use user-error.
3865 (cl-lexical-debug, cl-debug-env): Remove.
3867 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3869 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3870 are restored to be sure that they are visible before deleting any
3873 2013-07-26 Matthias Meulien <orontee@gmail.com>
3875 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3876 vc-print-root-log. (Bug#14948)
3878 2013-07-26 Richard Stallman <rms@gnu.org>
3880 Add aliases for encrypting mail.
3881 * epa.el (epa-mail-aliases): New option.
3882 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3883 Bind inhibit-read-only so read-only text doesn't ruin everything.
3884 (epa-mail-default-recipients): New subroutine broken out.
3885 Handle epa-mail-aliases.
3887 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3889 Add support for lexical variables to the debugger's `e' command.
3890 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3891 vars, except for debugger-outer-match-data.
3892 (debugger-frame-number): Move check for "on a function call" from
3893 callers into it. Add `skip-base' argument.
3894 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3895 (debugger-env-macro): Only reset the state stored in non-variables,
3896 i.e. current-buffer and match-data.
3897 (debugger-eval-expression): Rewrite using backtrace-eval.
3898 * subr.el (internal--called-interactively-p--get-frame): Remove.
3899 (called-interactively-p):
3900 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3901 `base' arg of backtrace-frame instead.
3903 2013-07-26 Glenn Morris <rgm@gnu.org>
3905 * align.el (align-regexp): Doc fix. (Bug#14857)
3906 (align-region): Explicit error if subexpression missing/does not match.
3908 * simple.el (global-visual-line-mode):
3909 Do not duplicate the mode lighter. (Bug#14858)
3911 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3913 * window.el (display-buffer): In display-buffer bind
3914 split-window-keep-point to t, bug#14829.
3916 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3918 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3919 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3920 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3921 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3923 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3924 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3926 2013-07-25 Glenn Morris <rgm@gnu.org>
3928 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3930 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3932 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3933 parameter to modify-frame-parameters if the value has not changed;
3934 this is a workaround for bug#14949.
3935 (desktop--make-frame): On cl-delete-if call, check parameter name,
3938 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3940 * vc/vc.el (vc-ignore): New function.
3942 * vc/vc-svn.el (vc-svn-ignore): New function.
3944 * vc/vc-hg.el (vc-hg-ignore): New function.
3946 * vc/vc-git.el (vc-git-ignore): New function.
3948 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3949 (vc-dir-ignore): New function.
3951 * vc/vc-cvs.el (vc-cvs-ignore): New function.
3952 (cvs-append-to-ignore): Move here from pcvs.el.
3954 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3956 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3958 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
3960 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3961 (desktop-restore-frames): Warn when deleting an existing frame failed.
3963 2013-07-24 Glenn Morris <rgm@gnu.org>
3965 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3967 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
3969 * filenotify.el (file-notify-supported-p):
3970 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3973 * autorevert.el (auto-revert-use-notify):
3974 (auto-revert-notify-add-watch):
3975 * net/tramp.el (tramp-file-name-for-operation):
3976 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3977 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3978 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3979 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3980 Remove `file-notify-supported-p' entry.
3982 2013-07-24 Glenn Morris <rgm@gnu.org>
3984 * printing.el: Replace all uses of deleted ps-windows-system,
3985 ps-lp-system, ps-flatten-list with lpr- versions.
3987 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3989 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3990 checked with memq (bug#14935).
3992 * files.el (revert-buffer-function): Use a non-nil default.
3993 (revert-buffer-preserve-modes): Declare var to
3994 provide access to the `preserve-modes' argument.
3995 (revert-buffer): Let-bind it.
3996 (revert-buffer--default): New function, extracted from revert-buffer.
3998 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4000 * lpr.el: Signal print errors more prominently.
4001 (print-region-function): Don't default to nil.
4002 (lpr-print-region): New function, extracted from print-region-1.
4003 Check lpr's return value and signal an error in case of problem.
4004 (print-region-1): Use it.
4005 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4007 (ps-printer-name): Default to nil.
4008 (ps-printer-name-option): Default to lpr-printer-switch.
4009 (ps-print-region-function): Don't default to nil.
4010 (ps-postscript-code-directory): Simplify default.
4011 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4012 (ps-string-list, ps-eval-switch, ps-flatten-list)
4013 (ps-flatten-list-1): Remove.
4014 (ps-multibyte-buffer): Avoid setq.
4015 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4016 (print-region-function, ps-print-region-function): Don't set them here.
4018 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4020 * ido.el (ido-fractionp):
4021 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4022 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4023 (ido-max-directory-size, ido-max-dir-file-cache)
4024 (ido-decorations): Doc fix.
4026 * ansi-color.el: Fix old URL.
4028 2013-07-23 Michael R. Mauger <michael@mauger.com>
4030 * progmodes/sql.el: Version 3.3
4031 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4032 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4033 (sql-interactive-remove-continuation-prompt): Rewrite, use
4034 functions above. Fix continuation prompt and complete output line
4036 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4037 redirected output buffer.
4038 (sql-mode): Restore deleted code (Bug#13591).
4040 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4042 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4044 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4046 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4048 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4049 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4050 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4052 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4054 * desktop.el (desktop-clear): Simplify; remove useless checks
4055 against invalid buffer names.
4056 (desktop-list*): Use cl-list*.
4057 (desktop-buffer-info, desktop-create-buffer): Simplify.
4059 2013-07-23 Leo Liu <sdl.web@gmail.com>
4061 * bookmark.el (bookmark-make-record): Restore NAME as a default
4064 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4066 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4067 extracted from autoload--insert-text.
4068 (autoload--insert-text): Remove.
4069 (autoload--print-cookie-text): New function, extracted from
4070 autoload--insert-cookie-text.
4071 (autoload--insert-cookie-text): Remove.
4072 (autoload-generate-file-autoloads): Adjust calls accordingly.
4074 * winner.el (winner-hook-installed-p): Remove.
4075 (winner-mode): Simplify accordingly.
4077 * subr.el (add-to-list): Fix compiler-macro when `append' is
4078 not constant. Don't use `cl-member' for the base case.
4080 * progmodes/subword.el: Fix boundary case (bug#13758).
4081 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4083 (subword-backward-regexp): Make it a constant.
4084 (subword-forward-internal): Don't treat a trailing capital as the
4085 beginning of a word.
4087 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4089 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4090 global value of tabulated-list-revert-hook (bug#14930).
4092 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4094 * desktop.el: Require 'cl-lib.
4095 (desktop-before-saving-frames-functions): New hook.
4096 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4097 for frames being saved. Rename from desktop--save-minibuffer-frames.
4098 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4099 Do not save frames with non-nil `desktop-dont-save' parameter.
4100 Filter out deleted frames.
4101 (desktop--find-frame): Use cl-find-if.
4102 (desktop--select-frame): Use cl-(first|second|third) to access values
4104 (desktop--make-frame): Use cl-delete-if.
4105 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4106 (desktop-restore-frames): Use cl-(first|second|third) to access values
4107 of desktop-mini. Look for visible frame at the end, not while
4110 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4111 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4112 Use string-match-p, looking-at-p (bug#14927).
4114 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4116 * desktop.el (desktop-saved-frame-states):
4117 Rename from desktop--saved-states; all users changed.
4118 (desktop-save-frames): Rename from desktop--save-frames.
4119 Do not save state to desktop file.
4120 (desktop-save): Save desktop-saved-frame-states to desktop file
4122 (desktop-restoring-frames-p): New function.
4123 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4124 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4125 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4127 * desktop.el: Correctly restore iconified frames.
4128 (desktop--filter-iconified-position): New function.
4129 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4131 2013-07-20 Glenn Morris <rgm@gnu.org>
4133 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4134 Let `message' do the formatting.
4135 (def-gdb-preempt-display-buffer): Add explicit format.
4137 * image-dired.el (image-dired-track-original-file):
4138 Use with-current-buffer.
4139 (image-dired-track-thumbnail): Use with-current-buffer.
4140 Avoid changing point of wrong window.
4142 * image-dired.el (image-dired-track-original-file):
4143 Avoid changing point of wrong window. (Bug#14909)
4145 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4147 * progmodes/gdb-mi.el (gdb-done-or-error):
4148 Guard against "%" in gdb output. (Bug#14127)
4150 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4152 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4155 * international/mule.el (coding-system-iso-2022-flags): Fix last
4158 2013-07-20 Kenichi Handa <handa@gnu.org>
4160 * international/mule.el (coding-system-iso-2022-flags):
4161 Add `8-bit-level-4'. (Bug#8522)
4163 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4165 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4168 * net/eww.el (eww-process-text-input): Allow inputting when the
4169 point is at the start of the line, as the properties aren't
4172 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4175 2013-07-19 Richard Stallman <rms@gnu.org>
4177 * epa.el (epa-popup-info-window): Doc fix.
4179 * subr.el (split-string): New arg TRIM.
4181 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4183 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4184 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4186 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4188 * filenotify.el (file-notify--library): Rename from
4189 `file-notify-support'. Do not autoload. Adapt all uses.
4190 (file-notify-supported-p): New defun.
4192 * autorevert.el (auto-revert-use-notify):
4193 Use `file-notify-supported-p' instead of `file-notify-support'.
4195 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4197 * net/tramp.el (tramp-file-name-for-operation):
4198 Add `file-notify-supported-p'.
4200 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4202 (tramp-sh-file-name-handler-alist): Add it as handler for
4203 `file-notify-supported-p '.
4205 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4206 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4207 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4208 Add `ignore' as handler for `file-notify-*' functions.
4210 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4212 * simple.el (line-move-partial, line-move): Don't start vscroll or
4213 scroll-up if the current line is not taller than the window.
4216 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4218 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4219 highlight question marks in the method names as strings.
4220 (ruby-block-beg-keywords): Inline.
4221 (ruby-font-lock-keyword-beg-re): Extract from
4222 `ruby-font-lock-keywords'.
4224 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4226 * frame.el (blink-cursor-blinks): New defcustom.
4227 (blink-cursor-blinks-done): New defvar.
4228 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4229 (blink-cursor-timer-function): Check if number of blinks has been
4231 (blink-cursor-suspend, blink-cursor-check): New defuns.
4233 2013-07-15 Glenn Morris <rgm@gnu.org>
4235 * edmacro.el (edmacro-format-keys): Fix previous change.
4237 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4239 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4240 The hack didn't work outside English locales anyway.
4242 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4244 * simple.el (define-alternatives): Rename from alternatives-define,
4245 per RMS' suggestion.
4247 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4249 * desktop.el (desktop-restore-frames): Change default to t.
4250 (desktop-restore-in-current-display): Now offer more options.
4251 (desktop-restoring-reuses-frames): New customization option.
4252 (desktop--saved-states): Doc fix.
4253 (desktop-filter-parameters-alist): New variable, renamed and expanded
4254 from desktop--excluded-frame-parameters.
4255 (desktop--target-display): New variable.
4256 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4257 (desktop--filter-tty*, desktop--filter-*-color)
4258 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4259 (desktop--filter-save-desktop-parm)
4260 (desktop-restore-in-original-display-p): New functions.
4261 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4262 (desktop--save-minibuffer-frames): New function, inspired by a similar
4263 function from Martin Rudalics.
4264 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4265 (desktop--restore-in-this-display-p): Remove.
4266 (desktop--find-frame): Rename from desktop--find-frame-in-display
4267 and add predicate argument.
4268 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4269 (desktop--reuse-list): New variable.
4270 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4272 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4274 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
4276 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4278 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4280 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4281 Highlight conversion methods on Kernel.
4283 2013-07-13 Alan Mackenzie <acm@muc.de>
4285 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4286 and comment it out. This out-commenting enables certain C++
4287 declarations to be parsed correctly.
4289 2013-07-13 Eli Zaretskii <eliz@gnu.org>
4291 * international/mule.el (define-coding-system): Doc fix.
4293 * simple.el (default-font-height): Don't call font-info if the
4294 frame's default font didn't change since the frame was created.
4297 2013-07-13 Leo Liu <sdl.web@gmail.com>
4299 * ido.el (ido-read-file-name): Guard against non-symbol value.
4301 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4303 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4306 2013-07-13 Leo Liu <sdl.web@gmail.com>
4308 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4309 ido-set-matches call. (Bug#6852)
4311 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4313 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4314 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4316 (ruby-font-lock-keywords): Distinguish calls to functions with
4317 module-like names from module references. Highlight character
4320 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4322 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4323 (gdb-send): Handle continued commands. (Bug#14847)
4325 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4327 * desktop.el (desktop--v2s): Remove unused local variable.
4328 (desktop-save-buffer): Make defvar-local; adjust docstring.
4329 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4330 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4332 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4334 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4336 2013-07-12 Eli Zaretskii <eliz@gnu.org>
4338 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4341 2013-07-12 Glenn Morris <rgm@gnu.org>
4343 * doc-view.el: Require cl-lib at runtime too.
4344 (doc-view-remove-if): Remove.
4345 (doc-view-search-next-match, doc-view-search-previous-match):
4348 * edmacro.el: Require cl-lib at runtime too.
4349 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4350 (edmacro-mismatch, edmacro-subseq): Remove.
4352 * shadowfile.el: Require cl-lib.
4353 (shadow-remove-if): Remove.
4354 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4357 * wid-edit.el: Require cl-lib.
4358 (widget-choose): Use cl-remove-if.
4359 (widget-remove-if): Remove.
4361 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4362 (ebrowse-delete-if-not): Remove.
4363 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4364 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4365 Use cl-delete-if-not.
4367 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4369 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4370 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4372 2013-07-12 Leo Liu <sdl.web@gmail.com>
4374 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4376 2013-07-11 Glenn Morris <rgm@gnu.org>
4378 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4379 (edebug-gensym-index, edebug-gensym):
4380 Remove reimplementation of cl-gensym.
4381 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4383 * thumbs.el: Require cl-lib at run-time too.
4384 (thumbs-gensym-counter, thumbs-gensym):
4385 Remove reimplementation of cl-gensym.
4386 (thumbs-temp-file): Use cl-gensym.
4388 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4389 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4390 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4391 (ert--union, ert--gensym-counter, ert--gensym-counter)
4392 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4393 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4394 (ert-make-test-unbound, ert--expand-should-1)
4395 (ert--expand-should, ert--should-error-handle-error)
4396 (should-error, ert--explain-equal-rec)
4397 (ert--plist-difference-explanation, ert-select-tests)
4398 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4399 Use cl-lib functions rather than reimplementations.
4401 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4403 * net/tramp.el (tramp-methods): Extend docstring.
4404 (tramp-connection-timeout): New defcustom.
4405 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4406 (with-tramp-progress-reporter): Simplify.
4407 (tramp-process-actions): Improve messages.
4409 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4410 * net/tramp-sh.el (tramp-maybe-open-connection):
4411 Use `tramp-connection-timeout'.
4412 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4415 2013-07-11 Leo Liu <sdl.web@gmail.com>
4417 * ido.el (ido-read-file-name): Conform to the requirements of
4418 read-file-name. (Bug#11861)
4419 (ido-read-directory-name): Conform to the requirements of
4420 read-directory-name.
4422 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
4424 * subr.el (delay-warning): New function.
4426 2013-07-10 Eli Zaretskii <eliz@gnu.org>
4428 * simple.el (default-line-height): New function.
4429 (line-move-partial, line-move): Use it instead of computing the
4431 (line-move-partial): Always compute ROWH. If the last line is
4432 partially-visible, but its text is completely visible, allow
4433 cursor to enter such a partially-visible line.
4435 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
4437 Improve error messages. (Bug#14808)
4439 * net/tramp.el (tramp-current-connection): New defvar, moved from
4441 (tramp-message-show-progress-reporter-message): Remove, not
4443 (tramp-error-with-buffer): Show message in minibuffer.
4444 Discard input before waiting. Reset connection timestamp.
4445 (with-tramp-progress-reporter): Improve messages.
4446 (tramp-process-actions): Use progress reporter. Delete process in
4447 case of error. Improve messages.
4449 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4450 Call `tramp-error-with-buffer' with vector and buffer.
4451 (tramp-current-connection): Remove.
4452 (tramp-maybe-open-connection): The car of
4453 `tramp-current-connection' are the first 3 slots of the vector.
4455 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4457 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4458 inside continued strings.
4460 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4462 Timestamp fixes for undo (Bug#14824).
4463 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4465 2013-07-10 Leo Liu <sdl.web@gmail.com>
4467 * files.el (require-final-newline): Allow safe local value.
4470 2013-07-09 Leo Liu <sdl.web@gmail.com>
4472 * ido.el (ido-read-directory-name): Handle fallback.
4473 (ido-read-file-name): Update DIR to ido-current-directory.
4475 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
4477 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4479 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4480 "autoload". Remove "warn lower camel case" section, previously
4481 commented out. Highlight negation char. Do not highlight the
4482 target in singleton method definitions.
4484 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4486 * faces.el (tty-setup-hook): Declare the hook.
4488 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4489 and detect when a guard/pred depends on local vars (bug#14773).
4490 (pcase--u1): Adjust caller.
4492 2013-07-08 Eli Zaretskii <eliz@gnu.org>
4494 * simple.el (line-move-partial, line-move): Account for
4496 (line-move-partial): Avoid setting vscroll when the last
4497 partially-visible line in window is of default height.
4499 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4501 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4504 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
4506 * subr.el (read-quoted-char): Remove unused local variable `char'.
4508 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4510 * ediff.el (ediff-version): Version update.
4511 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4512 (ediff-merge-with-ancestor-command, ediff-directories-command)
4513 (ediff-directories3-command, ediff-merge-directories-command)
4514 (ediff-merge-directories-with-ancestor-command): New functions.
4515 All are command-line interfaces to ediff: to facilitate calling
4516 Emacs with the appropriate ediff functions invoked.
4518 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4519 (viper-save-kill-buffer): Check if buffer is modified.
4521 * viper.el (viper-version): Version update.
4522 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4524 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4526 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4527 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4528 (viper-intercept-ESC-key): Simplify.
4529 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4530 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4531 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4532 (viper-setup-ESC-to-escape): New functions.
4533 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4534 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
4536 2013-07-07 Eli Zaretskii <eliz@gnu.org>
4538 * simple.el (default-font-height, window-screen-lines):
4540 (line-move, line-move-partial): Use them instead of
4541 frame-char-height and window-text-height. This makes scrolling
4542 text smoother when the buffer's default face uses a font that is
4543 different from the frame's default font.
4545 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4547 * files.el (write-file): Do not display confirm dialog for NS,
4548 it does its own dialog, which can't be cancelled (Bug#14578).
4550 2013-07-06 Eli Zaretskii <eliz@gnu.org>
4552 * simple.el (line-move-partial): Adjust the row returned by
4553 posn-at-point for the current window-vscroll. (Bug#14567)
4555 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
4557 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4558 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4561 2013-07-06 Martin Rudalics <rudalics@gmx.at>
4563 * window.el (window-state-put-stale-windows): New variable.
4564 (window--state-put-2): Save list of windows without matching buffer.
4565 (window-state-put): Remove "bufferless" windows if possible.
4567 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4569 * simple.el (alternatives-define): Remove leftover :group keyword.
4572 2013-07-06 Leo Liu <sdl.web@gmail.com>
4574 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4575 (ido-enable-virtual-buffers): New variable.
4576 (ido-buffer-internal, ido-toggle-virtual-buffers)
4577 (ido-make-buffer-list): Use it.
4578 (ido-exhibit): Support turning on and off virtual buffers
4581 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4583 * simple.el (alternatives-define): New macro.
4585 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4587 * subr.el (read-quoted-char): Use read-key.
4588 (sit-for): Let read-event decode tty input (bug#14782).
4590 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
4592 * calendar/todo-mode.el: Add handling of file deletion, both by
4593 mode command and externally. Fix various related bugs.
4594 Clarify Commentary and improve some documentation strings and code.
4595 (todo-delete-file): New command.
4596 (todo-check-file): New function.
4597 (todo-show): Handle external deletion of the file we're trying to
4598 show (bug#14688). Replace called-interactively-p by an optional
4599 prefix argument to avoid problematic interaction with catch form
4600 when byte compiled (bug#14702).
4601 (todo-quit): Handle external deletion of the archive's todo file.
4602 Make sure the buffer that was visiting the archive file is still
4603 live before trying to bury it.
4604 (todo-category-completions): Handle external deletion of any
4605 category completion files.
4606 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4607 of todo files, in case of external deletion.
4608 (todo-add-file): Replace unnecessary setq by let-binding.
4609 (todo-find-archive): Check whether there are any archives.
4610 Replace unnecessary setq by let-binding.
4611 (todo-archive-done-item): Use find-file-noselect to get the
4612 archive buffer whether or not the archive already exists.
4613 Remove superfluous code. Use file size instead of buffer-file-name to
4614 check if the archive is new; if it is, update list of archives.
4615 (todo-default-todo-file): Allow nil to be a valid value for when
4616 there are no todo files.
4617 (todo-reevaluate-default-file-defcustom): Use corrected definition
4618 of todo-default-todo-file.
4619 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4620 (todo-delete-category, todo-show-categories-table)
4621 (todo-category-number): Clarify comment.
4622 (todo-filter-items): Clarify documentation string.
4623 (todo-show-current-file, todo-display-as-todo-file)
4624 (todo-reset-and-enable-done-separator): Tweak documentation string.
4625 (todo-done-separator): Make separator length window-width, since
4626 bug#2749 is now fixed.
4628 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
4630 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4631 Support both "gvfs-monitor-dir" and "inotifywait".
4632 (tramp-sh-file-inotifywait-process-filter): Rename from
4633 `tramp-sh-file-notify-process-filter'.
4634 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4635 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4637 2013-07-05 Leo Liu <sdl.web@gmail.com>
4639 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4641 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4643 * frame.el (display-pixel-height, display-pixel-width)
4644 (display-mm-height, display-mm-width): Mention behavior on
4645 multi-monitor setups in docstrings.
4646 (w32-display-monitor-attributes-list): Declare function.
4647 (display-monitor-attributes-list): Use it.
4649 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
4651 * filenotify.el: New package.
4653 * autorevert.el (top): Require filenotify.el.
4654 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4656 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4657 (auto-revert-notify-handler): Use `file-notify-*' functions.
4659 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4661 * net/tramp.el (tramp-file-name-for-operation):
4662 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
4664 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4665 for `file-notify-add-watch' and `file-notify-rm-watch'.
4666 (tramp-process-sentinel): Improve trace.
4667 (tramp-sh-handle-file-notify-add-watch)
4668 (tramp-sh-file-notify-process-filter)
4669 (tramp-sh-handle-file-notify-rm-watch)
4670 (tramp-get-remote-inotifywait): New defuns.
4672 2013-07-03 Juri Linkov <juri@jurta.org>
4674 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4675 call of `occur-read-primary-args' to interactive spec.
4677 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4678 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4680 2013-07-03 Matthias Meulien <orontee@gmail.com>
4682 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4683 `Buffer-menu-multi-occur'. Add it to the menu.
4684 (Buffer-menu-mode): Document it in docstring.
4685 (Buffer-menu-multi-occur): New command. (Bug#14673)
4687 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4689 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4690 keywords and built-ins.
4692 2013-07-03 Glenn Morris <rgm@gnu.org>
4694 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4696 Make info-xref checks case-sensitive by default
4697 * info.el (Info-find-node, Info-find-in-tag-table)
4698 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4699 Add option for exact case matching of nodes.
4700 * info-xref.el (info-xref): New custom group.
4701 (info-xref-case-fold): New option.
4702 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4704 2013-07-03 Leo Liu <sdl.web@gmail.com>
4706 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4708 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4710 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4711 middle of block statement initially, lower the depth. Remove
4712 FIXME comment, not longer valid. Remove middle of block statement
4713 detection, no need to do that anymore since we've been using
4714 `ruby-parse-region' here.
4716 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4718 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4720 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
4722 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4724 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
4726 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4727 (desktop-restore-in-current-display): New customization option.
4728 (desktop--excluded-frame-parameters): Add `font'.
4729 (desktop--save-frames): Rename from desktop--save-windows.
4730 (desktop--restore-in-this-display-p): New function.
4731 (desktop--make-full-frame): Remove unwanted width/height from
4732 full(width|height) frames.
4733 (desktop--restore-frames): Rename from desktop--restore-windows.
4734 Obey desktop-restore-current-display. Do not delete old frames or
4735 select a new frame unless we were able to restore at least one frame.
4737 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
4739 * files.el (find-file-noselect): Simplify conditional expression.
4741 * remember.el (remember-append-to-file):
4742 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4744 Add `remember-notes' function to store random notes across Emacs
4746 * remember.el (remember-data-file): Add :set callback to affect
4747 notes buffer (if any).
4748 (remember-notes): New command.
4749 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4750 New defcustoms for the `remember-notes' function.
4751 (remember-notes-save-and-bury-buffer): New command.
4752 (remember-notes-mode-map): New variable.
4753 (remember-mode): New minor mode.
4754 (remember-notes--kill-buffer-query): New function.
4755 * startup.el (initial-buffer-choice): Add notes to custom type.
4757 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4759 * bindings.el (right-char, left-char): Don't call sit-for, this is
4760 no longer needed. Use arithmetic comparison only for numerical
4763 * international/mule-cmds.el (select-safe-coding-system):
4764 Handle the case of FROM being a string correctly. (Bug#14755)
4766 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4768 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4769 progression on degenerate tables.
4770 (shr-rescale-image): ImageMagick animated images currently don't work.
4772 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4774 Some fixes and improvements for desktop frame restoration.
4775 It is still experimental and disabled by default.
4776 * desktop.el (desktop--save-windows): Put the selected frame at
4777 the head of the list.
4778 (desktop--make-full-frame): New function.
4779 (desktop--restore-windows): Try to re-select the frame that was
4780 selected upon saving. Do not abort if some frames fail to restore,
4781 just show an error message and continue. Set up maximized frames
4782 so they have default non-maximized dimensions.
4784 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4786 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4787 Don't start heredoc inside a string or comment.
4789 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4791 * bindings.el (visual-order-cursor-movement): New defcustom.
4792 (right-char, left-char): Provide visual-order cursor motion by
4793 calling move-point-visually. Update the doc strings.
4795 2013-06-28 Kenichi Handa <handa@gnu.org>
4797 * international/mule.el (define-coding-system): New coding system
4798 properties :inhibit-null-byte-detection,
4799 :inhibit-iso-escape-detection, and :prefer-utf-8.
4800 (set-buffer-file-coding-system): If :charset-list property of
4801 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4802 appropriate for setting.
4804 * international/mule-cmds.el (select-safe-coding-system):
4805 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4806 multibyte characters, return utf-8 (or one of its siblings).
4808 * international/mule-conf.el (prefer-utf-8): New coding system.
4809 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4812 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4814 * net/shr.el (shr-render-region): New function.
4816 * net/eww.el: Autoload `eww-browse-url'.
4818 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4820 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4821 Adapt to `package-desc-version' being a list.
4822 Use `package--ac-desc-version' to retrieve version from a package
4825 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4827 New experimental feature to save&restore window and frame setup.
4828 * desktop.el (desktop-save-windows): New defcustom.
4829 (desktop--saved-states): New var.
4830 (desktop--excluded-frame-parameters): New defconst.
4831 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4832 (desktop--restore-windows, desktop--save-windows): New functions.
4833 (desktop-save): Call `desktop--save-windows'.
4834 (desktop-read): Call `desktop--restore-windows'.
4836 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4838 * net/shr.el (add-face-text-property): Remove compat definition.
4840 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4842 * info.el (Info-try-follow-nearest-node): Move search for footnote
4843 above search for node name to prevent missing a footnote (bug#14717).
4845 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4847 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4849 2013-06-27 Leo Liu <sdl.web@gmail.com>
4851 * net/eww.el (eww-read-bookmarks): Check file size.
4853 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4855 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4856 advice--pending if newdef is nil or an autoload (bug#13820).
4857 (advice-mapc): New function.
4859 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4861 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4863 (eww-mode-map): Add a menu bar.
4864 (eww-add-bookmark): New command.
4865 (eww-bookmark-mode): New mode and commands.
4866 (eww-add-bookmark): Remove newlines from the title.
4867 (eww-bookmark-browse): Don't bug out if it's the only window.
4869 2013-06-26 Glenn Morris <rgm@gnu.org>
4871 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4872 (hfy-size): Handle ttys. (Bug#14668)
4874 * info-xref.el: Update for Texinfo 5 change in *note format.
4875 (info-xref-node-re, info-xref-note-re): New constants.
4876 (info-xref-check-buffer): Use info-xref-note-re.
4878 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4880 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4882 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4883 nil terminate the loop (bug#14718).
4885 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4887 * net/eww.el: Rework history traversal. When going forward/back,
4888 put these actions into the history, too, so that they can be
4890 (eww-render): Move the history reset to the correct buffer.
4892 2013-06-25 Juri Linkov <juri@jurta.org>
4894 * files-x.el (modify-dir-local-variable): Change the header comment
4895 in the file with directory local variables. (Bug#14692)
4897 * files-x.el (read-file-local-variable-value): Add `default'.
4900 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4902 * net/eww.el (eww-make-unique-file-name): Create a unique file
4903 name before saving to entering `y' accidentally asynchronously.
4905 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4907 * net/eww.el (eww-download): New command and keystroke.
4909 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4911 * net/eww.el (eww-copy-page-url): Change name of command.
4913 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4914 be more consistent with Info and dired.
4916 * net/eww.el (eww-mode-map): Ditto.
4918 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4920 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4921 packages from archives.
4922 (package-archive-contents): Change format; include obsolete packages.
4923 (package-desc): Use `dir' to mark builtin packages.
4924 (package--from-builtin): Set the `dir' field to `builtin'.
4925 (generated-autoload-file, version-control): Declare.
4926 (package-compute-transaction): Change first arg and return value to be
4927 lists of package-descs. Adjust to new package-archive-contents format.
4928 (package--add-to-archive-contents): Adjust to new
4929 package-archive-contents format.
4930 (package-download-transaction): Arg is now a list of package-descs.
4931 (package-install): If `pkg' is a package name, pass it as
4932 a requirement, so it is subject to the usual (e.g. disabled) checks.
4933 (describe-package): Accept package-desc as well.
4934 (describe-package-1): Describe a specific package-desc. Add links to
4935 other package-descs for the same package name.
4936 (package-menu-describe-package): Pass the actual package-desc.
4937 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4939 (package-desc-status): New function.
4940 (package-menu--refresh): New function, extracted
4941 from package-menu--generate.
4942 (package-menu--generate): Use it.
4943 (package-delete): Update package-alist.
4944 (package-menu-execute): Don't call package-initialize.
4946 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4947 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4948 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4949 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4950 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4951 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4953 2013-06-25 Martin Rudalics <rudalics@gmx.at>
4955 * window.el (window--state-get-1): Workaround for bug#14527.
4956 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4958 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4960 * net/eww.el (eww-back-url): Implement the history by stashing all
4961 the data into a list.
4962 (eww-forward-url): Allow going forward in the history, too.
4964 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4966 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4967 for values and use read--expression for expressions (bug#14710).
4968 (read-file-local-variable): Avoid setq.
4969 (read-file-local-variable-mode): Use minor-mode-list.
4971 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4973 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4976 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4978 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4979 Update imenu-support when dialect changes.
4981 2013-06-25 Leo Liu <sdl.web@gmail.com>
4983 * ido.el (ido-read-internal): Allow forward slash on windows.
4985 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4987 * net/eww.el (eww): Start of strings is \\`, not ^.
4989 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4991 * net/shr.el (shr-browse-url): Fix interactive spec.
4993 * net/eww.el (eww): Add a trailing slash to domain names.
4995 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
4997 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4999 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5001 * net/shr.el (shr-browse-url): Use an external browser if given a
5004 * net/eww.el (eww-external-browser): Move to shr.
5006 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5008 * net/eww.el (eww): Work more correctly for file: URLs.
5009 (eww-detect-charset): Allow quoted charsets.
5010 (eww-yank-page-url): New command and keystroke.
5012 2013-06-24 Daiki Ueno <ueno@gnu.org>
5014 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5015 file name of gpg executable.
5016 (epg-context-program): New function.
5017 (epg-context-home-directory): New function.
5018 (epg-context-set-program): New function.
5019 (epg-context-set-home-directory): New function.
5020 (epg--start): Use `epg-context-program' instead of
5022 (epg--list-keys-1): Likewise.
5024 2013-06-24 Leo Liu <sdl.web@gmail.com>
5026 * ido.el (ido-read-internal): Fix bug#14620.
5028 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5030 * faces.el (face-documentation): Simplify.
5031 (read-face-attribute, tty-find-type, x-resolve-font-name):
5032 Use `string-match-p'.
5033 (list-faces-display): Use `string-match-p'. Simplify.
5034 (face-spec-recalc): Check face to avoid face alias loops.
5035 (read-color): Use `string-match-p' and non-capturing parenthesis.
5037 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5039 * net/shr.el (shr-rescale-image): Use the new
5040 :max-width/:max-height functionality.
5042 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5044 * net/eww.el (eww-search-prefix): New variable.
5046 (eww-external-browser): New variable.
5047 (eww-mode-map): New keystroke.
5048 (eww-browse-with-external-browser): New command.
5050 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5052 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5054 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5055 Don't skip aligning the next header field when padding is 0;
5056 otherwise, field width is not respected unless the title is as
5059 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5061 * emacs-lisp/package.el (package-el-version): Remove.
5062 (package-process-define-package): Fix inf-loop.
5063 (package-install): Allow symbols as arguments again.
5065 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5067 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5068 add some more keyword-like methods.
5069 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5071 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5073 * bs.el (bs-buffer-show-mark): Make defvar-local.
5074 (bs-mode): Use setq-local.
5076 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5077 (emacs-lock--try-unlocking): Make defvar-local.
5079 2013-06-22 Glenn Morris <rgm@gnu.org>
5081 * play/cookie1.el (cookie-apropos): Minor simplification.
5083 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5085 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5087 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5088 `regexp-opt', it breaks the build during dumping.
5090 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5092 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5093 Highlight keyword-like methods on Kernel and Module with
5094 font-lock-builtin-face.
5095 (auto-mode-alist): Consolidate different entries into one regexp
5096 and add more *file-s.
5098 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5100 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5102 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5103 (diary-entry): Use it in the action of this button type instead of
5106 * calendar/todo-mode.el: New version.
5107 (todo-add-category): Append new category to end of file and give
5108 it the highest number, instead of putting it at the beginning and
5109 giving it 0. Incorporate noninteractive functionality.
5110 (todo-forward-category): Adapt to 1-based category numbering.
5111 Allow skipping over archived categories.
5112 (todo-backward-category): Derive from todo-forward-category.
5113 (todo-backward-item, todo-forward-item): Make noninteractive and
5114 delegate interactive part to new commands. Make sensitive to done items.
5115 (todo-categories): Make value an alist of category names and
5116 vectors of item counts.
5117 (todo-category-beg): Make a defconst.
5118 (todo-category-number): Use 1 instead of 0 as initial value.
5119 (todo-category-select): Make sensitive to overlays, optional item
5120 highlighting and done items.
5121 (todo-delete-item): Make sensitive to overlays and marked and done items.
5122 (todo-edit-item): Make sensitive to overlays and editing of
5123 date/time header optional. Add format checks.
5124 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5125 no-op if point is not on an item. Advertise using todo-edit-quit.
5126 (todo-edit-mode): Make sensitive to new format, font-locking, and
5127 multiple todo files.
5128 (todo-insert-item, todo-insert-item-here): Derive from
5129 todo-basic-insert-item and extend functionality.
5130 (todo-item-end, todo-item-start): Make sensitive to done items.
5131 (todo-item-string): Don't return text properties. Restore point.
5132 (todo-jump-to-category): Make sensitive to multiple todo files and
5133 todo archives. Use extended category completion.
5134 (todo-lower-item, todo-raise-item): Rename to *-priority and
5135 derive from todo-set-item-priority.
5136 (todo-mode): Derive from special-mode. Make sensitive to new
5137 format, font-locking and multiple todo files. Make read-only.
5138 (todo-mode-map): Don't suppress digit keys, so they can supply
5139 prefix arguments. Add many new key bindings.
5140 (todo-prefix): Insert as an overlay instead of file text.
5141 Change semantics from diary date expression to purely visual mark.
5142 (todo-print): Rename to todo-print-buffer. Make buffer display
5143 features printable. Remove option to restrict number of items
5144 printed. Add option to print to file.
5145 (todo-print-function): Rename to todo-print-buffer-function.
5146 (todo-quit): Extend to handle exiting new todo modes.
5147 (todo-remove-item): Make sensitive to overlays.
5148 (todo-save): Extend to buffers of filtered items.
5149 (todo-show): Make sensitive to done items, multiple todo files and
5150 new todo modes. Offer to convert legacy todo file before creating
5151 first new todo file.
5152 (todo-show-priorities): Rename to todo-top-priorities.
5153 Change semantics of value 0.
5154 (todo-top-priorities): Rename to todo-filter-top-priorities,
5155 derive from todo-filter-items and extend functionality.
5156 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5157 and extend functionality to other types of filtered items.
5158 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5159 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5160 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5161 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5162 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5163 (todo-edit-mode-hook, todo-entry-prefix-function)
5164 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5165 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5166 (todo-initials, todo-insert-threshold, todo-item-string-start)
5167 (todo-line-string, todo-menu, todo-mode-hook)
5168 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5169 (todo-print-priorities, todo-remove-separator)
5170 (todo-save-top-priorities-too, todo-string-count-lines)
5171 (todo-string-multiline-p, todo-time-string-format)
5172 (todo-tmp-buffer-name): Remove.
5173 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5174 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5175 (todo-edit-category-diary-inclusion)
5176 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5177 (todo-edit-file, todo-edit-item-date-day)
5178 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5179 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5180 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5181 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5182 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5183 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5184 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5185 (todo-filter-top-priorities-multifile, todo-find-archive)
5186 (todo-find-filtered-items-file, todo-go-to-source-item)
5187 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5188 (todo-jump-to-archive-category, todo-lower-category)
5189 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5190 (todo-move-category, todo-move-item, todo-next-button)
5191 (todo-next-item, todo-padded-string, todo-powerset)
5192 (todo-previous-button, todo-previous-item)
5193 (todo-print-buffer-to-file, todo-raise-category)
5194 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5195 (todo-set-category-number, todo-set-item-priority)
5196 (todo-set-top-priorities-in-category)
5197 (todo-set-top-priorities-in-file, todo-show-categories-table)
5198 (todo-sort-categories-alphabetically-or-numerically)
5199 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5200 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5201 (todo-toggle-item-header, todo-toggle-item-highlighting)
5202 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5203 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5204 (todo-unarchive-items, todo-unmark-category): New commands.
5205 (todo-absolute-file-name, todo-add-to-buffer-list)
5206 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5207 (todo-basic-insert-item, todo-category-completions)
5208 (todo-category-number, todo-category-string-matcher-1)
5209 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5210 (todo-check-format, todo-clear-matches)
5211 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5212 (todo-current-category, todo-date-string-matcher)
5213 (todo-define-insertion-command, todo-diary-expired-matcher)
5214 (todo-diary-goto-entry, todo-diary-item-p)
5215 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5216 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5217 (todo-done-item-section-p, todo-done-separator)
5218 (todo-done-string-matcher, todo-files, todo-filter-items)
5219 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5220 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5221 (todo-insert-category-line, todo-insert-item-from-calendar)
5222 (todo-insert-sort-button, todo-insert-with-overlays)
5223 (todo-insertion-command-name, todo-insertion-key-bindings)
5224 (todo-label-to-key, todo-longest-category-name-length)
5225 (todo-make-categories-list, todo-mode-external-set)
5226 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5227 (todo-modes-set-3, todo-multiple-filter-files)
5228 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5229 (todo-read-category, todo-read-date, todo-read-dayname)
5230 (todo-read-file-name, todo-read-time)
5231 (todo-reevaluate-category-completions-files-defcustom)
5232 (todo-reevaluate-default-file-defcustom)
5233 (todo-reevaluate-filelist-defcustoms)
5234 (todo-reevaluate-filter-files-defcustom)
5235 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5236 (todo-reset-done-separator, todo-reset-done-separator-string)
5237 (todo-reset-done-string, todo-reset-global-current-todo-file)
5238 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5239 (todo-reset-prefix, todo-set-categories)
5240 (todo-set-date-from-calendar, todo-set-show-current-file)
5241 (todo-set-top-priorities, todo-short-file-name)
5242 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5243 (todo-total-item-counts, todo-update-buffer-list)
5244 (todo-update-categories-display, todo-update-categories-sexp)
5245 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5247 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5249 (todo-categories, todo-display, todo-edit, todo-faces)
5250 (todo-filtered): New defgroups.
5251 (todo-archived-only, todo-button, todo-category-string, todo-date)
5252 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5253 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5254 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5255 (todo-add-item-if-new-category, todo-always-add-time-string)
5256 (todo-categories-align, todo-categories-archived-label)
5257 (todo-categories-category-label, todo-categories-diary-label)
5258 (todo-categories-done-label, todo-categories-number-separator)
5259 (todo-categories-todo-label, todo-categories-totals-label)
5260 (todo-category-completions-files, todo-completion-ignore-case)
5261 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5262 (todo-done-separator-string, todo-done-string)
5263 (todo-files-function, todo-filter-done-items, todo-filter-files)
5264 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5265 (todo-initial-category, todo-initial-file, todo-item-mark)
5266 (todo-legacy-date-time-regexp, todo-mode-line-function)
5267 (todo-nondiary-marker, todo-number-prefix)
5268 (todo-print-buffer-function, todo-show-current-file)
5269 (todo-show-done-only, todo-show-first, todo-show-with-done)
5270 (todo-skip-archived-categories, todo-top-priorities-overrides)
5271 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5272 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5274 (todo-category-done, todo-date-pattern, todo-date-string-start)
5275 (todo-diary-items-buffer, todo-done-string-start)
5276 (todo-filtered-items-buffer, todo-item-start)
5277 (todo-month-abbrev-array, todo-month-name-array)
5278 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5279 (todo-top-priorities-buffer): New defconsts.
5280 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5281 (todo-categories-with-marks, todo-category-string-face)
5282 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5283 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5284 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5285 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5286 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5287 (todo-font-lock-keywords, todo-global-current-todo-file)
5288 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5289 (todo-insertion-commands-args)
5290 (todo-insertion-commands-args-genlist)
5291 (todo-insertion-commands-names, todo-insertion-map)
5292 (todo-key-bindings-t, todo-key-bindings-t+a)
5293 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5294 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5295 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5296 (todo-visited): New variables.
5298 2013-06-21 Glenn Morris <rgm@gnu.org>
5300 * play/cookie1.el (cookie-apropos): Add optional display argument.
5301 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5302 (psychoanalyze-pinhead): Use cookie-doctor.
5304 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5306 * emacs-lisp/package.el (tar-get-file-descriptor)
5307 (tar--extract): Declare.
5309 2013-06-21 Eduard Wiebe <usenet@pusto.de>
5311 Extend flymake's warning predicate to be a function (bug#14217).
5312 * progmodes/flymake.el (flymake-warning-predicate): New.
5313 (flymake-parse-line): Use it.
5314 (flymake-warning-re): Make obsolete alias to
5315 `flymake-warning-predicate'.
5317 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5319 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5320 (package-obsolete-list): Remove.
5321 (package-activate): Remove min-version argument. Add `force' argument.
5322 Adjust to new package-alist format.
5323 (package-mark-obsolete): Remove.
5324 (package-unpack): Force reload of the package's autoloads.
5325 (package-installed-p): Check builtins if the installed package is not
5327 (package-initialize): Don't reset package-obsolete-list.
5328 Don't specify which package version to activate.
5329 (package-process-define-package, describe-package-1)
5330 (package-menu--generate): Adjust to new package-alist format.
5332 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5334 * allout-widgets.el (allout-widgets-mode-off)
5335 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5336 (allout-widgets-post-command-business)
5337 (allout-widgets-after-copy-or-kill-function)
5338 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5339 (allout-decorate-item-and-context)
5340 (allout-graphics-modification-handler): Fix typos in docstrings.
5341 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5343 * cmuscheme.el (scheme-start-file): Doc fix.
5344 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5345 (scheme-input-filter): Use `string-match-p'.
5347 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5349 * dired-x.el: Use Dired consistently in docstrings.
5351 * dired.el: Use Dired consistently in docstrings.
5352 (dired-readin, dired-mode): Use `setq-local'.
5353 (dired-switches-alist): Make defvar-local.
5354 (dired-buffers-for-dir): Use `zerop'.
5355 (dired-safe-switches-p, dired-switches-escape-p)
5356 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5357 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5358 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5359 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5360 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5361 (dired-toggle-marks, dired-mark-files-containing-regexp)
5362 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5363 (dired-flag-auto-save-files, dired-flag-backup-files):
5365 (dired-mark-files-regexp, dired-build-subdir-alist):
5366 Use `string-match-p', `looking-at-p'.
5368 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5369 (direct-print-region-helper): Use `string-match-p'.
5371 2013-06-21 Leo Liu <sdl.web@gmail.com>
5373 * comint.el (comint-redirect-results-list-from-process):
5376 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5378 * net/eww.el (eww-update-header-line-format): Quote % characters.
5380 2013-06-21 Glenn Morris <rgm@gnu.org>
5382 * play/cookie1.el (cookie): New custom group.
5383 (cookie-file): New option.
5384 (cookie-check-file): New function.
5385 (cookie): Make it interactive. Make start and end messages optional.
5386 Interactively, display the result. Default to cookie-file.
5387 (cookie-insert): Default to cookie-file.
5388 (cookie-snarf): Make start and end messages optional.
5389 Default to cookie-file. Use with-temp-buffer.
5390 (cookie-read): Rename from read-cookie.
5391 Make start and end messages optional. Default to cookie-file.
5392 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5394 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5395 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5397 2013-06-21 Leo Liu <sdl.web@gmail.com>
5399 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5401 2013-06-21 Glenn Morris <rgm@gnu.org>
5403 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5405 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5406 Daniel Hackney <dan@haxney.org>
5408 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5409 Consolidate the single-file vs tarball code.
5410 (package-desc-suffix): New function.
5411 (package-desc-full-name): Don't bother inlining it.
5412 (package-load-descriptor): Return the new package-desc.
5413 (package-mark-obsolete): Remove unused arg `package'.
5414 (package-unpack): Make it work for single files as well.
5415 Make it update package-alist.
5416 (package--make-autoloads-and-stuff): Rename from
5417 package--make-autoloads-and-compile. Don't compile any more.
5418 (package--compile): New function.
5419 (package-generate-description-file): New function, extracted from
5420 package-unpack-single.
5421 (package-unpack-single): Remove.
5422 (package--with-work-buffer): Add indentation and debugging info.
5423 (package-download-single): Remove.
5424 (package-install-from-archive): Rename from package-download-tar, make
5425 it take a pkg-desc, and make it work for single files as well.
5426 (package-download-transaction): Simplify.
5427 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5428 external tar program.
5429 (package-install-from-buffer): Remove `pkg-desc' argument.
5430 Use package-tar-file-info for tar-mode buffers.
5431 (package-install-file): Simplify accordingly.
5432 (package-archive-base): Change to take a pkg-desc.
5433 * tar-mode.el (tar--check-descriptor): New function, extracted from
5435 (tar-get-descriptor): Use it.
5436 (tar-get-file-descriptor): New function.
5437 (tar--extract): New function, extracted from tar-extract.
5438 (tar--extract): Use it.
5439 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5440 case the summary uses non-ascii. Adjust to new calling convention of
5441 package-tar-file-info.
5443 2013-06-21 Leo Liu <sdl.web@gmail.com>
5445 * comint.el (comint-redirect-results-list-from-process):
5446 Fix random delay. (Bug#14681)
5448 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5450 * profiler.el (profiler-format-number): Use log, not log10.
5452 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5454 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5456 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5458 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5459 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5461 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5462 (AUTOGENEL): ... here.
5463 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5464 (cl--defsubst-expand): Use it.
5466 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5468 * subr.el (log10): Move here from C code, and declare as obsolete.
5469 All uses of (log10 X) replaced with (log X 10).
5471 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5473 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5474 Declare with `defvar-local'.
5475 (tabulated-list-use-header-line, tabulated-list-entries)
5476 (tabulated-list-padding, tabulated-list-printer)
5477 (tabulated-list-sort-key): Declare with `defvar-local'.
5478 (tabulated-list-init-header, tabulated-list-print-fake-header):
5481 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
5483 * arc-mode.el (archive-mode): Add `archive-write-file' to
5484 `write-contents-functions' also for remote files. (Bug#14652)
5486 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5488 * cus-edit.el (custom-commands): Fix typos.
5489 (custom-display): Fix tooltip text.
5490 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5491 Fix typos in docstrings.
5492 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5493 (custom-unlispify-menu-entry, custom-magic-value-create)
5494 (custom-add-see-also, custom-group-value-create): Use ?\s.
5495 (custom-guess-type, customize-apropos, editable-field)
5496 (custom-face-value-create): Use `string-match-p'.
5497 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5499 * custom.el (custom-load-symbol): Use `string-match-p'.
5501 * ansi-color.el: Convert to lexical binding.
5502 (ansi-colors): Fix URL.
5503 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5504 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5505 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5507 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5509 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5511 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5513 2013-06-19 Tom Tromey <tromey@redhat.com>
5515 * net/eww.el (eww-top-url): Remove.
5516 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5517 (eww-render): Set new variables. Don't set eww-top-url.
5518 (eww-handle-link): Handle "prev", "home", and "contents".
5519 Downcase the rel text.
5520 (eww-top-url): Choose best top URL.
5522 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5524 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5525 relying in widget.el. Using widget.el leads to too many
5526 user interface inconsistencies.
5527 (eww-self-insert): Implement entering commands in text fields.
5528 (eww-process-text-input): New function to make text input field editing
5530 (eww-submit): Rewrite to use the new-style form methods.
5531 (eww-select-display): Display the correct selected item.
5532 (eww-change-select): Implement changing the select value.
5533 (eww-toggle-checkbox): Implement radio/checkboxes.
5534 (eww-update-field): Fix compilation error.
5535 (eww-tag-textarea): Implement <textarea>.
5537 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5538 we don't shadow mode-specific bindings.
5540 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5543 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5545 2013-06-19 Glenn Morris <rgm@gnu.org>
5547 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5549 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5551 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5554 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5556 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5558 * net/browse-url.el (browse-url-browser-function):
5559 `eww-browse-url' has the right calling signature, `eww' does not.
5561 2013-06-19 Glenn Morris <rgm@gnu.org>
5563 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5564 Only eval autoloaded macros.
5565 (byte-compile-autoload): Only give the macro warning for macros.
5567 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5568 (ps-underlined-faces): Declare.
5570 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5571 (speedbar-add-supported-extension): Declare.
5573 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5574 Don't include a date stamp in the header of the generated file;
5575 it leads to needless differences between output files.
5577 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5579 * net/secrets.el (secrets-struct-secret-content-type):
5580 Replace check of introspection data by a test call of "CreateItem".
5581 Some servers do not offer introspection.
5583 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5585 * electric.el (electric-pair-mode): Improve interaction with
5586 electric-layout-mode.
5587 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5588 (electric-pair-syntax): Use text-mode-syntax-table in comments
5590 (electric-pair--insert): New function.
5591 (electric-pair-post-self-insert-function): Use it and
5592 electric--after-char-pos.
5594 2013-06-19 Leo Liu <sdl.web@gmail.com>
5596 * progmodes/octave.el (octave-help): Fix regexp.
5598 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5600 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5601 (shr-table-horizontal-line): Allow nil as a value, and change the
5603 (shr-insert-table-ruler): Respect the nil value.
5605 2013-06-18 Tom Tromey <tromey@barimba>
5607 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5609 (eww-open-file): New defun.
5610 (eww-render): Initialize new variables.
5611 (eww-display-html): Handle "link" and "a".
5612 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5613 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5614 (eww-back-url): Rename from eww-previous-url.
5615 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5618 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5620 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5621 Distinguish ternary operator tokens from slash symbol and slash
5624 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5626 Convert symbol prettification into minor mode and global minor mode.
5628 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5629 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5630 (prettify-symbols--keywords): Rename from
5631 `prog-prettify-symbols-alist' and make a local defvar.
5632 (prettify-symbols--compose-symbol): Rename from
5633 `prog--prettify-font-lock-compose-symbol'.
5634 (prettify-symbols--make-keywords): Rename from
5635 `prog-prettify-font-lock-symbols-keywords' and simplify.
5636 (prog-prettify-install): Remove.
5637 (prettify-symbols-mode): New minor mode, based on
5638 `prog-prettify-install'.
5639 (turn-on-prettify-symbols-mode): New function.
5640 (global-prettify-symbols-mode): New globalized minor mode.
5642 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5643 * progmodes/cfengine.el (cfengine3-mode):
5644 * progmodes/perl-mode.el (perl-mode): Don't call
5645 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5647 2013-06-18 Juri Linkov <juri@jurta.org>
5649 * files-x.el (modify-file-local-variable-message): New function.
5650 (modify-file-local-variable)
5651 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5652 and call `modify-file-local-variable-message' when it's non-nil.
5653 (add-file-local-variable, delete-file-local-variable)
5654 (add-file-local-variable-prop-line)
5655 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5656 and use it. (Bug#9820)
5658 2013-06-18 Juri Linkov <juri@jurta.org>
5660 * emulation/vi.el (vi-shell-op):
5661 * emulation/vip.el (vip-execute-com, ex-command):
5662 * emulation/viper-cmd.el (viper-exec-bang):
5663 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5664 the call of `shell-command-on-region'. (Bug#14637)
5666 * simple.el (shell-command-on-region): Doc fix.
5668 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5670 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5673 2013-06-18 Glenn Morris <rgm@gnu.org>
5675 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5677 * newcomment.el (comment-search-forward, comment-search-backward):
5678 Doc fix. (Bug#14376)
5680 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5682 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5683 (buffer-face-mode-invoke): Doc fix.
5685 2013-06-18 Matthias Meulien <orontee@gmail.com>
5687 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
5688 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
5690 2013-06-18 Glenn Morris <rgm@gnu.org>
5692 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5693 Replace obsolete function generic-make-keywords with its expansion.
5695 * progmodes/python.el (ffap-alist): Declare.
5697 * textmodes/reftex.el (bibtex-mode-map): Declare.
5699 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5701 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5702 (package-unpack, package-unpack-single): Return the pkg-dir.
5703 (package-download-transaction): Use it to update package-alist.
5705 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5707 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5710 2013-06-17 Juri Linkov <juri@jurta.org>
5712 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5714 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5716 * emacs-lisp/package.el (package-load-descriptor):
5717 Remove `with-syntax-table' call, `read' doesn't need it.
5718 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5720 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5722 * startup.el (command-line): Expand package name returned by
5723 `package--description-file' (bug#14639).
5725 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5727 * emacs-lisp/package.el (package-load-descriptor): Do not call
5728 `emacs-lisp-mode', just use its syntax table.
5730 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5732 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5733 `font-lock-extra-managed-props' if any prettifying keyword is added.
5734 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5735 (prog-mode): Use `setq-local'.
5737 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5739 * international/characters.el (standard-case-table): Set syntax of ?»
5740 and ?« to punctuation.
5742 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5744 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5745 Save relevant match data before calling `syntax-ppss' (bug#14595).
5747 2013-06-15 Juri Linkov <juri@jurta.org>
5749 * files-x.el (modify-file-local-variable-prop-line): Add local
5750 variables to the end of the existing comment on the first line.
5751 Use `file-auto-mode-skip' to skip interpreter magic line,
5752 and also skip XML declaration.
5754 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5756 * startup.el (package--builtin-versions): New var.
5757 (package-subdirectory-regexp): Remove.
5758 (package--description-file): Hard code its value instead.
5760 * emacs-lisp/package.el: Don't activate packages older than builtin.
5761 (package-obsolete-list): Rename from package-obsolete-alist, and make
5762 it into a simple list of package-desc.
5763 (package-strip-version): Remove.
5764 (package-built-in-p): Use package--builtin-versions.
5765 (package-mark-obsolete): Simplify.
5766 (package-process-define-package): Mark it obsolete if older than the
5768 (package-handle-response): Use line-end-position.
5769 (package-read-archive-contents, package--download-one-archive):
5771 (package--add-to-archive-contents): Skip if older than the builtin or
5773 (package-menu-describe-package): Fix last change.
5774 (package-list-unversioned): New var.
5775 (package-menu--generate): Use it.
5777 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5778 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5779 (autoload-builtin-package-versions): New variable.
5780 (autoload-generate-file-autoloads): Use them.
5781 Remove the list of autoloaded functions/macros from the
5782 (autoload...) comments.
5784 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5786 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5788 * simple.el (line-move-partial): Don't jump to the next screen
5789 line as soon as it becomes visible. Instead, continue enlarging
5790 the vscroll until the portion of a tall screen line that's left on
5791 display is about the height of the frame's default font.
5794 2013-06-15 Glenn Morris <rgm@gnu.org>
5796 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5797 compilation-error-regexp-alist void, or local while let-bound.
5799 * progmodes/make-mode.el (makefile-mode-syntax-table):
5800 Treat "=" as punctuation. (Bug#14614)
5802 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5804 * help-fns.el (describe-variable):
5805 Add extra line for permanent-local variables.
5807 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5809 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5810 Add export, import, library. (Bug#9164)
5811 (library): Set indent function.
5813 2013-06-14 Glenn Morris <rgm@gnu.org>
5815 * term/xterm.el (xterm--query):
5816 Stop after first matching handler. (Bug#14615)
5818 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5820 Add support for dired in saveplace.
5821 * dired.el (dired-initial-position-hook): New variable.
5822 (dired-initial-position): Call hook to place cursor position.
5823 * saveplace.el (save-place-to-alist): Add dired position.
5824 (save-place-dired-hook): New function.
5826 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5828 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5829 through a symbol rather than letrec.
5831 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5832 (package-desc): Add `dir' field.
5833 (package-desc-full-name): New function.
5834 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5835 (package-maybe-load-descriptor): Remove.
5836 (package-load-all-descriptors): Just call package-load-descriptor.
5837 (package--disabled-p): New function.
5838 (package-desc-vers, package-desc-doc): Remove aliases.
5839 (package--dir): Remove function.
5840 (package-activate): Check if a package is disabled.
5841 (package-process-define-package): New function, extracted from
5843 (define-package): Turn into a place holder.
5844 (package-unpack-single, package-tar-file-info):
5845 Use package--description-file.
5846 (package-compute-transaction): Use package--disabled-p.
5847 (package-download-transaction): Don't call
5848 package-maybe-load-descriptor since they're all loaded anyway.
5849 (package-install): Change argument to be a pkg-desc.
5850 (package-delete): Use a single pkg-desc argument.
5851 (describe-package-1): Use package-desc-dir instead of package--dir.
5852 Use package-desc property instead of package-symbol.
5853 (package-install-button-action): Adjust accordingly.
5854 (package--push): Rewrite.
5855 (package-menu--print-info): Adjust accordingly. Change the ID format
5857 (package-menu-describe-package, package-menu-get-status)
5858 (package-menu--find-upgrades, package-menu-mark-upgrades)
5859 (package-menu-execute, package-menu--name-predicate):
5861 * startup.el (package--description-file): New function.
5862 (command-line): Use it.
5863 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5864 Use package-desc-version.
5866 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5867 (byte-compile-preprocess): Use it.
5868 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5869 can't quite recognize.
5870 (byte-compile-add-to-list): Remove.
5871 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5872 (cconv-closure-convert): Add assertion.
5874 * emacs-lisp/map-ynp.el: Use lexical-binding.
5875 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5876 Factor out some repeated code.
5878 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5880 * subr.el (with-eval-after-load): New macro.
5881 (eval-after-load): Allow form to be a function.
5882 take advantage of lexical-binding.
5883 (do-after-load-evaluation): Use dolist and adjust to new format.
5884 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5886 2013-06-13 Juri Linkov <juri@jurta.org>
5888 * replace.el (perform-replace): Display "symbol " and other search
5889 modes from `isearch-message-prefix' in the *Help* buffer.
5891 * isearch.el (isearch-query-replace): Add " symbol" and other
5892 possible search modes from `isearch-message-prefix' to the prompt.
5893 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5894 when reading a regexp to collect.
5896 2013-06-13 Juri Linkov <juri@jurta.org>
5898 * isearch.el (word-search-regexp): Match whitespace if the search
5899 string begins or ends in whitespace. The LAX arg is applied to
5900 both ends of the search string. Use `regexp-quote' and explicit
5901 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5902 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5903 boundaries are replaced with symbol boundaries, and characters
5904 between symbols match non-word non-symbol syntax. (Bug#14602)
5906 2013-06-13 Juri Linkov <juri@jurta.org>
5908 * isearch.el (isearch-del-char): Don't exceed the length of
5909 `isearch-string' by the prefix arg. (Bug#14563)
5911 2013-06-13 Juri Linkov <juri@jurta.org>
5913 * isearch.el (isearch-yank-word, isearch-yank-line)
5914 (isearch-char-by-name, isearch-quote-char)
5915 (isearch-printing-char, isearch-process-search-char):
5916 Add optional count prefix arg. (Bug#14563)
5918 * international/isearch-x.el
5919 (isearch-process-search-multibyte-characters):
5920 Add optional count prefix arg.
5922 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5924 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5925 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5928 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5930 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5932 2013-06-13 Glenn Morris <rgm@gnu.org>
5934 * startup.el (tty-handle-args):
5935 Don't just discard "--" and anything after. (Bug#14608)
5937 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5939 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5941 Implement changes in Secret Service API. Make it backward compatible.
5942 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5943 (secrets-create-item): Use it. Prefix properties with interface.
5945 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5947 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5948 (term-emulate-terminal): Respect term-suppress-hard-newline.
5950 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5952 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5953 Only remove a `thumb-file' overlay. (Bug#14548)
5955 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
5957 * mail/reporter.el (reporter-submit-bug-report):
5958 Handle missing package-name. (Bug#14600)
5960 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5962 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5963 (reftex-citation-prompt, reftex-default-bibliography)
5964 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5965 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5966 (reftex-bib-sort-author, reftex-bib-sort-year)
5967 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5968 (reftex-extract-bib-entries-from-thebibliography)
5969 (reftex-get-bibkey-default, reftex-get-bib-names)
5970 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5971 (reftex-format-bib-entry, reftex-parse-bibitem)
5972 (reftex-format-bibitem, reftex-do-citation)
5973 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5974 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5975 (reftex-insert-bib-matches, reftex-format-citation)
5976 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5977 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5978 existing comments into docstrings.
5980 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5982 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5984 2013-06-12 Andreas Schwab <schwab@suse.de>
5986 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5987 for auto-save files.
5989 2013-06-12 Glenn Morris <rgm@gnu.org>
5991 * ido.el (ido-delete-ignored-files): Remove.
5992 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5993 Go back to calling ido-ignore-item-p directly.
5995 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5997 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5999 * ido.el (ido-delete-ignored-files): New function,
6000 split from ido-make-file-list-1.
6001 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6002 (ido-make-file-list-1): Use ido-delete-ignored-files.
6004 2013-06-12 Leo Liu <sdl.web@gmail.com>
6006 * progmodes/octave.el (inferior-octave-startup)
6007 (inferior-octave-completion-table)
6008 (inferior-octave-track-window-width-change)
6009 (octave-eldoc-function-signatures, octave-help)
6010 (octave-find-definition): Use single quoted strings.
6011 (inferior-octave-startup-args): Change default value.
6012 (inferior-octave-startup): Do not hard code "-i" and
6013 "--no-line-editing".
6014 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6015 (inferior-octave-directory-tracker): Use it.
6016 (octave-goto-function-definition): Robustify.
6017 (octave-help): Support highlighting operators in 'See also'.
6018 (octave-find-definition): Find subfunctions only in Octave mode.
6020 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6022 * help-fns.el (help-fns--compiler-macro): If the handler function is
6023 named, then put a link to it.
6024 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6025 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6027 (cl-eval-when): Simplify debug spec.
6028 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6029 compiler-macro function instead of setting `compiler-macro-file'.
6031 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6033 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6034 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6036 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6037 Daniel Hackney <dan@haxney.org>
6039 First part of Daniel Hackney's patch to package.el.
6040 * emacs-lisp/package.el: Use defstruct.
6041 (package-desc): New, main struct.
6042 (package--bi-desc, package--ac-desc): New structs, used to describe the
6043 format in external files.
6044 (package-desc-vers): Replace with package-desc-version accessor.
6045 (package-desc-doc): Replace with package-desc-summary accessor.
6046 (package-activate-1): Remove `package' arg since the pkg-vec now
6048 (define-package): Use package-desc-from-define.
6049 (package-unpack-single): Change file-name arg to be a symbol.
6050 (package--add-to-archive-contents): Use package-desc-create and new
6051 accessor functions to package--ac-desc.
6052 (package-buffer-info, package-tar-file-info): Return a package-desc.
6053 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6054 arg to be a package-desc.
6055 (package-install-file): Adjust accordingly. Use \' to match EOS.
6056 (package--from-builtin): New function.
6057 (describe-package-1, package-menu--generate): Use it.
6058 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6059 (package-generate-autoloads): Idem and return the name of the file.
6060 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6061 Change pkg-info arg to be a package-desc.
6062 Use package-make-ac-desc.
6063 (package-upload-file): Use \' to match EOS.
6064 * finder.el (finder-compile-keywords): Use package-make-builtin.
6066 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6068 * vc/vc.el (vc-deduce-fileset): Change error message.
6069 (vc-read-backend): New function.
6070 (vc-next-action): Use it.
6072 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6074 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6075 (prolog-font-lock-keywords): Use regexp-opt instead.
6076 Don't manually highlight strings.
6077 (prolog-mode-variables): Simplify comment-start-skip.
6078 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6080 * emacs-lisp/generic.el (generic--normalise-comments)
6081 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6082 (generic-mode-set-comments): Use them.
6083 (generic-bracket-support): Use setq-local.
6084 (generic-make-keywords-list): Declare obsolete.
6086 2013-06-11 Glenn Morris <rgm@gnu.org>
6088 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6089 Prettify after setting font-lock-defaults. (Bug#14574)
6091 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6093 * replace.el (query-replace, occur-read-regexp-defaults-function)
6095 * subr.el (declare-function, number-sequence, local-set-key)
6096 (substitute-key-definition, locate-user-emacs-file)
6097 (with-silent-modifications, split-string, eval-after-load):
6098 Fix typos, remove unneeded backslashes and reflow some docstrings.
6100 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6102 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6103 default for Elisp files.
6105 2013-06-11 Glenn Morris <rgm@gnu.org>
6107 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6108 although define-derived-mode was doing this anyway. (Bug#14583)
6110 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6112 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6113 Fix make-variable-buffer-local call to refer to the correct variable.
6115 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6117 * eshell/em-term.el (eshell-visual-commands)
6118 (eshell-visual-subcommands, eshell-visual-options):
6119 Add summary line to docstrings. Add cross-references.
6121 2013-06-10 Glenn Morris <rgm@gnu.org>
6123 * epa.el (epa-read-file-name): New function. (Bug#14510)
6124 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6126 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6128 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6129 output redirection to be ignored with visual commands.
6131 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6133 * eshell/em-term.el (eshell-visual-command-p): New function.
6134 (eshell-term-initialize): Move long lambda to separate function
6135 eshell-visual-command-p.
6136 * eshell/em-dirs.el (eshell-dirs-initialise):
6137 * eshell/em-script.el (eshell-script-initialize):
6138 Add missing #' to lambda.
6140 2013-06-08 Leo Liu <sdl.web@gmail.com>
6142 * progmodes/octave.el (octave-add-log-current-defun): New function.
6143 (octave-mode): Set add-log-current-defun-function.
6144 (octave-goto-function-definition): Do not move point if not found.
6145 (octave-find-definition): Enhance to try subfunctions first.
6147 2013-06-08 Glenn Morris <rgm@gnu.org>
6149 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6150 (byte-compile-backward-char, byte-compile-backward-word):
6151 Improve previous change, to handle non-explicit nil.
6153 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6155 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6156 (smie--opener/closer-at-point): New function.
6157 (smie--matching-block-data): Use it. Don't match from right after an
6158 opener or right before a closer. Obey smie-blink-matching-inners.
6159 Don't signal a mismatch for repeated inners like "switch..case..case".
6161 2013-06-07 Leo Liu <sdl.web@gmail.com>
6163 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6165 (octave-function-header-regexp): Fix. (Bug#14570)
6166 (octave-help-mode-finish-hook, octave-help-mode-finish):
6167 Remove. Just use temp-buffer-show-hook.
6169 * newcomment.el (comment-search-backward): Revert last change.
6172 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6174 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6176 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6177 through xargs, to avoid failure due to MS-Windows limitations on
6178 command-line length.
6180 2013-06-06 Glenn Morris <rgm@gnu.org>
6182 * font-lock.el (lisp-font-lock-keywords-2):
6183 Treat user-error like error.
6185 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6186 (byte-compile-backward-char, byte-compile-backward-word):
6187 Handle explicit nil arguments. (Bug#14565)
6189 2013-06-05 Alan Mackenzie <acm@muc.de>
6191 * isearch.el (isearch-allow-prefix): New user option.
6192 (isearch-other-meta-char): Don't exit isearch when a prefix
6193 argument is typed whilst `isearch-allow-prefix' is non-nil.
6196 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6198 * autorevert.el (auto-revert-notify-handler): Use memq.
6199 Hide assertion failure.
6201 * skeleton.el: Use cl-lib.
6202 (skeleton-further-elements): Use defvar-local.
6203 (skeleton-insert): Use cl-progv.
6205 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6207 * progmodes/prog-mode.el (prog-prettify-symbols)
6208 (prog-prettify-install): Update docstrings.
6210 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6212 * simple.el: Move all the prog-mode code to prog-mode.el.
6213 * progmodes/prog-mode.el: New file.
6214 * loadup.el: Add prog-mode.el.
6216 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6218 * simple.el (prog-prettify-symbols): Add version.
6219 (prog-prettify-install): Add convenience function to prettify symbols.
6221 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6222 (perl--augmented-font-lock-keywords-1)
6223 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6224 variables and use it.
6226 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6227 (cfengine3-mode): Remove unneeded variable and use it.
6229 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6230 (lisp--augmented-font-lock-keywords-1)
6231 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6232 Remove unneeded variables and use it.
6234 2013-06-05 João Távora <joaotavora@gmail.com>
6236 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6237 to point when opening the connection. (Bug#14380)
6239 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6241 * subr.el (load-history-regexp, load-history-filename-element)
6242 (eval-after-load, after-load-functions, do-after-load-evaluation)
6243 (eval-next-after-load, display-delayed-warnings)
6244 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6245 definition of save-match-data.
6246 (overriding-local-map): Remove accidental obsolescence declaration.
6248 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6250 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6252 Generalize symbol prettify support to prog-mode and implement it
6253 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6254 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6255 (prog--prettify-font-lock-compose-symbol)
6256 (prog-prettify-font-lock-symbols-keywords): New variables and
6257 functions to support symbol prettification.
6258 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6259 (lisp--augmented-font-lock-keywords-1)
6260 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6261 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6262 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6263 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6264 Implement prettify of -> => :: strings.
6265 * progmodes/perl-mode.el (perl-prettify-symbols)
6266 (perl--font-lock-compose-symbol)
6267 (perl--font-lock-symbols-keywords): Move to prog-mode.
6268 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6269 (perl-font-lock-keywords-1)
6270 (perl-font-lock-keywords-2): Remove explicit prettify support.
6271 (perl--augmented-font-lock-keywords)
6272 (perl--augmented-font-lock-keywords-1)
6273 (perl--augmented-font-lock-keywords-2, perl-mode):
6274 Implement prettify support.
6276 2013-06-05 Leo Liu <sdl.web@gmail.com>
6278 Re-implement smie matching block highlight using
6279 show-paren-data-function. (Bug#14395)
6280 * emacs-lisp/smie.el (smie-matching-block-highlight)
6281 (smie--highlight-matching-block-overlay)
6282 (smie--highlight-matching-block-lastpos)
6283 (smie-highlight-matching-block)
6284 (smie-highlight-matching-block-mode): Remove.
6285 (smie--matching-block-data-cache): New variable.
6286 (smie--matching-block-data): New function.
6287 (smie-setup): Use smie--matching-block-data for
6288 show-paren-data-function.
6290 * progmodes/octave.el (octave-mode-menu): Fix.
6291 (octave-find-definition): Skip garbage lines.
6293 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6295 Fix compilation error with simultaneous dynamic+lexical scoping.
6296 Add warning when a defvar appears after the first let-binding.
6297 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6298 (byte-compile-close-variables): Initialize it.
6299 (byte-compile--declare-var): New function.
6300 (byte-compile-file-form-defvar)
6301 (byte-compile-file-form-define-abbrev-table)
6302 (byte-compile-file-form-custom-declare-variable): Use it.
6303 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6304 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6305 (byte-compile-bind): Handle dynamic bindings that shadow
6307 (byte-compile-unbind): Make arg non-optional.
6308 (byte-compile-let): Simplify.
6309 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6310 (cconv--analyse-function, cconv-analyse-form): Populate it.
6311 Protect byte-compile-bound-variables to limit the scope of defvars.
6312 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6313 Remove unneeded rule for `declare'.
6315 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6316 so as to avoid depending on cl-adjoin at run-time.
6317 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6319 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6320 (macroexp--warn-and-return): Use it.
6322 2013-06-05 Leo Liu <sdl.web@gmail.com>
6324 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6326 2013-06-04 Leo Liu <sdl.web@gmail.com>
6328 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6329 (compilation-auto-jump): Suppress the "Mark set" message to give
6330 way to exit message.
6332 2013-06-04 Alan Mackenzie <acm@muc.de>
6334 Remove faulty optimisation from indentation calculation.
6335 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6336 search limit based on 2000 characters back from indent-point.
6338 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6340 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6342 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6344 * emacs-lisp/lisp.el: Use lexical-binding.
6345 (lisp--local-variables-1, lisp--local-variables): New functions.
6346 (lisp--local-variables-completion-table): New var.
6347 (lisp-completion-at-point): Use it complete let-bound vars.
6349 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6350 eagerly (bug#14422).
6352 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
6354 * autorevert.el (auto-revert-notify-enabled)
6355 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6356 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6357 (auto-revert-notify-handler): Handle also gfilenotify.
6359 * subr.el (file-notify-handle-event): New defun. Replacing ...
6360 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6363 2013-06-03 Juri Linkov <juri@jurta.org>
6365 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6366 `M-s h .'. (Bug#14427)
6368 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6369 command `hi-lock-face-symbol-at-point'.
6370 (hi-lock-face-symbol-at-point): New command.
6371 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6372 (hi-lock-menu): Add `highlight-symbol-at-point'.
6373 (hi-lock-mode): Doc fix.
6375 * isearch.el (isearch-forward-symbol-at-point): New command.
6376 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6377 (isearch-highlight-regexp): Add a regexp which matches
6378 words/symbols for word/symbol mode.
6380 * subr.el (find-tag-default-bounds): New function with the body
6381 mostly moved from `find-tag-default'.
6382 (find-tag-default): Move most code to `find-tag-default-bounds',
6383 call it and apply `buffer-substring-no-properties' afterwards.
6385 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6387 * eshell/em-term.el (eshell-term-initialize):
6388 Use `cl-intersection' rather than `intersection'.
6390 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6392 * vc/log-view.el: Doc fix.
6393 (log-view-mode-map): Copy keymap from `special-mode-map'.
6395 2013-06-02 Eric Ludlam <zappo@gnu.org>
6397 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6398 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6399 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6400 (eieio-unbound, eieio-default-superclass)
6401 (eieio--define-field-accessors, method-static, method-before)
6402 (method-primary, method-after, method-num-lists)
6403 (method-generic-before, method-generic-primary)
6404 (method-generic-after, method-num-slots)
6405 (eieio-specialized-key-to-generic-key)
6406 (eieio--check-type, class-v, class-p)
6407 (eieio-class-name, define-obsolete-function-alias)
6408 (eieio-class-parents-fast, eieio-class-children-fast)
6409 (same-class-fast-p, class-constructor, generic-p)
6410 (generic-primary-only-p, generic-primary-only-one-p)
6411 (class-option-assoc, class-option, eieio-object-p)
6412 (class-abstract-p, class-method-invocation-order)
6413 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6414 (eieio-class-un-autoload, eieio-defclass)
6415 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6416 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6417 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6418 (eieio-defgeneric-reset-generic-form)
6419 (eieio-defgeneric-form-primary-only)
6420 (eieio-defgeneric-reset-generic-form-primary-only)
6421 (eieio-defgeneric-form-primary-only-one)
6422 (eieio-defgeneric-reset-generic-form-primary-only-one)
6423 (eieio-unbind-method-implementations)
6424 (eieio--defmethod, eieio--typep)
6425 (eieio-perform-slot-validation, eieio-validate-slot-value)
6426 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6427 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6428 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6429 (eieio-slot-name-index, eieio-class-slot-name-index)
6430 (eieio-set-defaults, eieio-initarg-to-attribute)
6431 (eieio-attribute-to-initarg, eieio-c3-candidate)
6432 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6433 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6434 (eieio-class-precedence-list, eieio-generic-call-methodname)
6435 (eieio-generic-call-arglst, eieio-generic-call-key)
6436 (eieio-generic-call-next-method-list)
6437 (eieio-pre-method-execution-functions, eieio-generic-call)
6438 (eieio-generic-call-primary-only, eieiomt-method-list)
6439 (eieiomt-optimizing-obarray, eieiomt-install)
6440 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6441 (eieio-generic-form, eieio-defmethod, make-obsolete)
6442 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6443 (defclass): Remove `eval-and-compile' from macro.
6444 (call-next-method, shared-initialize): Instead of using
6445 `scoped-class' variable, use new eieio--scoped-class, and
6446 eieio--with-scoped-class.
6447 (initialize-instance): Rename local variable 'scoped-class' to
6448 'this-class' to remove ambiguitity from old global.
6450 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6452 (eieio--scoped-class-stack): New variable.
6453 (eieio--scoped-class): New fcn.
6454 (eieio--with-scoped-class): New scoping macro.
6455 (eieio-defclass): Use pushnew instead of add-to-list.
6456 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6457 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6458 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6459 `scoped-class' variable, use new eieio--scoped-class, and
6460 eieio--with-scoped-class.
6462 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6464 2013-06-02 Tassilo Horn <tsdh@gnu.org>
6466 * eshell/esh-ext.el (eshell-external-command): Pass args to
6467 `eshell-find-interpreter'.
6468 (eshell-find-interpreter): Add new second parameter ARGS.
6470 * eshell/em-script.el (eshell-script-initialize): Add second arg
6471 to the function added as MATCH to `eshell-interpreter-alist'.
6473 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6474 the function added as MATCH to `eshell-interpreter-alist'.
6476 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6477 (eshell-visual-options): New defcustom.
6478 (eshell-escape-control-x): Adapt docstring.
6479 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6480 `eshell-visual-options' in addition to `eshell-visual-commands'.
6481 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6483 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
6485 * progmodes/python.el (python-indent-block-enders): Add break,
6486 continue and raise keywords.
6488 2013-06-01 Glenn Morris <rgm@gnu.org>
6490 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6492 Plain (f)boundp silences compilation warnings since Emacs 22.1.
6493 * progmodes/cc-cmds.el (delete-forward-p):
6494 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6495 * progmodes/cc-engine.el (buffer-syntactic-context):
6496 * progmodes/cc-fonts.el (face-property-instance):
6497 * progmodes/cc-mode.el (set-keymap-parents):
6498 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6499 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6500 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6501 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6502 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6504 * progmodes/cc-vars.el (other): Emacs has this widget since
6505 at least 21.1, so don't (re)define it.
6507 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6508 Replace the obsolete alias pcomplete-arg-quote-list.
6510 2013-06-01 Leo Liu <sdl.web@gmail.com>
6512 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6514 (inferior-octave-minimal-columns)
6515 (inferior-octave-last-column-width): New variables.
6516 (inferior-octave-track-window-width-change): New function.
6517 (inferior-octave-mode): Adjust column width so that Octave output,
6518 for example from 'ls', can fit into the window nicely.
6520 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6522 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6523 Highlight expansions inside regexp literals.
6525 2013-05-31 Glenn Morris <rgm@gnu.org>
6527 * obsolete/sym-comp.el (symbol-complete):
6528 Replace obsolete completion-annotate-function.
6530 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6532 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6534 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6535 New function, checks if point is inside a literal that allows
6536 expression expansion.
6537 (ruby-syntax-propertize-expansion): Use it.
6538 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6541 2013-05-30 Juri Linkov <juri@jurta.org>
6543 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6545 (isearch-invisible): New variable.
6546 (isearch-forward): Doc fix.
6547 (isearch-mode): Set `isearch-invisible'
6548 to the value of `search-invisible'.
6549 (isearch-toggle-case-fold): Doc fix.
6550 (isearch-toggle-invisible): New command.
6551 (isearch-query-replace): Let-bind `search-invisible'
6552 to the value of `isearch-invisible'.
6553 (isearch-search): Use `isearch-invisible' instead of
6554 `search-invisible'. Let-bind `search-invisible'
6555 to the value of `isearch-invisible'. (Bug#11378)
6557 2013-05-30 Juri Linkov <juri@jurta.org>
6559 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6560 call when `query-flag' is nil and `search-invisible' is non-nil.
6563 2013-05-30 Glenn Morris <rgm@gnu.org>
6565 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6567 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6568 (cc-require): Suppress spurious "noruntime" warnings.
6569 (cc-require-when-compile): Use fboundp, for sake of compiler.
6571 * progmodes/cc-mode.el: Move load of cc-vars before that of
6572 cc-langs (which in turn loads cc-vars), to quieten compiler.
6574 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6576 * paren.el: Simplify the code.
6577 (show-paren-mode): Always start the timer.
6578 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6579 (show-paren--overlay, show-paren--overlay-1): Rename from
6580 show-paren-overlay and show-paren-overlay-1, and initialize to an
6581 overlay rather than to nil.
6582 (show-paren-function): Misc cleanup and simplifications.
6584 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6586 * paren.el (show-paren-data-function): New hook.
6587 (show-paren--default): New function, extracted from show-paren-function.
6588 (show-paren-function): Use show-paren-data-function.
6590 2013-05-30 Glenn Morris <rgm@gnu.org>
6592 * ielm.el (ielm-map, ielm-complete-symbol):
6593 Use completion-at-point rather than obsolete functions.
6594 (inferior-emacs-lisp-mode): Doc fix.
6595 Set completion-at-point-functions, rather than
6596 comint-dynamic-complete-functions.
6598 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6599 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6600 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6602 * image.el (image-animated-p): Tweak definition.
6604 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6605 (rlogin-process-connection-type): Tweak default. Add set-after.
6606 (rlogin-host): Doc fix.
6607 (rlogin): Tweak prompt.
6608 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6610 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6611 * progmodes/tcl.el (inferior-tcl-mode-map):
6612 Use completion-at-point rather than obsolete alias.
6614 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6616 * minibuffer.el (read-file-name-completion-ignore-case):
6617 Move before completion--in-region, for eager macro expansion.
6619 2013-05-29 Juri Linkov <juri@jurta.org>
6621 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6622 for total count of matching lines. Add `global-matches' for total
6623 count of matches. Rename `matches' to `lines' for count of
6624 matching lines. Add `matches' for count of matches.
6625 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6626 to `prev-line' for line number of prev match endpt.
6627 Increment `matches' for every match. Print the number of
6628 matching lines in the header.
6629 (occur-context-lines): Rename `lines' to `curr-line'.
6630 Rename `prev-lines' to `prev-line'. (Bug#14017)
6632 2013-05-29 Juri Linkov <juri@jurta.org>
6634 * replace.el (perform-replace): Add `skip-read-only-count',
6635 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6636 Increment them for corresponding conditions and report the number
6637 of skipped occurrences in the final message. (Bug#11746)
6638 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6639 (replace-string, replace-regexp): Doc fix.
6641 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6643 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6645 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
6646 prog-mode-map (bug#14504).
6648 2013-05-29 Leo Liu <sdl.web@gmail.com>
6650 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6651 (octave-help): Small simplification.
6653 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6654 off the highlight first.
6656 2013-05-29 Glenn Morris <rgm@gnu.org>
6658 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6659 Handle idlwave-last-system-routine-info-cons-cell being nil.
6661 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6662 (idlwave-write-paths): Simplify via with-temp-buffer.
6664 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6665 * emulation/cua-rect.el: Also load cua-base at run time.
6667 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6668 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6669 (cperl-imenu-on-info): Require imenu.
6671 2013-05-28 Alan Mackenzie <acm@muc.de>
6673 Handle "capitalised keywords" correctly.
6674 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
6676 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
6678 * eshell/em-unix.el: Add -r option to cp.
6680 2013-05-28 Glenn Morris <rgm@gnu.org>
6682 * vc/vc-arch.el (vc-exec-after): Declare.
6683 (vc-switches): Autoload.
6684 * vc/vc-bzr.el: No need to require vc when compiling.
6685 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6686 (vc-resynch-buffer, vc-dir-refresh): Declare.
6687 (vc-setup-buffer, vc-switches): Autoload.
6688 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6689 (vc-resynch-buffer): Declare.
6690 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
6691 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
6692 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6693 (grep-read-regexp, grep-read-files, grep-expand-template)
6694 (vc-dir-refresh): Declare.
6695 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6696 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6697 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
6698 * vc/vc-mtn.el (vc-exec-after): Declare.
6699 (vc-switches): Autoload.
6700 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6701 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6702 (vc-file-tree-walk): Declare.
6703 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6704 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6705 (vc-tag-precondition, vc-rename-master): Autoload.
6706 * vc/vc-svn.el (vc-exec-after): Declare.
6707 (vc-switches, vc-setup-buffer): Autoload.
6708 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6710 (vc-resynch-buffer): Declare.
6712 * obsolete/fast-lock.el (byte-compile-warnings):
6713 Don't warn about obsolete features in this obsolete file.
6715 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6716 Move definition before use.
6718 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6719 (dun-unix-verbs): Remove dun-zippy.
6720 (dun-zippy): Remove function.
6722 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6724 2013-05-27 Juri Linkov <juri@jurta.org>
6726 * replace.el (replace-search): New function with code moved out
6727 from `perform-replace'.
6728 (replace-highlight, replace-dehighlight): Move function definitions
6729 up closer to `replace-search'. (Bug#11746)
6731 2013-05-27 Juri Linkov <juri@jurta.org>
6733 * replace.el (perform-replace): Ignore invisible matches.
6734 In addition to checking `query-replace-skip-read-only', also
6735 filter out matches by calling `run-hook-with-args-until-failure'
6736 on `isearch-filter-predicates', and also check `search-invisible'
6737 for t or call `isearch-range-invisible'.
6738 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6740 2013-05-27 Juri Linkov <juri@jurta.org>
6742 * isearch.el (isearch-filter-predicates): Rename from
6743 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6744 (isearch-message-prefix): Display text from the property
6745 `isearch-message-prefix' of the currently active filters.
6746 (isearch-search): Don't compare `isearch-filter-predicate' with
6747 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6748 on `isearch-filter-predicates'. Also check `search-invisible' for t
6749 or call `isearch-range-invisible'.
6750 (isearch-filter-visible): Make obsolete.
6751 (isearch-lazy-highlight-search):
6752 Call `run-hook-with-args-until-failure' on
6753 `isearch-filter-predicates' and use `isearch-range-invisible'.
6755 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6756 `isearch-filter-predicates' instead of `funcall'ing
6757 `isearch-filter-predicate'.
6758 (Info-mode): Set `Info-isearch-filter' to
6759 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6761 * dired-aux.el (dired-isearch-filter-predicate-orig):
6763 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6764 (dired-isearch-filenames-end): Add and remove
6765 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6766 instead of changing the value of `isearch-filter-predicate'.
6767 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6768 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6769 Put property `isearch-message-prefix' to "filename " on
6770 `dired-isearch-filter-filenames'.
6772 * wdired.el (wdired-change-to-wdired-mode):
6773 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6774 locally instead of changing `isearch-filter-predicate'.
6775 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6777 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6779 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6780 return the commit hash (Bug#14459). Also set the
6781 `vc-git-detached' property.
6782 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6783 (vc-git-mode-line-string): Use the same help-echo format whether
6784 in detached mode or not, because we know the actual revision now.
6785 When in detached mode, shorten the revision to 7 chars.
6787 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6789 * emacs-lisp/easy-mmode.el (define-minor-mode):
6790 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6791 mode hook and provide a docstring.
6793 2013-05-27 Alan Mackenzie <acm@muc.de>
6795 Remove spurious syntax-table text properties inserted by C-y.
6796 * progmodes/cc-mode.el (c-after-change): Also clear hard
6797 syntax-table property with value nil.
6799 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6801 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6802 when reading the events; the buffer layout shall not be changed.
6804 2013-05-27 Leo Liu <sdl.web@gmail.com>
6806 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6808 (inferior-octave-directory-tracker): Automatically re-sync
6810 (octave-help): Improve handling of 'See also'.
6812 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6814 * doc-view.el: Minor naming convention tweaks.
6815 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6817 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6818 even if there's no `display' property yet (bug#14435).
6820 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6822 * subr.el (unmsys--file-name): Rename from reveal-filename.
6824 * Makefile.in (custom-deps, finder-data, autoloads)
6825 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6826 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6827 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6829 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6831 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6832 error-completion on the first 2 args of condition-case (bug#14446).
6835 2013-05-25 Leo Liu <sdl.web@gmail.com>
6837 * comint.el (comint-previous-matching-input): Do not flood the
6838 *Messages* buffer with trivial messages.
6840 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6842 * progmodes/flymake.el (flymake-nop): Don't return a string.
6843 (flymake-set-at): Fix typo.
6845 * simple.el (read--expression): New function, extracted from
6846 eval-expression. Set completion-at-point-functions (bug#14465).
6847 (eval-expression, eval-minibuffer): Use it.
6849 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6851 * progmodes/flymake.el (flymake-save-buffer-in-file)
6852 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6853 (flymake-selected-frame, flymake-log, flymake-ins-after)
6854 (flymake-set-at, flymake-get-buildfile-from-cache)
6855 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6856 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6857 Refine the doc string.
6858 (flymake-get-file-name-mode-and-masks): Reformat.
6859 (flymake-get-real-file-name-function): Fix a minor bug.
6861 2013-05-24 Juri Linkov <juri@jurta.org>
6863 * progmodes/grep.el (grep-mode-font-lock-keywords):
6864 Support =linenumber= format used by git-grep for lines with
6865 function names. (Bug#13549)
6867 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6869 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6870 0 after a semi-colon; it works better for smie-auto-fill.
6871 (octave--indent-new-comment-line): New function.
6872 (octave-indent-new-comment-line): Use it (indirectly).
6873 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6874 modify comment-line-break-function.
6876 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6877 (smie-setup): Use add-function to set it.
6879 2013-05-24 Sam Steingold <sds@gnu.org>
6881 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6882 argument (before the `interactive' argument).
6884 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6886 * image-mode.el (image-mode-winprops): Add winprops to
6887 image-mode-winprops-alist before running
6888 image-mode-new-window-functions.
6889 * doc-view.el (doc-view-new-window-function): Don't delay
6890 doc-view-goto-page via timers (bug#14435).
6892 2013-05-24 Tassilo Horn <tsdh@gnu.org>
6894 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6895 (doc-view-desktop-save-buffer): New function.
6896 (doc-view-restore-desktop-buffer): New function.
6897 (desktop-buffer-mode-handlers):
6898 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6900 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6901 `desktop-save-buffer' function.
6903 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
6905 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6906 (tramp-gvfs-file-name-handler): Raise a user error when
6907 `tramp-gvfs-enabled' is nil.
6908 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6909 Do not raise a user error when loading package. (Bug#14447)
6911 * net/xesam.el: Move to obsolete/.
6913 2013-05-24 Glenn Morris <rgm@gnu.org>
6915 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6917 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6919 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6920 (Info-find-node, Man-getpage-in-background): Declare.
6922 * mail/unrmail.el (unrmail):
6923 Replace obsolete detect-coding-with-priority.
6925 * net/socks.el (socks-split-string): Use this rather than split-string.
6926 (socks-nslookup-host): Update for above change.
6927 (dynamic-choice, s5-dynamic-choice-match)
6928 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6929 Comment out unused code.
6931 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6932 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6933 (gud-tooltip-echo-area): Make obsolete.
6934 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6936 * progmodes/js.el (js--optimize-arglist): Declare.
6938 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6940 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6941 (ediff-window-C): Declare.
6943 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6944 Tweak requires to silence compiler.
6946 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6947 (he-search-string, he-tried-table, he-expand-list)
6948 (he-init-string, he-string-member, he-substitute-string)
6949 (he-reset-string): Declare.
6951 * obsolete/options.el (list-options): Use custom-variable-p,
6952 rather than obsolete alias.
6954 2013-05-23 Sam Steingold <sds@gnu.org>
6956 * simple.el (shell-command-on-region): Pass the `replace' argument
6957 down to `call-process-region' to comply with the doc as reported on
6958 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6960 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6962 * emacs-lisp/smie.el (smie-indent-forward-token)
6963 (smie-indent-backward-token): Handle string tokens (bug#14381).
6965 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6967 * ielm.el (ielm-menu): New menu.
6968 (inferior-emacs-lisp-mode): Set comment-start.
6970 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6972 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6973 Fix deactivate action.
6975 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6976 Add cleveref macros.
6978 * lisp/textmodes/reftex-parse.el
6979 (reftex-locate-bibliography-files): Accept options for
6980 bibliography commands.
6981 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6982 Add addbibresource. Basic Biblatex support.
6984 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
6986 * net/tramp-gvfs.el (top):
6987 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6988 when loading package. (Bug#14447)
6990 2013-05-23 Glenn Morris <rgm@gnu.org>
6992 * progmodes/js.el: No need to load comint when compiling.
6993 (ring-insert, comint-send-string, comint-send-input)
6994 (comint-last-input-end, ido-chop): Declare.
6996 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6997 * vc/ediff-mult.el: Adjust requires.
6998 (ediff-directories-internal, ediff-directory-revisions-internal)
6999 (ediff-patch-file-internal): Declare.
7000 * vc/ediff-ptch.el: Adjust requires.
7001 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7002 (ediff-find-file): Autoload.
7003 * vc/ediff-util.el: No need to load ediff when compiling.
7004 (ediff-regions-internal): Declare.
7005 * vc/ediff-wind.el: Adjust requires.
7006 (ediff-compute-toolbar-width): Define when compiling.
7007 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7008 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7009 (dired-get-filename, dired-get-marked-files)
7010 (ediff-last-dir-patch, ediff-patch-default-directory)
7011 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7012 (ediff-patch-buffer-internal): Declare.
7014 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7015 (ispell-process, ispell-buffer-local-words, lm-summary)
7016 (lm-section-start, lm-section-end): Declare.
7017 (checkdoc-ispell-init): Simplify.
7019 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7020 (he-string-member, he-reset-string, he-substitute-string): Declare.
7022 * eshell/em-ls.el: Adjust requires.
7023 (eshell-glob-regexp): Declare.
7024 * eshell/em-tramp.el: Adjust requires.
7025 (eshell-parse-command): Autoload.
7026 * eshell/em-xtra.el: Adjust requires.
7027 (eshell-parse-command): Autoload.
7028 * eshell/esh-ext.el: Adjust requires.
7029 (eshell-parse-command, eshell-close-handles): Autoload.
7030 * eshell/esh-io.el: Adjust requires.
7031 (eshell-output-filter): Autoload.
7032 * eshell/esh-util.el: No need to load tramp when compiling.
7033 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7035 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7036 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7037 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7038 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7039 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7040 * eshell/esh-opt.el, eshell/esh-proc.el:
7041 * eshell/esh-var.el: Adjust requires.
7042 * eshell/eshell.el: Do not require esh-util twice.
7043 (eshell-add-input-to-history): Declare.
7044 (eshell-command): Check history module is active before using it.
7046 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7048 2013-05-22 Leo Liu <sdl.web@gmail.com>
7050 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7052 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7054 * autorevert.el (auto-revert-notify-add-watch)
7055 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7056 it indicates changes in file modification time.
7058 2013-05-22 Glenn Morris <rgm@gnu.org>
7060 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7061 Always delete the autoloaded function from the noruntime and
7062 unresolved functions lists.
7064 * allout.el: No need to load epa, epg, overlay when compiling.
7065 (epg-context-set-passphrase-callback, epg-list-keys)
7066 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7067 (epg-key-user-id-list): Declare.
7069 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7070 (viper-set-parsing-style-toggling-macro)
7071 (viper-set-emacs-state-searchstyle-macros):
7072 Use called-interactively-p on Emacs.
7073 (viper-looking-back): Make it an obsolete alias. Update callers.
7074 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7075 Use looking-back rather than viper-looking-back.
7076 (viper-tmp-insert-at-eob, viper-enlarge-region)
7077 (viper-read-string-with-history, viper-register-to-point)
7078 (viper-append-to-register, viper-change-state-to-vi)
7079 (viper-backward-char-carefully, viper-forward-char-carefully)
7080 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7081 (viper-change-state-to-emacs): Declare.
7082 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7083 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7084 * emulation/viper-mous.el: Do not load viper-cmd.
7085 (viper-backward-char-carefully, viper-forward-char-carefully)
7086 (viper-forward-word, viper-adjust-window): Declare.
7088 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7090 * progmodes/idlw-help.el (idlwave-help-fontify):
7091 Use called-interactively-p.
7093 * term/w32console.el (w32-get-console-codepage)
7094 (w32-get-console-output-codepage): Declare.
7096 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7097 Remove unnecessary declarations.
7098 (dframe-message): Doc fix.
7100 * info.el (dframe-select-attached-frame, dframe-current-frame):
7103 * speedbar.el (speedbar-message): Make it an obsolete alias.
7105 (speedbar-with-attached-buffer)
7106 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7107 (speedbar-with-writable): Use backquote.
7108 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7109 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7110 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7111 rather than speedbar- aliases.
7112 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7113 (speedbar-make-specialized-keymap, speedbar-insert-button)
7114 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7115 (speedbar-do-function-pointer): Declare.
7116 (rmail-speedbar-button, rmail-speedbar-find-file)
7117 (rmail-speedbar-move-message):
7118 Use dframe-with-attached-buffer rather than speedbar- alias.
7119 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7120 (dframe-message, speedbar-make-specialized-keymap)
7121 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7122 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7123 (speedbar-insert-button, dframe-select-attached-frame)
7124 (dframe-maybee-jump-to-attached-frame)
7125 (speedbar-change-initial-expansion-list)
7126 (speedbar-previously-used-expansion-list-name): Declare.
7127 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7128 Use dframe-message, dframe-with-attached-buffer rather than
7130 (gud-sentinel): Silence compiler.
7131 * progmodes/vhdl-mode.el (speedbar-refresh)
7132 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7133 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7134 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7135 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7136 (speedbar-file-lists, speedbar-make-tag-line)
7137 (speedbar-line-directory, speedbar-goto-this-file)
7138 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7139 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7140 (speedbar-make-button, speedbar-reset-scanners)
7141 (speedbar-files-item-info, speedbar-line-text)
7142 (speedbar-find-file-in-frame, speedbar-set-timer)
7143 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7144 (speedbar-with-writable): Do not (re)define it.
7145 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7146 rather than speedbar- alias.
7148 2013-05-21 Leo Liu <sdl.web@gmail.com>
7150 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7152 (octave-mode): Tweak fill-nobreak-predicate.
7153 (inferior-octave-startup): Check process to avoid infinite loop.
7154 (inferior-octave): Pop to buffer first to show abornmal process
7157 2013-05-21 Glenn Morris <rgm@gnu.org>
7159 * printing.el (pr-menu-bar): Define when compiling.
7161 2013-05-21 Leo Liu <sdl.web@gmail.com>
7163 * progmodes/octave.el (octave-auto-fill): Remove.
7164 (octave-indent-new-comment-line): Improve.
7165 (octave-mode): Use auto fill mode through
7166 comment-line-break-function and fill-nobreak-predicate.
7167 (octave-goto-function-definition): Support DEFUN_DLD.
7168 (octave-beginning-of-defun): Small tweak.
7169 (octave-help): Show parent directory.
7171 2013-05-21 Glenn Morris <rgm@gnu.org>
7173 * files.el (dired-unmark):
7174 * progmodes/gud.el (gdb-input): Update declarations.
7176 * calculator.el (electric, ehelp): No need to load when compiling.
7177 (Electric-command-loop, electric-describe-mode): Declare.
7179 * doc-view.el (doc-view-current-converter-processes): Move before use.
7181 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7182 Move MODE-set-explicitly definition before use.
7184 * international/mule-diag.el (mule-diag):
7185 Don't use obsolete window-system-version.
7187 * mail/feedmail.el (smtpmail): No need to load when compiling.
7188 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7190 * mail/mail-utils.el (rfc822): No need to load when compiling.
7191 (rfc822-addresses): Autoload it.
7192 (mail-strip-quoted-names): Trivial simplification.
7194 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7195 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7197 * net/snmp-mode.el (tempo): Don't duplicate requires.
7199 * progmodes/prolog.el (info): No need to load when compiling.
7200 (comint): Require before shell requires it.
7201 (Info-goto-node): Autoload it.
7202 (Info-follow-nearest-node): Declare.
7203 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7205 * textmodes/artist.el (picture-mode-exit): Declare.
7207 * textmodes/reftex-parse.el (reftex-parse-from-file):
7208 Trivial rewrite so the compiler can parse it better.
7210 2013-05-20 Leo Liu <sdl.web@gmail.com>
7212 * progmodes/octave.el (octave-help-mode-map)
7213 (octave-help-mode-finish-hook): New variables.
7214 (octave-help-mode, octave-help-mode-finish): New functions.
7215 (octave-help): Use octave-help-mode.
7217 2013-05-20 Glenn Morris <rgm@gnu.org>
7219 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7221 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7223 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7224 start at point, so that expansion starting right after opening
7225 slash in a regexp is recognized.
7226 (ruby-syntax-before-regexp-re): New defvar, extracted from
7227 ruby-syntax-propertize-function. Since the value of this regexp
7228 is looked up at runtime now, we should be able to turn
7229 `ruby-syntax-methods-before-regexp' into a defcustom later.
7230 (ruby-syntax-propertize-function): Split regexp matching into two
7231 parts, for opening and closing slashes. That allows us to skip
7232 over string interpolations and support multiline regexps.
7233 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7234 for them, which calls `ruby-syntax-propertize-expansion'.
7235 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7236 call to `ruby-syntax-propertize-function'.
7237 (ruby-syntax-propertize-expansion): Extracted from
7238 `ruby-syntax-propertize-expansions'. Handles one expansion.
7239 (ruby-syntax-propertize-percent-literal): Leave point right after
7240 the percent symbol, so that the expression expansion rule can
7241 propertize the contents.
7242 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7244 (ruby-syntax-propertize-expansions): Remove.
7246 2013-05-18 Juri Linkov <juri@jurta.org>
7248 * man.el (Man-default-man-entry): Remove `-' from the end
7249 of the default value. (Bug#14400)
7251 2013-05-18 Glenn Morris <rgm@gnu.org>
7253 * comint.el (comint-password-prompt-regexp):
7254 Allow "password for XXX" where XXX contains colons (eg https://...).
7256 2013-05-18 Leo Liu <sdl.web@gmail.com>
7258 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7259 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
7260 (octave-source-directories): Don't check process.
7261 (octave-source-directories, octave-find-definition): Doc fix.
7263 2013-05-18 Glenn Morris <rgm@gnu.org>
7265 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7266 Remove backspace/delete bindings. (Bug#14392)
7268 * cus-dep.el (custom-make-dependencies): Sort the output.
7269 (custom-versions-load-alist): Convert comment to doc.
7271 2013-05-17 Leo Liu <sdl.web@gmail.com>
7273 * newcomment.el (comment-search-backward): Stricter in finding
7274 comment start. (Bug#14303)
7276 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7277 (octave-comment-start-skip): Properly anchored.
7279 2013-05-17 Leo Liu <sdl.web@gmail.com>
7281 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7282 Clean up when turned off. (Bug#14395)
7283 (smie--highlight-matching-block-overlay): No longer buffer-local.
7284 (smie-highlight-matching-block): Adjust.
7286 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7288 Doc string fix for "nanoseconds" (Bug#14406).
7289 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7290 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7292 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7294 * calc/calc-units.el (math-extract-units): Preserve powers
7297 2013-05-17 Leo Liu <sdl.web@gmail.com>
7299 * subr.el (delete-consecutive-dups): New function.
7300 * ido.el (ido-set-matches-1): Use it.
7301 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7302 * ido.el (ido-remove-consecutive-dups): Remove.
7304 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7306 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7307 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7308 regexp-opt's `words'.
7310 2013-05-16 Leo Liu <sdl.web@gmail.com>
7312 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7313 (smie--highlight-matching-block-overlay)
7314 (smie--highlight-matching-block-lastpos)
7315 (smie--highlight-matching-block-timer): New variables.
7316 (smie-highlight-matching-block): New function.
7317 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7318 (smie-setup): Conditionally enable smie-blink-matching-open.
7320 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7322 Sync with upstream verilog-mode r840.
7323 * progmodes/verilog-mode.el (verilog-mode-version)
7324 (verilog-mode-release-date): Update.
7325 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7326 (verilog-sig-tieoff): Fix string error on
7327 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7328 (verilog-read-decls): Fix parameters confusing
7329 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7331 2013-05-16 Eli Zaretskii <eliz@gnu.org>
7333 * subr.el (reveal-filename): New function.
7335 * loadup.el: Compute Emacs executable versions on MS-Windows,
7336 where executables have the .exe extension. Add a hard link
7337 emacs-XX.YY.ZZ.exe on MS-Windows.
7339 * Makefile.in (XARGS_LIMIT): New variable.
7340 (custom-deps, finder-data, autoloads)
7341 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7342 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7343 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7344 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7346 2013-05-16 Leo Liu <sdl.web@gmail.com>
7348 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7349 (octave-mode-menu, octave-mode-map): Remove its uses.
7351 2013-05-16 Reto Zimmermann <reto@gnu.org>
7353 Sync with upstream vhdl mode v3.34.2.
7354 * progmodes/vhdl-mode.el: Use `push' throughout.
7355 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7356 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7357 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7358 (vhdl-actual-generic-name): New option to derive actual generic name.
7359 (vhdl-port-paste-signals): Replace formal by actual generics.
7360 (vhdl-beautify): New name for old group vhdl-align. Update users.
7361 (vhdl-beautify-options): New option.
7362 (vhdl-last-input-event): New compat alias. Use throughout.
7363 (vhdl-goto-line): Replace user level function `goto-line'.
7364 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7365 vhdl-fix-statement-buffer.
7366 (vhdl-create-mode-menu): Add some entries.
7367 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7368 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7369 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7370 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7371 to force statements on one line.
7372 (vhdl-remove-trailing-spaces-region):
7373 New, split from vhdl-remove-trailing-spaces.
7374 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7375 Respect vhdl-beautify-options.
7376 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7377 (vhdl-update-sensitivity-list): Not add with index if exists without.
7378 Not include array index with signal. Ignore keywords in comments.
7379 (vhdl-get-visible-signals): Regexp tweaks.
7380 (vhdl-template-component-inst): Handle empty library.
7381 (vhdl-template-type): Add template for 'enum' type.
7382 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7383 Use vhdl-replace-string.
7384 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7385 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7386 (vhdl-speedbar-initialize): Update for above name change.
7387 (vhdl-compose-wire-components): Fix in handling of constants.
7388 (vhdl-error-regexp-emacs-alist): New variable.
7389 (vhdl-error-regexp-add-emacs): New function;
7390 adds support for new compile.el (Emacs 22+)
7391 (vhdl-generate-makefile-1): Change target order for single lib. units.
7392 Allow use of absolute file names.
7394 2013-05-16 Leo Liu <sdl.web@gmail.com>
7396 * simple.el (prog-indent-sexp): Indent enclosing defun.
7398 2013-05-15 Glenn Morris <rgm@gnu.org>
7400 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7401 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7402 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7403 (whitespace-highlight): Move to whitespace group.
7405 * comint.el (comint-source):
7406 * pcmpl-linux.el (pcmpl-linux):
7407 * shell.el (shell-faces):
7408 * eshell/esh-opt.el (eshell-opt):
7409 * international/ccl.el (ccl): Remove empty custom groups.
7411 * completion.el (dynamic-completion-mode):
7412 * jit-lock.el (jit-lock-debug-mode):
7413 * minibuffer.el (completion-in-region-mode):
7414 * type-break.el (type-break-mode-line-message-mode)
7415 (type-break-query-mode):
7416 * emulation/tpu-edt.el (tpu-edt-mode):
7417 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7418 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7419 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7421 * term/xterm.el (xterm): Change parent group to terminals.
7423 * master.el (master): Remove empty custom group.
7424 (master-mode): Remove unused :group argument.
7425 * textmodes/refill.el (refill): Remove empty custom group.
7426 (refill-mode): Remove unused :group argument.
7428 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7430 * cus-dep.el: Provide a feature.
7431 (custom-make-dependencies): Ignore dotfiles (dir-locals).
7432 Don't mistakenly ignore files whose basenames match a basename
7433 from preloaded-file-list (eg cedet/ede/simple.el).
7434 Add a fallback method for getting :group.
7436 2013-05-15 Juri Linkov <juri@jurta.org>
7438 * isearch.el (isearch-char-by-name): Rename from
7439 `isearch-insert-char-by-name'. Doc fix.
7440 (isearch-forward): Mention `isearch-char-by-name' in
7441 the docstring. (Bug#13348)
7443 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7444 `exit-minibuffer' instead of
7445 `isearch-nonincremental-exit-minibuffer'.
7446 (isearch-edit-string): Remove mention of
7447 `isearch-nonincremental-exit-minibuffer' from docstring.
7448 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7449 (isearch-forward-exit-minibuffer)
7450 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7452 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7454 * loadup.el: Just use unversioned DOC.
7456 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7457 literals as extending to EOB.
7458 (nxml-last-fontify-end): Remove unused variable.
7459 (nxml-after-change1): Use with-silent-modifications.
7460 (nxml-extend-after-change-region): Simplify.
7461 (nxml-extend-after-change-region1): Remove function.
7462 (nxml-after-change1): Don't adjust for dependent regions.
7463 (nxml-fontify-matcher): Simplify.
7464 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7465 (xmltok-add-dependent): Remove function.
7466 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7467 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7468 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7469 unclosed <[[, <?, comment, and other literals as extending to EOB.
7470 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7471 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7473 (rng-do-some-validation-1): Don't mark dependent regions.
7474 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7475 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7476 (nxml-clear-dependent-regions): Remove functions.
7477 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7478 (nxml-ensure-scan-up-to-date):
7479 Don't clear&mark dependent regions.
7481 2013-05-15 Leo Liu <sdl.web@gmail.com>
7483 * progmodes/octave.el (octave-goto-function-definition):
7484 Improve and fix callers.
7486 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7488 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7489 the setter (bug#14387).
7491 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7492 surrounding group (bug#14402).
7494 2013-05-14 Juri Linkov <juri@jurta.org>
7496 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7499 2013-05-14 Glenn Morris <rgm@gnu.org>
7501 * progmodes/f90.el (f90-imenu-generic-expression):
7502 Fix typo in 2013-05-08 change. (Bug#14402)
7504 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7506 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7507 Remove signals for which replies are never received.
7509 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7511 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7512 (gdb-handler-alist, gdb-handler-number): Remove variables.
7513 (gdb-handler-list): New variable.
7514 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7515 (gdb-pending-handler-p, gdb-handle-reply)
7516 (gdb-remove-all-pending-triggers): New functions.
7517 (gdb-discard-unordered-replies): New defcustom.
7518 (gdb-handler): New defstruct.
7519 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7520 instead of gdb-pending-triggers. Update docstring.
7521 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7522 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7523 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7524 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7525 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7526 (gdb-frame-handler): Pending triggers are now automatically managed.
7527 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7529 (gdb-input): Automatically handles pending triggers. Update docstring.
7530 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7531 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7533 (gdb-done-or-error): Now use gdb-handle-reply.
7535 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7537 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7540 2013-05-14 Glenn Morris <rgm@gnu.org>
7542 * subr.el (user-emacs-directory-warning): New option.
7543 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7545 2013-05-14 Leo Liu <sdl.web@gmail.com>
7547 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7549 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7550 (octave-font-lock-texinfo-comment): Fix invalid search bound
7551 error: wrong side of point.
7553 2013-05-14 Glenn Morris <rgm@gnu.org>
7555 * progmodes/flymake.el (flymake-xml-program): New option.
7556 (flymake-xml-init): Use it.
7558 * term/xterm.el: Provide a feature.
7560 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
7562 2013-05-13 Glenn Morris <rgm@gnu.org>
7564 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7565 Add compat aliases as a hack workaround. (Bug#14384)
7567 2013-05-13 Leo Liu <sdl.web@gmail.com>
7569 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7571 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7573 (octave-comment-start-skip): Include %!.
7574 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7576 2013-05-12 Leo Liu <sdl.web@gmail.com>
7578 * progmodes/octave.el (inferior-octave-startup): Store the value
7579 of __octave_srcdir__ for octave-source-directories.
7580 (inferior-octave-check-process): New function refactored out of
7581 inferior-octave-send-list-and-digest.
7582 (octave-source-directories)
7583 (octave-find-definition-filename-function): New variables.
7584 (octave-source-directories)
7585 (octave-find-definition-default-filename): New functions.
7586 (octave-find-definition): Improve to find functions implemented in C++.
7588 2013-05-12 Glenn Morris <rgm@gnu.org>
7590 * calendar/diary-lib.el (diary-outlook-format-1):
7591 Don't include dayname in the output. (Bug#14349)
7593 2013-05-11 Glenn Morris <rgm@gnu.org>
7595 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7597 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7598 Treat cc-provide like provide.
7600 2013-05-11 Kevin Ryde <user42@zip.com.au>
7602 * cus-dep.el (custom-make-dependencies):
7603 Use generated-autoload-load-name for the sake of files such
7604 such cedet/semantic/bovine/c.el, where the base file name
7605 is not in load-path. (Bug#5277)
7607 2013-05-11 Glenn Morris <rgm@gnu.org>
7609 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7612 2013-05-11 Leo Liu <sdl.web@gmail.com>
7614 * progmodes/octave.el (octave-indent-comment): Improve.
7615 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
7616 (octave-eldoc-function-signatures, octave-eldoc-function):
7618 (octave-mode, inferior-octave-mode): Add eldoc support.
7620 2013-05-11 Richard Stallman <rms@gnu.org>
7622 * epa.el (epa-decrypt-file): Take output file name as argument
7623 and read it using `interactive'.
7625 2013-05-11 Leo Liu <sdl.web@gmail.com>
7627 * progmodes/octave.el (octave-beginning-of-line)
7628 (octave-end-of-line): Check before using up-list because it jumps
7629 out of more syntactic contructs since moving to smie.
7630 (octave-indent-comment): New function.
7631 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
7632 (octave-begin-keywords, octave-end-keywords)
7633 (octave-reserved-words, octave-smie-bnf-table)
7634 (octave-smie-rules): Add new keywords from Octave 3.6.4.
7636 2013-05-11 Glenn Morris <rgm@gnu.org>
7638 * faces.el (internal-face-x-get-resource):
7639 * frame.el (ns-display-monitor-attributes-list):
7640 * calc/calc-aent.el (math-to-radians-2):
7641 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
7644 * calc/calc-menu.el: Make it loadable in isolation.
7646 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7647 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7648 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7649 (eudc-bbdb-query-internal): Require 'bbdb.
7651 * lpr.el (lpr-headers-switches):
7652 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7654 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7656 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7658 * term.el (term-set-escape-char): Make it idempotent.
7660 2013-05-10 Leo Liu <sdl.web@gmail.com>
7662 * progmodes/octave.el (inferior-octave-completion-table):
7663 No longer a function and all uses changed. Use cache to speed up
7664 completion due to bug#11906.
7665 (octave-beginning-of-defun): Re-write to be more general.
7667 2013-05-10 Glenn Morris <rgm@gnu.org>
7669 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7671 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7673 * comint.el (comint-redirect-send-command-to-process): Use :around
7674 rather than :override for comint-redirect-filter.
7675 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7676 Call it instead of comint-redirect-original-filter-function (which
7677 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7679 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7681 * frame.el (display-monitor-attributes-list): Add NS case.
7682 (ns-display-monitor-attributes-list): Declare.
7684 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
7686 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7688 2013-05-09 Glenn Morris <rgm@gnu.org>
7690 * international/fontset.el (vertical-centering-font-regexp):
7693 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7695 * bookmark.el (bookmark-search-delay):
7696 * cus-start.el (vertical-centering-font-regexp):
7697 * ps-mule.el (ps-mule-font-info-database-default):
7698 * ps-print.el (ps-default-fg, ps-default-bg):
7699 * type-break.el (type-break-good-break-interval):
7700 * whitespace.el (whitespace-indentation-regexp)
7701 (whitespace-space-after-tab-regexp):
7702 * emacs-lisp/testcover.el (testcover-1value-functions)
7703 (testcover-noreturn-functions, testcover-progn-functions)
7704 (testcover-prog1-functions):
7705 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7706 * eshell/em-glob.el (eshell-glob-translate-alist):
7707 * play/tetris.el (tetris-tty-colors):
7708 * progmodes/cpp.el (cpp-face-default-list):
7709 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7710 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7711 (idlwave-help-browser-generic-args):
7712 * progmodes/make-mode.el (makefile-special-targets-list):
7713 * progmodes/python.el (python-shell-virtualenv-path):
7714 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7715 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7716 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7717 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7718 * textmodes/reftex-vars.el (reftex-format-label-function):
7719 * textmodes/remember.el (remember-diary-file): Fix custom types.
7721 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7724 2013-05-09 Leo Liu <sdl.web@gmail.com>
7726 * progmodes/octave.el (inferior-octave-completion-at-point):
7727 Restore file completion. (Bug#14300)
7728 (inferior-octave-startup): Fix incorrect highlighting for the
7731 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7733 * progmodes/ruby-mode.el: First cut at SMIE support.
7734 (ruby-use-smie): New var.
7735 (ruby-smie-grammar): New constant.
7736 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7737 (ruby-smie--forward-token, ruby-smie--backward-token)
7738 (ruby-smie-rules): New functions.
7739 (ruby-mode-variables): Setup SMIE if applicable.
7741 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7743 * simple.el (line-move-visual): Signal beginning/end of buffer
7744 only if vertical-motion moved less than it was requested. Avoids
7745 silly incorrect error messages when there are display strings with
7746 multiple newlines at EOL.
7748 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7750 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7751 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7752 (prolog-char-quote-workaround):
7753 * progmodes/cperl-mode.el (cperl-under-as-char):
7754 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7756 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7758 (vhdl-mode-syntax-table-init): Remove.
7760 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7763 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7765 (ld-script-font-lock-keywords):
7766 Change regexps to use things like \_< and \_>.
7768 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7769 Change all regexps to use things like \_< and \_>.
7771 * progmodes/autoconf.el (autoconf-definition-regexp)
7772 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7773 Handle a _ with symbol syntax.
7774 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7776 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7777 Consolidate declaration.
7778 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7780 (ada-create-syntax-table): Remove.
7781 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7782 already has the right syntax nowadays.
7783 (ada-goto-next-word): Don't change the syntax of "_".
7785 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7788 2013-05-08 Sam Steingold <sds@gnu.org>
7790 * thingatpt.el (thing-at-point): Accept optional second argument
7791 NO-PROPERTIES to strip the text properties from the return value.
7792 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7793 to `thing-at-point' instead of stripping the properties ourselves.
7794 Also, when `thing-at-point' fails to find a url, prepend "http://"
7795 to the filename at point on the assumption that the user is
7796 pointing at something like gnu.org/gnu.
7798 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7800 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7801 * faces.el (crm-separator):
7802 Silence byte-compiler.
7804 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7805 (tool-bar-map): Remove unneeded defvars.
7807 2013-05-08 Leo Liu <sdl.web@gmail.com>
7809 Re-work a fix for bug#10994 based on Le Wang's patch.
7810 * ido.el (ido-remove-consecutive-dups): New helper.
7811 (ido-completing-read): Use it.
7812 (ido-chop): Revert fix for bug#10994.
7814 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7816 * cus-edit.el (custom-save-variables):
7817 Pretty-print long values. (Bug#14187)
7819 2013-05-08 Glenn Morris <rgm@gnu.org>
7821 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7822 (m4-mode-syntax-table): Init in the defvar.
7823 (m4-mode-abbrev-table): Let define-derived-mode define it.
7825 2013-05-08 Tom Tromey <tromey@redhat.com>
7827 * progmodes/m4-mode.el (m4-mode-syntax-table):
7828 Do not treat "_" as word constituent. (Bug#14167)
7830 2013-05-07 Glenn Morris <rgm@gnu.org>
7832 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7833 Remove explicit eshell-isearch-cancel-map.
7835 * progmodes/f90.el (f90-smart-end-names): New option.
7836 (f90-smart-end): Doc fix.
7837 (f90-end-block-optional-name): New constant.
7838 (f90-block-match): Respect f90-smart-end-names.
7840 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7842 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7843 about implicit semi-colons (bug#14218).
7845 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7847 * frame.el (display-monitor-attributes-list)
7848 (frame-monitor-attributes): New functions.
7850 2013-05-06 Leo Liu <sdl.web@gmail.com>
7852 * progmodes/octave.el (octave-syntax-propertize-function): Change
7853 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7854 (octave-font-lock-keywords): Use octave-operator-regexp.
7855 (octave-completion-at-point): Rename from
7856 octave-completion-at-point-function.
7857 (inferior-octave-directory-tracker): Robustify.
7858 (octave-text-functions): Remove and fix its uses. No such things
7861 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7863 * emacs-lisp/trace.el (trace--display-buffer): New function.
7864 (trace-make-advice): Use it.
7866 2013-05-06 Juri Linkov <juri@jurta.org>
7868 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7869 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7871 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7872 in the help string. (Bug#12985)
7874 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7876 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7878 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7880 * progmodes/perl-mode.el: Add support for here documents.
7881 (perl-syntax-propertize-function): Match here-doc markers.
7882 (perl-syntax-propertize-special-constructs): Find their end.
7883 (perl-imenu-generic-expression): Use [:alnum:].
7885 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7886 (advice--add-function): Refresh the advice if already present
7889 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
7891 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7893 2013-05-06 Glenn Morris <rgm@gnu.org>
7895 * w32-fns.el (w32-charset-info-alist): Declare.
7897 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7898 of its defcustom properties.
7899 (eshell-cmpl-initialize): No need to load pcomplete.
7901 * generic-x.el: No need to require comint when compiling.
7903 * net/eudc-export.el: Make it loadable without bbdb.
7904 (top-level): Use require rather than load-library.
7905 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7906 (eudc-batch-export-records-to-bbdb)
7907 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7910 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7912 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7913 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7914 some tweaks, instead.
7916 2013-05-05 Leo Liu <sdl.web@gmail.com>
7918 * progmodes/octave.el (octave-font-lock-keywords)
7919 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7920 (inferior-octave-send-list-and-digest): Improve error message.
7921 (octave-mode, inferior-octave-mode): Use setq-local.
7922 (octave-help): Set info-lookup-mode.
7924 2013-05-05 Richard Stallman <rms@gnu.org>
7926 * vc/compare-w.el (compare-windows-whitespace):
7927 Treat no-break space as whitespace.
7929 * mail/rmailsum.el (rmail-summary-rmail-update):
7930 Detect empty summary and don't change selected message.
7931 (rmail-summary-goto-msg): Likewise.
7933 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7934 Doc fixes, rename args.
7936 2013-05-05 Alan Mackenzie <acm@muc.de>
7938 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7940 2013-05-05 Juri Linkov <juri@jurta.org>
7942 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7943 to not add the length of the summary segment to the return value.
7946 2013-05-05 Leo Liu <sdl.web@gmail.com>
7948 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7949 (inferior-octave-output-filter): Remove.
7950 (octave-send-region, inferior-octave-startup): Fix callers.
7951 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7952 (octave-binary-file-extensions): New user variable.
7953 (octave-find-definition): Confirm if opening binary files.
7954 (octave-help-file): Use octave-find-definition to get the binary
7956 (octave-help): Adjust for octave-help-file change.
7958 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7960 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7961 Merge the two entries that handle function definitions.
7962 (pascal--syntax-propertize): New const.
7963 (pascal-mode): Use it. Use setq-local.
7965 2013-05-04 Glenn Morris <rgm@gnu.org>
7967 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7968 (diary-from-outlook): Respect diary-from-outlook-function.
7970 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7972 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7973 Move the declaration from C.
7974 (read-minibuffer, eval-minibuffer): Move from C.
7975 (completion-setup-function): Avoid minibuffer-completion-contents.
7977 2013-05-03 Leo Liu <sdl.web@gmail.com>
7979 * progmodes/octave.el (octave-font-lock-keywords): Do not
7980 dehighlight 'end' in comments or strings.
7981 (octave-completing-read, octave-goto-function-definition):
7983 (octave-help-buffer): New user variable.
7984 (octave-help-file, octave-help-function): New button types.
7985 (octave-help): New command and bind it to C-h ;.
7986 (octave-find-definition): New command and bind it to M-.
7987 (user-error): Alias to error if not defined.
7989 2013-05-02 Leo Liu <sdl.web@gmail.com>
7991 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7993 (octave-font-lock-keywords): Include [ and {.
7995 2013-05-02 Leo Liu <sdl.web@gmail.com>
7997 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7998 (inferior-octave): Remove calling comint-mode and return the buffer.
7999 (inferior-octave-startup): Cosmetic changes.
8001 2013-05-02 Leo Liu <sdl.web@gmail.com>
8003 * progmodes/octave.el (octave-syntax-propertize-function):
8004 Include the case when ' is at line beginning. (Bug#14336)
8006 2013-05-02 Glenn Morris <rgm@gnu.org>
8008 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8009 * desktop.el (vc-dir-mode): Just autoload it here.
8011 2013-05-02 Alan Mackenzie <acm@muc.de>
8013 Eliminate variable c-standard-font-lock-fontify-region-function.
8014 * progmodes/cc-mode.el
8015 (c-standard-font-lock-fontify-region-function): Remove.
8016 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8018 2013-05-01 Leo Liu <sdl.web@gmail.com>
8020 * progmodes/octave.el: Compatible with older emacs-24 releases.
8021 (inferior-octave-has-built-in-variables): Remove. Built-in
8022 variables were removed from Octave in 2007.
8023 (inferior-octave-startup): Fix uses.
8024 (comint-line-beginning-position): Remove compatibility code for
8027 2013-05-01 Juri Linkov <juri@jurta.org>
8029 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8031 2013-05-01 Juri Linkov <juri@jurta.org>
8033 * comint.el (comint-previous-matching-input): Don't print message
8034 "History item: %d" when `isearch-mode' is active.
8035 (comint-history-isearch-message): Print message "History item: %d"
8036 when `comint-input-ring-index' is not empty and this function is
8037 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8039 2013-05-01 Leo Liu <sdl.web@gmail.com>
8041 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8042 definitions. Use completion-at-point to insert keywords.
8043 (octave-abbrev-start): Remove.
8044 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8046 2013-04-30 Leo Liu <sdl.web@gmail.com>
8048 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8051 2013-04-30 Alan Mackenzie <acm@muc.de>
8053 Handle arbitrarily long C++ member initialisation lists.
8054 * progmodes/cc-engine.el (c-back-over-member-initializers):
8056 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8057 (most) member init lists.
8059 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8061 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8064 2013-04-30 Leo Liu <sdl.web@gmail.com>
8066 * progmodes/octave.el (octave-variables): Remove. No builtin
8067 variables any more. All converted to functions.
8068 (octave-font-lock-keywords, octave-completion-at-point-function):
8070 (octave-font-lock-texinfo-comment): New user variable.
8071 (octave-texinfo-font-lock-keywords): New variable for texinfo
8073 (octave-function-comment-block): New face.
8074 (octave-font-lock-texinfo-comment): New function.
8075 (octave-mode): Font lock texinfo comment block.
8077 2013-04-29 Leo Liu <sdl.web@gmail.com>
8079 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8080 indexing expression.
8081 (octave-continuation-string): Do not use \.
8082 (inferior-octave-complete-impossible): Remove.
8083 (inferior-octave-completion-table)
8084 (inferior-octave-completion-at-point): Remove its uses.
8085 (inferior-octave-startup): completion_matches was introduced to
8086 Octave in 1996 so safe to assume it.
8087 (octave-function-file-comment): Improve to follow how Octave does it.
8088 (octave-update-function-file-comment): Tweak.
8090 2013-04-29 Leo Liu <sdl.web@gmail.com>
8092 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8093 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8094 (octave-function-file-comment): Fix typo.
8095 (octave-sync-function-file-names): Use read-char-choice.
8097 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8099 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8100 to t for the less important warnings.
8102 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8104 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8106 2013-04-27 Glenn Morris <rgm@gnu.org>
8108 * vc/log-view.el (log-view-current-entry):
8109 Treat "---" separator lines as part of the following rev. (Bug#14169)
8111 2013-04-27 Juri Linkov <juri@jurta.org>
8113 * subr.el (read-number): Doc fix about using it by interactive
8114 code letter `n'. (Bug#14254)
8116 2013-04-27 Juri Linkov <juri@jurta.org>
8118 * desktop.el (desktop-auto-save-timeout): New option.
8119 (desktop-file-checksum): New variable.
8120 (desktop-save): Add optional arg `auto-save' and don't auto-save
8122 (desktop-auto-save-timer): New variable.
8123 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8124 (after-init-hook): Call `desktop-auto-save-set-timer'.
8125 Suggested by Reuben Thomas <rrt@sc3d.org> in
8126 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8128 2013-04-27 Leo Liu <sdl.web@gmail.com>
8130 * progmodes/octave.el (octave-function-file-p)
8131 (octave-skip-comment-forward, octave-function-file-comment)
8132 (octave-update-function-file-comment): New functions.
8133 (octave-mode-map): Bind C-c ; to
8134 octave-update-function-file-comment.
8135 (octave-mode-menu): Add octave-update-function-file-comment.
8136 (octave-mode, inferior-octave-mode): Fix doc-string.
8137 (octave-insert-defun): Conform to Octave's coding convention.
8140 * files.el (basic-save-buffer): Don't let errors in
8141 before-save-hook prevent saving buffer.
8143 2013-04-20 Roland Winkler <winkler@gnu.org>
8145 * faces.el (read-face-name): Use completing-read if arg multiple
8148 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8150 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8151 displayed, move point to after the totals line.
8152 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8155 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8157 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8158 Add current dir to the load-path.
8159 (package-generate-autoloads): Don't rely on
8160 autoload-ensure-default-file.
8162 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8164 * textmodes/remember.el (remember-store-in-files): Document that
8165 the file name format is passed to `format-time-string'.
8167 2013-04-26 Leo Liu <sdl.web@gmail.com>
8169 * progmodes/octave.el (octave-sync-function-file-names): New function.
8170 (octave-mode): Use it in before-save-hook.
8172 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8174 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8177 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8178 \n and comment, even if it's not an implicit ; (bug#14218).
8180 2013-04-26 Glenn Morris <rgm@gnu.org>
8182 * subr.el (read-number): Once more use `read' rather than
8183 `string-to-number', to trap non-numeric input. (Bug#14254)
8185 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8187 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8188 Use `syntax-multiline' text property consistently instead of
8189 `font-lock-multiline'. (Bug#14237)
8191 2013-04-26 Glenn Morris <rgm@gnu.org>
8193 * emacs-lisp/shadow.el (list-load-path-shadows):
8194 No longer necessary to check for duplicate simple.el, since
8195 2012-07-07 change to init_lread to not include installation lisp
8196 directories in load-path when running uninstalled. (Bug#14270)
8198 2013-04-26 Leo Liu <sdl.web@gmail.com>
8200 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8201 (octave-mode, inferior-octave-mode): Use setq-local.
8202 (octave-not-in-string-or-comment-p): Rename to
8203 octave-in-string-or-comment-p.
8204 (octave-in-comment-p, octave-in-string-p)
8205 (octave-in-string-or-comment-p): Replace defsubst with defun.
8207 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8209 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8211 2013-04-25 Bastien Guerry <bzg@gnu.org>
8213 * textmodes/remember.el (remember-data-directory)
8214 (remember-directory-file-name-format): Fix custom types.
8216 2013-04-25 Leo Liu <sdl.web@gmail.com>
8218 * progmodes/octave.el (octave-completion-at-point-function):
8219 Make use of inferior octave process.
8220 (octave-initialize-completions): Remove.
8221 (inferior-octave-completion-table): New function.
8222 (inferior-octave-completion-at-point): Use it.
8223 (octave-completion-alist): Remove.
8225 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8227 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8228 (opascal-mode-syntax-table): New var.
8229 (opascal-literal-kind, opascal-is-literal-end)
8230 (opascal-literal-token-at): Rewrite.
8231 (opascal--literal-start-re, opascal-font-lock-keywords)
8232 (opascal--syntax-propertize): New constants.
8233 (opascal-font-lock-defaults): Adjust.
8234 (opascal-mode): Use them. Set comment-<foo> variables as well.
8235 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8236 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8237 (delphi-other-face, opascal-other-face): Remove face variables.
8238 (opascal-save-state): Remove macro.
8239 (opascal-fontifying-progress-step): Remove constant.
8240 (opascal--ignore-changes): Remove var.
8241 (opascal-set-token-property, opascal-parse-next-literal)
8242 (opascal-is-stable-literal, opascal-complete-literal)
8243 (opascal-is-literal-start, opascal-face-of)
8244 (opascal-parse-region, opascal-parse-region-until-stable)
8245 (opascal-fontify-region, opascal-after-change)
8246 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8247 (opascal-debug-parse-region, opascal-debug-parse-window)
8248 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8249 (opascal-debug-fontify-buffer): Remove.
8250 (opascal-debug-mode-map): Adjust accordingly.
8252 2013-04-25 Leo Liu <sdl.web@gmail.com>
8254 Merge octave-mod.el and octave-inf.el into octave.el with some
8256 * progmodes/octave.el: New file renamed from octave-mod.el.
8257 * progmodes/octave-inf.el: Merged into octave.el.
8258 * progmodes/octave-mod.el: Renamed to octave.el.
8260 2013-04-25 Tassilo Horn <tsdh@gnu.org>
8262 * textmodes/reftex-vars.el
8263 (reftex-label-ignored-macros-and-environments): New defcustom.
8265 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8267 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8269 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8270 (smie-indent-keyword): Improve the check to ensure that the next
8271 comment is really on the same line.
8272 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8274 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8275 semi-colons if the line is not otherwise empty (bug#14218).
8277 2013-04-25 Glenn Morris <rgm@gnu.org>
8279 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8281 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8283 * progmodes/opascal.el (opascal-set-token-property): Rename from
8284 opascal-set-text-properties and only set `token' (bug#14134).
8285 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8286 (opascal-literal-text-properties): Remove.
8287 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8290 2013-04-24 Reuben Thomas <rrt@sc3d.org>
8292 * textmodes/remember.el (remember-handler-functions): Add an
8293 option for a new handler `remember-store-in-files'.
8294 (remember-data-directory, remember-directory-file-name-format):
8296 (remember-store-in-files): New function to store remember notes
8297 as separate files within a directory.
8299 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8301 * progmodes/compile.el (compilation-next-error-function):
8302 Pass "formats" to compilation-find-file (bug#11777).
8304 2013-04-24 Glenn Morris <rgm@gnu.org>
8306 * vc/vc-bzr.el (vc-bzr-print-log):
8307 * vc/vc-hg.el (vc-hg-print-log):
8308 * vc/vc-svn.el (vc-svn-print-log):
8309 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8311 * vc/vc-bzr.el (vc-bzr-print-log):
8312 * vc/vc-cvs.el (vc-cvs-print-log):
8313 * vc/vc-git.el (vc-git-print-log):
8314 * vc/vc-hg.el (vc-hg-print-log):
8315 * vc/vc-mtn.el (vc-mtn-print-log):
8316 * vc/vc-rcs.el (vc-rcs-print-log):
8317 * vc/vc-sccs.el (vc-sccs-print-log):
8318 * vc/vc-svn.el (vc-svn-print-log):
8319 * vc/vc.el (vc-print-log-internal): Doc fixes.
8321 2013-04-23 Glenn Morris <rgm@gnu.org>
8323 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8324 Remove venerable code attempting to avoid substitute-command-keys.
8326 2013-04-23 Tassilo Horn <tsdh@gnu.org>
8328 * textmodes/reftex-vars.el (reftex-label-regexps):
8329 Call `reftex-compile-variables' after changes to this variable.
8331 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8333 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
8334 Use lexical-binding.
8335 (jit-lock-force-redisplay): Use markers, check buffer's continued
8336 existence and beware narrowed buffers.
8337 (jit-lock-fontify-now): Adjust call accordingly.
8339 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8341 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8342 to avoid misleading the user.
8344 2013-04-22 Leo Liu <sdl.web@gmail.com>
8346 * info-look.el: Prefer latex2e.info. (Bug#14240)
8348 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
8350 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8352 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8353 * net/tramp.el (tramp-call-process): ... here.
8354 (tramp-set-completion-function, tramp-parse-putty):
8355 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8356 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8357 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8358 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8359 (tramp-call-local-coding-command): Use `tramp-call-process'
8360 instead of `tramp-compat-call-process'.
8362 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8363 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8364 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8365 (tramp-find-inline-compress): Improve traces.
8366 (tramp-maybe-send-script): Check for Perl binary.
8367 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8369 2013-04-22 Daiki Ueno <ueno@gnu.org>
8371 * epg.el (epg-context-pinentry-mode): New function.
8372 (epg-context-set-pinentry-mode): New function.
8373 (epg--start): Pass --pinentry-mode option to gpg command.
8375 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8377 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8378 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8379 `completion-at-point'. (Bug#13774)
8381 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8382 default key binding for `describe-distribution' has been moved to
8383 `C-h C-o'. (Bug#13970)
8385 2013-04-21 Glenn Morris <rgm@gnu.org>
8387 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8389 (vc-print-log): Clarify interactive prompt.
8391 2013-04-20 Glenn Morris <rgm@gnu.org>
8393 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8394 No longer include timestamp etc information.
8396 2013-04-20 Roland Winkler <winkler@gnu.org>
8398 * faces.el (read-face-name): Bug fix, return just one face if arg
8399 multiple is nil. (Bug#14209)
8401 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8403 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8404 (remove-function): Autoload.
8406 * comint.el (comint-redirect-original-filter-function): Remove.
8407 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8408 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8409 (vc-cvs-annotate-command):
8410 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8411 * progmodes/prolog.el (prolog-consult-compile):
8412 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8413 Use add/remove-function instead.
8414 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8415 (gud-tooltip-process-output, gud-tooltip-tips):
8416 Use add/remove-function instead.
8417 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8418 (scheme-interaction-mode, exit-scheme-interaction-mode):
8419 Use add/remove-function instead.
8421 * vc/vc-dispatcher.el: Use lexical-binding.
8422 (vc--process-sentinel): Rename from vc-process-sentinel.
8423 Change last arg to be the code to run. Don't use vc-previous-sentinel
8424 and vc-sentinel-commands any more.
8425 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8426 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8428 2013-04-19 Masatake YAMATO <yamato@redhat.com>
8430 * progmodes/sh-script.el (sh-imenu-generic-expression):
8431 Handle function names with a single character. (Bug#14111)
8433 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
8435 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8436 for subroutines defined in an eval (bug#14182).
8438 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8440 * bookmark.el (bookmark-completing-read): Improve handling of empty
8443 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8445 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8447 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8449 New faster Imenu implementation (bug#14058).
8450 * progmodes/python.el:
8451 (python-imenu-prev-index-position):
8452 (python-imenu-format-item-label-function)
8453 (python-imenu-format-parent-item-label-function)
8454 (python-imenu-format-parent-item-jump-label-function):
8456 (python-imenu-format-item-label)
8457 (python-imenu-format-parent-item-label)
8458 (python-imenu-format-parent-item-jump-label)
8459 (python-imenu--put-parent, python-imenu--build-tree)
8460 (python-imenu-create-index, python-imenu-create-flat-index)
8461 (python-util-popn): New functions.
8462 (python-mode): Set imenu-create-index-function to
8463 python-imenu-create-index.
8465 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8467 * winner.el (winner-active-region): Use region-active-p, activate-mark
8468 and deactivate-mark (bug#14225).
8470 * simple.el (deactivate-mark): Don't inline it.
8472 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
8474 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8476 2013-04-18 Tassilo Horn <tsdh@gnu.org>
8478 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8479 file extensions from the archive-mode entry in order to prefer
8480 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8482 2013-04-18 Leo Liu <sdl.web@gmail.com>
8484 * bindings.el (help-event-list): Add ?\?.
8486 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8488 * subr.el (with-wrapper-hook): Declare obsolete.
8489 * simple.el (filter-buffer-substring-function): New hook.
8490 (filter-buffer-substring): Use it.
8491 (filter-buffer-substring-functions): Mark obsolete.
8492 * minibuffer.el (completion-in-region-function): New hook.
8493 (completion-in-region): Use it.
8494 (completion-in-region-functions): Mark obsolete.
8495 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8496 * abbrev.el (abbrev-expand-function): New hook.
8497 (expand-abbrev): Use it.
8498 (abbrev-expand-functions): Mark obsolete.
8499 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8502 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8504 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8505 and do not care about match data.
8507 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8509 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8510 completion tables when completing error conditions and
8511 `declare' arguments.
8512 (lisp-complete-symbol, field-complete): Mark as obsolete.
8513 (check-parens): Unmatched parens are user errors.
8514 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8516 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
8518 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8519 command changed buffer (ie. `flyspell-pre-buffer' is not current
8520 buffer), which prevents making decisions based on invalid value of
8521 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8522 cause an error when `flyspell-pre-point' was nil after switching
8524 (flyspell-post-command-hook): No longer needs to change buffers when
8525 checking pre-word. While at it remove unnecessary progn.
8527 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8529 * textmodes/ispell.el (ispell-add-per-file-word-list):
8530 Fix `flyspell-correct-word-before-point' error when accepting
8531 words and `coment-padding' is an integer by using
8532 `comment-normalize-vars' (Bug #14214).
8534 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8536 New defun movement commands.
8537 * progmodes/python.el (python-nav--syntactically)
8538 (python-nav--forward-defun, python-nav-backward-defun)
8539 (python-nav-forward-defun): New functions.
8541 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8543 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8544 (python-syntax-context): Use named compiler-macro for backwards
8545 compatibility with Emacs 24.x.
8547 2013-04-17 Leo Liu <sdl.web@gmail.com>
8549 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8550 octave-hide-process-buffer.
8552 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8554 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8557 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8559 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8560 Fix adjustment of offset when receiving incomplete responses from GDB
8563 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8565 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8566 python-mode-abbrev-table.
8567 (python-skeleton-define): Adjust accordingly.
8568 (python-mode-abbrev-table): New table that inherits from it so that
8569 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8571 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8572 (abbrev-symbol): Use it.
8573 (abbrev--before-point): Use it since we already handle inheritance.
8575 2013-04-16 Leo Liu <sdl.web@gmail.com>
8577 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8578 binding to info-lookup-symbol.
8580 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
8582 * minibuffer.el (completion--twq-all):
8583 * term/ns-win.el (ns-initialize-window-system):
8584 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8586 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8588 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8591 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8593 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8595 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8596 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8598 (ruby-end-of-defun): Remove the unused arg, change the docstring
8599 to reflect that this function is only used as the value of
8600 `end-of-defun-function'.
8601 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8602 to reflect an earlier change that beginning/end-of-defun functions
8603 jump between methods in a class definition, as well as top-level
8606 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8608 * minibuffer.el (minibuffer-complete): Don't just scroll
8609 a *Completions* that's been iconified.
8610 (minibuffer-force-complete): Make sure repetitions do cycle when going
8611 through completion-in-region -> minibuffer-complete.
8613 2013-04-15 Alan Mackenzie <acm@muc.de>
8615 Correct the placement of c-cpp-delimiters when there're #s not at
8618 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8619 place a submatch around the #.
8620 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8621 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
8624 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8626 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8627 (advice--member-p): New arg `name'.
8628 (advice--add-function, advice-member-p): Use it (bug#14202).
8630 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8632 Reformulate java imenu-generic-expression.
8633 The old expression contained ill formed regexps.
8635 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8636 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8637 (cc-imenu-java-method-arg-regexp): New defconsts.
8638 (cc-imenu-java-build-type-args-regex): New defun.
8639 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
8640 handling of spaces in the regexp.
8642 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8644 * textmodes/ispell.el (ispell-command-loop): Remove
8645 flyspell highlight of a word when ispell accepts it (bug #14178).
8647 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
8649 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8650 uses code from the previous `ange-ftp-run-real-handler'.
8651 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8652 only in case that function exist. This is needed for proper
8655 2013-04-15 Tassilo Horn <tsdh@gnu.org>
8657 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8659 * textmodes/reftex.el (reftex-compile-variables): Use it.
8661 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8663 * files.el (normal-mode): Only use default major-mode if no other mode
8666 * emacs-lisp/trace.el (trace-values): New function.
8668 * files.el: Allow : in local variables (bug#14089).
8669 (hack-local-variable-regexp): New var.
8670 (hack-local-variables-prop-line, hack-local-variables): Use it.
8672 2013-04-13 Roland Winkler <winkler@gnu.org>
8674 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8675 data before it gets modified by bibtex-beginning-of-entry.
8677 2013-04-13 Roland Winkler <winkler@gnu.org>
8679 * textmodes/bibtex.el (bibtex-url): Doc fix.
8681 2013-04-13 Roland Winkler <winkler@gnu.org>
8683 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8684 does not visit a BibTeX file, exclude it from the list of buffers
8685 returned by bibtex-initialize.
8687 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
8689 * window.el (split-window): Remove interactive form, since as a
8690 command this function is a special case of split-window-below.
8693 2013-04-12 Roland Winkler <winkler@gnu.org>
8695 * faces.el (read-face-name): Do not override value of arg default.
8696 Allow single faces and strings as default values. Remove those
8697 elements from return value that are not faces.
8698 (describe-face): Simplify.
8699 (face-at-point): New optional args thing and multiple so that this
8700 function can provide the same functionality previously provided by
8702 (make-face-bold, make-face-unbold, make-face-italic)
8703 (make-face-unitalic, make-face-bold-italic, invert-face)
8704 (modify-face, read-face-and-attribute): Use face-at-point.
8706 * cus-edit.el (customize-face, customize-face-other-window)
8707 * cus-theme.el (custom-theme-add-face)
8708 * face-remap.el (buffer-face-set)
8709 * facemenu.el (facemenu-set-face): Use face-at-point.
8711 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
8713 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8715 2013-04-10 Tassilo Horn <tsdh@gnu.org>
8717 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8718 off leading { and trailing } from field values.
8720 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8722 * emacs-lisp/timer.el (timer--check): New function.
8723 (timer--time, timer-set-function, timer-event-handler): Use it.
8724 (timer-set-idle-time): Simplify.
8725 (timer--activate): CSE.
8726 (timer-event-handler): Give more info in error message.
8727 (internal-timer-start-idle): New function, moved from C.
8729 * mpc.el (mpc-proc): Add `restart' argument.
8730 (mpc-proc-cmd): Use it.
8731 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8732 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8735 2013-04-10 Masatake YAMATO <yamato@redhat.com>
8737 * progmodes/sh-script.el: Implement `sh-mode' own
8738 `add-log-current-defun-function' (bug#14112).
8739 (sh-current-defun-name): New function.
8740 (sh-mode): Use the function.
8742 2013-04-09 Bastien Guerry <bzg@gnu.org>
8744 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8746 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8748 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8750 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8753 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8755 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8758 2013-04-07 Leo Liu <sdl.web@gmail.com>
8760 * pcmpl-x.el: New file.
8762 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8764 Do not set x-display-name until X connection is established.
8765 This is needed to prevent from weird situation described at
8766 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8767 * frame.el (make-frame): Set x-display-name after call to
8768 window system initialization function, not before.
8769 * term/x-win.el (x-initialize-window-system): Add optional
8770 display argument and use it.
8771 * term/w32-win.el (w32-initialize-window-system):
8772 * term/ns-win.el (ns-initialize-window-system):
8773 * term/pc-win.el (msdos-initialize-window-system):
8774 Add compatible optional display argument.
8776 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8778 * files.el (normal-backup-enable-predicate): On MS-Windows and
8779 MS-DOS compare truenames of temporary-file-directory and of the
8780 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8781 don't fail comparison by compare-strings. Also, compare file
8782 names case-insensitively on MS-Windows and MS-DOS.
8784 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8786 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8787 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8789 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8791 * whitespace.el (whitespace-color-on, whitespace-color-off):
8792 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8794 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8796 * ispell.el (ispell-set-spellchecker-params):
8797 Really set `ispell-args' for all equivs.
8799 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8801 * ido.el (ido-completions): Use extra elements of ido-decorations
8803 (ido-decorations): Update docstring.
8805 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8807 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8808 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8809 nil during initialization, in order not to miss changes since the
8810 file was opened. (Bug#14140)
8812 2013-04-05 Leo Liu <sdl.web@gmail.com>
8814 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8816 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8818 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8820 2013-04-04 Glenn Morris <rgm@gnu.org>
8822 * electric.el (electric-pair-inhibit-predicate): Add :version.
8824 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8826 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8827 when a package is required several times (bug#14082).
8829 2013-04-04 Roland Winkler <winkler@gnu.org>
8831 * faces.el (read-face-name): Behave as promised by the docstring.
8832 Assume that arg default is a list of faces.
8833 (describe-face): Call read-face-name with list of default faces.
8835 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8837 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8838 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8839 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8841 (bookmark-exit-hook-internal): Save even if list is empty.
8843 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8845 * emacs-lisp/package.el (package-pinned-packages): New var.
8846 (package--add-to-archive-contents): Obey it (bug#14118).
8848 2013-04-03 Alan Mackenzie <acm@muc.de>
8850 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8851 Also adapt to the new values of element 7 of a parse state.
8853 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8854 parameter `not-in-delimiter'. Handle being inside comment opener.
8855 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8856 character in case we're typing a '*' after a '/'.
8857 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8858 instead by passing the parameter to c-state-pp-to-literal.
8860 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8861 for elt. 7 of a parse state.
8863 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8865 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8866 * international/latin1-disp.el, international/mule-util.el:
8867 * language/cyril-util.el, language/european.el, language/ind-util.el:
8868 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8869 * language/tibetan.el, language/viet-util.el:
8870 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8872 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8874 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8875 (electric-pair-post-self-insert-function): Use it.
8876 (electric-pair-default-inhibit): New function, extracted from
8877 electric-pair-post-self-insert-function.
8879 2013-03-31 Roland Winkler <winkler@gnu.org>
8881 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8883 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8885 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8887 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
8889 Un-indent after "pass" and "return" statements (Bug#13888)
8890 * progmodes/python.el (python-indent-block-enders): New var.
8891 (python-indent-calculate-indentation): Use it.
8893 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
8895 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8896 defun. Defining it as defalias could introduce too eager
8897 byte-compiler optimization. (Bug#14030)
8899 2013-03-30 Chong Yidong <cyd@gnu.org>
8901 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8903 2013-03-30 Leo Liu <sdl.web@gmail.com>
8905 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8906 (kmacro-execute-from-register): Pass the keyboard macro to
8907 kmacro-call-macro or repeating won't work correctly.
8909 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8911 * progmodes/subword.el: Back to using `forward-symbol'.
8913 * subr.el (forward-whitespace, forward-symbol)
8914 (forward-same-syntax): Move from thingatpt.el.
8916 2013-03-29 Leo Liu <sdl.web@gmail.com>
8918 * kmacro.el (kmacro-to-register): New command.
8919 (kmacro-execute-from-register): New function.
8920 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8922 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8924 * mpc.el: Use defvar-local and setq-local.
8925 (mpc--proc-connect): Connection failures are not bugs.
8926 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8927 (mpc-volume-map): Bind to the up-events.
8929 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8931 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8932 instead of `forward-symbol'.
8934 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8936 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8937 (edebug--recursive-edit): Use it.
8938 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8939 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8941 2013-03-28 Leo Liu <sdl.web@gmail.com>
8943 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8945 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8947 * facemenu.el (list-colors-callback): New defvar.
8948 (list-colors-redisplay): New function.
8949 (list-colors-display): Install list-colors-redisplay as the
8950 revert-buffer-function. (Bug#14063)
8952 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8954 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8955 and suffixes don't overlap (bug#14061).
8957 * case-table.el: Use lexical-binding.
8958 (case-table-get-table): New function.
8959 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8961 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8963 * progmodes/subword.el: Add `superword-mode' to do word motion
8964 over symbol_words (parallels and leverages `subword-mode' which
8965 does word motion inside MixedCaseWords).
8967 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8969 * eshell/em-unix.el: Move su and sudo to...
8970 * eshell/em-tramp.el: ...Eshell tramp module.
8972 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8974 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8975 Change return value to be a sexp. Delay `get-buffer' to after
8976 restoring the desktop (bug#13951).
8978 2013-03-26 Leo Liu <sdl.web@gmail.com>
8980 * register.el: Move semantic tag handling back to
8981 cedet/semantic/senator.el. (Bug#14052)
8983 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8985 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8986 into the prompt either (bug#13963).
8988 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8990 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8991 part of "(error-foo)".
8993 2013-03-24 Juri Linkov <juri@jurta.org>
8995 * replace.el (list-matching-lines-prefix-face): New defcustom.
8996 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8997 `occur-engine' if `face-differs-from-default-p' returns t.
8998 (occur-engine): Add `,' inside backquote construct to evaluate
8999 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9000 Pass `prefix-face' to the functions `occur-context-lines' and
9001 `occur-engine-add-prefix'.
9002 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9003 `prefix-face' and propertize the prefix with `prefix-face'.
9006 2013-03-24 Leo Liu <sdl.web@gmail.com>
9008 * nxml/rng-valid.el (rng-validate-while-idle)
9009 (rng-validate-quick-while-idle): Guard against deleted buffer.
9012 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9013 is the last entry in kill-buffer-hook.
9015 * files.el (kill-buffer-hook): Doc fix.
9017 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9019 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9022 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9024 2013-03-23 Leo Liu <sdl.web@gmail.com>
9026 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9029 * nxml/rng-valid.el (rng-validate-mode)
9030 (rng-after-change-function, rng-do-some-validation):
9031 * nxml/rng-maint.el (rng-validate-buffer):
9032 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9033 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9034 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9035 (nxml-extend-after-change-region): Use with-silent-modifications.
9037 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9040 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9041 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9042 timer-idle-list. (Bug#13999)
9044 2013-03-23 Juri Linkov <juri@jurta.org>
9046 * info.el (info-index-match): New face.
9047 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9048 main pattern and add text properties with the new face to matches
9049 in index entries relative to the beginning of the index entry.
9052 2013-03-21 Eric Ludlam <zappo@gnu.org>
9054 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9055 Inhibit read only while inserting objects.
9057 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9059 * progmodes/cfengine.el: Update docs to mention
9060 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9061 symbol motion. Remove "_" from the word syntax.
9063 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9065 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9066 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9068 2013-03-20 Juri Linkov <juri@jurta.org>
9070 * info.el (Info-next-reference-or-link)
9071 (Info-prev-reference-or-link): New functions.
9072 (Info-next-reference, Info-prev-reference): Use them.
9073 (Info-try-follow-nearest-node): Handle footnote navigation.
9074 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9076 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9078 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9079 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9081 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9083 Suppress unnecessary non-ASCII chatter during build process.
9084 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9085 (batch-skkdic-convert): Suppress most of the chatter.
9086 It's not needed so much now that machines are faster,
9087 and its non-ASCII component was confusing; see Dmitry Gutov in
9088 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9090 2013-03-20 Leo Liu <sdl.web@gmail.com>
9092 * ido.el (ido-chop): Fix bug#10994.
9094 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9096 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9098 (whitespace-color-on, whitespace-color-off):
9099 Use `font-lock-fontify-buffer' (Bug#13817).
9101 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9103 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9104 remapping in mode-line.
9105 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9107 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9109 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9110 value for `whitespace-line' face (Bug#13875).
9111 (whitespace-font-lock-keywords): Change description.
9112 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9113 the constructed keywords instead.
9114 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9116 2013-03-19 Leo Liu <sdl.web@gmail.com>
9118 * progmodes/compile.el (compilation-display-error): New command.
9119 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9122 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9124 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9126 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9128 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9130 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9132 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9134 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9135 * net/tramp-gvfs.el (top):
9136 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9137 (tramp-handle-shell-command): Use it.
9138 (tramp-dissect-file-name): Raise an error when hostname is a
9139 method name, and neither method nor user is specified.
9141 * net/trampver.el: Update release number.
9143 2013-03-18 Leo Liu <sdl.web@gmail.com>
9145 Make sure eldoc can be turned off properly.
9146 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9148 (eldoc-display-message-p): Revert last change.
9149 (eldoc-display-message-no-interference-p)
9150 (eldoc-print-current-symbol-info): Tweak.
9152 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9154 * doc-view.el (doc-view-new-window-function): Check the new window
9155 overlay's display property instead the char property of the
9156 buffer's first char. Use `with-selected-window' instead of
9157 `save-window-excursion' with `select-window'.
9158 (doc-view-document->bitmap): Check the current doc-view overlay's
9159 display property instead the char property of the buffer's first char.
9161 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9163 Automate the build of ja-dic.el (Bug#13984).
9164 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9165 from the input, rather than assume that it's been done for us by the
9166 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9167 the current date into a ja-dic.el comment, as that complicates
9170 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9172 * whitespace.el: Fix double evaluation.
9173 (whitespace-space, whitespace-hspace, whitespace-tab)
9174 (whitespace-newline, whitespace-trailing, whitespace-line)
9175 (whitespace-space-before-tab, whitespace-indentation)
9176 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9178 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9179 (whitespace-color-on): Use a single font-lock-add-keywords call.
9180 Fix double-evaluation of face variables.
9182 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9184 * net/tramp-adb.el (tramp-adb-parse-device-names):
9185 Use `start-process' instead of `call-process'. Otherwise, the
9186 function might be blocked under MS Windows. (Bug#13299)
9188 2013-03-17 Leo Liu <sdl.web@gmail.com>
9190 Extend eldoc to display info in the mode-line. (Bug#13978)
9191 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9192 (eldoc-mode-line-string): New variable.
9193 (eldoc-minibuffer-message): New function.
9194 (eldoc-message-function): New variable.
9195 (eldoc-message): Use it.
9196 (eldoc-display-message-p)
9197 (eldoc-display-message-no-interference-p):
9198 Support eldoc-post-insert-mode.
9200 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9201 (eval-expression): Run it.
9203 2013-03-17 Roland Winkler <winkler@gnu.org>
9205 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9206 strings in the list of return values.
9208 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9210 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9211 radix before checking for HMS forms.
9213 2013-03-16 Leo Liu <sdl.web@gmail.com>
9215 * progmodes/scheme.el: Add indentation and font-locking for λ.
9218 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9220 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9221 token before point (bug#13942).
9223 2013-03-16 Leo Liu <sdl.web@gmail.com>
9225 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9227 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9229 * startup.el (command-line-normalize-file-name): Fix handling of
9230 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9231 <xfq.free@gmail.com> in
9232 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9234 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9236 Sync with Tramp 2.2.7.
9238 * net/trampver.el: Update release number.
9240 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9242 * doc-view.el: Fix bug#13887.
9243 (doc-view-insert-image): Don't modify overlay associated to
9244 non-live windows, and implement horizontal centering of image in
9245 case it's smaller than the window.
9246 (doc-view-new-window-function): Force redisplay of new windows on
9249 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9251 * saveplace.el (save-place-alist-to-file): Don't sort
9252 `save-place-alist', just pretty-print it (bug#13882).
9254 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
9256 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9257 Check whether `default-file-name-coding-system' is bound.
9260 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9262 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9263 backquotes for `obsolete' (bug#13929).
9265 * international/mule.el (find-auto-coding): Include file name in
9266 obsolescence warning (bug#13922).
9268 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9270 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9271 for CFEngine 3-specific indentation.
9272 (cfengine3-indent-line): Use it. Fix up category regex.
9273 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9275 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9277 * type-break.el (type-break-file-name):
9278 * textmodes/remember.el (remember-data-file):
9279 * strokes.el (strokes-file):
9280 * shadowfile.el (shadow-initialize):
9281 * saveplace.el (save-place-file):
9282 * ps-bdf.el (bdf-cache-file):
9283 * progmodes/idlwave.el (idlwave-config-directory):
9284 * net/quickurl.el (quickurl-url-file):
9285 * international/kkc.el (kkc-init-file-name):
9286 * ido.el (ido-save-directory-list-file):
9287 * emulation/viper.el (viper-custom-file-name):
9288 * emulation/vip.el (vip-startup-file):
9289 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9290 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9292 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9294 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9295 * language/thai-word.el: Switch to UTF-8.
9297 See ChangeLog.16 for earlier changes.
9303 Copyright (C) 2011-2013 Free Software Foundation, Inc.
9305 This file is part of GNU Emacs.
9307 GNU Emacs is free software: you can redistribute it and/or modify
9308 it under the terms of the GNU General Public License as published by
9309 the Free Software Foundation, either version 3 of the License, or
9310 (at your option) any later version.
9312 GNU Emacs is distributed in the hope that it will be useful,
9313 but WITHOUT ANY WARRANTY; without even the implied warranty of
9314 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9315 GNU General Public License for more details.
9317 You should have received a copy of the GNU General Public License
9318 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.