1 2013-09-12 Glenn Morris <rgm@gnu.org>
3 * progmodes/octave.el (help-button-action): Declare.
5 * shell.el (shell-directory-tracker): Output error as a message
6 rather than just returning it as a string.
7 (shell-process-pushd): Remove useless use of message.
9 * dframe.el (dframe-timer-fn):
10 * files.el (dir-locals-read-from-file):
11 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
13 * reveal.el (reveal-post-command):
14 * saveplace.el (load-save-place-alist-from-file):
15 * shell.el (shell-resync-dirs):
16 * w32-common-fns.el (x-get-selection-value):
17 * emacs-lisp/copyright.el (copyright-find-copyright):
18 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
19 * emulation/tpu-edt.el (tpu-copy-keyfile):
20 * play/bubbles.el (bubbles--mark-neighbourhood):
21 * progmodes/executable.el
22 (executable-make-buffer-file-executable-if-script-p):
23 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
25 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
27 Cleanup Eshell to rely less on dynamic scoping.
28 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
29 last-value, and ext-command here. Bind `args' closer to `body'.
30 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
31 (eshell--args): Declare new dynamic var.
32 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
33 last-value, and ext-command. Pass `args' to `body'.
34 (eshell-process-args): Bind eshell--args.
35 (eshell-set-option): Use eshell--args.
36 * eshell/eshell.el (eshell): Use derived-mode-p.
37 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
38 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
39 (eshell-glob-function): Declare.
40 * eshell/esh-util.el: Require cl-lib.
41 (eshell-read-hosts-file): Avoid add-to-list.
42 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
44 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
46 (eshell/diff): Remove unused var `err'.
47 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
49 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
50 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
52 * eshell/em-glob.el (eshell-glob-matches, message-shown):
53 Move declaration before first use.
54 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
55 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
58 2013-09-12 Glenn Morris <rgm@gnu.org>
60 * term/ns-win.el (global-map): Remove binding for ispell-next,
61 deleted 1999-05-29. (Bug#15357)
63 2013-09-11 Glenn Morris <rgm@gnu.org>
65 * echistory.el (electric-command-history): Remove call to deleted func.
67 * play/landmark.el (landmark-mode): Fix typos.
69 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
70 Check cvs-sort-ignore-file is bound.
72 * savehist.el: No need for cl when compiling on Emacs.
74 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
76 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
78 (eshell-self-insert-command, eshell-send-invisible):
79 Remove unused argument.
80 (eshell-handle-control-codes): Remove unused var `orig'.
81 Avoid delete-backward-char.
83 * files.el (set-auto-mode): Simplify a bit further.
85 2013-09-11 Glenn Morris <rgm@gnu.org>
87 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
88 (set-auto-mode): Don't regexp-quote elements.
89 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
90 * progmodes/cc-mode.el (interpreter-mode-alist):
91 * progmodes/ruby-mode.el (interpreter-mode-alist):
92 Revert previous change.
94 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
96 * play/snake.el (snake-mode):
97 * play/mpuz.el (mpuz-mode):
98 * play/landmark.el (lm-mode):
99 * play/blackbox.el (blackbox-mode):
100 * play/5x5.el (5x5-mode):
101 * obsolete/options.el (Edit-options-mode):
102 * net/quickurl.el (quickurl-list-mode):
103 * net/newst-treeview.el (newsticker-treeview-mode):
104 * mail/rmailsum.el (rmail-summary-mode):
105 * mail/mspools.el (mspools-mode):
106 * locate.el (locate-mode):
107 * ibuffer.el (ibuffer-mode):
108 * emulation/ws-mode.el (wordstar-mode):
109 * emacs-lisp/debug.el (debugger-mode):
110 * array.el (array-mode):
111 * net/eudc.el (eudc-mode): Use define-derived-mode.
112 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
113 Move initialization into declaration.
114 (mairix-searches-mode): Use define-derived-mode.
115 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
116 (eudc-edit-hotlist): Use dolist.
117 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
118 (Man-mode): Use define-derived-mode.
119 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
120 (Info-edit-mode): Use define-derived-mode.
121 (Info-cease-edit): Use Info-mode.
122 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
124 (eshell-mode): Use define-derived-mode.
125 * chistory.el (command-history-mode-map): Rename from
127 (command-history-mode): Use define-derived-mode.
128 (Command-history-setup): Remove function.
129 * calc/calc.el (calc-trail-mode-map): New var.
130 (calc-trail-mode): Use define-derived-mode.
131 (calc-trail-buffer): Set calc-main-buffer manually.
132 * bookmark.el (bookmark-insert-annotation): New function.
133 (bookmark-edit-annotation): Use it.
134 (bookmark-edit-annotation-mode): Make it a proper major mode.
135 (bookmark-send-edited-annotation): Use derived-mode-p.
136 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
137 closer to its ideal place. Use \' to match EOS.
139 * profiler.el (profiler-calltree-find): Use function-equal.
141 2013-09-10 Glenn Morris <rgm@gnu.org>
143 * files.el (interpreter-mode-alist): Convert to regexps.
144 (set-auto-mode): Adapt for this. (Bug#15306)
145 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
146 Comment out unused variable.
147 * progmodes/cc-mode.el (interpreter-mode-alist):
148 * progmodes/python.el (interpreter-mode-alist):
149 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
150 * progmodes/sh-script.el (sh-set-shell):
151 No longer use interpreter-mode-alist to get list of shells.
153 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
155 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
157 * simple.el: Use set-temporary-overlay-map for universal-argument.
158 (universal-argument-map): Don't use default-bindings (bug#15317).
159 Bind switch-frame explicitly. Replace universal-argument-minus with
160 a conditional binding.
161 (universal-argument-num-events, saved-overriding-map): Remove.
162 (restore-overriding-map): Remove.
163 (universal-argument--mode): Rename from save&set-overriding-map,
165 (universal-argument, universal-argument-more, negative-argument)
166 (digit-argument): Adjust accordingly.
167 (universal-argument-minus): Remove.
168 (universal-argument-other-key): Remove.
170 * subr.el (with-demoted-errors): Add `format' argument.
172 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
174 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
175 `tramp-cleanup-connection'.
177 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
178 parameters KEEP-DEBUG and KEEP-PASSWORD.
180 * net/tramp.el (tramp-file-name-handler):
181 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
182 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
183 (tramp-maybe-open-connection):
184 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
185 Use `tramp-cleanup-connection'.
187 * net/tramp-sh.el (tramp-maybe-open-connection):
188 Catch 'uname-changed inside the progress reporter.
190 2013-09-10 Glenn Morris <rgm@gnu.org>
192 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
194 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
195 returns "alternate access method" in mode (eg "-rw-r--r--.").
197 2013-09-08 Glenn Morris <rgm@gnu.org>
199 * saveplace.el (load-save-place-alist-from-file):
200 Demote errors. (Bug#15305)
202 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
204 Improve compatibility with older Emacsen, and XEmacs.
206 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
207 only if it is bound. It isn't for XEmacs.
208 (with-tramp-progress-reporter): Do not let-bind `result'.
209 This yields to scoping errors in XEmacs.
210 (tramp-handle-make-auto-save-file-name): New function, moved from
213 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
214 for `make-auto-save-file-name'.
215 (tramp-adb--gnu-switches-to-ash):
216 Use `tramp-compat-replace-regexp-in-string'.
218 * net/tramp-cache.el (tramp-cache-print): Call
219 `substring-no-properties' only if it is bound. It isn't for XEmacs.
221 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
222 bound. It isn't for XEmacs.
224 * net/tramp-compat.el (tramp-compat-copy-file):
225 Catch `wrong-number-of-arguments' error.
226 (tramp-compat-replace-regexp-in-string): New defun.
228 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
229 for `make-auto-save-file-name'.
230 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
232 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
233 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
234 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
236 * net/tramp-gw.el (tramp-gw-open-network-stream):
237 Use `tramp-compat-replace-regexp-in-string'.
239 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
240 Call `tramp-handle-make-auto-save-file-name'.
241 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
242 (tramp-sh-file-gvfs-monitor-dir-process-filter)
243 (tramp-sh-file-inotifywait-process-filter):
244 Use `tramp-compat-replace-regexp-in-string'.
245 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
247 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
248 for `make-auto-save-file-name'.
249 (tramp-smb-handle-copy-directory):
250 Call `tramp-compat-replace-regexp-in-string'.
251 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
252 (tramp-smb-handle-copy-file): Improve error message.
253 (tramp-smb-handle-rename-file): Rename directly only in case
254 `newname' does not exist yet. This is a restriction of smbclient.
255 (tramp-smb-maybe-open-connection): Rerun the function only when
256 `auth-sources' is non-nil.
258 2013-09-08 Kenichi Handa <handa@gnu.org>
260 * international/characters.el: Set category "^" (Combining) for
263 2013-09-07 Alan Mackenzie <acm@muc.de>
265 Correctly fontify Java class constructors.
266 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
268 (c-recognize-typeless-decls): Set the Java value to t.
269 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
270 While handling a "(", add a check for, effectively, Java, and handle a
271 "typeless" declaration there.
273 2013-09-07 Roland Winkler <winkler@gnu.org>
275 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
276 field subtitle for entry type book.
278 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
280 * minibuffer.el: Make minibuffer-complete call completion-in-region
281 rather than other way around.
282 (completion--some, completion-pcm--find-all-completions):
283 Don't delay signals when debugging.
284 (minibuffer-completion-contents): Beware fields within the
286 (completion-all-sorted-completions): Use defvar-local.
287 (completion--do-completion, completion--cache-all-sorted-completions)
288 (completion-all-sorted-completions, minibuffer-force-complete):
289 Add args `beg' and `end'.
290 (completion--in-region-1): New fun, extracted from minibuffer-complete.
291 (minibuffer-complete): Use completion-in-region.
292 (completion-complete-and-exit): New fun, extracted from
293 minibuffer-complete-and-exit.
294 (minibuffer-complete-and-exit): Use it.
295 (completion--complete-and-exit): Rename from
296 minibuffer--complete-and-exit.
297 (completion-in-region--single-word): New function, extracted from
298 minibuffer-complete-word.
299 (minibuffer-complete-word): Use it.
300 (display-completion-list): Make `common-substring' argument obsolete.
301 (completion--in-region): Call completion--in-region-1 instead of
303 (completion-help-at-point): Pass boundaries to
304 minibuffer-completion-help as args rather than via an overlay.
305 (completion-pcm--string->pattern): Use `any-delim'.
306 (completion-pcm--optimize-pattern): New function.
307 (completion-pcm--pattern->regex): Handle `any-delim'.
308 * icomplete.el (icomplete-forward-completions)
309 (icomplete-backward-completions, icomplete-completions):
310 Adjust calls to completion-all-sorted-completions and
311 completion--cache-all-sorted-completions.
312 (icomplete-with-completion-tables): Default to t.
313 * emacs-lisp/crm.el (crm--current-element): Rename from
314 crm--select-current-element. Don't put an overlay but return the
316 (crm--completion-command): Take two new args to bind to the boundaries.
317 (crm-completion-help): Adjust accordingly.
318 (crm-complete): Use completion-in-region.
319 (crm-complete-word): Use completion-in-region--single-word.
320 (crm-complete-and-exit): Use completion-complete-and-exit.
322 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
324 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
327 2013-09-06 Juri Linkov <juri@jurta.org>
329 * info.el (Info-display-images-node): When image file doesn't exist
330 display text version of the image if it's provided in the Info file.
331 Otherwise, display the location of missing image from SRC attribute.
332 Add help-echo text property from ALT attribute. (Bug#15279)
334 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
336 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
337 (edit-abbrevs-mode): Use define-derived-mode.
339 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
340 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
342 (epa-key-list-mode, epa-key-mode, epa-info-mode):
343 Use define-derived-mode.
345 * epg.el (epg-start-encrypt): Minor CSE simplification.
347 2013-09-06 William Xu <william.xwl@gmail.com>
349 * arc-mode.el: Add support for 7za (bug#15264).
350 (archive-7z-program): New var.
351 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
352 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
353 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
355 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
359 * net/tramp.el (tramp-syntax, tramp-prefix-format)
360 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
361 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
362 (tramp-postfix-host-format, tramp-file-name-regexp)
363 (tramp-completion-file-name-regexp)
364 (tramp-completion-dissect-file-name)
365 (tramp-handle-substitute-in-file-name): Remove 'url case.
366 (tramp-file-name-regexp-url)
367 (tramp-completion-file-name-regexp-url): Remove constants.
369 2013-09-06 Glenn Morris <rgm@gnu.org>
371 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
373 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
375 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
376 keywords" below "here-doc beginnings" (Bug#15270).
378 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
380 * subr.el (pop): Use `car-safe'.
381 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
382 to detect unused `pop' return value.
384 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
386 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
387 (python-fill-string): Remove unused var `marker'.
388 (python-skeleton-add-menu-items): Remove unused var `items'.
390 * international/mule-cmds.el: Require CL.
391 (find-coding-systems-for-charsets): Avoid add-to-list.
392 (sanitize-coding-system-list): New function, extracted from
393 select-safe-coding-system-interactively.
394 (select-safe-coding-system-interactively): Use it.
395 (read-input-method-name): Accept symbols for `default'.
397 * emacs-lisp/advice.el (defadvice): Add indent rule.
399 2013-09-05 Daniel Hackney <dan@haxney.org>
419 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
420 byte compiler. Remove some unused let-bound variables.
422 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
424 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
425 a "ref-cell", since it gets better optimized (bug#14883).
427 2013-09-05 Glenn Morris <rgm@gnu.org>
429 * progmodes/cc-awk.el (c-forward-sws): Declare.
431 2013-09-04 Glenn Morris <rgm@gnu.org>
433 * generic-x.el [rul-generic-mode]: Require cc-mode.
434 (c++-mode-syntax-table): Declare.
435 (rul-generic-mode-syntax-table): Init in the defvar.
437 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
439 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
440 (vc-do-command, vc-set-async-update):
441 * vc/vc-mtn.el (vc-mtn-dir-status):
442 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
443 (vc-hg-pull, vc-hg-merge-branch):
444 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
445 (vc-git-merge-branch):
446 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
447 (vc-cvs-dir-status-files):
448 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
449 (vc-bzr-dir-status-files):
450 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
451 * vc/vc-annotate.el: Use lexical-binding.
452 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
453 (vc-sentinel-movepoint): Declare.
454 (vc-annotate): Don't use `goto-line'.
455 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
456 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
457 (vc-sentinel-movepoint): Declare.
458 * vc/vc-svn.el: Use lexical-binding.
459 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
461 * vc/vc-rcs.el: Use lexical-binding.
463 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
464 `deleted'. Don't drop errors silently.
466 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
468 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
470 * vc/vc.el (vc-ignore): Rewrite.
471 (vc-default-ignore): New function.
472 (vc-default-ignore-completion-table): Use find-ignore-file.
474 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
475 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
476 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
477 Remove. Most code moved to vc.el.
479 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
481 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
482 * net/tramp-smb.el (tramp-smb-get-file-entries):
483 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
484 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
486 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
488 (eww-change-select): Remove unused var `properties'.
489 (eww-make-unique-file-name): Remove unused var `base'.
491 * finder.el (finder-compile-keywords): Don't mess with windows.
493 * calculator.el (calculator-funcall): Fix typo in last change.
495 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
497 * emacs-lisp/package.el (package-activate-1): Don't let a missing
498 <pkg>-autoloads.el file stop us.
500 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
501 warnings, and factor out common code.
503 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
505 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
506 two-character operators and whether the character preceding them
507 changes their meaning (Bug#15208).
509 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
511 Format code sent to Python shell for robustness.
512 * progmodes/python.el (python-shell-buffer-substring):
514 (python-shell-send-region, python-shell-send-buffer): Use it.
516 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
518 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
519 * net/tramp.el (tramp-user-error): ... here.
520 (tramp-find-method, tramp-check-proper-host)
521 (tramp-dissect-file-name, tramp-debug-message)
522 (tramp-handle-shell-command):
523 * net/tramp-adb.el (tramp-adb-handle-shell-command):
524 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
526 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
528 2013-09-02 Martin Rudalics <rudalics@gmx.at>
530 * avoid.el (mouse-avoidance-point-position)
531 (mouse-avoidance-too-close-p): Handle case where posn-at-point
534 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
536 * progmodes/python.el (python-shell-completion-get-completions):
537 Drop use of deleted `comint-last-prompt-overlay'.
538 (python-nav-if-name-main): New command.
540 2013-09-01 Glenn Morris <rgm@gnu.org>
542 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
543 Avoid leading space in $wins. Otherwise the sed command used by
544 eg compile-main ends up containing "/*.el". (Bug#15170)
546 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
548 2013-08-30 Glenn Morris <rgm@gnu.org>
550 * emacs-lisp/bytecomp.el (byte-recompile-directory):
551 Fix is-this-a-directory logic. (Bug#15220)
553 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
555 * textmodes/css-mode.el: Use SMIE.
556 (css-smie-grammar): New var.
557 (css-smie--forward-token, css-smie--backward-token)
558 (css-smie-rules): New functions.
559 (css-mode): Use them.
560 (css-navigation-syntax-table): Remove var.
561 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
562 (css-indent-calculate, css-indent-line): Remove functions.
564 Misc changes to reduce use of `(lambda...); and other cleanups.
565 * cus-edit.el: Use lexical-binding.
566 (customize-push-and-save, customize-apropos)
567 (custom-buffer-create-internal): Use closures.
568 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
569 * progmodes/ada-xref.el: Use setq.
570 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
571 * dframe.el: Use lexical-binding.
572 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
573 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
574 * descr-text.el: Use lexical-binding.
575 (describe-text-widget, describe-text-sexp, describe-property-list):
577 * comint.el (comint-history-isearch-push-state): Use a closure.
578 * calculator.el: Use lexical-binding.
579 (calculator-number-to-string): Make it work with lexical-binding.
580 (calculator-funcall): Same and use cl-letf.
582 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
583 (lisp--company-doc-string, lisp--company-location): New functions.
584 (lisp-completion-at-point): Use them to improve Company support.
586 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
587 params of lambda expressions.
588 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
589 (ruby-smie--opening-pipe-p): New function.
590 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
591 symbols and matched |...| for formal params.
592 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
593 from being treated as hanging. Handle "rescue".
595 2013-08-29 Glenn Morris <rgm@gnu.org>
597 * progmodes/cc-engine.el (c-pull-open-brace):
598 Move definition before use.
600 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
602 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
603 are immutable. Don't use `unsafe' any more.
604 (cl--defsubst-expand): Don't substitute at the same time as keeping
605 a residual unused let-binding. Don't use `unsafe' any more.
607 2013-08-29 Glenn Morris <rgm@gnu.org>
609 * calendar/cal-china.el (calendar-chinese-year-cache):
612 * nxml/nxml-util.el (nxml-debug-clear-inside):
613 Use cl-loop rather than loop.
615 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
617 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
619 2013-08-28 Glenn Morris <rgm@gnu.org>
621 * progmodes/antlr-mode.el: No need to require cc-mode twice.
623 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
625 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
627 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
629 * simple.el (repeat-complex-command--called-interactively-skip):
631 (repeat-complex-command): Use it (bug#14136).
633 * progmodes/cc-mode.el: Minor cleanup of var declarations.
634 (c-define-abbrev-table): Add `doc' argument.
635 (c-mode-abbrev-table, c++-mode-abbrev-table)
636 (objc-mode-abbrev-table, java-mode-abbrev-table)
637 (idl-mode-abbrev-table, pike-mode-abbrev-table)
638 (awk-mode-abbrev-table): Use it.
639 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
640 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
641 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
642 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
643 Move initialization into the declaration; and remove any
646 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
647 and dynamic let binding.
649 * vc/smerge-mode.el: Remove redundant :group args.
651 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
654 2013-08-28 Juri Linkov <juri@jurta.org>
656 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
657 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
658 (isearch-other-meta-char): Handle an undefined shifted printing
659 character by downshifting it. (Bug#15200)
661 2013-08-28 Juri Linkov <juri@jurta.org>
663 * isearch.el (isearch-search): Change regexp error message for
664 non-regexp searches. (Bug#15166)
666 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
668 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
669 for portability to hosts where /bin/sh has problems.
671 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
673 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
675 2013-08-27 Juri Linkov <juri@jurta.org>
677 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
678 in the keyboard macro. (Bug#15126)
680 2013-08-27 Juri Linkov <juri@jurta.org>
682 * isearch.el (isearch-quote-char): Comment out converting unibyte
683 to multibyte, thus syncing with its `quoted-insert' counterpart.
686 2013-08-27 Martin Rudalics <rudalics@gmx.at>
688 * window.el (display-buffer-use-some-window): Add missing
689 argument in call of get-largest-window (Bug#15185).
690 Reported by Stephen Leake.
692 2013-08-27 Glenn Morris <rgm@gnu.org>
694 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
696 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
698 * progmodes/python.el (python-font-lock-keywords): Don't return nil
699 from a matcher-function unless there's no more matches (bug#15161).
701 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
703 * minibuffer.el: Revert change from 2013-08-20.
705 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
706 with text property `tramp-default', if appropriate.
707 (tramp-check-proper-host): New defun.
708 (tramp-dissect-file-name): Do not check hostname. Revert change
710 (tramp-backtrace): Make VEC-OR-PROC optional.
712 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
713 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
714 * net/tramp-sh.el (tramp-maybe-open-connection):
715 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
716 Apply `tramp-check-proper-host'.
718 2013-08-26 Tassilo Horn <tsdh@gnu.org>
720 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
721 lambda expression in order to have `describe-variable' display it.
723 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
725 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
726 BUF can be optional. (Bug#15186)
728 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
730 * progmodes/flymake.el (flymake-get-real-file-name-function):
731 Fix broken customization. (Bug#15184)
733 2013-08-25 Alan Mackenzie <acm@muc.de>
735 Improve indentation of bracelists defined by macros (without "=").
737 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
738 expansion begins with "{", regard it as bracelist when it doesn't
741 Parse C++ inher-intro when there's a template split over 2 lines.
743 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
744 rigorously the search for "class" etc. followed by ":".
746 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
747 random languages a regexp which never matches rather than nil.
749 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
751 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
752 (c-awk-regexp-one-line-possibly-open-char-list-re)
753 (c-awk-one-line-possibly-open-regexp-re)
754 (c-awk-one-line-non-syn-ws*-re): Remove.
755 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
756 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
757 (c-awk-space*-unclosed-regexp-/-re): New constants.
758 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
759 aren't regexp delimiters.
761 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
762 handling for a rare situation in AWK Mode involving unterminated
765 2013-08-23 Glenn Morris <rgm@gnu.org>
767 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
769 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
771 * files.el (create-file-buffer): If the result would begin with
772 spaces, prepend a "|" instead of removing them. (Bug#15162)
774 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
776 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
777 text-properties (bug#15155).
779 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
781 (calc-keypad-redraw): Remove unused var `pad'.
782 (calc-keypad-press): Remove unused var `menu'.
784 2013-08-23 Martin Rudalics <rudalics@gmx.at>
786 * window.el (display-buffer-pop-up-frame):
787 Call pop-up-frame-function with BUFFER current so `make-frame' will
788 use it as the new frame's buffer (Bug#15133).
790 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
792 * calendar/timeclock.el: Minor cleanups.
793 (timeclock-ask-before-exiting, timeclock-use-display-time):
795 (timeclock-modeline-display): Define as alias before the
797 (timeclock-mode-line-display): Use define-minor-mode.
798 (timeclock-day-list-template): Make it a function, add an argument.
799 (timeclock-day-list-required, timeclock-day-list-length)
800 (timeclock-day-list-debt, timeclock-day-list-span)
801 (timeclock-day-list-break): Adjust calls accordingly.
803 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
805 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
806 Use read--expression so that completion works again.
808 2013-08-21 Sam Steingold <sds@gnu.org>
810 Add rudimentary inferior shell interaction
811 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
812 (sh-set-shell): Reset it.
813 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
814 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
816 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
818 * align.el: Use lexical-binding.
819 (align-region): Simplify accordingly.
821 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
823 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
825 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
828 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
836 * net/tramp-sh.el: Don't wrap external variable declarations by
839 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
841 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
842 now that Emacs supports ImageMagick animations.
844 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
846 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
847 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
849 2013-08-16 Martin Rudalics <rudalics@gmx.at>
851 * window.el (mouse-autoselect-window-select): Do autoselect when
852 mouse pointer is on margin.
854 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
856 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
858 2013-08-16 Glenn Morris <rgm@gnu.org>
860 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
861 Handle "Remote Directory" response of some clients. (Bug#15058)
863 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
864 Tweak warning. (Bug#14926)
866 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
867 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
869 * image-mode.el (image-mode-map): Add menu items to reverse,
870 increase, decrease, reset animation speed.
871 (image--set-speed, image-increase-speed, image-decrease-speed)
872 (image-reverse-speed, image-reset-speed): New functions.
873 (image-mode-map): Add bindings for speed commands.
875 * image.el (image-animate-get-speed, image-animate-set-speed):
877 (image-animate-timeout): Respect image :speed property.
879 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
881 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
882 previous line (bug#15101).
883 (debugger-eval-expression, debugger-record-expression):
884 Use read--expression (bug#15102).
886 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
888 Remove byte compiler warnings, visible when compiling with
889 `byte-compile-force-lexical-warnings' set to t.
891 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
892 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
893 (tramp-handle-unhandled-file-name-directory)
894 (tramp-handle-file-notify-add-watch, tramp-action-login)
895 (tramp-action-succeed, tramp-action-permission-denied)
896 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
899 * net/tramp-adb.el (tramp-adb-parse-device-names)
900 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
901 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
902 (tramp-adb-handle-file-truename): Remove unused arguments.
904 * net/tramp-cache.el (tramp-flush-directory-property)
905 (tramp-flush-connection-property, tramp-list-connections)
906 (tramp-parse-connection-properties): Prefix unused arguments with "_".
908 * net/tramp-compat.el (tramp-compat-make-temp-file):
909 Rename FILENAME to F.
911 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
912 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
913 (tramp-zeroconf-parse-workstation-device-names)
914 (tramp-zeroconf-parse-webdav-device-names)
915 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
917 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
918 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
920 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
922 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
923 (tramp-sh-handle-insert-file-contents-literally)
924 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
926 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
927 Remove unused variables.
929 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
930 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
931 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
933 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
934 Make them a defconst.
935 (tramp-uuencode-region): Remove unused variable.
937 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
939 * frameset.el (frameset--prop-setter): New function.
940 (frameset-prop): Add gv-setter declaration.
941 (frameset-filter-minibuffer): Deal with the case that the minibuffer
942 parameter was already set in FILTERED. Doc fix.
943 (frameset--record-minibuffer-relationships): Allow saving a
944 minibufferless frame without its corresponding minibuffer frame.
945 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
946 frame, if the frame id matches.
947 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
948 frames before orphaned ones.
949 (frameset-restore): Warn about orphaned windows, instead of error out.
951 2013-08-14 Martin Rudalics <rudalics@gmx.at>
953 * window.el (window-make-atom): Don't overwrite parameter
955 (display-buffer-in-atom-window): Handle special case where we
956 split an already atomic window.
957 (window--major-non-side-window, display-buffer-in-side-window)
958 (window--side-check): Ignore minibuffer window when walking
960 (window-deletable-p): Return 'frame only if no other frame uses
961 our minibuffer window.
962 (record-window-buffer): Run buffer-list-update-hook.
963 (split-window): Make sure window--check-frame won't destroy an
964 existing atomic window in case the new window gets nested
966 (display-buffer-at-bottom): Ignore minibuffer window when
967 walking window tree. Don't split a side window.
968 (pop-to-buffer): Don't set-buffer here, the select-window call
970 (mouse-autoselect-window-select): Autoselect only if we are in the
971 text portion of the window.
973 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
975 * net/shr.el (shr-parse-image-data): New function to grab both the
976 data itself and the Content-Type.
977 (shr-put-image): Use it.
979 * net/eww.el (eww-display-image): Ditto.
981 * image.el (image-content-type-suffixes): New variable.
983 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
985 * progmodes/python.el (python-imenu--build-tree)
986 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
988 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
990 * simple.el (backward-word): Mention the optional argument.
992 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
994 * frameset.el (frameset--make): Rename constructor from make-frameset.
995 (frameset-p, frameset-valid-p): Don't autoload.
996 (frameset-valid-p): Use normal accessors.
998 2013-08-13 Glenn Morris <rgm@gnu.org>
1000 * progmodes/compile.el (compile-command): Tweak example in doc.
1001 * obsolete/scribe.el (scribe-mode):
1002 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1004 * mail/feedmail.el (feedmail-confirm-outgoing)
1005 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1007 * cus-start.el (truncate-partial-width-windows): Fix type.
1009 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1011 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1013 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1015 * emacs-lisp/timer.el (timer--time-setter): New function.
1016 (timer--time): Use it as gv-setter.
1018 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1019 setter is not a symbol.
1021 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
1023 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1024 if sending fails. This makes debugging easier.
1026 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
1028 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1029 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1030 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1032 2013-08-12 Eli Zaretskii <eliz@gnu.org>
1034 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1036 2013-08-12 Glenn Morris <rgm@gnu.org>
1038 * format.el (format-annotate-function):
1039 Handle read-only text properties in the source. (Bug#14887)
1041 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1043 * net/eww.el (eww-display-html): Ignore coding system errors.
1044 One web site uses "utf-8lias" as the coding system.
1046 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
1048 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1050 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
1052 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1053 (tutorial--detailed-help): Remove unused local variables.
1054 (tutorial--save-tutorial-to): Use ignore-errors.
1055 (help-with-tutorial): Use looking-at-p.
1057 * view.el (view-buffer-other-window, view-buffer-other-frame):
1058 Mark unused arguments.
1060 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1061 (woman-select-symbol-fonts, woman, woman-find-file)
1062 (woman-insert-file-contents, woman-non-underline-faces):
1064 (woman1-unquote): Move declaration.
1066 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1067 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
1068 argument. Remove unused local variable.
1069 (xml-parse-elem-type): Use string-match-p.
1070 (xml-substitute-numeric-entities): Use ignore-errors.
1072 * calculator.el (calculator): Mark unused argument.
1073 (calculator-paste, calculator-quit, calculator-integer-p):
1075 (calculator-string-to-number, calculator-decimal, calculator-exp)
1076 (calculator-op-or-exp): Use string-match-p.
1078 * dired.el (dired-buffer-more-recently-used-p): Declare.
1079 (dired-insert-set-properties, dired-insert-old-subdirs):
1082 * dired-aux.el (dired-compress): Use ignore-errors.
1083 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1084 (dired-do-async-shell-command, dired-do-shell-command)
1085 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1086 (dired-insert-subdir-validate): Use string-match-p.
1087 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1088 (dired-add-entry): Use string-match-p, looking-at-p.
1089 (dired-insert-subdir-newpos): Remove unused local variable.
1091 * filenotify.el (file-notify-callback): Remove unused local variable.
1093 * filesets.el (filesets-error): Mark unused argument.
1094 (filesets-which-command-p, filesets-filter-dir-names)
1095 (filesets-directory-files, filesets-get-external-viewer)
1096 (filesets-ingroup-get-data): Use string-match-p.
1098 * find-file.el (ff-other-file-name, ff-other-file-name)
1099 (ff-find-the-other-file, ff-cc-hh-converter):
1100 Remove unused local variables.
1101 (ff-get-file-name): Use string-match-p.
1102 (ff-all-dirs-under): Use ignore-errors.
1104 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
1105 (follow-select-if-visible): Remove unused local variable.
1107 * forms.el (read-file-filter): Move declaration.
1108 (forms--make-format, forms--make-parser, forms-insert-record):
1109 Quote function with #'.
1110 (forms--update): Use string-match-p. Quote function with #'.
1112 * help-mode.el (help-dir-local-var-def): Mark unused argument.
1113 (help-make-xrefs): Use looking-at-p.
1114 (help-xref-on-pp): Use looking-at-p, ignore-errors.
1116 * ibuffer.el (ibuffer-ext-visible-p): Declare.
1117 (ibuffer-confirm-operation-on): Use string-match-p.
1119 * msb.el (msb-item-handler, msb-dired-item-handler):
1120 Mark unused arguments.
1122 * ses.el (ses-decode-cell-symbol)
1123 (ses-kill-override): Remove unused local variable.
1124 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
1125 (ses-load): Use ignore-errors, looking-at-p.
1126 (ses-jump-safe): Use ignore-errors.
1127 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
1129 * tabify.el (untabify, tabify): Mark unused arguments.
1131 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
1132 Mark unused argument.
1133 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
1134 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
1136 * emacs-lisp/timer.el (timer--time): Define setter with
1137 gv-define-setter to avoid deprecation warning.
1139 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
1140 (*record-cmpl-statistics-p*): Remove (was commented out).
1141 (cmpl-statistics-block): Remove (body was commented out).
1142 All callers changed.
1143 (add-completions-from-buffer, load-completions-from-file):
1144 Remove unused variables.
1146 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
1148 * filecache.el (file-cache-delete-file-list):
1149 Print message only when told so.
1150 (file-cache-files-matching): Use #' in mapconcat argument.
1152 * ffap.el (ffap-url-at-point): Fix reference to variable
1153 thing-at-point-default-mail-uri-scheme.
1155 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1157 * subr.el (define-error): New function.
1158 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
1159 error-file-not-found and define with define-error.
1160 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
1161 and define with define-error.
1162 * userlock.el (file-locked, file-supersession):
1163 * simple.el (mark-inactive):
1164 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
1165 * progmodes/ada-mode.el (ada-mode-errors):
1166 * play/life.el (life-extinct):
1167 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
1168 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
1169 * nxml/rng-util.el (rng-error):
1170 * nxml/rng-uri.el (rng-uri-error):
1171 * nxml/rng-match.el (rng-compile-error):
1172 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
1173 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
1174 * nxml/nxml-rap.el (nxml-scan-error):
1175 * nxml/nxml-outln.el (nxml-outline-error):
1176 * net/soap-client.el (soap-error):
1177 * net/gnutls.el (gnutls-error):
1178 * net/ange-ftp.el (ftp-error):
1179 * mpc.el (mpc-proc-error):
1180 * json.el (json-error, json-readtable-error, json-unknown-keyword)
1181 (json-number-format, json-string-escape, json-string-format)
1182 (json-key-format, json-object-format):
1183 * jka-compr.el (compression-error):
1184 * international/quail.el (quail-error):
1185 * international/kkc.el (kkc-error):
1186 * emacs-lisp/ert.el (ert-test-failed):
1187 * calc/calc.el (calc-error, inexact-result, math-overflow)
1189 * bookmark.el (bookmark-error-no-filename):
1190 * epg.el (epg-error): Define with define-error.
1192 * time.el (display-time-event-handler)
1193 (display-time-next-load-average): Don't call sit-for since it seems
1194 unnecessary (bug#15045).
1196 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
1197 Use #' instead of ' to quote functions.
1198 (checkdoc-output-mode): Use setq-local.
1199 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
1200 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
1201 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
1202 (checkdoc-ispell, checkdoc-ispell-current-buffer)
1203 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
1204 (checkdoc-ispell-message-text, checkdoc-ispell-start)
1205 (checkdoc-ispell-continue, checkdoc-ispell-comments)
1206 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
1208 * ido.el (ido-completion-help): Fix up compiler warning.
1210 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
1212 * frameset.el (frameset-p): Add autoload cookie.
1213 (frameset--jump-to-register): New function, based on code moved from
1215 (frameset-to-register): Move from register.el. Adapt to `registerv'.
1217 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
1218 (frameset-restore, frameset-save, frameset-session-filter-alist):
1219 Remove declarations.
1220 (register-alist): Doc fix.
1221 (frameset-to-register): Move to frameset.el.
1222 (jump-to-register, describe-register-1): Remove frameset-specific code.
1224 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1226 * allout-widgets.el (allout-widgets-pre-command-business)
1227 (allout-widgets-post-command-business)
1228 (allout-widgets-after-change-handler)
1229 (allout-decorate-item-and-context, allout-set-boundary-marker)
1230 (allout-body-modification-handler)
1231 (allout-graphics-modification-handler): Mark ignored arguments.
1232 (allout-widgets-post-command-business)
1233 (allout-widgets-exposure-change-processor)
1234 (allout-widgets-exposure-undo-processor)
1235 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
1236 (allout-parse-item-at-point, allout-decorate-item-guides)
1237 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
1238 * allout.el (epa-passphrase-callback-function): Declare.
1239 (allout-overlay-insert-in-front-handler)
1240 (allout-overlay-interior-modification-handler)
1241 (allout-isearch-end-handler, allout-chart-siblings)
1242 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
1243 (allout-yank-processing, allout-process-exposed)
1244 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
1245 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
1246 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
1247 (lisp-indent-defform): Mark ignored arguments.
1248 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
1249 (calculate-lisp-indent): Remove unused variables.
1250 * international/characters.el (indian-2-column, arabic-2-column)
1251 (tibetan): Mark ignored arguments.
1252 (use-cjk-char-width-table): Mark ignored arguments.
1253 Remove unused variables.
1254 * international/fontset.el (build-default-fontset-data)
1255 (x-compose-font-name, create-fontset-from-fontset-spec):
1256 Mark ignored arguments.
1257 (fontset-plain-name): Remove unused variables.
1258 * international/mule.el (charset-id, charset-bytes, generic-char-p)
1259 (keyboard-coding-system): Mark ignored arguments.
1260 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
1261 * help.el (resize-temp-buffer-window):
1262 * window.el (display-buffer-in-major-side-window)
1263 (display-buffer-in-side-window, display-buffer-in-previous-window):
1264 Remove unused variables.
1265 * isearch.el (isearch-forward-symbol):
1266 * version.el (emacs-bzr-version-bzr):
1267 * international/mule-cmds.el (current-language-environment):
1268 * term/common-win.el (x-handle-iconic, x-handle-geometry)
1270 * term/pc-win.el (x-list-fonts, x-display-planes)
1271 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
1272 (x-server-version, x-display-screens, x-display-mm-height)
1273 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
1274 (x-selection-owner-p, x-own-selection-internal)
1275 (x-disown-selection-internal, x-get-selection-internal)
1276 (msdos-initialize-window-system):
1277 * term/tty-colors.el (tty-color-alist, tty-color-clear):
1278 * term/x-win.el (x-handle-no-bitmap-icon):
1279 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
1280 (vc-default-find-file-hook, vc-default-extra-menu):
1281 Mark ignored arguments.
1283 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1285 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
1286 break-condition in the context of the debugged code (bug#12685).
1288 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
1291 Do not use an overlay to highlight the last prompt. (Bug#14744)
1292 (comint-mode): Make comint-last-prompt buffer local.
1293 (comint-last-prompt): New variable.
1294 (comint-last-prompt-overlay): Remove. Superseded by
1296 (comint-snapshot-last-prompt, comint-output-filter):
1297 Use comint-last-prompt.
1299 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1301 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
1302 (frameset-save): Check validity of the resulting frameset.
1304 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
1306 * ido.el (ido-record-command): Add doc string.
1308 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1310 * frameset.el (frameset): Do not disable creation of the default
1311 frameset-p predicate. Doc fix.
1312 (frameset-valid-p): New function, copied from the old predicate-p.
1313 Add additional checks.
1314 (frameset-restore): Check with frameset-valid-p.
1315 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
1316 (frameset-name, frameset-description, frameset-properties)
1317 (frameset-states): Add docstring.
1318 (frameset-session-filter-alist, frameset-persistent-filter-alist)
1319 (frameset-filter-alist): Doc fixes.
1321 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1323 * frameset.el (frameset-p, frameset-prop): Doc fixes.
1325 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1327 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
1328 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
1329 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
1330 (byte-compile-normal-call): Remove obsolescence check.
1332 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1334 * frameset.el (frameset-restore): Doc fix.
1336 * register.el (frameset-frame-id, frameset-frame-with-id)
1337 (frameset-p, frameset-restore, frameset-save): Declare.
1338 (register-alist): Document framesets.
1339 (frameset-session-filter-alist): Declare.
1340 (frameset-to-register): New function.
1341 (jump-to-register): Implement jumping to framesets. Doc fix.
1342 (describe-register-1): Describe framesets.
1344 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
1346 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
1348 * desktop.el (desktop-save-frameset): Use new frameset-save args.
1349 Use lexical-binding.
1351 * frameset.el (frameset): Use type vector, not list (incompatible
1352 change). Do not declare a new constructor, use the default one.
1353 Upgrade suggested properties `app', `name' and `desc' to slots `app',
1354 `name' and `description', respectively, and add read-only slot
1355 `timestamp'. Doc fixes.
1356 (frameset-copy, frameset-persistent-filter-alist)
1357 (frameset-filter-alist, frameset-switch-to-gui-p)
1358 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
1359 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
1360 (frameset-filter-iconified, frameset-keep-original-display-p):
1362 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
1363 Rename from frameset-filter-(save|restore)-param. All callers changed.
1365 (frameset-p): Adapt to change to vector and be more thorough.
1366 Change arg name to OBJECT. Doc fix.
1367 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
1368 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
1369 All callers changed.
1370 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
1371 All callers changed.
1372 (frameset--record-minibuffer-relationships): Rename from
1373 frameset--process-minibuffer-frames. All callers changed.
1374 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
1375 Use new default constructor (again). Doc fix.
1376 (frameset--find-frame-if): Rename from `frameset--find-frame.
1377 All callers changed.
1378 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
1379 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
1381 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
1382 PARAMETERS and WINDOW-STATE, respectively.
1383 (frameset-restore): Add new keyword argument PREDICATE.
1384 Reset frameset--target-display to nil. Doc fix.
1386 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1388 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
1390 (bat-mode-syntax-table): Mark \n as end-of-comment.
1391 (bat-font-lock-keywords): Remove comment rule.
1393 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
1394 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
1396 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
1397 (byte-compile-callargs-warn): Use `push'.
1398 (byte-compile-arglist-warn): Ignore higher-order "calls".
1399 (byte-compile-file-form-autoload): Use `pcase'.
1400 (byte-compile-function-form): If quoting a symbol, check that it exists.
1402 2013-08-07 Eli Zaretskii <eliz@gnu.org>
1404 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
1405 and add a few popular commands found in batch files.
1406 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
1407 (dos-mode): Doc fixes.
1409 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1411 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
1412 (dos-mode): Use setq-local. Add space after "rem".
1413 (dos-mode-syntax-table): Don't use "w" for symbol chars.
1414 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
1416 2013-08-07 Arni Magnusson <arnima@hafro.is>
1418 * progmodes/dos.el: New file.
1419 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
1422 2013-08-06 Glenn Morris <rgm@gnu.org>
1424 * calendar/calendar.el: Add new faces, and day-header-array.
1425 (calendar-weekday-header, calendar-weekend-header)
1426 (calendar-month-header): New faces.
1427 (calendar-day-header-construct): New function.
1428 (calendar-day-header-width): Also :set calendar-day-header-array.
1429 (calendar-american-month-header, calendar-european-month-header)
1430 (calendar-iso-month-header): Use calendar- faces.
1431 (calendar-generate-month):
1432 Use calendar-day-header-array for day headers; apply faces to them.
1433 (calendar-mode): Check calendar-font-lock-keywords non-nil.
1434 (calendar-abbrev-construct): Add optional maxlen argument.
1435 (calendar-day-name-array): Doc fix.
1436 (calendar-day-name-array, calendar-abbrev-length)
1437 (calendar-day-abbrev-array):
1438 Also :set calendar-day-header-array, and maybe redraw.
1439 (calendar-day-header-array): New option. (Bug#15007)
1440 (calendar-font-lock-keywords): Set to nil and make obsolete.
1441 (calendar-day-name): Add option to use header array.
1443 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1445 * net/shr.el (shr-render-td): Remove debugging.
1446 (shr-render-td): Make width computation consistent by defaulting
1447 all zero-width columns to 10 characters. This may not be optimal,
1448 but it's at least consistent.
1449 (shr-make-table-1): Redo last change to fix the real problem in
1452 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1454 * files.el (cache-long-line-scans):
1455 Make obsolete alias to `cache-long-scans'.
1457 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
1459 * frameset.el (frameset, frameset-filter-alist)
1460 (frameset-filter-params, frameset-save, frameset--reuse-frame)
1461 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
1462 (frameset-compute-pos): Rename from frameset--compute-pos,
1464 (frameset-move-onscreen): Use frameset-compute-pos.
1465 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1467 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
1468 Fix typos in docstrings.
1470 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1472 * frame.el (get-other-frame): Tiny cleanup.
1474 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
1476 * vc/vc.el (vc-default-ignore-completion-table):
1477 Silence byte-compiler warning.
1479 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
1480 slot , which can indeed be nil.
1481 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1482 Move entry for `left' from persistent to live filter alist.
1483 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
1485 (frameset-filter-params): When restoring a frame, copy items added to
1486 `filtered', to avoid unwittingly modifying the original parameters.
1487 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
1488 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
1490 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
1491 to use looking-at-p instead of looking-at. (Bug#15028)
1493 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1495 Revert introduction of isearch-filter-predicates (bug#14714).
1496 Rely on add-function instead.
1497 * isearch.el (isearch-filter-predicates): Rename it back to
1498 isearch-filter-predicate.
1499 (isearch-message-prefix): Use advice-function-mapc and advice
1500 properties to get the isearch-message-prefix.
1501 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
1502 instead of run-hook-with-args-until-failure.
1503 (isearch-filter-visible): Not obsolete any more.
1504 * loadup.el: Preload nadvice.
1505 * replace.el (perform-replace): Revert to funcall
1506 instead of run-hook-with-args-until-failure.
1507 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
1508 * dired-aux.el (dired-isearch-filenames-mode): Rename from
1509 dired-isearch-filenames-toggle; make it into a proper minor mode.
1510 Use add/remove-function.
1511 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
1512 Call the minor-mode rather than add/remove-hook.
1513 (dired-isearch-filter-filenames):
1514 Remove isearch-message-prefix property.
1515 * info.el (Info--search-loop): New function, extracted from Info-search.
1516 Funcall isearch-filter-predicate instead of
1517 run-hook-with-args-until-failure isearch-filter-predicates.
1518 (Info-search): Use it.
1519 (Info-mode): Use isearch-filter-predicate instead of
1520 isearch-filter-predicates.
1522 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1524 Do not call to `selected-window' where it is assumed by default.
1525 Affected functions are `window-minibuffer-p', `window-dedicated-p',
1526 `window-hscroll', `window-width', `window-height', `window-buffer',
1527 `window-frame', `window-start', `window-point', `next-window'
1528 and `window-display-table'.
1529 * abbrev.el (abbrev--default-expand):
1530 * bs.el (bs--show-with-configuration):
1531 * buff-menu.el (Buffer-menu-mouse-select):
1532 * calc/calc.el (calc):
1533 * calendar/calendar.el (calendar-generate-window):
1534 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
1536 * comint.el (send-invisible, comint-dynamic-complete-filename)
1537 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
1538 * completion.el (complete):
1539 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
1540 * disp-table.el (describe-current-display-table):
1541 * doc-view.el (doc-view-insert-image):
1542 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
1543 * ehelp.el (with-electric-help):
1544 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1545 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
1546 * emacs-lisp/helper.el (Helper-help-scroller):
1547 * emulation/cua-base.el (cua--post-command-handler-1):
1548 * eshell/esh-mode.el (eshell-output-filter):
1549 * ffap.el (ffap-gnus-wrapper):
1550 * help-macro.el (make-help-screen):
1551 * hilit-chg.el (highlight-compare-buffers):
1552 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
1553 * hl-line.el (global-hl-line-highlight):
1554 * icomplete.el (icomplete-simple-completing-p):
1555 * isearch.el (isearch-done):
1556 * jit-lock.el (jit-lock-stealth-fontify):
1557 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
1558 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
1559 * mpc.el (mpc-tagbrowser, mpc):
1560 * net/rcirc.el (rcirc-any-buffer):
1561 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
1562 * play/landmark.el (landmark-max-width, landmark-max-height):
1563 * play/zone.el (zone):
1564 * progmodes/compile.el (compilation-goto-locus):
1565 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
1566 * progmodes/etags.el (find-tag-other-window):
1567 * progmodes/fortran.el (fortran-column-ruler):
1568 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
1569 * progmodes/verilog-mode.el (verilog-point-text):
1570 * reposition.el (reposition-window):
1571 * rot13.el (toggle-rot13-mode):
1572 * server.el (server-switch-buffer):
1573 * shell.el (shell-dynamic-complete-command)
1574 (shell-dynamic-complete-environment-variable):
1575 * simple.el (insert-buffer, set-selective-display)
1576 (delete-completion-window):
1577 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
1578 (speedbar-recenter):
1579 * startup.el (fancy-splash-head):
1580 * textmodes/ispell.el (ispell-command-loop):
1581 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
1582 * tutorial.el (help-with-tutorial):
1583 * vc/add-log.el (add-change-log-entry):
1584 * vc/compare-w.el (compare-windows):
1585 * vc/ediff-help.el (ediff-indent-help-message):
1586 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
1587 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
1588 (ediff-setup-control-frame):
1589 * vc/emerge.el (emerge-position-region):
1590 * vc/pcvs-util.el (cvs-bury-buffer):
1591 * window.el (walk-windows, mouse-autoselect-window-select):
1592 * winner.el (winner-set-conf, winner-undo): Related users changed.
1594 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1596 * frameset.el (frameset--set-id): Doc fix.
1597 (frameset-frame-id, frameset-frame-id-equal-p)
1598 (frameset-locate-frame-id): New functions.
1599 (frameset--process-minibuffer-frames, frameset--reuse-frame)
1600 (frameset-restore): Use them.
1602 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1604 Do not call to `selected-frame' where it is assumed by default.
1605 Affected functions are `raise-frame', `redraw-frame',
1606 `frame-first-window', `frame-terminal' and `delete-frame'.
1607 * calendar/appt.el (appt-disp-window):
1608 * epg.el (epg-wait-for-completion):
1609 * follow.el (follow-delete-other-windows-and-split)
1610 (follow-avoid-tail-recenter):
1611 * international/mule.el (set-terminal-coding-system):
1612 * mail/rmail.el (rmail-mail-return):
1613 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
1614 * progmodes/f90.el (f90-add-imenu-menu):
1615 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
1616 * server.el (server-switch-buffer):
1617 * simple.el (delete-completion-window):
1619 * term/xterm.el (terminal-init-xterm-modify-other-keys)
1620 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
1621 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
1622 * vc/ediff.el (ediff-documentation): Related users changed.
1623 * frame.el (selected-terminal): Remove the leftover.
1625 2013-08-05 Glenn Morris <rgm@gnu.org>
1627 * calendar/calendar.el (calendar-generate-month):
1628 Fix for calendar-column-width != 1 + calendar-day-digit-width.
1629 (calendar-generate-month, calendar-font-lock-keywords):
1630 Fix for calendar-day-header-width > length of any day name.
1632 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1634 * desktop.el (desktop-clear): Use new name of sort predicate.
1636 * frameset.el (frameset): Add docstring. Move :version property to its
1638 (frameset-copy): Rename from copy-frameset.
1639 (frameset-p): Check more thoroughly.
1640 (frameset-prop): Do not check for :version, which is no longer a prop.
1641 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1642 Use new :never value instead of t.
1643 (frameset-filter-alist): Expand and clarify docstring.
1644 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
1645 (frameset-filter-minibuffer, frameset-filter-save-param)
1646 (frameset-filter-restore-param, frameset-filter-iconified):
1647 Add pointer to docstring of frameset-filter-alist.
1648 (frameset-filter-params): Rename filter values to be more meaningful:
1649 :never instead of t, and reverse the meanings of :save and :restore.
1650 (frameset--process-minibuffer-frames): Clarify error message.
1651 (frameset-save): Avoid unnecessary and confusing call to framep.
1652 Use new BOA constructor for framesets.
1653 (frameset--reuse-list): Doc fix.
1654 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
1655 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
1656 (frameset-minibufferless-first-p): Doc fix.
1657 Rename from frameset-sort-frames-for-deletion.
1658 (frameset-restore): Doc fixes. Use new function names.
1659 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1661 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
1663 * desktop.el (desktop-restore-forces-onscreen)
1664 (desktop-restore-reuses-frames): Document :keyword constant values.
1665 (desktop-filter-parameters-alist): Remove, now identical to
1666 frameset-filter-alist.
1667 (desktop--filter-tty*): Remove, moved to frameset.el.
1668 (desktop-save-frameset, desktop-restore-frameset):
1669 Do not pass :filters argument.
1671 * frameset.el (frameset-live-filter-alist)
1672 (frameset-persistent-filter-alist): New variables.
1673 (frameset-filter-alist): Use them. Add autoload cookie.
1674 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
1675 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
1676 `frameset--id' (it's supposed to be internal to frameset.el).
1677 (frameset--process-minibuffer-frames): Ditto. Doc fix.
1678 (frameset--initial-params): New function.
1679 (frameset--get-frame): Use it. Doc fix.
1680 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
1681 Accept :all, not 'all.
1682 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
1683 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
1684 with fbound symbols. Fix frame id matching, and remove matching ids if
1685 the frame being restored is deleted. Obey :delete.
1687 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1689 * subr.el (macrop): New function.
1690 (text-clone--maintaining): New var.
1691 (text-clone--maintain): Rename from text-clone-maintain. Use it
1692 instead of inhibit-modification-hooks.
1694 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
1695 a proxy, so as handle autoloads and redefinitions of the target.
1696 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
1698 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
1699 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
1700 (pcase--mutually-exclusive-p): New function.
1701 (pcase--split-consp): Use it.
1702 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
1703 mutually exclusive with the current predicate.
1705 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
1706 (edebug-macrop): Remove. Use `macrop' instead.
1707 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
1709 * eshell/esh-cmd.el (eshell-macrop):
1710 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
1712 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1714 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
1715 (advice-mapc): New function, using it.
1716 (advice-function-member-p): New function.
1717 (advice--normalize): Store the cdr in advice--saved-rewrite since
1718 that's the part that will be changed.
1719 (advice--symbol-function): New function.
1720 (advice-remove): Handle removal before the function is defined.
1721 Adjust to new advice--saved-rewrite.
1722 (advice-member-p): Use advice-function-member-p and
1723 advice--symbol-function.
1725 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
1727 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
1728 (frameset-filter-minibuffer): Doc fix.
1729 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
1730 (frameset--set-id, frameset--process-minibuffer-frames)
1731 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
1732 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
1734 * desktop.el (desktop-clear): Only delete frames when called
1735 interactively and desktop-restore-frames is non-nil. Doc fix.
1736 (desktop-read): Set desktop-saved-frameset to nil.
1738 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
1740 * vc/vc.el (vc-ignore): Rewrite.
1741 (vc-default-ignore-completion-table):
1743 (vc--add-line, vc--remove-regexp): New functions.
1745 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
1746 (vc-svn-ignore-completion-table): New function.
1748 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
1749 (vc-hg-ignore-completion-table):
1750 (vc-hg-find-ignore-file): New functions.
1752 * vc/vc-git.el (vc-git-ignore): Rewrite.
1753 (vc-git-ignore-completion-table):
1754 (vc-git-find-ignore-file): New functions.
1756 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
1758 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
1759 (vc-bzr-ignore-completion-table):
1760 (vc-bzr-find-ignore-file): New functions.
1762 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
1764 * frameset.el (frameset-prop): New function and setter.
1765 (frameset-save): Do not modify frame list passed by the caller.
1767 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1769 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
1771 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
1773 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
1774 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
1776 * custom.el (custom-initialize-default, custom-initialize-set)
1777 (custom-initialize-reset, custom-initialize-changed): Affect the
1778 toplevel-default-value (bug#6275, bug#14586).
1779 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
1782 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
1784 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1785 Add cl-def* expressions.
1787 * frameset.el (frameset-filter-params): Fix order of arguments.
1789 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
1791 Move code related to saving frames to frameset.el.
1792 * desktop.el: Require frameset.
1793 (desktop-restore-frames): Doc fix.
1794 (desktop-restore-reuses-frames): Rename from
1795 desktop-restoring-reuses-frames.
1796 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
1797 (desktop-clear): Clear frames too.
1798 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
1799 (desktop--filter-tty*, desktop-save, desktop-read):
1800 Use frameset functions.
1801 (desktop-before-saving-frames-functions, desktop--filter-*-color)
1802 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1803 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
1804 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
1805 (desktop--process-minibuffer-frames, desktop-save-frames)
1806 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
1807 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
1808 (desktop--sort-states, desktop-restoring-frames-p)
1809 (desktop-restore-frames): Remove. Most code moved to frameset.el.
1810 (desktop-restoring-frameset-p, desktop-restore-frameset)
1811 (desktop--check-dont-save, desktop-save-frameset): New functions.
1812 (desktop--app-id): New constant.
1813 (desktop-first-buffer, desktop-buffer-ok-count)
1814 (desktop-buffer-fail-count): Move before first use.
1815 * frameset.el: New file.
1817 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
1819 * files.el: Use lexical-binding.
1820 (dir-locals-read-from-file): Remove unused `err' variable.
1821 (hack-dir-local-variables--warned-coding): New var.
1822 (hack-dir-local-variables): Use it to avoid repeated warnings.
1823 (make-backup-file-name--default-function): New function.
1824 (make-backup-file-name-function): Use it as default.
1825 (buffer-stale--default-function): New function.
1826 (buffer-stale-function): Use it as default.
1827 (revert-buffer-insert-file-contents--default-function): New function.
1828 (revert-buffer-insert-file-contents-function): Use it as default.
1829 (insert-directory): Avoid add-to-list.
1831 * autorevert.el (auto-revert-handler): Simplify.
1832 Use buffer-stale--default-function.
1834 2013-08-01 Tassilo Horn <tsdh@gnu.org>
1836 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
1838 * whitespace.el (whitespace-ensure-local-variables): New function.
1839 (whitespace-cleanup-region): Call it.
1840 (whitespace-turn-on): Call it.
1842 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
1844 Complete file name handlers.
1846 * net/tramp.el (tramp-handle-set-visited-file-modtime)
1847 (tramp-handle-verify-visited-file-modtime)
1848 (tramp-handle-file-notify-rm-watch): New functions.
1849 (tramp-call-process): Do not bind `default-directory'.
1851 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1852 Order alphabetically.
1853 [access-file, add-name-to-file, dired-call-process]:
1854 [dired-compress-file, file-acl, file-notify-rm-watch]:
1855 [file-ownership-preserved-p, file-selinux-context]:
1856 [make-directory-internal, make-symbolic-link, set-file-acl]:
1857 [set-file-selinux-context, set-visited-file-modtime]:
1858 [verify-visited-file-modtime]: Add handler.
1859 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
1861 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1862 [file-notify-add-watch, file-notify-rm-watch]:
1863 [set-file-times, set-visited-file-modtime]:
1864 [verify-visited-file-modtime]: Add handler.
1865 (with-tramp-gvfs-error-message)
1866 (tramp-gvfs-handle-set-visited-file-modtime)
1867 (tramp-gvfs-fuse-file-name): Remove.
1868 (tramp-gvfs-handle-file-notify-add-watch)
1869 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
1870 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
1872 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1873 Order alphabetically.
1874 [file-notify-rm-watch ]: Use default Tramp handler.
1875 [executable-find]: Remove private handler.
1876 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
1877 `default-directory'.
1878 (tramp-sh-handle-executable-find)
1879 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
1880 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1881 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
1882 Do not use `format' in `tramp-message'.
1884 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
1885 [file-notify-rm-watch, set-visited-file-modtime]:
1886 [verify-visited-file-modtime]: Add handler.
1887 (tramp-smb-call-winexe): Do not bind `default-directory'.
1889 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
1891 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
1893 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
1895 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
1897 (log-view-diff-changeset): Same.
1898 (log-view-diff-common): Call backend command `previous-revision'
1899 to find out the previous revision, in both cases. Swap the
1900 variables `to' and `fr', so that `fr' usually refers to the
1901 earlier revision (Bug#14989).
1903 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
1905 * ibuf-ext.el (ibuffer-filter-by-filename):
1906 Make it work with dired buffers too.
1908 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
1910 * emacs-lisp/re-builder.el (reb-color-display-p):
1911 * files.el (save-buffers-kill-terminal):
1912 * net/browse-url.el (browse-url):
1913 * server.el (server-save-buffers-kill-terminal):
1914 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
1915 Prefer nil to selected-frame for the first arg of frame-parameter.
1917 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
1919 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
1921 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
1923 * minibuffer.el (completion--twq-all): Try and preserve each
1924 completion's case choice (bug#14907).
1926 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
1928 * net/network-stream.el (open-network-stream): Mention the new
1929 :nogreeting parameter.
1930 (network-stream-open-starttls): Use the :nogreeting parameter
1933 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
1935 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
1936 more natural than popping.
1938 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
1939 (shr-urlify): Highlight under mouse.
1941 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
1943 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
1945 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
1947 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
1950 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
1951 point-min==1. Fix search string. Fix parentheses missing.
1953 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
1954 assume point-min==1. Fix search string. Fix parentheses missing.
1956 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
1958 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
1961 2013-07-29 Eli Zaretskii <eliz@gnu.org>
1963 * frame.el (frame-notice-user-settings): Avoid inflooping when the
1964 initial frame is minibuffer-less. (Bug#14841)
1966 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
1968 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
1971 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1972 (tramp-maybe-open-connection): Use it.
1974 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
1976 * desktop.el (desktop--make-frame): Include `minibuffer' in the
1977 minimal set of parameters passed when creating a frame, because
1978 the minibuffer status of a frame cannot be changed later.
1980 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
1982 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
1983 replace-regexp-in-string and inadvertent omissions in previous change.
1984 (todo-filter-items): Ensure only file names are comma-separated in
1985 name of filtered items buffer.
1987 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
1989 * desktop.el: Optionally force offscreen frames back onscreen.
1990 (desktop-restoring-reuses-frames): New option.
1991 (desktop--compute-pos, desktop--move-onscreen): New functions.
1992 (desktop--make-frame): Use desktop--move-onscreen.
1994 2013-07-27 Alan Mackenzie <acm@muc.de>
1996 Fontify a Java generic method as a function.
1997 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2000 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
2002 * calendar/todo-mode.el: Add command to rename todo files.
2003 (todo-rename-file): New command.
2004 (todo-key-bindings-t): Add key binding for it. Change the
2005 bindings of todo-filter-regexp-items(-multifile) to use `x'
2006 instead of `r', since the latter is better suited to the new
2009 2013-07-27 Alan Mackenzie <acm@muc.de>
2011 Make Java try-with-resources statement parse properly.
2012 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2013 (c-block-stmt-1-2-key): New language constants/variables.
2014 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2015 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2016 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
2017 with c-block-stmt-1-2-key.
2019 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
2021 * desktop.el (desktop--make-frame): Apply most frame parameters after
2022 creating the frame to force (partially or totally) offscreen frames to
2023 be restored as such.
2025 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2027 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
2030 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2032 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2033 `base' arg of backtrace-frame.
2035 2013-07-26 Eli Zaretskii <eliz@gnu.org>
2037 * simple.el (list-processes): Doc fix.
2039 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
2041 * desktop.el (desktop--select-frame):
2042 Try harder to reuse existing frames.
2044 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2046 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2047 (edebug-eval): Use backtrace-eval.
2048 (edebug--display, edebug--recursive-edit): Don't let-bind the
2049 edebug-outer-* vars that keep track of variables we locally let-bind.
2050 (edebug-outside-excursion): Don't restore outside values of locally
2052 (edebug--display): Use user-error.
2053 (cl-lexical-debug, cl-debug-env): Remove.
2055 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
2057 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2058 are restored to be sure that they are visible before deleting any
2061 2013-07-26 Matthias Meulien <orontee@gmail.com>
2063 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2064 vc-print-root-log. (Bug#14948)
2066 2013-07-26 Richard Stallman <rms@gnu.org>
2068 Add aliases for encrypting mail.
2069 * epa.el (epa-mail-aliases): New option.
2070 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2071 Bind inhibit-read-only so read-only text doesn't ruin everything.
2072 (epa-mail-default-recipients): New subroutine broken out.
2073 Handle epa-mail-aliases.
2075 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2077 Add support for lexical variables to the debugger's `e' command.
2078 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2079 vars, except for debugger-outer-match-data.
2080 (debugger-frame-number): Move check for "on a function call" from
2081 callers into it. Add `skip-base' argument.
2082 (debugger-frame, debugger-frame-clear): Simplify accordingly.
2083 (debugger-env-macro): Only reset the state stored in non-variables,
2084 i.e. current-buffer and match-data.
2085 (debugger-eval-expression): Rewrite using backtrace-eval.
2086 * subr.el (internal--called-interactively-p--get-frame): Remove.
2087 (called-interactively-p):
2088 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2089 `base' arg of backtrace-frame instead.
2091 2013-07-26 Glenn Morris <rgm@gnu.org>
2093 * align.el (align-regexp): Doc fix. (Bug#14857)
2094 (align-region): Explicit error if subexpression missing/does not match.
2096 * simple.el (global-visual-line-mode):
2097 Do not duplicate the mode lighter. (Bug#14858)
2099 2013-07-25 Martin Rudalics <rudalics@gmx.at>
2101 * window.el (display-buffer): In display-buffer bind
2102 split-window-keep-point to t, bug#14829.
2104 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
2106 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
2107 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
2108 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
2109 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2111 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2112 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
2114 2013-07-25 Glenn Morris <rgm@gnu.org>
2116 * dired-x.el (dired-mark-extension): Convert comment to doc string.
2118 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
2120 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
2121 parameter to modify-frame-parameters if the value has not changed;
2122 this is a workaround for bug#14949.
2123 (desktop--make-frame): On cl-delete-if call, check parameter name,
2126 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2128 * vc/vc.el (vc-ignore): New function.
2130 * vc/vc-svn.el (vc-svn-ignore): New function.
2132 * vc/vc-hg.el (vc-hg-ignore): New function.
2134 * vc/vc-git.el (vc-git-ignore): New function.
2136 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
2137 (vc-dir-ignore): New function.
2139 * vc/vc-cvs.el (vc-cvs-ignore): New function.
2140 (cvs-append-to-ignore): Move here from pcvs.el.
2142 * vc/vc-bzr.el (vc-bzr-ignore): New function.
2144 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
2146 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
2148 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
2149 (desktop-restore-frames): Warn when deleting an existing frame failed.
2151 2013-07-24 Glenn Morris <rgm@gnu.org>
2153 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
2155 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
2157 * filenotify.el (file-notify-supported-p):
2158 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2161 * autorevert.el (auto-revert-use-notify):
2162 (auto-revert-notify-add-watch):
2163 * net/tramp.el (tramp-file-name-for-operation):
2164 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2165 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2166 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2167 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2168 Remove `file-notify-supported-p' entry.
2170 2013-07-24 Glenn Morris <rgm@gnu.org>
2172 * printing.el: Replace all uses of deleted ps-windows-system,
2173 ps-lp-system, ps-flatten-list with lpr- versions.
2175 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2177 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
2178 checked with memq (bug#14935).
2180 * files.el (revert-buffer-function): Use a non-nil default.
2181 (revert-buffer-preserve-modes): Declare var to
2182 provide access to the `preserve-modes' argument.
2183 (revert-buffer): Let-bind it.
2184 (revert-buffer--default): New function, extracted from revert-buffer.
2186 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2188 * lpr.el: Signal print errors more prominently.
2189 (print-region-function): Don't default to nil.
2190 (lpr-print-region): New function, extracted from print-region-1.
2191 Check lpr's return value and signal an error in case of problem.
2192 (print-region-1): Use it.
2193 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
2195 (ps-printer-name): Default to nil.
2196 (ps-printer-name-option): Default to lpr-printer-switch.
2197 (ps-print-region-function): Don't default to nil.
2198 (ps-postscript-code-directory): Simplify default.
2199 (ps-do-despool): Use lpr-print-region to properly check the outcome.
2200 (ps-string-list, ps-eval-switch, ps-flatten-list)
2201 (ps-flatten-list-1): Remove.
2202 (ps-multibyte-buffer): Avoid setq.
2203 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
2204 (print-region-function, ps-print-region-function): Don't set them here.
2206 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
2208 * ido.el (ido-fractionp):
2209 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
2210 (ido-max-file-prompt-width, ido-unc-hosts-cache)
2211 (ido-max-directory-size, ido-max-dir-file-cache)
2212 (ido-decorations): Doc fix.
2214 * ansi-color.el: Fix old URL.
2216 2013-07-23 Michael R. Mauger <michael@mauger.com>
2218 * progmodes/sql.el Version 3.3
2219 (sql-product-alist): Improve oracle :prompt-cont-regexp.
2220 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
2221 (sql-interactive-remove-continuation-prompt): Rewrite, use
2222 functions above. Fix continuation prompt and complete output line
2224 (sql-redirect-one, sql-execute): Use `read-only-mode' on
2225 redirected output buffer.
2226 (sql-mode): Restore deleted code (Bug#13591).
2228 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
2230 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
2232 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
2234 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
2236 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2237 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2238 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
2240 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
2242 * desktop.el (desktop-clear): Simplify; remove useless checks
2243 against invalid buffer names.
2244 (desktop-list*): Use cl-list*.
2245 (desktop-buffer-info, desktop-create-buffer): Simplify.
2247 2013-07-23 Leo Liu <sdl.web@gmail.com>
2249 * bookmark.el (bookmark-make-record): Restore NAME as a default
2252 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2254 * emacs-lisp/autoload.el (autoload--setup-output): New function,
2255 extracted from autoload--insert-text.
2256 (autoload--insert-text): Remove.
2257 (autoload--print-cookie-text): New function, extracted from
2258 autoload--insert-cookie-text.
2259 (autoload--insert-cookie-text): Remove.
2260 (autoload-generate-file-autoloads): Adjust calls accordingly.
2262 * winner.el (winner-hook-installed-p): Remove.
2263 (winner-mode): Simplify accordingly.
2265 * subr.el (add-to-list): Fix compiler-macro when `append' is
2266 not constant. Don't use `cl-member' for the base case.
2268 * progmodes/subword.el: Fix boundary case (bug#13758).
2269 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
2271 (subword-backward-regexp): Make it a constant.
2272 (subword-forward-internal): Don't treat a trailing capital as the
2273 beginning of a word.
2275 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
2277 * emacs-lisp/package.el (package-menu-mode): Don't modify the
2278 global value of tabulated-list-revert-hook (bug#14930).
2280 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
2282 * desktop.el: Require 'cl-lib.
2283 (desktop-before-saving-frames-functions): New hook.
2284 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
2285 for frames being saved. Rename from desktop--save-minibuffer-frames.
2286 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
2287 Do not save frames with non-nil `desktop-dont-save' parameter.
2288 Filter out deleted frames.
2289 (desktop--find-frame): Use cl-find-if.
2290 (desktop--select-frame): Use cl-(first|second|third) to access values
2292 (desktop--make-frame): Use cl-delete-if.
2293 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
2294 (desktop-restore-frames): Use cl-(first|second|third) to access values
2295 of desktop-mini. Look for visible frame at the end, not while
2298 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
2299 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
2300 Use string-match-p, looking-at-p (bug#14927).
2302 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
2304 * desktop.el (desktop-saved-frame-states):
2305 Rename from desktop--saved-states; all users changed.
2306 (desktop-save-frames): Rename from desktop--save-frames.
2307 Do not save state to desktop file.
2308 (desktop-save): Save desktop-saved-frame-states to desktop file
2310 (desktop-restoring-frames-p): New function.
2311 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
2312 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
2313 buffer-lists when restoring frames. Suggested by Martin Rudalics.
2315 * desktop.el: Correctly restore iconified frames.
2316 (desktop--filter-iconified-position): New function.
2317 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
2319 2013-07-20 Glenn Morris <rgm@gnu.org>
2321 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
2322 Let `message' do the formatting.
2323 (def-gdb-preempt-display-buffer): Add explicit format.
2325 * image-dired.el (image-dired-track-original-file):
2326 Use with-current-buffer.
2327 (image-dired-track-thumbnail): Use with-current-buffer.
2328 Avoid changing point of wrong window.
2330 * image-dired.el (image-dired-track-original-file):
2331 Avoid changing point of wrong window. (Bug#14909)
2333 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
2335 * progmodes/gdb-mi.el (gdb-done-or-error):
2336 Guard against "%" in gdb output. (Bug#14127)
2338 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
2340 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
2343 * international/mule.el (coding-system-iso-2022-flags): Fix last
2346 2013-07-20 Kenichi Handa <handa@gnu.org>
2348 * international/mule.el (coding-system-iso-2022-flags):
2349 Add `8-bit-level-4'. (Bug#8522)
2351 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2353 * net/shr.el (shr-mouse-browse-url): New command and keystroke
2356 * net/eww.el (eww-process-text-input): Allow inputting when the
2357 point is at the start of the line, as the properties aren't
2360 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
2363 2013-07-19 Richard Stallman <rms@gnu.org>
2365 * epa.el (epa-popup-info-window): Doc fix.
2367 * subr.el (split-string): New arg TRIM.
2369 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
2371 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
2372 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
2374 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
2376 * filenotify.el (file-notify--library): Rename from
2377 `file-notify-support'. Do not autoload. Adapt all uses.
2378 (file-notify-supported-p): New defun.
2380 * autorevert.el (auto-revert-use-notify):
2381 Use `file-notify-supported-p' instead of `file-notify-support'.
2383 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
2385 * net/tramp.el (tramp-file-name-for-operation):
2386 Add `file-notify-supported-p'.
2388 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2390 (tramp-sh-file-name-handler-alist): Add it as handler for
2391 `file-notify-supported-p '.
2393 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2394 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2395 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2396 Add `ignore' as handler for `file-notify-*' functions.
2398 2013-07-17 Eli Zaretskii <eliz@gnu.org>
2400 * simple.el (line-move-partial, line-move): Don't start vscroll or
2401 scroll-up if the current line is not taller than the window.
2404 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
2406 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
2407 highlight question marks in the method names as strings.
2408 (ruby-block-beg-keywords): Inline.
2409 (ruby-font-lock-keyword-beg-re): Extract from
2410 `ruby-font-lock-keywords'.
2412 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
2414 * frame.el (blink-cursor-blinks): New defcustom.
2415 (blink-cursor-blinks-done): New defvar.
2416 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
2417 (blink-cursor-timer-function): Check if number of blinks has been
2419 (blink-cursor-suspend, blink-cursor-check): New defuns.
2421 2013-07-15 Glenn Morris <rgm@gnu.org>
2423 * edmacro.el (edmacro-format-keys): Fix previous change.
2425 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
2427 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
2428 The hack didn't work outside English locales anyway.
2430 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
2432 * simple.el (define-alternatives): Rename from alternatives-define,
2433 per RMS' suggestion.
2435 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
2437 * desktop.el (desktop-restore-frames): Change default to t.
2438 (desktop-restore-in-current-display): Now offer more options.
2439 (desktop-restoring-reuses-frames): New customization option.
2440 (desktop--saved-states): Doc fix.
2441 (desktop-filter-parameters-alist): New variable, renamed and expanded
2442 from desktop--excluded-frame-parameters.
2443 (desktop--target-display): New variable.
2444 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
2445 (desktop--filter-tty*, desktop--filter-*-color)
2446 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2447 (desktop--filter-save-desktop-parm)
2448 (desktop-restore-in-original-display-p): New functions.
2449 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
2450 (desktop--save-minibuffer-frames): New function, inspired by a similar
2451 function from Martin Rudalics.
2452 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
2453 (desktop--restore-in-this-display-p): Remove.
2454 (desktop--find-frame): Rename from desktop--find-frame-in-display
2455 and add predicate argument.
2456 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
2457 (desktop--reuse-list): New variable.
2458 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
2460 (desktop--restore-frames): Add support for "minibuffer-special" frames.
2462 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
2464 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
2466 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
2468 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2469 Highlight conversion methods on Kernel.
2471 2013-07-13 Alan Mackenzie <acm@muc.de>
2473 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
2474 and comment it out. This out-commenting enables certain C++
2475 declarations to be parsed correctly.
2477 2013-07-13 Eli Zaretskii <eliz@gnu.org>
2479 * international/mule.el (define-coding-system): Doc fix.
2481 * simple.el (default-font-height): Don't call font-info if the
2482 frame's default font didn't change since the frame was created.
2485 2013-07-13 Leo Liu <sdl.web@gmail.com>
2487 * ido.el (ido-read-file-name): Guard against non-symbol value.
2489 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2491 * progmodes/python.el (python-imenu--build-tree): Fix corner case
2494 2013-07-13 Leo Liu <sdl.web@gmail.com>
2496 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
2497 ido-set-matches call. (Bug#6852)
2499 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
2501 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
2502 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
2504 (ruby-font-lock-keywords): Distinguish calls to functions with
2505 module-like names from module references. Highlight character
2508 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2510 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
2511 (gdb-send): Handle continued commands. (Bug#14847)
2513 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
2515 * desktop.el (desktop--v2s): Remove unused local variable.
2516 (desktop-save-buffer): Make defvar-local; adjust docstring.
2517 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
2518 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
2520 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
2522 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
2524 2013-07-12 Eli Zaretskii <eliz@gnu.org>
2526 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
2529 2013-07-12 Glenn Morris <rgm@gnu.org>
2531 * doc-view.el: Require cl-lib at runtime too.
2532 (doc-view-remove-if): Remove.
2533 (doc-view-search-next-match, doc-view-search-previous-match):
2536 * edmacro.el: Require cl-lib at runtime too.
2537 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
2538 (edmacro-mismatch, edmacro-subseq): Remove.
2540 * shadowfile.el: Require cl-lib.
2541 (shadow-remove-if): Remove.
2542 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
2545 * wid-edit.el: Require cl-lib.
2546 (widget-choose): Use cl-remove-if.
2547 (widget-remove-if): Remove.
2549 * progmodes/ebrowse.el: Require cl-lib at runtime too.
2550 (ebrowse-delete-if-not): Remove.
2551 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
2552 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
2553 Use cl-delete-if-not.
2555 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
2557 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
2558 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
2560 2013-07-12 Leo Liu <sdl.web@gmail.com>
2562 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
2564 2013-07-11 Glenn Morris <rgm@gnu.org>
2566 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
2567 (edebug-gensym-index, edebug-gensym):
2568 Remove reimplementation of cl-gensym.
2569 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
2571 * thumbs.el: Require cl-lib at run-time too.
2572 (thumbs-gensym-counter, thumbs-gensym):
2573 Remove reimplementation of cl-gensym.
2574 (thumbs-temp-file): Use cl-gensym.
2576 * emacs-lisp/ert.el: Require cl-lib at runtime too.
2577 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
2578 (ert--intersection, ert--set-difference, ert--set-difference-eq)
2579 (ert--union, ert--gensym-counter, ert--gensym-counter)
2580 (ert--coerce-to-vector, ert--remove*, ert--string-position)
2581 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
2582 (ert-make-test-unbound, ert--expand-should-1)
2583 (ert--expand-should, ert--should-error-handle-error)
2584 (should-error, ert--explain-equal-rec)
2585 (ert--plist-difference-explanation, ert-select-tests)
2586 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
2587 Use cl-lib functions rather than reimplementations.
2589 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
2591 * net/tramp.el (tramp-methods): Extend docstring.
2592 (tramp-connection-timeout): New defcustom.
2593 (tramp-error-with-buffer): Reset timestamp only when appropriate.
2594 (with-tramp-progress-reporter): Simplify.
2595 (tramp-process-actions): Improve messages.
2597 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2598 * net/tramp-sh.el (tramp-maybe-open-connection):
2599 Use `tramp-connection-timeout'.
2600 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
2603 2013-07-11 Leo Liu <sdl.web@gmail.com>
2605 * ido.el (ido-read-file-name): Conform to the requirements of
2606 read-file-name. (Bug#11861)
2607 (ido-read-directory-name): Conform to the requirements of
2608 read-directory-name.
2610 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
2612 * subr.el (delay-warning): New function.
2614 2013-07-10 Eli Zaretskii <eliz@gnu.org>
2616 * simple.el (default-line-height): New function.
2617 (line-move-partial, line-move): Use it instead of computing the
2619 (line-move-partial): Always compute ROWH. If the last line is
2620 partially-visible, but its text is completely visible, allow
2621 cursor to enter such a partially-visible line.
2623 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
2625 Improve error messages. (Bug#14808)
2627 * net/tramp.el (tramp-current-connection): New defvar, moved from
2629 (tramp-message-show-progress-reporter-message): Remove, not
2631 (tramp-error-with-buffer): Show message in minibuffer.
2632 Discard input before waiting. Reset connection timestamp.
2633 (with-tramp-progress-reporter): Improve messages.
2634 (tramp-process-actions): Use progress reporter. Delete process in
2635 case of error. Improve messages.
2637 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
2638 Call `tramp-error-with-buffer' with vector and buffer.
2639 (tramp-current-connection): Remove.
2640 (tramp-maybe-open-connection): The car of
2641 `tramp-current-connection' are the first 3 slots of the vector.
2643 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
2645 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
2646 inside continued strings.
2648 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
2650 Timestamp fixes for undo (Bug#14824).
2651 * files.el (clear-visited-file-modtime): Move here from fileio.c.
2653 2013-07-10 Leo Liu <sdl.web@gmail.com>
2655 * files.el (require-final-newline): Allow safe local value.
2658 2013-07-09 Leo Liu <sdl.web@gmail.com>
2660 * ido.el (ido-read-directory-name): Handle fallback.
2661 (ido-read-file-name): Update DIR to ido-current-directory.
2663 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
2665 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
2667 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
2668 "autoload". Remove "warn lower camel case" section, previously
2669 commented out. Highlight negation char. Do not highlight the
2670 target in singleton method definitions.
2672 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2674 * faces.el (tty-setup-hook): Declare the hook.
2676 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
2677 and detect when a guard/pred depends on local vars (bug#14773).
2678 (pcase--u1): Adjust caller.
2680 2013-07-08 Eli Zaretskii <eliz@gnu.org>
2682 * simple.el (line-move-partial, line-move): Account for
2684 (line-move-partial): Avoid setting vscroll when the last
2685 partially-visible line in window is of default height.
2687 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2689 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
2692 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
2694 * subr.el (read-quoted-char): Remove unused local variable `char'.
2696 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
2698 * ediff.el (ediff-version): Version update.
2699 (ediff-files-command, ediff3-files-command, ediff-merge-command)
2700 (ediff-merge-with-ancestor-command, ediff-directories-command)
2701 (ediff-directories3-command, ediff-merge-directories-command)
2702 (ediff-merge-directories-with-ancestor-command): New functions.
2703 All are command-line interfaces to ediff: to facilitate calling
2704 Emacs with the appropriate ediff functions invoked.
2706 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
2707 (viper-save-kill-buffer): Check if buffer is modified.
2709 * viper.el (viper-version): Version update.
2710 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
2712 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
2714 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
2715 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
2716 (viper-intercept-ESC-key): Simplify.
2717 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
2718 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
2719 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
2720 (viper-setup-ESC-to-escape): New functions.
2721 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
2722 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
2724 2013-07-07 Eli Zaretskii <eliz@gnu.org>
2726 * simple.el (default-font-height, window-screen-lines):
2728 (line-move, line-move-partial): Use them instead of
2729 frame-char-height and window-text-height. This makes scrolling
2730 text smoother when the buffer's default face uses a font that is
2731 different from the frame's default font.
2733 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
2735 * files.el (write-file): Do not display confirm dialog for NS,
2736 it does its own dialog, which can't be cancelled (Bug#14578).
2738 2013-07-06 Eli Zaretskii <eliz@gnu.org>
2740 * simple.el (line-move-partial): Adjust the row returned by
2741 posn-at-point for the current window-vscroll. (Bug#14567)
2743 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
2745 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
2746 (tramp-sh-file-inotifywait-process-filter): Handle file names with
2749 2013-07-06 Martin Rudalics <rudalics@gmx.at>
2751 * window.el (window-state-put-stale-windows): New variable.
2752 (window--state-put-2): Save list of windows without matching buffer.
2753 (window-state-put): Remove "bufferless" windows if possible.
2755 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
2757 * simple.el (alternatives-define): Remove leftover :group keyword.
2760 2013-07-06 Leo Liu <sdl.web@gmail.com>
2762 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
2763 (ido-enable-virtual-buffers): New variable.
2764 (ido-buffer-internal, ido-toggle-virtual-buffers)
2765 (ido-make-buffer-list): Use it.
2766 (ido-exhibit): Support turning on and off virtual buffers
2769 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
2771 * simple.el (alternatives-define): New macro.
2773 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
2775 * subr.el (read-quoted-char): Use read-key.
2776 (sit-for): Let read-event decode tty input (bug#14782).
2778 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
2780 * calendar/todo-mode.el: Add handling of file deletion, both by
2781 mode command and externally. Fix various related bugs.
2782 Clarify Commentary and improve some documentation strings and code.
2783 (todo-delete-file): New command.
2784 (todo-check-file): New function.
2785 (todo-show): Handle external deletion of the file we're trying to
2786 show (bug#14688). Replace called-interactively-p by an optional
2787 prefix argument to avoid problematic interaction with catch form
2788 when byte compiled (bug#14702).
2789 (todo-quit): Handle external deletion of the archive's todo file.
2790 Make sure the buffer that was visiting the archive file is still
2791 live before trying to bury it.
2792 (todo-category-completions): Handle external deletion of any
2793 category completion files.
2794 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
2795 of todo files, in case of external deletion.
2796 (todo-add-file): Replace unnecessary setq by let-binding.
2797 (todo-find-archive): Check whether there are any archives.
2798 Replace unnecessary setq by let-binding.
2799 (todo-archive-done-item): Use find-file-noselect to get the
2800 archive buffer whether or not the archive already exists.
2801 Remove superfluous code. Use file size instead of buffer-file-name to
2802 check if the archive is new; if it is, update list of archives.
2803 (todo-default-todo-file): Allow nil to be a valid value for when
2804 there are no todo files.
2805 (todo-reevaluate-default-file-defcustom): Use corrected definition
2806 of todo-default-todo-file.
2807 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
2808 (todo-delete-category, todo-show-categories-table)
2809 (todo-category-number): Clarify comment.
2810 (todo-filter-items): Clarify documentation string.
2811 (todo-show-current-file, todo-display-as-todo-file)
2812 (todo-reset-and-enable-done-separator): Tweak documentation string.
2813 (todo-done-separator): Make separator length window-width, since
2814 bug#2749 is now fixed.
2816 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
2818 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2819 Support both "gvfs-monitor-dir" and "inotifywait".
2820 (tramp-sh-file-inotifywait-process-filter): Rename from
2821 `tramp-sh-file-notify-process-filter'.
2822 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2823 (tramp-get-remote-gvfs-monitor-dir): New defuns.
2825 2013-07-05 Leo Liu <sdl.web@gmail.com>
2827 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
2829 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2831 * frame.el (display-pixel-height, display-pixel-width)
2832 (display-mm-height, display-mm-width): Mention behavior on
2833 multi-monitor setups in docstrings.
2834 (w32-display-monitor-attributes-list): Declare function.
2835 (display-monitor-attributes-list): Use it.
2837 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
2839 * filenotify.el: New package.
2841 * autorevert.el (top): Require filenotify.el.
2842 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
2844 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2845 (auto-revert-notify-handler): Use `file-notify-*' functions.
2847 * subr.el (file-notify-handle-event): Move function to filenotify.el.
2849 * net/tramp.el (tramp-file-name-for-operation):
2850 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
2852 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2853 for `file-notify-add-watch' and `file-notify-rm-watch'.
2854 (tramp-process-sentinel): Improve trace.
2855 (tramp-sh-handle-file-notify-add-watch)
2856 (tramp-sh-file-notify-process-filter)
2857 (tramp-sh-handle-file-notify-rm-watch)
2858 (tramp-get-remote-inotifywait): New defuns.
2860 2013-07-03 Juri Linkov <juri@jurta.org>
2862 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
2863 call of `occur-read-primary-args' to interactive spec.
2865 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
2866 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
2868 2013-07-03 Matthias Meulien <orontee@gmail.com>
2870 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
2871 `Buffer-menu-multi-occur'. Add it to the menu.
2872 (Buffer-menu-mode): Document it in docstring.
2873 (Buffer-menu-multi-occur): New command. (Bug#14673)
2875 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2877 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2878 keywords and built-ins.
2880 2013-07-03 Glenn Morris <rgm@gnu.org>
2882 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
2884 Make info-xref checks case-sensitive by default
2885 * info.el (Info-find-node, Info-find-in-tag-table)
2886 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
2887 Add option for exact case matching of nodes.
2888 * info-xref.el (info-xref): New custom group.
2889 (info-xref-case-fold): New option.
2890 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
2892 2013-07-03 Leo Liu <sdl.web@gmail.com>
2894 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
2896 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2898 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
2899 middle of block statement initially, lower the depth. Remove
2900 FIXME comment, not longer valid. Remove middle of block statement
2901 detection, no need to do that anymore since we've been using
2902 `ruby-parse-region' here.
2904 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
2906 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
2908 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
2910 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
2912 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
2914 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
2915 (desktop-restore-in-current-display): New customization option.
2916 (desktop--excluded-frame-parameters): Add `font'.
2917 (desktop--save-frames): Rename from desktop--save-windows.
2918 (desktop--restore-in-this-display-p): New function.
2919 (desktop--make-full-frame): Remove unwanted width/height from
2920 full(width|height) frames.
2921 (desktop--restore-frames): Rename from desktop--restore-windows.
2922 Obey desktop-restore-current-display. Do not delete old frames or
2923 select a new frame unless we were able to restore at least one frame.
2925 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
2927 * files.el (find-file-noselect): Simplify conditional expression.
2929 * remember.el (remember-append-to-file):
2930 Don't mix `find-buffer-visiting' and `get-file-buffer'.
2932 Add `remember-notes' function to store random notes across Emacs
2934 * remember.el (remember-data-file): Add :set callback to affect
2935 notes buffer (if any).
2936 (remember-notes): New command.
2937 (remember-notes-buffer-name, bury-remember-notes-on-kill):
2938 New defcustoms for the `remember-notes' function.
2939 (remember-notes-save-and-bury-buffer): New command.
2940 (remember-notes-mode-map): New variable.
2941 (remember-mode): New minor mode.
2942 (remember-notes--kill-buffer-query): New function.
2943 * startup.el (initial-buffer-choice): Add notes to custom type.
2945 2013-06-30 Eli Zaretskii <eliz@gnu.org>
2947 * bindings.el (right-char, left-char): Don't call sit-for, this is
2948 no longer needed. Use arithmetic comparison only for numerical
2951 * international/mule-cmds.el (select-safe-coding-system):
2952 Handle the case of FROM being a string correctly. (Bug#14755)
2954 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2956 * net/shr.el (shr-make-table-1): Add a sanity check that allows
2957 progression on degenerate tables.
2958 (shr-rescale-image): ImageMagick animated images currently don't work.
2960 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
2962 Some fixes and improvements for desktop frame restoration.
2963 It is still experimental and disabled by default.
2964 * desktop.el (desktop--save-windows): Put the selected frame at
2965 the head of the list.
2966 (desktop--make-full-frame): New function.
2967 (desktop--restore-windows): Try to re-select the frame that was
2968 selected upon saving. Do not abort if some frames fail to restore,
2969 just show an error message and continue. Set up maximized frames
2970 so they have default non-maximized dimensions.
2972 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
2974 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2975 Don't start heredoc inside a string or comment.
2977 2013-06-29 Eli Zaretskii <eliz@gnu.org>
2979 * bindings.el (visual-order-cursor-movement): New defcustom.
2980 (right-char, left-char): Provide visual-order cursor motion by
2981 calling move-point-visually. Update the doc strings.
2983 2013-06-28 Kenichi Handa <handa@gnu.org>
2985 * international/mule.el (define-coding-system): New coding system
2986 properties :inhibit-null-byte-detection,
2987 :inhibit-iso-escape-detection, and :prefer-utf-8.
2988 (set-buffer-file-coding-system): If :charset-list property of
2989 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
2990 appropriate for setting.
2992 * international/mule-cmds.el (select-safe-coding-system):
2993 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
2994 multibyte characters, return utf-8 (or one of its siblings).
2996 * international/mule-conf.el (prefer-utf-8): New coding system.
2997 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3000 2013-06-28 Ivan Kanis <ivan@kanis.fr>
3002 * net/shr.el (shr-render-region): New function.
3004 * net/eww.el: Autoload `eww-browse-url'.
3006 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3008 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3009 Adapt to `package-desc-version' being a list.
3010 Use `package--ac-desc-version' to retrieve version from a package
3013 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
3015 New experimental feature to save&restore window and frame setup.
3016 * desktop.el (desktop-save-windows): New defcustom.
3017 (desktop--saved-states): New var.
3018 (desktop--excluded-frame-parameters): New defconst.
3019 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3020 (desktop--restore-windows, desktop--save-windows): New functions.
3021 (desktop-save): Call `desktop--save-windows'.
3022 (desktop-read): Call `desktop--restore-windows'.
3024 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3026 * net/shr.el (add-face-text-property): Remove compat definition.
3028 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
3030 * info.el (Info-try-follow-nearest-node): Move search for footnote
3031 above search for node name to prevent missing a footnote (bug#14717).
3033 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
3035 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3037 2013-06-27 Leo Liu <sdl.web@gmail.com>
3039 * net/eww.el (eww-read-bookmarks): Check file size.
3041 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3043 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3044 advice--pending if newdef is nil or an autoload (bug#13820).
3045 (advice-mapc): New function.
3047 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3049 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3051 (eww-mode-map): Add a menu bar.
3052 (eww-add-bookmark): New command.
3053 (eww-bookmark-mode): New mode and commands.
3054 (eww-add-bookmark): Remove newlines from the title.
3055 (eww-bookmark-browse): Don't bug out if it's the only window.
3057 2013-06-26 Glenn Morris <rgm@gnu.org>
3059 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3060 (hfy-size): Handle ttys. (Bug#14668)
3062 * info-xref.el: Update for Texinfo 5 change in *note format.
3063 (info-xref-node-re, info-xref-note-re): New constants.
3064 (info-xref-check-buffer): Use info-xref-note-re.
3066 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3068 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3070 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3071 nil terminate the loop (bug#14718).
3073 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3075 * net/eww.el: Rework history traversal. When going forward/back,
3076 put these actions into the history, too, so that they can be
3078 (eww-render): Move the history reset to the correct buffer.
3080 2013-06-25 Juri Linkov <juri@jurta.org>
3082 * files-x.el (modify-dir-local-variable): Change the header comment
3083 in the file with directory local variables. (Bug#14692)
3085 * files-x.el (read-file-local-variable-value): Add `default'.
3088 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3090 * net/eww.el (eww-make-unique-file-name): Create a unique file
3091 name before saving to entering `y' accidentally asynchronously.
3093 2013-06-25 Ivan Kanis <ivan@kanis.fr>
3095 * net/eww.el (eww-download): New command and keystroke.
3097 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3099 * net/eww.el (eww-copy-page-url): Change name of command.
3101 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
3102 be more consistent with Info and dired.
3104 * net/eww.el (eww-mode-map): Ditto.
3106 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3108 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
3109 packages from archives.
3110 (package-archive-contents): Change format; include obsolete packages.
3111 (package-desc): Use `dir' to mark builtin packages.
3112 (package--from-builtin): Set the `dir' field to `builtin'.
3113 (generated-autoload-file, version-control): Declare.
3114 (package-compute-transaction): Change first arg and return value to be
3115 lists of package-descs. Adjust to new package-archive-contents format.
3116 (package--add-to-archive-contents): Adjust to new
3117 package-archive-contents format.
3118 (package-download-transaction): Arg is now a list of package-descs.
3119 (package-install): If `pkg' is a package name, pass it as
3120 a requirement, so it is subject to the usual (e.g. disabled) checks.
3121 (describe-package): Accept package-desc as well.
3122 (describe-package-1): Describe a specific package-desc. Add links to
3123 other package-descs for the same package name.
3124 (package-menu-describe-package): Pass the actual package-desc.
3125 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
3127 (package-desc-status): New function.
3128 (package-menu--refresh): New function, extracted
3129 from package-menu--generate.
3130 (package-menu--generate): Use it.
3131 (package-delete): Update package-alist.
3132 (package-menu-execute): Don't call package-initialize.
3134 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
3135 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
3136 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
3137 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
3138 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
3139 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
3141 2013-06-25 Martin Rudalics <rudalics@gmx.at>
3143 * window.el (window--state-get-1): Workaround for bug#14527.
3144 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
3146 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3148 * net/eww.el (eww-back-url): Implement the history by stashing all
3149 the data into a list.
3150 (eww-forward-url): Allow going forward in the history, too.
3152 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3154 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
3155 for values and use read--expression for expressions (bug#14710).
3156 (read-file-local-variable): Avoid setq.
3157 (read-file-local-variable-mode): Use minor-mode-list.
3159 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3161 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
3164 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3166 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
3167 Update imenu-support when dialect changes.
3169 2013-06-25 Leo Liu <sdl.web@gmail.com>
3171 * ido.el (ido-read-internal): Allow forward slash on windows.
3173 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3175 * net/eww.el (eww): Start of strings is \\`, not ^.
3177 2013-06-24 Ivan Kanis <ivan@kanis.fr>
3179 * net/shr.el (shr-browse-url): Fix interactive spec.
3181 * net/eww.el (eww): Add a trailing slash to domain names.
3183 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
3185 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
3187 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3189 * net/shr.el (shr-browse-url): Use an external browser if given a
3192 * net/eww.el (eww-external-browser): Move to shr.
3194 2013-06-24 Ivan Kanis <ivan@kanis.fr>
3196 * net/eww.el (eww): Work more correctly for file: URLs.
3197 (eww-detect-charset): Allow quoted charsets.
3198 (eww-yank-page-url): New command and keystroke.
3200 2013-06-24 Daiki Ueno <ueno@gnu.org>
3202 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
3203 file name of gpg executable.
3204 (epg-context-program): New function.
3205 (epg-context-home-directory): New function.
3206 (epg-context-set-program): New function.
3207 (epg-context-set-home-directory): New function.
3208 (epg--start): Use `epg-context-program' instead of
3210 (epg--list-keys-1): Likewise.
3212 2013-06-24 Leo Liu <sdl.web@gmail.com>
3214 * ido.el (ido-read-internal): Fix bug#14620.
3216 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
3218 * faces.el (face-documentation): Simplify.
3219 (read-face-attribute, tty-find-type, x-resolve-font-name):
3220 Use `string-match-p'.
3221 (list-faces-display): Use `string-match-p'. Simplify.
3222 (face-spec-recalc): Check face to avoid face alias loops.
3223 (read-color): Use `string-match-p' and non-capturing parenthesis.
3225 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3227 * net/shr.el (shr-rescale-image): Use the new
3228 :max-width/:max-height functionality.
3230 2013-06-23 Ivan Kanis <ivan@kanis.fr>
3232 * net/eww.el (eww-search-prefix): New variable.
3234 (eww-external-browser): New variable.
3235 (eww-mode-map): New keystroke.
3236 (eww-browse-with-external-browser): New command.
3238 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
3240 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
3242 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3243 Don't skip aligning the next header field when padding is 0;
3244 otherwise, field width is not respected unless the title is as
3247 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3249 * emacs-lisp/package.el (package-el-version): Remove.
3250 (package-process-define-package): Fix inf-loop.
3251 (package-install): Allow symbols as arguments again.
3253 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3255 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
3256 add some more keyword-like methods.
3257 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
3259 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
3261 * bs.el (bs-buffer-show-mark): Make defvar-local.
3262 (bs-mode): Use setq-local.
3264 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
3265 (emacs-lock--try-unlocking): Make defvar-local.
3267 2013-06-22 Glenn Morris <rgm@gnu.org>
3269 * play/cookie1.el (cookie-apropos): Minor simplification.
3271 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
3273 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3275 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
3276 `regexp-opt', it breaks the build during dumping.
3278 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
3280 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3281 Highlight keyword-like methods on Kernel and Module with
3282 font-lock-builtin-face.
3283 (auto-mode-alist): Consolidate different entries into one regexp
3284 and add more *file-s.
3286 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
3288 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
3290 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
3291 (diary-entry): Use it in the action of this button type instead of
3294 * calendar/todo-mode.el: New version.
3295 (todo-add-category): Append new category to end of file and give
3296 it the highest number, instead of putting it at the beginning and
3297 giving it 0. Incorporate noninteractive functionality.
3298 (todo-forward-category): Adapt to 1-based category numbering.
3299 Allow skipping over archived categories.
3300 (todo-backward-category): Derive from todo-forward-category.
3301 (todo-backward-item, todo-forward-item): Make noninteractive and
3302 delegate interactive part to new commands. Make sensitive to done items.
3303 (todo-categories): Make value an alist of category names and
3304 vectors of item counts.
3305 (todo-category-beg): Make a defconst.
3306 (todo-category-number): Use 1 instead of 0 as initial value.
3307 (todo-category-select): Make sensitive to overlays, optional item
3308 highlighting and done items.
3309 (todo-delete-item): Make sensitive to overlays and marked and done items.
3310 (todo-edit-item): Make sensitive to overlays and editing of
3311 date/time header optional. Add format checks.
3312 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
3313 no-op if point is not on an item. Advertise using todo-edit-quit.
3314 (todo-edit-mode): Make sensitive to new format, font-locking, and
3315 multiple todo files.
3316 (todo-insert-item, todo-insert-item-here): Derive from
3317 todo-basic-insert-item and extend functionality.
3318 (todo-item-end, todo-item-start): Make sensitive to done items.
3319 (todo-item-string): Don't return text properties. Restore point.
3320 (todo-jump-to-category): Make sensitive to multiple todo files and
3321 todo archives. Use extended category completion.
3322 (todo-lower-item, todo-raise-item): Rename to *-priority and
3323 derive from todo-set-item-priority.
3324 (todo-mode): Derive from special-mode. Make sensitive to new
3325 format, font-locking and multiple todo files. Make read-only.
3326 (todo-mode-map): Don't suppress digit keys, so they can supply
3327 prefix arguments. Add many new key bindings.
3328 (todo-prefix): Insert as an overlay instead of file text.
3329 Change semantics from diary date expression to purely visual mark.
3330 (todo-print): Rename to todo-print-buffer. Make buffer display
3331 features printable. Remove option to restrict number of items
3332 printed. Add option to print to file.
3333 (todo-print-function): Rename to todo-print-buffer-function.
3334 (todo-quit): Extend to handle exiting new todo modes.
3335 (todo-remove-item): Make sensitive to overlays.
3336 (todo-save): Extend to buffers of filtered items.
3337 (todo-show): Make sensitive to done items, multiple todo files and
3338 new todo modes. Offer to convert legacy todo file before creating
3339 first new todo file.
3340 (todo-show-priorities): Rename to todo-top-priorities.
3341 Change semantics of value 0.
3342 (todo-top-priorities): Rename to todo-filter-top-priorities,
3343 derive from todo-filter-items and extend functionality.
3344 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
3345 and extend functionality to other types of filtered items.
3346 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
3347 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
3348 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
3349 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
3350 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
3351 (todo-edit-mode-hook, todo-entry-prefix-function)
3352 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
3353 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
3354 (todo-initials, todo-insert-threshold, todo-item-string-start)
3355 (todo-line-string, todo-menu, todo-mode-hook)
3356 (todo-more-important-p, todo-previous-answer, todo-previous-line)
3357 (todo-print-priorities, todo-remove-separator)
3358 (todo-save-top-priorities-too, todo-string-count-lines)
3359 (todo-string-multiline-p, todo-time-string-format)
3360 (todo-tmp-buffer-name): Remove.
3361 (todo-add-file, todo-archive-done-item, todo-choose-archive)
3362 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
3363 (todo-edit-category-diary-inclusion)
3364 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
3365 (todo-edit-file, todo-edit-item-date-day)
3366 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
3367 (todo-edit-item-date-month, todo-edit-item-date-to-today)
3368 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
3369 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
3370 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
3371 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
3372 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
3373 (todo-filter-top-priorities-multifile, todo-find-archive)
3374 (todo-find-filtered-items-file, todo-go-to-source-item)
3375 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
3376 (todo-jump-to-archive-category, todo-lower-category)
3377 (todo-mark-category, todo-marked-item-p, todo-merge-category)
3378 (todo-move-category, todo-move-item, todo-next-button)
3379 (todo-next-item, todo-padded-string, todo-powerset)
3380 (todo-previous-button, todo-previous-item)
3381 (todo-print-buffer-to-file, todo-raise-category)
3382 (todo-rename-category, todo-repair-categories-sexp, todo-search)
3383 (todo-set-category-number, todo-set-item-priority)
3384 (todo-set-top-priorities-in-category)
3385 (todo-set-top-priorities-in-file, todo-show-categories-table)
3386 (todo-sort-categories-alphabetically-or-numerically)
3387 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
3388 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
3389 (todo-toggle-item-header, todo-toggle-item-highlighting)
3390 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
3391 (todo-toggle-view-done-items, todo-toggle-view-done-only)
3392 (todo-unarchive-items, todo-unmark-category): New commands.
3393 (todo-absolute-file-name, todo-add-to-buffer-list)
3394 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
3395 (todo-basic-insert-item, todo-category-completions)
3396 (todo-category-number, todo-category-string-matcher-1)
3397 (todo-category-string-matcher-2, todo-check-filtered-items-file)
3398 (todo-check-format, todo-clear-matches)
3399 (todo-comment-string-matcher, todo-convert-legacy-date-time)
3400 (todo-current-category, todo-date-string-matcher)
3401 (todo-define-insertion-command, todo-diary-expired-matcher)
3402 (todo-diary-goto-entry, todo-diary-item-p)
3403 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
3404 (todo-display-categories, todo-display-sorted, todo-done-item-p)
3405 (todo-done-item-section-p, todo-done-separator)
3406 (todo-done-string-matcher, todo-files, todo-filter-items)
3407 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
3408 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
3409 (todo-insert-category-line, todo-insert-item-from-calendar)
3410 (todo-insert-sort-button, todo-insert-with-overlays)
3411 (todo-insertion-command-name, todo-insertion-key-bindings)
3412 (todo-label-to-key, todo-longest-category-name-length)
3413 (todo-make-categories-list, todo-mode-external-set)
3414 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
3415 (todo-modes-set-3, todo-multiple-filter-files)
3416 (todo-nondiary-marker-matcher, todo-prefix-overlays)
3417 (todo-read-category, todo-read-date, todo-read-dayname)
3418 (todo-read-file-name, todo-read-time)
3419 (todo-reevaluate-category-completions-files-defcustom)
3420 (todo-reevaluate-default-file-defcustom)
3421 (todo-reevaluate-filelist-defcustoms)
3422 (todo-reevaluate-filter-files-defcustom)
3423 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
3424 (todo-reset-done-separator, todo-reset-done-separator-string)
3425 (todo-reset-done-string, todo-reset-global-current-todo-file)
3426 (todo-reset-highlight-item, todo-reset-nondiary-marker)
3427 (todo-reset-prefix, todo-set-categories)
3428 (todo-set-date-from-calendar, todo-set-show-current-file)
3429 (todo-set-top-priorities, todo-short-file-name)
3430 (todo-show-current-file, todo-sort, todo-time-string-matcher)
3431 (todo-total-item-counts, todo-update-buffer-list)
3432 (todo-update-categories-display, todo-update-categories-sexp)
3433 (todo-update-count, todo-validate-name, todo-y-or-n-p):
3435 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
3437 (todo-categories, todo-display, todo-edit, todo-faces)
3438 (todo-filtered): New defgroups.
3439 (todo-archived-only, todo-button, todo-category-string, todo-date)
3440 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
3441 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
3442 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
3443 (todo-add-item-if-new-category, todo-always-add-time-string)
3444 (todo-categories-align, todo-categories-archived-label)
3445 (todo-categories-category-label, todo-categories-diary-label)
3446 (todo-categories-done-label, todo-categories-number-separator)
3447 (todo-categories-todo-label, todo-categories-totals-label)
3448 (todo-category-completions-files, todo-completion-ignore-case)
3449 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
3450 (todo-done-separator-string, todo-done-string)
3451 (todo-files-function, todo-filter-done-items, todo-filter-files)
3452 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
3453 (todo-initial-category, todo-initial-file, todo-item-mark)
3454 (todo-legacy-date-time-regexp, todo-mode-line-function)
3455 (todo-nondiary-marker, todo-number-prefix)
3456 (todo-print-buffer-function, todo-show-current-file)
3457 (todo-show-done-only, todo-show-first, todo-show-with-done)
3458 (todo-skip-archived-categories, todo-top-priorities-overrides)
3459 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
3460 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
3462 (todo-category-done, todo-date-pattern, todo-date-string-start)
3463 (todo-diary-items-buffer, todo-done-string-start)
3464 (todo-filtered-items-buffer, todo-item-start)
3465 (todo-month-abbrev-array, todo-month-name-array)
3466 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
3467 (todo-top-priorities-buffer): New defconsts.
3468 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
3469 (todo-categories-with-marks, todo-category-string-face)
3470 (todo-comment-face, todo-comment-string, todo-current-todo-file)
3471 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
3472 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
3473 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
3474 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
3475 (todo-font-lock-keywords, todo-global-current-todo-file)
3476 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
3477 (todo-insertion-commands-args)
3478 (todo-insertion-commands-args-genlist)
3479 (todo-insertion-commands-names, todo-insertion-map)
3480 (todo-key-bindings-t, todo-key-bindings-t+a)
3481 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
3482 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
3483 (todo-nondiary-face, todo-print-buffer, todo-time-face)
3484 (todo-visited): New variables.
3486 2013-06-21 Glenn Morris <rgm@gnu.org>
3488 * play/cookie1.el (cookie-apropos): Add optional display argument.
3489 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
3490 (psychoanalyze-pinhead): Use cookie-doctor.
3492 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3494 * emacs-lisp/package.el (tar-get-file-descriptor)
3495 (tar--extract): Declare.
3497 2013-06-21 Eduard Wiebe <usenet@pusto.de>
3499 Extend flymake's warning predicate to be a function (bug#14217).
3500 * progmodes/flymake.el (flymake-warning-predicate): New.
3501 (flymake-parse-line): Use it.
3502 (flymake-warning-re): Make obsolete alias to
3503 `flymake-warning-predicate'.
3505 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3507 * emacs-lisp/package.el (package-alist): Include obsolete packages.
3508 (package-obsolete-list): Remove.
3509 (package-activate): Remove min-version argument. Add `force' argument.
3510 Adjust to new package-alist format.
3511 (package-mark-obsolete): Remove.
3512 (package-unpack): Force reload of the package's autoloads.
3513 (package-installed-p): Check builtins if the installed package is not
3515 (package-initialize): Don't reset package-obsolete-list.
3516 Don't specify which package version to activate.
3517 (package-process-define-package, describe-package-1)
3518 (package-menu--generate): Adjust to new package-alist format.
3520 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3522 * allout-widgets.el (allout-widgets-mode-off)
3523 (allout-widgets-mode-on, allout-widgets-pre-command-business)
3524 (allout-widgets-post-command-business)
3525 (allout-widgets-after-copy-or-kill-function)
3526 (allout-widgets-after-undo-function, allout-test-range-overlaps)
3527 (allout-decorate-item-and-context)
3528 (allout-graphics-modification-handler): Fix typos in docstrings.
3529 (allout-get-or-create-parent-widget): Use `looking-at-p'.
3531 * cmuscheme.el (scheme-start-file): Doc fix.
3532 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
3533 (scheme-input-filter): Use `string-match-p'.
3535 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
3537 * dired-x.el: Use Dired consistently in docstrings.
3539 * dired.el: Use Dired consistently in docstrings.
3540 (dired-readin, dired-mode): Use `setq-local'.
3541 (dired-switches-alist): Make defvar-local.
3542 (dired-buffers-for-dir): Use `zerop'.
3543 (dired-safe-switches-p, dired-switches-escape-p)
3544 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
3545 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
3546 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
3547 (dired-goto-next-nontrivial-file): Use `string-match-p'.
3548 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
3549 (dired-toggle-marks, dired-mark-files-containing-regexp)
3550 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
3551 (dired-flag-auto-save-files, dired-flag-backup-files):
3553 (dired-mark-files-regexp, dired-build-subdir-alist):
3554 Use `string-match-p', `looking-at-p'.
3556 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
3557 (direct-print-region-helper): Use `string-match-p'.
3559 2013-06-21 Leo Liu <sdl.web@gmail.com>
3561 * comint.el (comint-redirect-results-list-from-process):
3564 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3566 * net/eww.el (eww-update-header-line-format): Quote % characters.
3568 2013-06-21 Glenn Morris <rgm@gnu.org>
3570 * play/cookie1.el (cookie): New custom group.
3571 (cookie-file): New option.
3572 (cookie-check-file): New function.
3573 (cookie): Make it interactive. Make start and end messages optional.
3574 Interactively, display the result. Default to cookie-file.
3575 (cookie-insert): Default to cookie-file.
3576 (cookie-snarf): Make start and end messages optional.
3577 Default to cookie-file. Use with-temp-buffer.
3578 (cookie-read): Rename from read-cookie.
3579 Make start and end messages optional. Default to cookie-file.
3580 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
3582 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
3583 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
3585 2013-06-21 Leo Liu <sdl.web@gmail.com>
3587 * progmodes/octave.el (octave-mode): Backward compatibility fix.
3589 2013-06-21 Glenn Morris <rgm@gnu.org>
3591 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
3593 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3594 Daniel Hackney <dan@haxney.org>
3596 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
3597 Consolidate the single-file vs tarball code.
3598 (package-desc-suffix): New function.
3599 (package-desc-full-name): Don't bother inlining it.
3600 (package-load-descriptor): Return the new package-desc.
3601 (package-mark-obsolete): Remove unused arg `package'.
3602 (package-unpack): Make it work for single files as well.
3603 Make it update package-alist.
3604 (package--make-autoloads-and-stuff): Rename from
3605 package--make-autoloads-and-compile. Don't compile any more.
3606 (package--compile): New function.
3607 (package-generate-description-file): New function, extracted from
3608 package-unpack-single.
3609 (package-unpack-single): Remove.
3610 (package--with-work-buffer): Add indentation and debugging info.
3611 (package-download-single): Remove.
3612 (package-install-from-archive): Rename from package-download-tar, make
3613 it take a pkg-desc, and make it work for single files as well.
3614 (package-download-transaction): Simplify.
3615 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
3616 external tar program.
3617 (package-install-from-buffer): Remove `pkg-desc' argument.
3618 Use package-tar-file-info for tar-mode buffers.
3619 (package-install-file): Simplify accordingly.
3620 (package-archive-base): Change to take a pkg-desc.
3621 * tar-mode.el (tar--check-descriptor): New function, extracted from
3623 (tar-get-descriptor): Use it.
3624 (tar-get-file-descriptor): New function.
3625 (tar--extract): New function, extracted from tar-extract.
3626 (tar--extract): Use it.
3627 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
3628 case the summary uses non-ascii. Adjust to new calling convention of
3629 package-tar-file-info.
3631 2013-06-21 Leo Liu <sdl.web@gmail.com>
3633 * comint.el (comint-redirect-results-list-from-process):
3634 Fix random delay. (Bug#14681)
3636 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3638 * profiler.el (profiler-format-number): Use log, not log10.
3640 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3642 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
3644 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3646 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
3647 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
3649 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
3650 (AUTOGENEL): ... here.
3651 * emacs-lisp/cl-macs.el (cl--sublis): New function.
3652 (cl--defsubst-expand): Use it.
3654 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
3656 * subr.el (log10): Move here from C code, and declare as obsolete.
3657 All uses of (log10 X) replaced with (log X 10).
3659 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3661 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
3662 Declare with `defvar-local'.
3663 (tabulated-list-use-header-line, tabulated-list-entries)
3664 (tabulated-list-padding, tabulated-list-printer)
3665 (tabulated-list-sort-key): Declare with `defvar-local'.
3666 (tabulated-list-init-header, tabulated-list-print-fake-header):
3669 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
3671 * arc-mode.el (archive-mode): Add `archive-write-file' to
3672 `write-contents-functions' also for remote files. (Bug#14652)
3674 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3676 * cus-edit.el (custom-commands): Fix typos.
3677 (custom-display): Fix tooltip text.
3678 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
3679 Fix typos in docstrings.
3680 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
3681 (custom-unlispify-menu-entry, custom-magic-value-create)
3682 (custom-add-see-also, custom-group-value-create): Use ?\s.
3683 (custom-guess-type, customize-apropos, editable-field)
3684 (custom-face-value-create): Use `string-match-p'.
3685 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
3687 * custom.el (custom-load-symbol): Use `string-match-p'.
3689 * ansi-color.el: Convert to lexical binding.
3690 (ansi-colors): Fix URL.
3691 (ansi-color-context, ansi-color-context-region): Use defvar-local.
3692 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
3693 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
3695 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3697 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
3699 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
3701 2013-06-19 Tom Tromey <tromey@redhat.com>
3703 * net/eww.el (eww-top-url): Remove.
3704 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
3705 (eww-render): Set new variables. Don't set eww-top-url.
3706 (eww-handle-link): Handle "prev", "home", and "contents".
3707 Downcase the rel text.
3708 (eww-top-url): Choose best top URL.
3710 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3712 * net/eww.el: Rewrite to implement form elements "by hand" instead of
3713 relying in widget.el. Using widget.el leads to too many
3714 user interface inconsistencies.
3715 (eww-self-insert): Implement entering commands in text fields.
3716 (eww-process-text-input): New function to make text input field editing
3718 (eww-submit): Rewrite to use the new-style form methods.
3719 (eww-select-display): Display the correct selected item.
3720 (eww-change-select): Implement changing the select value.
3721 (eww-toggle-checkbox): Implement radio/checkboxes.
3722 (eww-update-field): Fix compilation error.
3723 (eww-tag-textarea): Implement <textarea>.
3725 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
3726 we don't shadow mode-specific bindings.
3728 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
3731 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
3733 2013-06-19 Glenn Morris <rgm@gnu.org>
3735 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
3737 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
3739 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
3742 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
3744 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3746 * net/browse-url.el (browse-url-browser-function):
3747 `eww-browse-url' has the right calling signature, `eww' does not.
3749 2013-06-19 Glenn Morris <rgm@gnu.org>
3751 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3752 Only eval autoloaded macros.
3753 (byte-compile-autoload): Only give the macro warning for macros.
3755 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
3756 (ps-underlined-faces): Declare.
3758 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
3759 (speedbar-add-supported-extension): Declare.
3761 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
3762 Don't include a date stamp in the header of the generated file;
3763 it leads to needless differences between output files.
3765 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
3767 * net/secrets.el (secrets-struct-secret-content-type):
3768 Replace check of introspection data by a test call of "CreateItem".
3769 Some servers do not offer introspection.
3771 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
3773 * electric.el (electric-pair-mode): Improve interaction with
3774 electric-layout-mode.
3775 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
3776 (electric-pair-syntax): Use text-mode-syntax-table in comments
3778 (electric-pair--insert): New function.
3779 (electric-pair-post-self-insert-function): Use it and
3780 electric--after-char-pos.
3782 2013-06-19 Leo Liu <sdl.web@gmail.com>
3784 * progmodes/octave.el (octave-help): Fix regexp.
3786 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3788 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
3789 (shr-table-horizontal-line): Allow nil as a value, and change the
3791 (shr-insert-table-ruler): Respect the nil value.
3793 2013-06-18 Tom Tromey <tromey@barimba>
3795 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3797 (eww-open-file): New defun.
3798 (eww-render): Initialize new variables.
3799 (eww-display-html): Handle "link" and "a".
3800 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
3801 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
3802 (eww-back-url): Rename from eww-previous-url.
3803 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3806 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
3808 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
3809 Distinguish ternary operator tokens from slash symbol and slash
3812 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
3814 Convert symbol prettification into minor mode and global minor mode.
3816 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
3817 `prog-prettify-symbols', and make a local defvar instead of defcustom.
3818 (prettify-symbols--keywords): Rename from
3819 `prog-prettify-symbols-alist' and make a local defvar.
3820 (prettify-symbols--compose-symbol): Rename from
3821 `prog--prettify-font-lock-compose-symbol'.
3822 (prettify-symbols--make-keywords): Rename from
3823 `prog-prettify-font-lock-symbols-keywords' and simplify.
3824 (prog-prettify-install): Remove.
3825 (prettify-symbols-mode): New minor mode, based on
3826 `prog-prettify-install'.
3827 (turn-on-prettify-symbols-mode): New function.
3828 (global-prettify-symbols-mode): New globalized minor mode.
3830 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3831 * progmodes/cfengine.el (cfengine3-mode):
3832 * progmodes/perl-mode.el (perl-mode): Don't call
3833 `prog-prettify-install'; set `prettify-symbols-alist' instead.
3835 2013-06-18 Juri Linkov <juri@jurta.org>
3837 * files-x.el (modify-file-local-variable-message): New function.
3838 (modify-file-local-variable)
3839 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
3840 and call `modify-file-local-variable-message' when it's non-nil.
3841 (add-file-local-variable, delete-file-local-variable)
3842 (add-file-local-variable-prop-line)
3843 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
3844 and use it. (Bug#9820)
3846 2013-06-18 Juri Linkov <juri@jurta.org>
3848 * emulation/vi.el (vi-shell-op):
3849 * emulation/vip.el (vip-execute-com, ex-command):
3850 * emulation/viper-cmd.el (viper-exec-bang):
3851 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
3852 the call of `shell-command-on-region'. (Bug#14637)
3854 * simple.el (shell-command-on-region): Doc fix.
3856 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3858 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
3861 2013-06-18 Glenn Morris <rgm@gnu.org>
3863 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
3865 * newcomment.el (comment-search-forward, comment-search-backward):
3866 Doc fix. (Bug#14376)
3868 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
3870 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
3871 (buffer-face-mode-invoke): Doc fix.
3873 2013-06-18 Matthias Meulien <orontee@gmail.com>
3875 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
3876 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
3878 2013-06-18 Glenn Morris <rgm@gnu.org>
3880 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
3881 Replace obsolete function generic-make-keywords with its expansion.
3883 * progmodes/python.el (ffap-alist): Declare.
3885 * textmodes/reftex.el (bibtex-mode-map): Declare.
3887 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3889 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
3890 (package-unpack, package-unpack-single): Return the pkg-dir.
3891 (package-download-transaction): Use it to update package-alist.
3893 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3895 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
3898 2013-06-17 Juri Linkov <juri@jurta.org>
3900 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
3902 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3904 * emacs-lisp/package.el (package-load-descriptor):
3905 Remove `with-syntax-table' call, `read' doesn't need it.
3906 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
3908 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
3910 * startup.el (command-line): Expand package name returned by
3911 `package--description-file' (bug#14639).
3913 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3915 * emacs-lisp/package.el (package-load-descriptor): Do not call
3916 `emacs-lisp-mode', just use its syntax table.
3918 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
3920 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
3921 `font-lock-extra-managed-props' if any prettifying keyword is added.
3922 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
3923 (prog-mode): Use `setq-local'.
3925 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3927 * international/characters.el (standard-case-table): Set syntax of ?»
3928 and ?« to punctuation.
3930 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
3932 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
3933 Save relevant match data before calling `syntax-ppss' (bug#14595).
3935 2013-06-15 Juri Linkov <juri@jurta.org>
3937 * files-x.el (modify-file-local-variable-prop-line): Add local
3938 variables to the end of the existing comment on the first line.
3939 Use `file-auto-mode-skip' to skip interpreter magic line,
3940 and also skip XML declaration.
3942 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3944 * startup.el (package--builtin-versions): New var.
3945 (package-subdirectory-regexp): Remove.
3946 (package--description-file): Hard code its value instead.
3948 * emacs-lisp/package.el: Don't activate packages older than builtin.
3949 (package-obsolete-list): Rename from package-obsolete-alist, and make
3950 it into a simple list of package-desc.
3951 (package-strip-version): Remove.
3952 (package-built-in-p): Use package--builtin-versions.
3953 (package-mark-obsolete): Simplify.
3954 (package-process-define-package): Mark it obsolete if older than the
3956 (package-handle-response): Use line-end-position.
3957 (package-read-archive-contents, package--download-one-archive):
3959 (package--add-to-archive-contents): Skip if older than the builtin or
3961 (package-menu-describe-package): Fix last change.
3962 (package-list-unversioned): New var.
3963 (package-menu--generate): Use it.
3965 * emacs-lisp/autoload.el: Manage package--builtin-versions.
3966 (autoload--insert-text, autoload--insert-cookie-text): New functions.
3967 (autoload-builtin-package-versions): New variable.
3968 (autoload-generate-file-autoloads): Use them.
3969 Remove the list of autoloaded functions/macros from the
3970 (autoload...) comments.
3972 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
3974 2013-06-15 Eli Zaretskii <eliz@gnu.org>
3976 * simple.el (line-move-partial): Don't jump to the next screen
3977 line as soon as it becomes visible. Instead, continue enlarging
3978 the vscroll until the portion of a tall screen line that's left on
3979 display is about the height of the frame's default font.
3982 2013-06-15 Glenn Morris <rgm@gnu.org>
3984 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
3985 compilation-error-regexp-alist void, or local while let-bound.
3987 * progmodes/make-mode.el (makefile-mode-syntax-table):
3988 Treat "=" as punctuation. (Bug#14614)
3990 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
3992 * help-fns.el (describe-variable):
3993 Add extra line for permanent-local variables.
3995 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
3997 * progmodes/scheme.el (scheme-font-lock-keywords-2):
3998 Add export, import, library. (Bug#9164)
3999 (library): Set indent function.
4001 2013-06-14 Glenn Morris <rgm@gnu.org>
4003 * term/xterm.el (xterm--query):
4004 Stop after first matching handler. (Bug#14615)
4006 2013-06-14 Ivan Kanis <ivan@kanis.fr>
4008 Add support for dired in saveplace.
4009 * dired.el (dired-initial-position-hook): New variable.
4010 (dired-initial-position): Call hook to place cursor position.
4011 * saveplace.el (save-place-to-alist): Add dired position.
4012 (save-place-dired-hook): New function.
4014 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4016 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4017 through a symbol rather than letrec.
4019 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4020 (package-desc): Add `dir' field.
4021 (package-desc-full-name): New function.
4022 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4023 (package-maybe-load-descriptor): Remove.
4024 (package-load-all-descriptors): Just call package-load-descriptor.
4025 (package--disabled-p): New function.
4026 (package-desc-vers, package-desc-doc): Remove aliases.
4027 (package--dir): Remove function.
4028 (package-activate): Check if a package is disabled.
4029 (package-process-define-package): New function, extracted from
4031 (define-package): Turn into a place holder.
4032 (package-unpack-single, package-tar-file-info):
4033 Use package--description-file.
4034 (package-compute-transaction): Use package--disabled-p.
4035 (package-download-transaction): Don't call
4036 package-maybe-load-descriptor since they're all loaded anyway.
4037 (package-install): Change argument to be a pkg-desc.
4038 (package-delete): Use a single pkg-desc argument.
4039 (describe-package-1): Use package-desc-dir instead of package--dir.
4040 Use package-desc property instead of package-symbol.
4041 (package-install-button-action): Adjust accordingly.
4042 (package--push): Rewrite.
4043 (package-menu--print-info): Adjust accordingly. Change the ID format
4045 (package-menu-describe-package, package-menu-get-status)
4046 (package-menu--find-upgrades, package-menu-mark-upgrades)
4047 (package-menu-execute, package-menu--name-predicate):
4049 * startup.el (package--description-file): New function.
4050 (command-line): Use it.
4051 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4052 Use package-desc-version.
4054 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4055 (byte-compile-preprocess): Use it.
4056 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4057 can't quite recognize.
4058 (byte-compile-add-to-list): Remove.
4059 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4060 (cconv-closure-convert): Add assertion.
4062 * emacs-lisp/map-ynp.el: Use lexical-binding.
4063 (map-y-or-n-p): Remove unused vars `tail' and `object'.
4064 Factor out some repeated code.
4066 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4068 * subr.el (with-eval-after-load): New macro.
4069 (eval-after-load): Allow form to be a function.
4070 take advantage of lexical-binding.
4071 (do-after-load-evaluation): Use dolist and adjust to new format.
4072 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4074 2013-06-13 Juri Linkov <juri@jurta.org>
4076 * replace.el (perform-replace): Display "symbol " and other search
4077 modes from `isearch-message-prefix' in the *Help* buffer.
4079 * isearch.el (isearch-query-replace): Add " symbol" and other
4080 possible search modes from `isearch-message-prefix' to the prompt.
4081 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4082 when reading a regexp to collect.
4084 2013-06-13 Juri Linkov <juri@jurta.org>
4086 * isearch.el (word-search-regexp): Match whitespace if the search
4087 string begins or ends in whitespace. The LAX arg is applied to
4088 both ends of the search string. Use `regexp-quote' and explicit
4089 \< and \> instead of \b. Use \` and \' instead of ^ and $.
4090 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4091 boundaries are replaced with symbol boundaries, and characters
4092 between symbols match non-word non-symbol syntax. (Bug#14602)
4094 2013-06-13 Juri Linkov <juri@jurta.org>
4096 * isearch.el (isearch-del-char): Don't exceed the length of
4097 `isearch-string' by the prefix arg. (Bug#14563)
4099 2013-06-13 Juri Linkov <juri@jurta.org>
4101 * isearch.el (isearch-yank-word, isearch-yank-line)
4102 (isearch-char-by-name, isearch-quote-char)
4103 (isearch-printing-char, isearch-process-search-char):
4104 Add optional count prefix arg. (Bug#14563)
4106 * international/isearch-x.el
4107 (isearch-process-search-multibyte-characters):
4108 Add optional count prefix arg.
4110 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4112 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
4113 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
4116 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
4118 * subr.el (set-temporary-overlay-map): Add on-exit argument.
4120 2013-06-13 Glenn Morris <rgm@gnu.org>
4122 * startup.el (tty-handle-args):
4123 Don't just discard "--" and anything after. (Bug#14608)
4125 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
4127 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
4129 Implement changes in Secret Service API. Make it backward compatible.
4130 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
4131 (secrets-create-item): Use it. Prefix properties with interface.
4133 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
4135 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
4136 (term-emulate-terminal): Respect term-suppress-hard-newline.
4138 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
4140 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4141 Only remove a `thumb-file' overlay. (Bug#14548)
4143 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
4145 * mail/reporter.el (reporter-submit-bug-report):
4146 Handle missing package-name. (Bug#14600)
4148 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4150 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
4151 (reftex-citation-prompt, reftex-default-bibliography)
4152 (reftex-bib-or-thebib, reftex-get-bibfile-list)
4153 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4154 (reftex-bib-sort-author, reftex-bib-sort-year)
4155 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
4156 (reftex-extract-bib-entries-from-thebibliography)
4157 (reftex-get-bibkey-default, reftex-get-bib-names)
4158 (reftex-parse-bibtex-entry, reftex-get-bib-field)
4159 (reftex-format-bib-entry, reftex-parse-bibitem)
4160 (reftex-format-bibitem, reftex-do-citation)
4161 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
4162 (reftex-restrict-bib-matches, reftex-extract-bib-file)
4163 (reftex-insert-bib-matches, reftex-format-citation)
4164 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
4165 (reftex-create-bibtex-file): Add docstrings, mostly by converting
4166 existing comments into docstrings.
4168 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4170 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
4172 2013-06-12 Andreas Schwab <schwab@suse.de>
4174 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
4175 for auto-save files.
4177 2013-06-12 Glenn Morris <rgm@gnu.org>
4179 * ido.el (ido-delete-ignored-files): Remove.
4180 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
4181 Go back to calling ido-ignore-item-p directly.
4183 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
4185 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
4187 * ido.el (ido-delete-ignored-files): New function,
4188 split from ido-make-file-list-1.
4189 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
4190 (ido-make-file-list-1): Use ido-delete-ignored-files.
4192 2013-06-12 Leo Liu <sdl.web@gmail.com>
4194 * progmodes/octave.el (inferior-octave-startup)
4195 (inferior-octave-completion-table)
4196 (inferior-octave-track-window-width-change)
4197 (octave-eldoc-function-signatures, octave-help)
4198 (octave-find-definition): Use single quoted strings.
4199 (inferior-octave-startup-args): Change default value.
4200 (inferior-octave-startup): Do not hard code "-i" and
4201 "--no-line-editing".
4202 (inferior-octave-resync-dirs): Add optional arg NOERROR.
4203 (inferior-octave-directory-tracker): Use it.
4204 (octave-goto-function-definition): Robustify.
4205 (octave-help): Support highlighting operators in 'See also'.
4206 (octave-find-definition): Find subfunctions only in Octave mode.
4208 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4210 * help-fns.el (help-fns--compiler-macro): If the handler function is
4211 named, then put a link to it.
4212 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
4213 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
4215 (cl-eval-when): Simplify debug spec.
4216 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
4217 compiler-macro function instead of setting `compiler-macro-file'.
4219 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4221 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
4222 * vc/vc-hooks.el (vc-stay-local): Doc fix.
4224 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4225 Daniel Hackney <dan@haxney.org>
4227 First part of Daniel Hackney's patch to package.el.
4228 * emacs-lisp/package.el: Use defstruct.
4229 (package-desc): New, main struct.
4230 (package--bi-desc, package--ac-desc): New structs, used to describe the
4231 format in external files.
4232 (package-desc-vers): Replace with package-desc-version accessor.
4233 (package-desc-doc): Replace with package-desc-summary accessor.
4234 (package-activate-1): Remove `package' arg since the pkg-vec now
4236 (define-package): Use package-desc-from-define.
4237 (package-unpack-single): Change file-name arg to be a symbol.
4238 (package--add-to-archive-contents): Use package-desc-create and new
4239 accessor functions to package--ac-desc.
4240 (package-buffer-info, package-tar-file-info): Return a package-desc.
4241 (package-install-from-buffer): Remove `type' argument. Change pkg-info
4242 arg to be a package-desc.
4243 (package-install-file): Adjust accordingly. Use \' to match EOS.
4244 (package--from-builtin): New function.
4245 (describe-package-1, package-menu--generate): Use it.
4246 (package--make-autoloads-and-compile): Change name arg to be a symbol.
4247 (package-generate-autoloads): Idem and return the name of the file.
4248 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4249 Change pkg-info arg to be a package-desc.
4250 Use package-make-ac-desc.
4251 (package-upload-file): Use \' to match EOS.
4252 * finder.el (finder-compile-keywords): Use package-make-builtin.
4254 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4256 * vc/vc.el (vc-deduce-fileset): Change error message.
4257 (vc-read-backend): New function.
4258 (vc-next-action): Use it.
4260 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
4262 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
4263 (prolog-font-lock-keywords): Use regexp-opt instead.
4264 Don't manually highlight strings.
4265 (prolog-mode-variables): Simplify comment-start-skip.
4266 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
4268 * emacs-lisp/generic.el (generic--normalise-comments)
4269 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
4270 (generic-mode-set-comments): Use them.
4271 (generic-bracket-support): Use setq-local.
4272 (generic-make-keywords-list): Declare obsolete.
4274 2013-06-11 Glenn Morris <rgm@gnu.org>
4276 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4277 Prettify after setting font-lock-defaults. (Bug#14574)
4279 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
4281 * replace.el (query-replace, occur-read-regexp-defaults-function)
4283 * subr.el (declare-function, number-sequence, local-set-key)
4284 (substitute-key-definition, locate-user-emacs-file)
4285 (with-silent-modifications, split-string, eval-after-load):
4286 Fix typos, remove unneeded backslashes and reflow some docstrings.
4288 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4290 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
4291 default for Elisp files.
4293 2013-06-11 Glenn Morris <rgm@gnu.org>
4295 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
4296 although define-derived-mode was doing this anyway. (Bug#14583)
4298 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
4300 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4301 Fix make-variable-buffer-local call to refer to the correct variable.
4303 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
4305 * eshell/em-term.el (eshell-visual-commands)
4306 (eshell-visual-subcommands, eshell-visual-options):
4307 Add summary line to docstrings. Add cross-references.
4309 2013-06-10 Glenn Morris <rgm@gnu.org>
4311 * epa.el (epa-read-file-name): New function. (Bug#14510)
4312 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
4314 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
4316 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
4317 output redirection to be ignored with visual commands.
4319 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
4321 * eshell/em-term.el (eshell-visual-command-p): New function.
4322 (eshell-term-initialize): Move long lambda to separate function
4323 eshell-visual-command-p.
4324 * eshell/em-dirs.el (eshell-dirs-initialise):
4325 * eshell/em-script.el (eshell-script-initialize):
4326 Add missing #' to lambda.
4328 2013-06-08 Leo Liu <sdl.web@gmail.com>
4330 * progmodes/octave.el (octave-add-log-current-defun): New function.
4331 (octave-mode): Set add-log-current-defun-function.
4332 (octave-goto-function-definition): Do not move point if not found.
4333 (octave-find-definition): Enhance to try subfunctions first.
4335 2013-06-08 Glenn Morris <rgm@gnu.org>
4337 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4338 (byte-compile-backward-char, byte-compile-backward-word):
4339 Improve previous change, to handle non-explicit nil.
4341 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4343 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
4344 (smie--opener/closer-at-point): New function.
4345 (smie--matching-block-data): Use it. Don't match from right after an
4346 opener or right before a closer. Obey smie-blink-matching-inners.
4347 Don't signal a mismatch for repeated inners like "switch..case..case".
4349 2013-06-07 Leo Liu <sdl.web@gmail.com>
4351 * progmodes/octave.el (octave-mode): Set comment-use-global-state
4353 (octave-function-header-regexp): Fix. (Bug#14570)
4354 (octave-help-mode-finish-hook, octave-help-mode-finish):
4355 Remove. Just use temp-buffer-show-hook.
4357 * newcomment.el (comment-search-backward): Revert last change.
4360 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
4362 2013-06-07 Eli Zaretskii <eliz@gnu.org>
4364 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
4365 through xargs, to avoid failure due to MS-Windows limitations on
4366 command-line length.
4368 2013-06-06 Glenn Morris <rgm@gnu.org>
4370 * font-lock.el (lisp-font-lock-keywords-2):
4371 Treat user-error like error.
4373 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4374 (byte-compile-backward-char, byte-compile-backward-word):
4375 Handle explicit nil arguments. (Bug#14565)
4377 2013-06-05 Alan Mackenzie <acm@muc.de>
4379 * isearch.el (isearch-allow-prefix): New user option.
4380 (isearch-other-meta-char): Don't exit isearch when a prefix
4381 argument is typed whilst `isearch-allow-prefix' is non-nil.
4384 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4386 * autorevert.el (auto-revert-notify-handler): Use memq.
4387 Hide assertion failure.
4389 * skeleton.el: Use cl-lib.
4390 (skeleton-further-elements): Use defvar-local.
4391 (skeleton-insert): Use cl-progv.
4393 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4395 * progmodes/prog-mode.el (prog-prettify-symbols)
4396 (prog-prettify-install): Update docstrings.
4398 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4400 * simple.el: Move all the prog-mode code to prog-mode.el.
4401 * progmodes/prog-mode.el: New file.
4402 * loadup.el: Add prog-mode.el.
4404 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4406 * simple.el (prog-prettify-symbols): Add version.
4407 (prog-prettify-install): Add convenience function to prettify symbols.
4409 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
4410 (perl--augmented-font-lock-keywords-1)
4411 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
4412 variables and use it.
4414 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4415 (cfengine3-mode): Remove unneeded variable and use it.
4417 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4418 (lisp--augmented-font-lock-keywords-1)
4419 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
4420 Remove unneeded variables and use it.
4422 2013-06-05 João Távora <joaotavora@gmail.com>
4424 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
4425 to point when opening the connection. (Bug#14380)
4427 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4429 * subr.el (load-history-regexp, load-history-filename-element)
4430 (eval-after-load, after-load-functions, do-after-load-evaluation)
4431 (eval-next-after-load, display-delayed-warnings)
4432 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
4433 definition of save-match-data.
4434 (overriding-local-map): Remove accidental obsolescence declaration.
4436 * emacs-lisp/edebug.el (edebug-result): Move before first use.
4438 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4440 Generalize symbol prettify support to prog-mode and implement it
4441 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
4442 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
4443 (prog--prettify-font-lock-compose-symbol)
4444 (prog-prettify-font-lock-symbols-keywords): New variables and
4445 functions to support symbol prettification.
4446 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4447 (lisp--augmented-font-lock-keywords-1)
4448 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
4449 (lisp--prettify-symbols-alist): Implement prettify of lambda.
4450 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4451 (cfengine3--prettify-symbols-alist, cfengine3-mode):
4452 Implement prettify of -> => :: strings.
4453 * progmodes/perl-mode.el (perl-prettify-symbols)
4454 (perl--font-lock-compose-symbol)
4455 (perl--font-lock-symbols-keywords): Move to prog-mode.
4456 (perl--prettify-symbols-alist): Prettify -> => :: strings.
4457 (perl-font-lock-keywords-1)
4458 (perl-font-lock-keywords-2): Remove explicit prettify support.
4459 (perl--augmented-font-lock-keywords)
4460 (perl--augmented-font-lock-keywords-1)
4461 (perl--augmented-font-lock-keywords-2, perl-mode):
4462 Implement prettify support.
4464 2013-06-05 Leo Liu <sdl.web@gmail.com>
4466 Re-implement smie matching block highlight using
4467 show-paren-data-function. (Bug#14395)
4468 * emacs-lisp/smie.el (smie-matching-block-highlight)
4469 (smie--highlight-matching-block-overlay)
4470 (smie--highlight-matching-block-lastpos)
4471 (smie-highlight-matching-block)
4472 (smie-highlight-matching-block-mode): Remove.
4473 (smie--matching-block-data-cache): New variable.
4474 (smie--matching-block-data): New function.
4475 (smie-setup): Use smie--matching-block-data for
4476 show-paren-data-function.
4478 * progmodes/octave.el (octave-mode-menu): Fix.
4479 (octave-find-definition): Skip garbage lines.
4481 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4483 Fix compilation error with simultaneous dynamic+lexical scoping.
4484 Add warning when a defvar appears after the first let-binding.
4485 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
4486 (byte-compile-close-variables): Initialize it.
4487 (byte-compile--declare-var): New function.
4488 (byte-compile-file-form-defvar)
4489 (byte-compile-file-form-define-abbrev-table)
4490 (byte-compile-file-form-custom-declare-variable): Use it.
4491 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
4492 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
4493 (byte-compile-bind): Handle dynamic bindings that shadow
4495 (byte-compile-unbind): Make arg non-optional.
4496 (byte-compile-let): Simplify.
4497 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
4498 (cconv--analyse-function, cconv-analyse-form): Populate it.
4499 Protect byte-compile-bound-variables to limit the scope of defvars.
4500 (cconv-analyse-form): Add missing rule for (defvar <foo>).
4501 Remove unneeded rule for `declare'.
4503 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
4504 so as to avoid depending on cl-adjoin at run-time.
4505 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
4507 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
4508 (macroexp--warn-and-return): Use it.
4510 2013-06-05 Leo Liu <sdl.web@gmail.com>
4512 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
4514 2013-06-04 Leo Liu <sdl.web@gmail.com>
4516 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
4517 (compilation-auto-jump): Suppress the "Mark set" message to give
4518 way to exit message.
4520 2013-06-04 Alan Mackenzie <acm@muc.de>
4522 Remove faulty optimisation from indentation calculation.
4523 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
4524 search limit based on 2000 characters back from indent-point.
4526 2013-06-03 Tassilo Horn <tsdh@gnu.org>
4528 * eshell/em-term.el (cl-lib): Require `cl-lib'.
4530 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4532 * emacs-lisp/lisp.el: Use lexical-binding.
4533 (lisp--local-variables-1, lisp--local-variables): New functions.
4534 (lisp--local-variables-completion-table): New var.
4535 (lisp-completion-at-point): Use it complete let-bound vars.
4537 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
4538 eagerly (bug#14422).
4540 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
4542 * autorevert.el (auto-revert-notify-enabled)
4543 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4544 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
4545 (auto-revert-notify-handler): Handle also gfilenotify.
4547 * subr.el (file-notify-handle-event): New defun. Replacing ...
4548 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
4551 2013-06-03 Juri Linkov <juri@jurta.org>
4553 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
4554 `M-s h .'. (Bug#14427)
4556 * hi-lock.el (highlight-symbol-at-point): New alias for the new
4557 command `hi-lock-face-symbol-at-point'.
4558 (hi-lock-face-symbol-at-point): New command.
4559 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
4560 (hi-lock-menu): Add `highlight-symbol-at-point'.
4561 (hi-lock-mode): Doc fix.
4563 * isearch.el (isearch-forward-symbol-at-point): New command.
4564 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
4565 (isearch-highlight-regexp): Add a regexp which matches
4566 words/symbols for word/symbol mode.
4568 * subr.el (find-tag-default-bounds): New function with the body
4569 mostly moved from `find-tag-default'.
4570 (find-tag-default): Move most code to `find-tag-default-bounds',
4571 call it and apply `buffer-substring-no-properties' afterwards.
4573 2013-06-03 Tassilo Horn <tsdh@gnu.org>
4575 * eshell/em-term.el (eshell-term-initialize):
4576 Use `cl-intersection' rather than `intersection'.
4578 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
4580 * vc/log-view.el: Doc fix.
4581 (log-view-mode-map): Copy keymap from `special-mode-map'.
4583 2013-06-02 Eric Ludlam <zappo@gnu.org>
4585 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
4586 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
4587 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
4588 (eieio-unbound, eieio-default-superclass)
4589 (eieio--define-field-accessors, method-static, method-before)
4590 (method-primary, method-after, method-num-lists)
4591 (method-generic-before, method-generic-primary)
4592 (method-generic-after, method-num-slots)
4593 (eieio-specialized-key-to-generic-key)
4594 (eieio--check-type, class-v, class-p)
4595 (eieio-class-name, define-obsolete-function-alias)
4596 (eieio-class-parents-fast, eieio-class-children-fast)
4597 (same-class-fast-p, class-constructor, generic-p)
4598 (generic-primary-only-p, generic-primary-only-one-p)
4599 (class-option-assoc, class-option, eieio-object-p)
4600 (class-abstract-p, class-method-invocation-order)
4601 (eieio-defclass-autoload-map, eieio-defclass-autoload)
4602 (eieio-class-un-autoload, eieio-defclass)
4603 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
4604 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
4605 (eieio--defgeneric-init-form, eieio-defgeneric-form)
4606 (eieio-defgeneric-reset-generic-form)
4607 (eieio-defgeneric-form-primary-only)
4608 (eieio-defgeneric-reset-generic-form-primary-only)
4609 (eieio-defgeneric-form-primary-only-one)
4610 (eieio-defgeneric-reset-generic-form-primary-only-one)
4611 (eieio-unbind-method-implementations)
4612 (eieio--defmethod, eieio--typep)
4613 (eieio-perform-slot-validation, eieio-validate-slot-value)
4614 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
4615 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
4616 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
4617 (eieio-slot-name-index, eieio-class-slot-name-index)
4618 (eieio-set-defaults, eieio-initarg-to-attribute)
4619 (eieio-attribute-to-initarg, eieio-c3-candidate)
4620 (eieio-c3-merge-lists, eieio-class-precedence-c3)
4621 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
4622 (eieio-class-precedence-list, eieio-generic-call-methodname)
4623 (eieio-generic-call-arglst, eieio-generic-call-key)
4624 (eieio-generic-call-next-method-list)
4625 (eieio-pre-method-execution-functions, eieio-generic-call)
4626 (eieio-generic-call-primary-only, eieiomt-method-list)
4627 (eieiomt-optimizing-obarray, eieiomt-install)
4628 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
4629 (eieio-generic-form, eieio-defmethod, make-obsolete)
4630 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
4631 (defclass): Remove `eval-and-compile' from macro.
4632 (call-next-method, shared-initialize): Instead of using
4633 `scoped-class' variable, use new eieio--scoped-class, and
4634 eieio--with-scoped-class.
4635 (initialize-instance): Rename local variable 'scoped-class' to
4636 'this-class' to remove ambiguitity from old global.
4638 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
4640 (eieio--scoped-class-stack): New variable.
4641 (eieio--scoped-class): New fcn.
4642 (eieio--with-scoped-class): New scoping macro.
4643 (eieio-defclass): Use pushnew instead of add-to-list.
4644 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
4645 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
4646 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
4647 `scoped-class' variable, use new eieio--scoped-class, and
4648 eieio--with-scoped-class.
4650 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
4652 2013-06-02 Tassilo Horn <tsdh@gnu.org>
4654 * eshell/esh-ext.el (eshell-external-command): Pass args to
4655 `eshell-find-interpreter'.
4656 (eshell-find-interpreter): Add new second parameter ARGS.
4658 * eshell/em-script.el (eshell-script-initialize): Add second arg
4659 to the function added as MATCH to `eshell-interpreter-alist'.
4661 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
4662 the function added as MATCH to `eshell-interpreter-alist'.
4664 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
4665 (eshell-visual-options): New defcustom.
4666 (eshell-escape-control-x): Adapt docstring.
4667 (eshell-term-initialize): Test `eshell-visual-subcommands' and
4668 `eshell-visual-options' in addition to `eshell-visual-commands'.
4669 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
4671 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
4673 * progmodes/python.el (python-indent-block-enders): Add break,
4674 continue and raise keywords.
4676 2013-06-01 Glenn Morris <rgm@gnu.org>
4678 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
4680 Plain (f)boundp silences compilation warnings since Emacs 22.1.
4681 * progmodes/cc-cmds.el (delete-forward-p):
4682 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
4683 * progmodes/cc-engine.el (buffer-syntactic-context):
4684 * progmodes/cc-fonts.el (face-property-instance):
4685 * progmodes/cc-mode.el (set-keymap-parents):
4686 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
4687 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
4688 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
4689 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
4690 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
4692 * progmodes/cc-vars.el (other): Emacs has this widget since
4693 at least 21.1, so don't (re)define it.
4695 * eshell/em-cmpl.el (eshell-cmpl-initialize):
4696 Replace the obsolete alias pcomplete-arg-quote-list.
4698 2013-06-01 Leo Liu <sdl.web@gmail.com>
4700 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
4702 (inferior-octave-minimal-columns)
4703 (inferior-octave-last-column-width): New variables.
4704 (inferior-octave-track-window-width-change): New function.
4705 (inferior-octave-mode): Adjust column width so that Octave output,
4706 for example from 'ls', can fit into the window nicely.
4708 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4710 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4711 Highlight expansions inside regexp literals.
4713 2013-05-31 Glenn Morris <rgm@gnu.org>
4715 * obsolete/sym-comp.el (symbol-complete):
4716 Replace obsolete completion-annotate-function.
4718 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
4720 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4722 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4723 New function, checks if point is inside a literal that allows
4724 expression expansion.
4725 (ruby-syntax-propertize-expansion): Use it.
4726 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
4729 2013-05-30 Juri Linkov <juri@jurta.org>
4731 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
4733 (isearch-invisible): New variable.
4734 (isearch-forward): Doc fix.
4735 (isearch-mode): Set `isearch-invisible'
4736 to the value of `search-invisible'.
4737 (isearch-toggle-case-fold): Doc fix.
4738 (isearch-toggle-invisible): New command.
4739 (isearch-query-replace): Let-bind `search-invisible'
4740 to the value of `isearch-invisible'.
4741 (isearch-search): Use `isearch-invisible' instead of
4742 `search-invisible'. Let-bind `search-invisible'
4743 to the value of `isearch-invisible'. (Bug#11378)
4745 2013-05-30 Juri Linkov <juri@jurta.org>
4747 * replace.el (perform-replace): Avoid `isearch-range-invisible'
4748 call when `query-flag' is nil and `search-invisible' is non-nil.
4751 2013-05-30 Glenn Morris <rgm@gnu.org>
4753 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
4755 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
4756 (cc-require): Suppress spurious "noruntime" warnings.
4757 (cc-require-when-compile): Use fboundp, for sake of compiler.
4759 * progmodes/cc-mode.el: Move load of cc-vars before that of
4760 cc-langs (which in turn loads cc-vars), to quieten compiler.
4762 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4764 * paren.el: Simplify the code.
4765 (show-paren-mode): Always start the timer.
4766 (show-paren--idle-timer): Rename from show-paren-idle-timer.
4767 (show-paren--overlay, show-paren--overlay-1): Rename from
4768 show-paren-overlay and show-paren-overlay-1, and initialize to an
4769 overlay rather than to nil.
4770 (show-paren-function): Misc cleanup and simplifications.
4772 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4774 * paren.el (show-paren-data-function): New hook.
4775 (show-paren--default): New function, extracted from show-paren-function.
4776 (show-paren-function): Use show-paren-data-function.
4778 2013-05-30 Glenn Morris <rgm@gnu.org>
4780 * ielm.el (ielm-map, ielm-complete-symbol):
4781 Use completion-at-point rather than obsolete functions.
4782 (inferior-emacs-lisp-mode): Doc fix.
4783 Set completion-at-point-functions, rather than
4784 comint-dynamic-complete-functions.
4786 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
4787 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
4788 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
4790 * image.el (image-animated-p): Tweak definition.
4792 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
4793 (rlogin-process-connection-type): Tweak default. Add set-after.
4794 (rlogin-host): Doc fix.
4795 (rlogin): Tweak prompt.
4796 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
4798 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
4799 * progmodes/tcl.el (inferior-tcl-mode-map):
4800 Use completion-at-point rather than obsolete alias.
4802 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
4804 * minibuffer.el (read-file-name-completion-ignore-case):
4805 Move before completion--in-region, for eager macro expansion.
4807 2013-05-29 Juri Linkov <juri@jurta.org>
4809 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
4810 for total count of matching lines. Add `global-matches' for total
4811 count of matches. Rename `matches' to `lines' for count of
4812 matching lines. Add `matches' for count of matches.
4813 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
4814 to `prev-line' for line number of prev match endpt.
4815 Increment `matches' for every match. Print the number of
4816 matching lines in the header.
4817 (occur-context-lines): Rename `lines' to `curr-line'.
4818 Rename `prev-lines' to `prev-line'. (Bug#14017)
4820 2013-05-29 Juri Linkov <juri@jurta.org>
4822 * replace.el (perform-replace): Add `skip-read-only-count',
4823 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
4824 Increment them for corresponding conditions and report the number
4825 of skipped occurrences in the final message. (Bug#11746)
4826 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4827 (replace-string, replace-regexp): Doc fix.
4829 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4831 * emacs-lisp/trace.el (trace--read-args): Provide a default.
4833 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
4834 prog-mode-map (bug#14504).
4836 2013-05-29 Leo Liu <sdl.web@gmail.com>
4838 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
4839 (octave-help): Small simplification.
4841 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
4842 off the highlight first.
4844 2013-05-29 Glenn Morris <rgm@gnu.org>
4846 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
4847 Handle idlwave-last-system-routine-info-cons-cell being nil.
4849 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
4850 (idlwave-write-paths): Simplify via with-temp-buffer.
4852 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
4853 * emulation/cua-rect.el: Also load cua-base at run time.
4855 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
4856 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
4857 (cperl-imenu-on-info): Require imenu.
4859 2013-05-28 Alan Mackenzie <acm@muc.de>
4861 Handle "capitalised keywords" correctly.
4862 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
4864 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
4866 * eshell/em-unix.el: Add -r option to cp.
4868 2013-05-28 Glenn Morris <rgm@gnu.org>
4870 * vc/vc-arch.el (vc-exec-after): Declare.
4871 (vc-switches): Autoload.
4872 * vc/vc-bzr.el: No need to require vc when compiling.
4873 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
4874 (vc-resynch-buffer, vc-dir-refresh): Declare.
4875 (vc-setup-buffer, vc-switches): Autoload.
4876 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
4877 (vc-resynch-buffer): Declare.
4878 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
4879 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
4880 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
4881 (grep-read-regexp, grep-read-files, grep-expand-template)
4882 (vc-dir-refresh): Declare.
4883 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
4884 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
4885 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
4886 * vc/vc-mtn.el (vc-exec-after): Declare.
4887 (vc-switches): Autoload.
4888 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
4889 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
4890 (vc-file-tree-walk): Declare.
4891 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
4892 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
4893 (vc-tag-precondition, vc-rename-master): Autoload.
4894 * vc/vc-svn.el (vc-exec-after): Declare.
4895 (vc-switches, vc-setup-buffer): Autoload.
4896 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
4898 (vc-resynch-buffer): Declare.
4900 * obsolete/fast-lock.el (byte-compile-warnings):
4901 Don't warn about obsolete features in this obsolete file.
4903 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
4904 Move definition before use.
4906 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
4907 (dun-unix-verbs): Remove dun-zippy.
4908 (dun-zippy): Remove function.
4910 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
4912 2013-05-27 Juri Linkov <juri@jurta.org>
4914 * replace.el (replace-search): New function with code moved out
4915 from `perform-replace'.
4916 (replace-highlight, replace-dehighlight): Move function definitions
4917 up closer to `replace-search'. (Bug#11746)
4919 2013-05-27 Juri Linkov <juri@jurta.org>
4921 * replace.el (perform-replace): Ignore invisible matches.
4922 In addition to checking `query-replace-skip-read-only', also
4923 filter out matches by calling `run-hook-with-args-until-failure'
4924 on `isearch-filter-predicates', and also check `search-invisible'
4925 for t or call `isearch-range-invisible'.
4926 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
4928 2013-05-27 Juri Linkov <juri@jurta.org>
4930 * isearch.el (isearch-filter-predicates): Rename from
4931 `isearch-filter-predicate'. Doc fix. (Bug#11378)
4932 (isearch-message-prefix): Display text from the property
4933 `isearch-message-prefix' of the currently active filters.
4934 (isearch-search): Don't compare `isearch-filter-predicate' with
4935 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
4936 on `isearch-filter-predicates'. Also check `search-invisible' for t
4937 or call `isearch-range-invisible'.
4938 (isearch-filter-visible): Make obsolete.
4939 (isearch-lazy-highlight-search):
4940 Call `run-hook-with-args-until-failure' on
4941 `isearch-filter-predicates' and use `isearch-range-invisible'.
4943 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
4944 `isearch-filter-predicates' instead of `funcall'ing
4945 `isearch-filter-predicate'.
4946 (Info-mode): Set `Info-isearch-filter' to
4947 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
4949 * dired-aux.el (dired-isearch-filter-predicate-orig):
4951 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
4952 (dired-isearch-filenames-end): Add and remove
4953 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
4954 instead of changing the value of `isearch-filter-predicate'.
4955 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
4956 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
4957 Put property `isearch-message-prefix' to "filename " on
4958 `dired-isearch-filter-filenames'.
4960 * wdired.el (wdired-change-to-wdired-mode):
4961 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
4962 locally instead of changing `isearch-filter-predicate'.
4963 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
4965 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
4967 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
4968 return the commit hash (Bug#14459). Also set the
4969 `vc-git-detached' property.
4970 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
4971 (vc-git-mode-line-string): Use the same help-echo format whether
4972 in detached mode or not, because we know the actual revision now.
4973 When in detached mode, shorten the revision to 7 chars.
4975 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
4977 * emacs-lisp/easy-mmode.el (define-minor-mode):
4978 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
4979 mode hook and provide a docstring.
4981 2013-05-27 Alan Mackenzie <acm@muc.de>
4983 Remove spurious syntax-table text properties inserted by C-y.
4984 * progmodes/cc-mode.el (c-after-change): Also clear hard
4985 syntax-table property with value nil.
4987 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
4989 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
4990 when reading the events; the buffer layout shall not be changed.
4992 2013-05-27 Leo Liu <sdl.web@gmail.com>
4994 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
4996 (inferior-octave-directory-tracker): Automatically re-sync
4998 (octave-help): Improve handling of 'See also'.
5000 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5002 * doc-view.el: Minor naming convention tweaks.
5003 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5005 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5006 even if there's no `display' property yet (bug#14435).
5008 2013-05-25 Eli Zaretskii <eliz@gnu.org>
5010 * subr.el (unmsys--file-name): Rename from reveal-filename.
5012 * Makefile.in (custom-deps, finder-data, autoloads)
5013 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5014 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5015 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5017 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5019 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5020 error-completion on the first 2 args of condition-case (bug#14446).
5023 2013-05-25 Leo Liu <sdl.web@gmail.com>
5025 * comint.el (comint-previous-matching-input): Do not flood the
5026 *Messages* buffer with trivial messages.
5028 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5030 * progmodes/flymake.el (flymake-nop): Don't return a string.
5031 (flymake-set-at): Fix typo.
5033 * simple.el (read--expression): New function, extracted from
5034 eval-expression. Set completion-at-point-functions (bug#14465).
5035 (eval-expression, eval-minibuffer): Use it.
5037 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5039 * progmodes/flymake.el (flymake-save-buffer-in-file)
5040 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5041 (flymake-selected-frame, flymake-log, flymake-ins-after)
5042 (flymake-set-at, flymake-get-buildfile-from-cache)
5043 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5044 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5045 Refine the doc string.
5046 (flymake-get-file-name-mode-and-masks): Reformat.
5047 (flymake-get-real-file-name-function): Fix a minor bug.
5049 2013-05-24 Juri Linkov <juri@jurta.org>
5051 * progmodes/grep.el (grep-mode-font-lock-keywords):
5052 Support =linenumber= format used by git-grep for lines with
5053 function names. (Bug#13549)
5055 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5057 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5058 0 after a semi-colon; it works better for smie-auto-fill.
5059 (octave--indent-new-comment-line): New function.
5060 (octave-indent-new-comment-line): Use it (indirectly).
5061 (octave-mode): Don't disable smie-auto-fill. Use add-function to
5062 modify comment-line-break-function.
5064 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5065 (smie-setup): Use add-function to set it.
5067 2013-05-24 Sam Steingold <sds@gnu.org>
5069 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5070 argument (before the `interactive' argument).
5072 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5074 * image-mode.el (image-mode-winprops): Add winprops to
5075 image-mode-winprops-alist before running
5076 image-mode-new-window-functions.
5077 * doc-view.el (doc-view-new-window-function): Don't delay
5078 doc-view-goto-page via timers (bug#14435).
5080 2013-05-24 Tassilo Horn <tsdh@gnu.org>
5082 * doc-view.el: Integrate with desktop.el. (Bug#14435)
5083 (doc-view-desktop-save-buffer): New function.
5084 (doc-view-restore-desktop-buffer): New function.
5085 (desktop-buffer-mode-handlers):
5086 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
5088 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5089 `desktop-save-buffer' function.
5091 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
5093 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
5094 (tramp-gvfs-file-name-handler): Raise a user error when
5095 `tramp-gvfs-enabled' is nil.
5096 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
5097 Do not raise a user error when loading package. (Bug#14447)
5099 * net/xesam.el: Move to obsolete/.
5101 2013-05-24 Glenn Morris <rgm@gnu.org>
5103 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
5105 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
5107 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
5108 (Info-find-node, Man-getpage-in-background): Declare.
5110 * mail/unrmail.el (unrmail):
5111 Replace obsolete detect-coding-with-priority.
5113 * net/socks.el (socks-split-string): Use this rather than split-string.
5114 (socks-nslookup-host): Update for above change.
5115 (dynamic-choice, s5-dynamic-choice-match)
5116 (s5-dynamic-choice-match-inline, s5-widget-value-create):
5117 Comment out unused code.
5119 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
5120 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
5121 (gud-tooltip-echo-area): Make obsolete.
5122 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
5124 * progmodes/js.el (js--optimize-arglist): Declare.
5126 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
5128 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
5129 (ediff-window-C): Declare.
5131 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
5132 Tweak requires to silence compiler.
5134 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
5135 (he-search-string, he-tried-table, he-expand-list)
5136 (he-init-string, he-string-member, he-substitute-string)
5137 (he-reset-string): Declare.
5139 * obsolete/options.el (list-options): Use custom-variable-p,
5140 rather than obsolete alias.
5142 2013-05-23 Sam Steingold <sds@gnu.org>
5144 * simple.el (shell-command-on-region): Pass the `replace' argument
5145 down to `call-process-region' to comply with the doc as reported on
5146 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
5148 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5150 * emacs-lisp/smie.el (smie-indent-forward-token)
5151 (smie-indent-backward-token): Handle string tokens (bug#14381).
5153 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5155 * ielm.el (ielm-menu): New menu.
5156 (inferior-emacs-lisp-mode): Set comment-start.
5158 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5160 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
5161 Fix deactivate action.
5163 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
5164 Add cleveref macros.
5166 * lisp/textmodes/reftex-parse.el
5167 (reftex-locate-bibliography-files): Accept options for
5168 bibliography commands.
5169 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
5170 Add addbibresource. Basic Biblatex support.
5172 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
5174 * net/tramp-gvfs.el (top):
5175 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
5176 when loading package. (Bug#14447)
5178 2013-05-23 Glenn Morris <rgm@gnu.org>
5180 * progmodes/js.el: No need to load comint when compiling.
5181 (ring-insert, comint-send-string, comint-send-input)
5182 (comint-last-input-end, ido-chop): Declare.
5184 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
5185 * vc/ediff-mult.el: Adjust requires.
5186 (ediff-directories-internal, ediff-directory-revisions-internal)
5187 (ediff-patch-file-internal): Declare.
5188 * vc/ediff-ptch.el: Adjust requires.
5189 (ediff-use-last-dir, ediff-buffers-internal): Declare.
5190 (ediff-find-file): Autoload.
5191 * vc/ediff-util.el: No need to load ediff when compiling.
5192 (ediff-regions-internal): Declare.
5193 * vc/ediff-wind.el: Adjust requires.
5194 (ediff-compute-toolbar-width): Define when compiling.
5195 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
5196 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
5197 (dired-get-filename, dired-get-marked-files)
5198 (ediff-last-dir-patch, ediff-patch-default-directory)
5199 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
5200 (ediff-patch-buffer-internal): Declare.
5202 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
5203 (ispell-process, ispell-buffer-local-words, lm-summary)
5204 (lm-section-start, lm-section-end): Declare.
5205 (checkdoc-ispell-init): Simplify.
5207 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
5208 (he-string-member, he-reset-string, he-substitute-string): Declare.
5210 * eshell/em-ls.el: Adjust requires.
5211 (eshell-glob-regexp): Declare.
5212 * eshell/em-tramp.el: Adjust requires.
5213 (eshell-parse-command): Autoload.
5214 * eshell/em-xtra.el: Adjust requires.
5215 (eshell-parse-command): Autoload.
5216 * eshell/esh-ext.el: Adjust requires.
5217 (eshell-parse-command, eshell-close-handles): Autoload.
5218 * eshell/esh-io.el: Adjust requires.
5219 (eshell-output-filter): Autoload.
5220 * eshell/esh-util.el: No need to load tramp when compiling.
5221 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
5223 (eshell-parse-ange-ls): Require ange-ftp and tramp.
5224 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5225 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
5226 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
5227 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
5228 * eshell/esh-opt.el, eshell/esh-proc.el:
5229 * eshell/esh-var.el: Adjust requires.
5230 * eshell/eshell.el: Do not require esh-util twice.
5231 (eshell-add-input-to-history): Declare.
5232 (eshell-command): Check history module is active before using it.
5234 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
5236 2013-05-22 Leo Liu <sdl.web@gmail.com>
5238 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
5240 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
5242 * autorevert.el (auto-revert-notify-add-watch)
5243 (auto-revert-notify-handler): Add `attrib' for the inotify case,
5244 it indicates changes in file modification time.
5246 2013-05-22 Glenn Morris <rgm@gnu.org>
5248 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5249 Always delete the autoloaded function from the noruntime and
5250 unresolved functions lists.
5252 * allout.el: No need to load epa, epg, overlay when compiling.
5253 (epg-context-set-passphrase-callback, epg-list-keys)
5254 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
5255 (epg-key-user-id-list): Declare.
5257 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5258 (viper-set-parsing-style-toggling-macro)
5259 (viper-set-emacs-state-searchstyle-macros):
5260 Use called-interactively-p on Emacs.
5261 (viper-looking-back): Make it an obsolete alias. Update callers.
5262 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
5263 Use looking-back rather than viper-looking-back.
5264 (viper-tmp-insert-at-eob, viper-enlarge-region)
5265 (viper-read-string-with-history, viper-register-to-point)
5266 (viper-append-to-register, viper-change-state-to-vi)
5267 (viper-backward-char-carefully, viper-forward-char-carefully)
5268 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
5269 (viper-change-state-to-emacs): Declare.
5270 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
5271 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
5272 * emulation/viper-mous.el: Do not load viper-cmd.
5273 (viper-backward-char-carefully, viper-forward-char-carefully)
5274 (viper-forward-word, viper-adjust-window): Declare.
5276 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
5278 * progmodes/idlw-help.el (idlwave-help-fontify):
5279 Use called-interactively-p.
5281 * term/w32console.el (w32-get-console-codepage)
5282 (w32-get-console-output-codepage): Declare.
5284 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
5285 Remove unnecessary declarations.
5286 (dframe-message): Doc fix.
5288 * info.el (dframe-select-attached-frame, dframe-current-frame):
5291 * speedbar.el (speedbar-message): Make it an obsolete alias.
5293 (speedbar-with-attached-buffer)
5294 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
5295 (speedbar-with-writable): Use backquote.
5296 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
5297 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5298 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
5299 rather than speedbar- aliases.
5300 * mail/rmail.el: Load dframe rather than speedbar when compiling.
5301 (speedbar-make-specialized-keymap, speedbar-insert-button)
5302 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
5303 (speedbar-do-function-pointer): Declare.
5304 (rmail-speedbar-button, rmail-speedbar-find-file)
5305 (rmail-speedbar-move-message):
5306 Use dframe-with-attached-buffer rather than speedbar- alias.
5307 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
5308 (dframe-message, speedbar-make-specialized-keymap)
5309 (speedbar-add-expansion-list, speedbar-mode-functions-list)
5310 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
5311 (speedbar-insert-button, dframe-select-attached-frame)
5312 (dframe-maybee-jump-to-attached-frame)
5313 (speedbar-change-initial-expansion-list)
5314 (speedbar-previously-used-expansion-list-name): Declare.
5315 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
5316 Use dframe-message, dframe-with-attached-buffer rather than
5318 (gud-sentinel): Silence compiler.
5319 * progmodes/vhdl-mode.el (speedbar-refresh)
5320 (speedbar-do-function-pointer, speedbar-add-supported-extension)
5321 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
5322 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
5323 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
5324 (speedbar-file-lists, speedbar-make-tag-line)
5325 (speedbar-line-directory, speedbar-goto-this-file)
5326 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
5327 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
5328 (speedbar-make-button, speedbar-reset-scanners)
5329 (speedbar-files-item-info, speedbar-line-text)
5330 (speedbar-find-file-in-frame, speedbar-set-timer)
5331 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
5332 (speedbar-with-writable): Do not (re)define it.
5333 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
5334 rather than speedbar- alias.
5336 2013-05-21 Leo Liu <sdl.web@gmail.com>
5338 * progmodes/octave.el (octave-mode-menu): Update and re-organize
5340 (octave-mode): Tweak fill-nobreak-predicate.
5341 (inferior-octave-startup): Check process to avoid infinite loop.
5342 (inferior-octave): Pop to buffer first to show abornmal process
5345 2013-05-21 Glenn Morris <rgm@gnu.org>
5347 * printing.el (pr-menu-bar): Define when compiling.
5349 2013-05-21 Leo Liu <sdl.web@gmail.com>
5351 * progmodes/octave.el (octave-auto-fill): Remove.
5352 (octave-indent-new-comment-line): Improve.
5353 (octave-mode): Use auto fill mode through
5354 comment-line-break-function and fill-nobreak-predicate.
5355 (octave-goto-function-definition): Support DEFUN_DLD.
5356 (octave-beginning-of-defun): Small tweak.
5357 (octave-help): Show parent directory.
5359 2013-05-21 Glenn Morris <rgm@gnu.org>
5361 * files.el (dired-unmark):
5362 * progmodes/gud.el (gdb-input): Update declarations.
5364 * calculator.el (electric, ehelp): No need to load when compiling.
5365 (Electric-command-loop, electric-describe-mode): Declare.
5367 * doc-view.el (doc-view-current-converter-processes): Move before use.
5369 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5370 Move MODE-set-explicitly definition before use.
5372 * international/mule-diag.el (mule-diag):
5373 Don't use obsolete window-system-version.
5375 * mail/feedmail.el (smtpmail): No need to load when compiling.
5376 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
5378 * mail/mail-utils.el (rfc822): No need to load when compiling.
5379 (rfc822-addresses): Autoload it.
5380 (mail-strip-quoted-names): Trivial simplification.
5382 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
5383 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
5385 * net/snmp-mode.el (tempo): Don't duplicate requires.
5387 * progmodes/prolog.el (info): No need to load when compiling.
5388 (comint): Require before shell requires it.
5389 (Info-goto-node): Autoload it.
5390 (Info-follow-nearest-node): Declare.
5391 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
5393 * textmodes/artist.el (picture-mode-exit): Declare.
5395 * textmodes/reftex-parse.el (reftex-parse-from-file):
5396 Trivial rewrite so the compiler can parse it better.
5398 2013-05-20 Leo Liu <sdl.web@gmail.com>
5400 * progmodes/octave.el (octave-help-mode-map)
5401 (octave-help-mode-finish-hook): New variables.
5402 (octave-help-mode, octave-help-mode-finish): New functions.
5403 (octave-help): Use octave-help-mode.
5405 2013-05-20 Glenn Morris <rgm@gnu.org>
5407 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
5409 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
5411 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
5412 start at point, so that expansion starting right after opening
5413 slash in a regexp is recognized.
5414 (ruby-syntax-before-regexp-re): New defvar, extracted from
5415 ruby-syntax-propertize-function. Since the value of this regexp
5416 is looked up at runtime now, we should be able to turn
5417 `ruby-syntax-methods-before-regexp' into a defcustom later.
5418 (ruby-syntax-propertize-function): Split regexp matching into two
5419 parts, for opening and closing slashes. That allows us to skip
5420 over string interpolations and support multiline regexps.
5421 Don't call `ruby-syntax-propertize-expansions', instead use another rule
5422 for them, which calls `ruby-syntax-propertize-expansion'.
5423 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
5424 call to `ruby-syntax-propertize-function'.
5425 (ruby-syntax-propertize-expansion): Extracted from
5426 `ruby-syntax-propertize-expansions'. Handles one expansion.
5427 (ruby-syntax-propertize-percent-literal): Leave point right after
5428 the percent symbol, so that the expression expansion rule can
5429 propertize the contents.
5430 (ruby-syntax-propertize-heredoc): Leave point at bol following the
5432 (ruby-syntax-propertize-expansions): Remove.
5434 2013-05-18 Juri Linkov <juri@jurta.org>
5436 * man.el (Man-default-man-entry): Remove `-' from the end
5437 of the default value. (Bug#14400)
5439 2013-05-18 Glenn Morris <rgm@gnu.org>
5441 * comint.el (comint-password-prompt-regexp):
5442 Allow "password for XXX" where XXX contains colons (eg https://...).
5444 2013-05-18 Leo Liu <sdl.web@gmail.com>
5446 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
5447 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5448 (octave-source-directories): Don't check process.
5449 (octave-source-directories, octave-find-definition): Doc fix.
5451 2013-05-18 Glenn Morris <rgm@gnu.org>
5453 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
5454 Remove backspace/delete bindings. (Bug#14392)
5456 * cus-dep.el (custom-make-dependencies): Sort the output.
5457 (custom-versions-load-alist): Convert comment to doc.
5459 2013-05-17 Leo Liu <sdl.web@gmail.com>
5461 * newcomment.el (comment-search-backward): Stricter in finding
5462 comment start. (Bug#14303)
5464 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
5465 (octave-comment-start-skip): Properly anchored.
5467 2013-05-17 Leo Liu <sdl.web@gmail.com>
5469 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
5470 Clean up when turned off. (Bug#14395)
5471 (smie--highlight-matching-block-overlay): No longer buffer-local.
5472 (smie-highlight-matching-block): Adjust.
5474 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
5476 Doc string fix for "nanoseconds" (Bug#14406).
5477 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
5478 Fix doc string typo that had "nanoseconds" instead of "microseconds".
5480 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5482 * calc/calc-units.el (math-extract-units): Preserve powers
5485 2013-05-17 Leo Liu <sdl.web@gmail.com>
5487 * subr.el (delete-consecutive-dups): New function.
5488 * ido.el (ido-set-matches-1): Use it.
5489 * progmodes/octave.el (inferior-octave-completion-table): Use it.
5490 * ido.el (ido-remove-consecutive-dups): Remove.
5492 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5494 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5495 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
5496 regexp-opt's `words'.
5498 2013-05-16 Leo Liu <sdl.web@gmail.com>
5500 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
5501 (smie--highlight-matching-block-overlay)
5502 (smie--highlight-matching-block-lastpos)
5503 (smie--highlight-matching-block-timer): New variables.
5504 (smie-highlight-matching-block): New function.
5505 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
5506 (smie-setup): Conditionally enable smie-blink-matching-open.
5508 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
5510 Sync with upstream verilog-mode r840.
5511 * progmodes/verilog-mode.el (verilog-mode-version)
5512 (verilog-mode-release-date): Update.
5513 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
5514 (verilog-sig-tieoff): Fix string error on
5515 AUTORESET with colon define, bug594. Reported by Andrew Hou.
5516 (verilog-read-decls): Fix parameters confusing
5517 AUTOINST interfaces, bug565. Reported by Leith Johnson.
5519 2013-05-16 Eli Zaretskii <eliz@gnu.org>
5521 * subr.el (reveal-filename): New function.
5523 * loadup.el: Compute Emacs executable versions on MS-Windows,
5524 where executables have the .exe extension. Add a hard link
5525 emacs-XX.YY.ZZ.exe on MS-Windows.
5527 * Makefile.in (XARGS_LIMIT): New variable.
5528 (custom-deps, finder-data, autoloads)
5529 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5530 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5531 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
5532 (compile-main): Limit xargs according to $(XARGS_LIMIT).
5534 2013-05-16 Leo Liu <sdl.web@gmail.com>
5536 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
5537 (octave-mode-menu, octave-mode-map): Remove its uses.
5539 2013-05-16 Reto Zimmermann <reto@gnu.org>
5541 Sync with upstream vhdl mode v3.34.2.
5542 * progmodes/vhdl-mode.el: Use `push' throughout.
5543 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
5544 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
5545 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
5546 (vhdl-actual-generic-name): New option to derive actual generic name.
5547 (vhdl-port-paste-signals): Replace formal by actual generics.
5548 (vhdl-beautify): New name for old group vhdl-align. Update users.
5549 (vhdl-beautify-options): New option.
5550 (vhdl-last-input-event): New compat alias. Use throughout.
5551 (vhdl-goto-line): Replace user level function `goto-line'.
5552 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
5553 vhdl-fix-statement-buffer.
5554 (vhdl-create-mode-menu): Add some entries.
5555 (vhdl-align-region-groups): Respect vhdl-beautify-options.
5556 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
5557 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
5558 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
5559 to force statements on one line.
5560 (vhdl-remove-trailing-spaces-region):
5561 New, split from vhdl-remove-trailing-spaces.
5562 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
5563 Respect vhdl-beautify-options.
5564 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
5565 (vhdl-update-sensitivity-list): Not add with index if exists without.
5566 Not include array index with signal. Ignore keywords in comments.
5567 (vhdl-get-visible-signals): Regexp tweaks.
5568 (vhdl-template-component-inst): Handle empty library.
5569 (vhdl-template-type): Add template for 'enum' type.
5570 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
5571 Use vhdl-replace-string.
5572 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
5573 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
5574 (vhdl-speedbar-initialize): Update for above name change.
5575 (vhdl-compose-wire-components): Fix in handling of constants.
5576 (vhdl-error-regexp-emacs-alist): New variable.
5577 (vhdl-error-regexp-add-emacs): New function;
5578 adds support for new compile.el (Emacs 22+)
5579 (vhdl-generate-makefile-1): Change target order for single lib. units.
5580 Allow use of absolute file names.
5582 2013-05-16 Leo Liu <sdl.web@gmail.com>
5584 * simple.el (prog-indent-sexp): Indent enclosing defun.
5586 2013-05-15 Glenn Morris <rgm@gnu.org>
5588 * cus-start.el (show-trailing-whitespace): Move to editing basics.
5589 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
5590 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
5591 (whitespace-highlight): Move to whitespace group.
5593 * comint.el (comint-source):
5594 * pcmpl-linux.el (pcmpl-linux):
5595 * shell.el (shell-faces):
5596 * eshell/esh-opt.el (eshell-opt):
5597 * international/ccl.el (ccl): Remove empty custom groups.
5599 * completion.el (dynamic-completion-mode):
5600 * jit-lock.el (jit-lock-debug-mode):
5601 * minibuffer.el (completion-in-region-mode):
5602 * type-break.el (type-break-mode-line-message-mode)
5603 (type-break-query-mode):
5604 * emulation/tpu-edt.el (tpu-edt-mode):
5605 * progmodes/subword.el (global-subword-mode, global-superword-mode):
5606 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5607 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
5609 * term/xterm.el (xterm): Change parent group to terminals.
5611 * master.el (master): Remove empty custom group.
5612 (master-mode): Remove unused :group argument.
5613 * textmodes/refill.el (refill): Remove empty custom group.
5614 (refill-mode): Remove unused :group argument.
5616 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
5618 * cus-dep.el: Provide a feature.
5619 (custom-make-dependencies): Ignore dotfiles (dir-locals).
5620 Don't mistakenly ignore files whose basenames match a basename
5621 from preloaded-file-list (eg cedet/ede/simple.el).
5622 Add a fallback method for getting :group.
5624 2013-05-15 Juri Linkov <juri@jurta.org>
5626 * isearch.el (isearch-char-by-name): Rename from
5627 `isearch-insert-char-by-name'. Doc fix.
5628 (isearch-forward): Mention `isearch-char-by-name' in
5629 the docstring. (Bug#13348)
5631 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
5632 `exit-minibuffer' instead of
5633 `isearch-nonincremental-exit-minibuffer'.
5634 (isearch-edit-string): Remove mention of
5635 `isearch-nonincremental-exit-minibuffer' from docstring.
5636 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
5637 (isearch-forward-exit-minibuffer)
5638 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
5640 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5642 * loadup.el: Just use unversioned DOC.
5644 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
5645 literals as extending to EOB.
5646 (nxml-last-fontify-end): Remove unused variable.
5647 (nxml-after-change1): Use with-silent-modifications.
5648 (nxml-extend-after-change-region): Simplify.
5649 (nxml-extend-after-change-region1): Remove function.
5650 (nxml-after-change1): Don't adjust for dependent regions.
5651 (nxml-fontify-matcher): Simplify.
5652 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
5653 (xmltok-add-dependent): Remove function.
5654 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
5655 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
5656 (xmltok-scan-prolog-after-processing-instruction-open): Treat
5657 unclosed <[[, <?, comment, and other literals as extending to EOB.
5658 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
5659 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
5661 (rng-do-some-validation-1): Don't mark dependent regions.
5662 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
5663 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
5664 (nxml-clear-dependent-regions): Remove functions.
5665 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
5666 (nxml-ensure-scan-up-to-date):
5667 Don't clear&mark dependent regions.
5669 2013-05-15 Leo Liu <sdl.web@gmail.com>
5671 * progmodes/octave.el (octave-goto-function-definition):
5672 Improve and fix callers.
5674 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5676 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
5677 the setter (bug#14387).
5679 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
5680 surrounding group (bug#14402).
5682 2013-05-14 Juri Linkov <juri@jurta.org>
5684 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
5687 2013-05-14 Glenn Morris <rgm@gnu.org>
5689 * progmodes/f90.el (f90-imenu-generic-expression):
5690 Fix typo in 2013-05-08 change. (Bug#14402)
5692 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5694 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
5695 Remove signals for which replies are never received.
5697 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5699 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
5700 (gdb-handler-alist, gdb-handler-number): Remove variables.
5701 (gdb-handler-list): New variable.
5702 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
5703 (gdb-pending-handler-p, gdb-handle-reply)
5704 (gdb-remove-all-pending-triggers): New functions.
5705 (gdb-discard-unordered-replies): New defcustom.
5706 (gdb-handler): New defstruct.
5707 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
5708 instead of gdb-pending-triggers. Update docstring.
5709 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
5710 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
5711 (gdb-var-update-handler, def-gdb-auto-update-trigger)
5712 (def-gdb-auto-update-handler, gdb-get-changed-registers)
5713 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
5714 (gdb-frame-handler): Pending triggers are now automatically managed.
5715 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
5717 (gdb-input): Automatically handles pending triggers. Update docstring.
5718 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
5719 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
5721 (gdb-done-or-error): Now use gdb-handle-reply.
5723 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5725 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
5728 2013-05-14 Glenn Morris <rgm@gnu.org>
5730 * subr.el (user-emacs-directory-warning): New option.
5731 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
5733 2013-05-14 Leo Liu <sdl.web@gmail.com>
5735 * progmodes/octave.el (octave-font-lock-keywords): Fix error
5737 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
5738 (octave-font-lock-texinfo-comment): Fix invalid search bound
5739 error: wrong side of point.
5741 2013-05-14 Glenn Morris <rgm@gnu.org>
5743 * progmodes/flymake.el (flymake-xml-program): New option.
5744 (flymake-xml-init): Use it.
5746 * term/xterm.el: Provide a feature.
5748 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
5750 2013-05-13 Glenn Morris <rgm@gnu.org>
5752 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
5753 Add compat aliases as a hack workaround. (Bug#14384)
5755 2013-05-13 Leo Liu <sdl.web@gmail.com>
5757 * progmodes/octave.el (octave-indent-comment): Fix indentation for
5759 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
5761 (octave-comment-start-skip): Include %!.
5762 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
5764 2013-05-12 Leo Liu <sdl.web@gmail.com>
5766 * progmodes/octave.el (inferior-octave-startup): Store the value
5767 of __octave_srcdir__ for octave-source-directories.
5768 (inferior-octave-check-process): New function refactored out of
5769 inferior-octave-send-list-and-digest.
5770 (octave-source-directories)
5771 (octave-find-definition-filename-function): New variables.
5772 (octave-source-directories)
5773 (octave-find-definition-default-filename): New functions.
5774 (octave-find-definition): Improve to find functions implemented in C++.
5776 2013-05-12 Glenn Morris <rgm@gnu.org>
5778 * calendar/diary-lib.el (diary-outlook-format-1):
5779 Don't include dayname in the output. (Bug#14349)
5781 2013-05-11 Glenn Morris <rgm@gnu.org>
5783 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
5785 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
5786 Treat cc-provide like provide.
5788 2013-05-11 Kevin Ryde <user42@zip.com.au>
5790 * cus-dep.el (custom-make-dependencies):
5791 Use generated-autoload-load-name for the sake of files such
5792 such cedet/semantic/bovine/c.el, where the base file name
5793 is not in load-path. (Bug#5277)
5795 2013-05-11 Glenn Morris <rgm@gnu.org>
5797 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
5800 2013-05-11 Leo Liu <sdl.web@gmail.com>
5802 * progmodes/octave.el (octave-indent-comment): Improve.
5803 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5804 (octave-eldoc-function-signatures, octave-eldoc-function):
5806 (octave-mode, inferior-octave-mode): Add eldoc support.
5808 2013-05-11 Richard Stallman <rms@gnu.org>
5810 * epa.el (epa-decrypt-file): Take output file name as argument
5811 and read it using `interactive'.
5813 2013-05-11 Leo Liu <sdl.web@gmail.com>
5815 * progmodes/octave.el (octave-beginning-of-line)
5816 (octave-end-of-line): Check before using up-list because it jumps
5817 out of more syntactic contructs since moving to smie.
5818 (octave-indent-comment): New function.
5819 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
5820 (octave-begin-keywords, octave-end-keywords)
5821 (octave-reserved-words, octave-smie-bnf-table)
5822 (octave-smie-rules): Add new keywords from Octave 3.6.4.
5824 2013-05-11 Glenn Morris <rgm@gnu.org>
5826 * faces.el (internal-face-x-get-resource):
5827 * frame.el (ns-display-monitor-attributes-list):
5828 * calc/calc-aent.el (math-to-radians-2):
5829 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
5832 * calc/calc-menu.el: Make it loadable in isolation.
5834 * net/eudcb-bbdb.el: Make it loadable without bbdb.
5835 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
5836 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
5837 (eudc-bbdb-query-internal): Require 'bbdb.
5839 * lpr.el (lpr-headers-switches):
5840 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
5842 * progmodes/sql.el (sql-login-params): Fix and improve :type.
5844 * emulation/edt-mapper.el: In batch mode, error rather than hang.
5846 * term.el (term-set-escape-char): Make it idempotent.
5848 2013-05-10 Leo Liu <sdl.web@gmail.com>
5850 * progmodes/octave.el (inferior-octave-completion-table):
5851 No longer a function and all uses changed. Use cache to speed up
5852 completion due to bug#11906.
5853 (octave-beginning-of-defun): Re-write to be more general.
5855 2013-05-10 Glenn Morris <rgm@gnu.org>
5857 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
5859 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5861 * comint.el (comint-redirect-send-command-to-process): Use :around
5862 rather than :override for comint-redirect-filter.
5863 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
5864 Call it instead of comint-redirect-original-filter-function (which
5865 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
5867 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
5869 * frame.el (display-monitor-attributes-list): Add NS case.
5870 (ns-display-monitor-attributes-list): Declare.
5872 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
5874 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
5876 2013-05-09 Glenn Morris <rgm@gnu.org>
5878 * international/fontset.el (vertical-centering-font-regexp):
5881 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
5883 * bookmark.el (bookmark-search-delay):
5884 * cus-start.el (vertical-centering-font-regexp):
5885 * ps-mule.el (ps-mule-font-info-database-default):
5886 * ps-print.el (ps-default-fg, ps-default-bg):
5887 * type-break.el (type-break-good-break-interval):
5888 * whitespace.el (whitespace-indentation-regexp)
5889 (whitespace-space-after-tab-regexp):
5890 * emacs-lisp/testcover.el (testcover-1value-functions)
5891 (testcover-noreturn-functions, testcover-progn-functions)
5892 (testcover-prog1-functions):
5893 * emulation/viper-init.el (viper-emacs-state-cursor-color):
5894 * eshell/em-glob.el (eshell-glob-translate-alist):
5895 * play/tetris.el (tetris-tty-colors):
5896 * progmodes/cpp.el (cpp-face-default-list):
5897 * progmodes/flymake.el (flymake-allowed-file-name-masks):
5898 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
5899 (idlwave-help-browser-generic-args):
5900 * progmodes/make-mode.el (makefile-special-targets-list):
5901 * progmodes/python.el (python-shell-virtualenv-path):
5902 * progmodes/verilog-mode.el (verilog-active-low-regexp)
5903 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
5904 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
5905 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
5906 * textmodes/reftex-vars.el (reftex-format-label-function):
5907 * textmodes/remember.el (remember-diary-file): Fix custom types.
5909 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
5912 2013-05-09 Leo Liu <sdl.web@gmail.com>
5914 * progmodes/octave.el (inferior-octave-completion-at-point):
5915 Restore file completion. (Bug#14300)
5916 (inferior-octave-startup): Fix incorrect highlighting for the
5919 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5921 * progmodes/ruby-mode.el: First cut at SMIE support.
5922 (ruby-use-smie): New var.
5923 (ruby-smie-grammar): New constant.
5924 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
5925 (ruby-smie--forward-token, ruby-smie--backward-token)
5926 (ruby-smie-rules): New functions.
5927 (ruby-mode-variables): Setup SMIE if applicable.
5929 2013-05-08 Eli Zaretskii <eliz@gnu.org>
5931 * simple.el (line-move-visual): Signal beginning/end of buffer
5932 only if vertical-motion moved less than it was requested. Avoids
5933 silly incorrect error messages when there are display strings with
5934 multiple newlines at EOL.
5936 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5938 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
5939 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
5940 (prolog-char-quote-workaround):
5941 * progmodes/cperl-mode.el (cperl-under-as-char):
5942 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
5944 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
5946 (vhdl-mode-syntax-table-init): Remove.
5948 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
5951 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
5953 (ld-script-font-lock-keywords):
5954 Change regexps to use things like \_< and \_>.
5956 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
5957 Change all regexps to use things like \_< and \_>.
5959 * progmodes/autoconf.el (autoconf-definition-regexp)
5960 (autoconf-font-lock-keywords, autoconf-current-defun-function):
5961 Handle a _ with symbol syntax.
5962 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
5964 * progmodes/ada-mode.el (ada-mode-abbrev-table):
5965 Consolidate declaration.
5966 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
5968 (ada-create-syntax-table): Remove.
5969 (ada-capitalize-word): Don't mess with the syntax of "_" since it
5970 already has the right syntax nowadays.
5971 (ada-goto-next-word): Don't change the syntax of "_".
5973 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
5976 2013-05-08 Sam Steingold <sds@gnu.org>
5978 * thingatpt.el (thing-at-point): Accept optional second argument
5979 NO-PROPERTIES to strip the text properties from the return value.
5980 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
5981 to `thing-at-point' instead of stripping the properties ourselves.
5982 Also, when `thing-at-point' fails to find a url, prepend "http://"
5983 to the filename at point on the assumption that the user is
5984 pointing at something like gnu.org/gnu.
5986 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
5988 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
5989 * faces.el (crm-separator):
5990 Silence byte-compiler.
5992 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
5993 (tool-bar-map): Remove unneeded defvars.
5995 2013-05-08 Leo Liu <sdl.web@gmail.com>
5997 Re-work a fix for bug#10994 based on Le Wang's patch.
5998 * ido.el (ido-remove-consecutive-dups): New helper.
5999 (ido-completing-read): Use it.
6000 (ido-chop): Revert fix for bug#10994.
6002 2013-05-08 Adam Spiers <emacs@adamspiers.org>
6004 * cus-edit.el (custom-save-variables):
6005 Pretty-print long values. (Bug#14187)
6007 2013-05-08 Glenn Morris <rgm@gnu.org>
6009 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6010 (m4-mode-syntax-table): Init in the defvar.
6011 (m4-mode-abbrev-table): Let define-derived-mode define it.
6013 2013-05-08 Tom Tromey <tromey@redhat.com>
6015 * progmodes/m4-mode.el (m4-mode-syntax-table):
6016 Do not treat "_" as word constituent. (Bug#14167)
6018 2013-05-07 Glenn Morris <rgm@gnu.org>
6020 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6021 Remove explicit eshell-isearch-cancel-map.
6023 * progmodes/f90.el (f90-smart-end-names): New option.
6024 (f90-smart-end): Doc fix.
6025 (f90-end-block-optional-name): New constant.
6026 (f90-block-match): Respect f90-smart-end-names.
6028 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6030 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6031 about implicit semi-colons (bug#14218).
6033 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6035 * frame.el (display-monitor-attributes-list)
6036 (frame-monitor-attributes): New functions.
6038 2013-05-06 Leo Liu <sdl.web@gmail.com>
6040 * progmodes/octave.el (octave-syntax-propertize-function): Change
6041 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6042 (octave-font-lock-keywords): Use octave-operator-regexp.
6043 (octave-completion-at-point): Rename from
6044 octave-completion-at-point-function.
6045 (inferior-octave-directory-tracker): Robustify.
6046 (octave-text-functions): Remove and fix its uses. No such things
6049 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6051 * emacs-lisp/trace.el (trace--display-buffer): New function.
6052 (trace-make-advice): Use it.
6054 2013-05-06 Juri Linkov <juri@jurta.org>
6056 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6057 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6059 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6060 in the help string. (Bug#12985)
6062 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6064 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
6066 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6068 * progmodes/perl-mode.el: Add support for here documents.
6069 (perl-syntax-propertize-function): Match here-doc markers.
6070 (perl-syntax-propertize-special-constructs): Find their end.
6071 (perl-imenu-generic-expression): Use [:alnum:].
6073 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6074 (advice--add-function): Refresh the advice if already present
6077 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
6079 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
6081 2013-05-06 Glenn Morris <rgm@gnu.org>
6083 * w32-fns.el (w32-charset-info-alist): Declare.
6085 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6086 of its defcustom properties.
6087 (eshell-cmpl-initialize): No need to load pcomplete.
6089 * generic-x.el: No need to require comint when compiling.
6091 * net/eudc-export.el: Make it loadable without bbdb.
6092 (top-level): Use require rather than load-library.
6093 (eudc-create-bbdb-record, eudc-bbdbify-phone)
6094 (eudc-batch-export-records-to-bbdb)
6095 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
6098 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6100 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
6101 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
6102 some tweaks, instead.
6104 2013-05-05 Leo Liu <sdl.web@gmail.com>
6106 * progmodes/octave.el (octave-font-lock-keywords)
6107 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
6108 (inferior-octave-send-list-and-digest): Improve error message.
6109 (octave-mode, inferior-octave-mode): Use setq-local.
6110 (octave-help): Set info-lookup-mode.
6112 2013-05-05 Richard Stallman <rms@gnu.org>
6114 * vc/compare-w.el (compare-windows-whitespace):
6115 Treat no-break space as whitespace.
6117 * mail/rmailsum.el (rmail-summary-rmail-update):
6118 Detect empty summary and don't change selected message.
6119 (rmail-summary-goto-msg): Likewise.
6121 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
6122 Doc fixes, rename args.
6124 2013-05-05 Alan Mackenzie <acm@muc.de>
6126 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
6128 2013-05-05 Juri Linkov <juri@jurta.org>
6130 * info.el (Info-read-subfile): Use (point-min) instead of (point)
6131 to not add the length of the summary segment to the return value.
6134 2013-05-05 Leo Liu <sdl.web@gmail.com>
6136 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
6137 (inferior-octave-output-filter): Remove.
6138 (octave-send-region, inferior-octave-startup): Fix callers.
6139 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
6140 (octave-binary-file-extensions): New user variable.
6141 (octave-find-definition): Confirm if opening binary files.
6142 (octave-help-file): Use octave-find-definition to get the binary
6144 (octave-help): Adjust for octave-help-file change.
6146 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6148 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
6149 Merge the two entries that handle function definitions.
6150 (pascal--syntax-propertize): New const.
6151 (pascal-mode): Use it. Use setq-local.
6153 2013-05-04 Glenn Morris <rgm@gnu.org>
6155 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
6156 (diary-from-outlook): Respect diary-from-outlook-function.
6158 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6160 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
6161 Move the declaration from C.
6162 (read-minibuffer, eval-minibuffer): Move from C.
6163 (completion-setup-function): Avoid minibuffer-completion-contents.
6165 2013-05-03 Leo Liu <sdl.web@gmail.com>
6167 * progmodes/octave.el (octave-font-lock-keywords): Do not
6168 dehighlight 'end' in comments or strings.
6169 (octave-completing-read, octave-goto-function-definition):
6171 (octave-help-buffer): New user variable.
6172 (octave-help-file, octave-help-function): New button types.
6173 (octave-help): New command and bind it to C-h ;.
6174 (octave-find-definition): New command and bind it to M-.
6175 (user-error): Alias to error if not defined.
6177 2013-05-02 Leo Liu <sdl.web@gmail.com>
6179 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
6181 (octave-font-lock-keywords): Include [ and {.
6183 2013-05-02 Leo Liu <sdl.web@gmail.com>
6185 * progmodes/octave.el (inferior-octave-startup-file): Change default.
6186 (inferior-octave): Remove calling comint-mode and return the buffer.
6187 (inferior-octave-startup): Cosmetic changes.
6189 2013-05-02 Leo Liu <sdl.web@gmail.com>
6191 * progmodes/octave.el (octave-syntax-propertize-function):
6192 Include the case when ' is at line beginning. (Bug#14336)
6194 2013-05-02 Glenn Morris <rgm@gnu.org>
6196 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
6197 * desktop.el (vc-dir-mode): Just autoload it here.
6199 2013-05-02 Alan Mackenzie <acm@muc.de>
6201 Eliminate variable c-standard-font-lock-fontify-region-function.
6202 * progmodes/cc-mode.el
6203 (c-standard-font-lock-fontify-region-function): Remove.
6204 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
6206 2013-05-01 Leo Liu <sdl.web@gmail.com>
6208 * progmodes/octave.el: Compatible with older emacs-24 releases.
6209 (inferior-octave-has-built-in-variables): Remove. Built-in
6210 variables were removed from Octave in 2007.
6211 (inferior-octave-startup): Fix uses.
6212 (comint-line-beginning-position): Remove compatibility code for
6215 2013-05-01 Juri Linkov <juri@jurta.org>
6217 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
6219 2013-05-01 Juri Linkov <juri@jurta.org>
6221 * comint.el (comint-previous-matching-input): Don't print message
6222 "History item: %d" when `isearch-mode' is active.
6223 (comint-history-isearch-message): Print message "History item: %d"
6224 when `comint-input-ring-index' is not empty and this function is
6225 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
6227 2013-05-01 Leo Liu <sdl.web@gmail.com>
6229 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
6230 definitions. Use completion-at-point to insert keywords.
6231 (octave-abbrev-start): Remove.
6232 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
6234 2013-04-30 Leo Liu <sdl.web@gmail.com>
6236 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
6239 2013-04-30 Alan Mackenzie <acm@muc.de>
6241 Handle arbitrarily long C++ member initialisation lists.
6242 * progmodes/cc-engine.el (c-back-over-member-initializers):
6244 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
6245 (most) member init lists.
6247 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6249 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
6252 2013-04-30 Leo Liu <sdl.web@gmail.com>
6254 * progmodes/octave.el (octave-variables): Remove. No builtin
6255 variables any more. All converted to functions.
6256 (octave-font-lock-keywords, octave-completion-at-point-function):
6258 (octave-font-lock-texinfo-comment): New user variable.
6259 (octave-texinfo-font-lock-keywords): New variable for texinfo
6261 (octave-function-comment-block): New face.
6262 (octave-font-lock-texinfo-comment): New function.
6263 (octave-mode): Font lock texinfo comment block.
6265 2013-04-29 Leo Liu <sdl.web@gmail.com>
6267 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
6268 indexing expression.
6269 (octave-continuation-string): Do not use \.
6270 (inferior-octave-complete-impossible): Remove.
6271 (inferior-octave-completion-table)
6272 (inferior-octave-completion-at-point): Remove its uses.
6273 (inferior-octave-startup): completion_matches was introduced to
6274 Octave in 1996 so safe to assume it.
6275 (octave-function-file-comment): Improve to follow how Octave does it.
6276 (octave-update-function-file-comment): Tweak.
6278 2013-04-29 Leo Liu <sdl.web@gmail.com>
6280 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
6281 (inferior-octave-startup): Remove inferior-octave-startup-hook.
6282 (octave-function-file-comment): Fix typo.
6283 (octave-sync-function-file-names): Use read-char-choice.
6285 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
6287 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
6288 to t for the less important warnings.
6290 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
6292 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
6294 2013-04-27 Glenn Morris <rgm@gnu.org>
6296 * vc/log-view.el (log-view-current-entry):
6297 Treat "---" separator lines as part of the following rev. (Bug#14169)
6299 2013-04-27 Juri Linkov <juri@jurta.org>
6301 * subr.el (read-number): Doc fix about using it by interactive
6302 code letter `n'. (Bug#14254)
6304 2013-04-27 Juri Linkov <juri@jurta.org>
6306 * desktop.el (desktop-auto-save-timeout): New option.
6307 (desktop-file-checksum): New variable.
6308 (desktop-save): Add optional arg `auto-save' and don't auto-save
6310 (desktop-auto-save-timer): New variable.
6311 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
6312 (after-init-hook): Call `desktop-auto-save-set-timer'.
6313 Suggested by Reuben Thomas <rrt@sc3d.org> in
6314 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
6316 2013-04-27 Leo Liu <sdl.web@gmail.com>
6318 * progmodes/octave.el (octave-function-file-p)
6319 (octave-skip-comment-forward, octave-function-file-comment)
6320 (octave-update-function-file-comment): New functions.
6321 (octave-mode-map): Bind C-c ; to
6322 octave-update-function-file-comment.
6323 (octave-mode-menu): Add octave-update-function-file-comment.
6324 (octave-mode, inferior-octave-mode): Fix doc-string.
6325 (octave-insert-defun): Conform to Octave's coding convention.
6328 * files.el (basic-save-buffer): Don't let errors in
6329 before-save-hook prevent saving buffer.
6331 2013-04-20 Roland Winkler <winkler@gnu.org>
6333 * faces.el (read-face-name): Use completing-read if arg multiple
6336 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
6338 * ls-lisp.el (ls-lisp-insert-directory): If no files are
6339 displayed, move point to after the totals line.
6340 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
6343 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6345 * emacs-lisp/package.el (package-autoload-ensure-default-file):
6346 Add current dir to the load-path.
6347 (package-generate-autoloads): Don't rely on
6348 autoload-ensure-default-file.
6350 2013-04-26 Reuben Thomas <rrt@sc3d.org>
6352 * textmodes/remember.el (remember-store-in-files): Document that
6353 the file name format is passed to `format-time-string'.
6355 2013-04-26 Leo Liu <sdl.web@gmail.com>
6357 * progmodes/octave.el (octave-sync-function-file-names): New function.
6358 (octave-mode): Use it in before-save-hook.
6360 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6362 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
6365 * progmodes/octave.el (octave-smie-forward-token): Properly skip
6366 \n and comment, even if it's not an implicit ; (bug#14218).
6368 2013-04-26 Glenn Morris <rgm@gnu.org>
6370 * subr.el (read-number): Once more use `read' rather than
6371 `string-to-number', to trap non-numeric input. (Bug#14254)
6373 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
6375 * emacs-lisp/syntax.el (syntax-propertize-multiline):
6376 Use `syntax-multiline' text property consistently instead of
6377 `font-lock-multiline'. (Bug#14237)
6379 2013-04-26 Glenn Morris <rgm@gnu.org>
6381 * emacs-lisp/shadow.el (list-load-path-shadows):
6382 No longer necessary to check for duplicate simple.el, since
6383 2012-07-07 change to init_lread to not include installation lisp
6384 directories in load-path when running uninstalled. (Bug#14270)
6386 2013-04-26 Leo Liu <sdl.web@gmail.com>
6388 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
6389 (octave-mode, inferior-octave-mode): Use setq-local.
6390 (octave-not-in-string-or-comment-p): Rename to
6391 octave-in-string-or-comment-p.
6392 (octave-in-comment-p, octave-in-string-p)
6393 (octave-in-string-or-comment-p): Replace defsubst with defun.
6395 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
6397 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
6399 2013-04-25 Bastien Guerry <bzg@gnu.org>
6401 * textmodes/remember.el (remember-data-directory)
6402 (remember-directory-file-name-format): Fix custom types.
6404 2013-04-25 Leo Liu <sdl.web@gmail.com>
6406 * progmodes/octave.el (octave-completion-at-point-function):
6407 Make use of inferior octave process.
6408 (octave-initialize-completions): Remove.
6409 (inferior-octave-completion-table): New function.
6410 (inferior-octave-completion-at-point): Use it.
6411 (octave-completion-alist): Remove.
6413 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6415 * progmodes/opascal.el: Use font-lock and syntax-propertize.
6416 (opascal-mode-syntax-table): New var.
6417 (opascal-literal-kind, opascal-is-literal-end)
6418 (opascal-literal-token-at): Rewrite.
6419 (opascal--literal-start-re, opascal-font-lock-keywords)
6420 (opascal--syntax-propertize): New constants.
6421 (opascal-font-lock-defaults): Adjust.
6422 (opascal-mode): Use them. Set comment-<foo> variables as well.
6423 (delphi-comment-face, opascal-comment-face, delphi-string-face)
6424 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
6425 (delphi-other-face, opascal-other-face): Remove face variables.
6426 (opascal-save-state): Remove macro.
6427 (opascal-fontifying-progress-step): Remove constant.
6428 (opascal--ignore-changes): Remove var.
6429 (opascal-set-token-property, opascal-parse-next-literal)
6430 (opascal-is-stable-literal, opascal-complete-literal)
6431 (opascal-is-literal-start, opascal-face-of)
6432 (opascal-parse-region, opascal-parse-region-until-stable)
6433 (opascal-fontify-region, opascal-after-change)
6434 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
6435 (opascal-debug-parse-region, opascal-debug-parse-window)
6436 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
6437 (opascal-debug-fontify-buffer): Remove.
6438 (opascal-debug-mode-map): Adjust accordingly.
6440 2013-04-25 Leo Liu <sdl.web@gmail.com>
6442 Merge octave-mod.el and octave-inf.el into octave.el with some
6444 * progmodes/octave.el: New file renamed from octave-mod.el.
6445 * progmodes/octave-inf.el: Merged into octave.el.
6446 * progmodes/octave-mod.el: Renamed to octave.el.
6448 2013-04-25 Tassilo Horn <tsdh@gnu.org>
6450 * textmodes/reftex-vars.el
6451 (reftex-label-ignored-macros-and-environments): New defcustom.
6453 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
6455 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6457 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
6458 (smie-indent-keyword): Improve the check to ensure that the next
6459 comment is really on the same line.
6460 (smie-indent-comment): Don't align with a subsequent closer (or eob).
6462 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
6463 semi-colons if the line is not otherwise empty (bug#14218).
6465 2013-04-25 Glenn Morris <rgm@gnu.org>
6467 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
6469 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6471 * progmodes/opascal.el (opascal-set-token-property): Rename from
6472 opascal-set-text-properties and only set `token' (bug#14134).
6473 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
6474 (opascal-literal-text-properties): Remove.
6475 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
6478 2013-04-24 Reuben Thomas <rrt@sc3d.org>
6480 * textmodes/remember.el (remember-handler-functions): Add an
6481 option for a new handler `remember-store-in-files'.
6482 (remember-data-directory, remember-directory-file-name-format):
6484 (remember-store-in-files): New function to store remember notes
6485 as separate files within a directory.
6487 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
6489 * progmodes/compile.el (compilation-next-error-function):
6490 Pass "formats" to compilation-find-file (bug#11777).
6492 2013-04-24 Glenn Morris <rgm@gnu.org>
6494 * vc/vc-bzr.el (vc-bzr-print-log):
6495 * vc/vc-hg.el (vc-hg-print-log):
6496 * vc/vc-svn.el (vc-svn-print-log):
6497 Fix START-REVISION with LIMIT != 1. (Bug#14168)
6499 * vc/vc-bzr.el (vc-bzr-print-log):
6500 * vc/vc-cvs.el (vc-cvs-print-log):
6501 * vc/vc-git.el (vc-git-print-log):
6502 * vc/vc-hg.el (vc-hg-print-log):
6503 * vc/vc-mtn.el (vc-mtn-print-log):
6504 * vc/vc-rcs.el (vc-rcs-print-log):
6505 * vc/vc-sccs.el (vc-sccs-print-log):
6506 * vc/vc-svn.el (vc-svn-print-log):
6507 * vc/vc.el (vc-print-log-internal): Doc fixes.
6509 2013-04-23 Glenn Morris <rgm@gnu.org>
6511 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
6512 Remove venerable code attempting to avoid substitute-command-keys.
6514 2013-04-23 Tassilo Horn <tsdh@gnu.org>
6516 * textmodes/reftex-vars.el (reftex-label-regexps):
6517 Call `reftex-compile-variables' after changes to this variable.
6519 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6521 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
6522 Use lexical-binding.
6523 (jit-lock-force-redisplay): Use markers, check buffer's continued
6524 existence and beware narrowed buffers.
6525 (jit-lock-fontify-now): Adjust call accordingly.
6527 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6529 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
6530 to avoid misleading the user.
6532 2013-04-22 Leo Liu <sdl.web@gmail.com>
6534 * info-look.el: Prefer latex2e.info. (Bug#14240)
6536 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
6538 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
6540 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
6541 * net/tramp.el (tramp-call-process): ... here.
6542 (tramp-set-completion-function, tramp-parse-putty):
6543 * net/tramp-adb.el (tramp-adb-execute-adb-command):
6544 * net/tramp-gvfs.el (tramp-gvfs-send-command):
6545 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6546 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
6547 (tramp-call-local-coding-command): Use `tramp-call-process'
6548 instead of `tramp-compat-call-process'.
6550 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
6551 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
6552 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
6553 (tramp-find-inline-compress): Improve traces.
6554 (tramp-maybe-send-script): Check for Perl binary.
6555 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
6557 2013-04-22 Daiki Ueno <ueno@gnu.org>
6559 * epg.el (epg-context-pinentry-mode): New function.
6560 (epg-context-set-pinentry-mode): New function.
6561 (epg--start): Pass --pinentry-mode option to gpg command.
6563 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
6565 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
6566 `comint-dynamic-complete' is obsolete since 24.1, replaced by
6567 `completion-at-point'. (Bug#13774)
6569 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
6570 default key binding for `describe-distribution' has been moved to
6571 `C-h C-o'. (Bug#13970)
6573 2013-04-21 Glenn Morris <rgm@gnu.org>
6575 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
6577 (vc-print-log): Clarify interactive prompt.
6579 2013-04-20 Glenn Morris <rgm@gnu.org>
6581 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6582 No longer include timestamp etc information.
6584 2013-04-20 Roland Winkler <winkler@gnu.org>
6586 * faces.el (read-face-name): Bug fix, return just one face if arg
6587 multiple is nil. (Bug#14209)
6589 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6591 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
6592 (remove-function): Autoload.
6594 * comint.el (comint-redirect-original-filter-function): Remove.
6595 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
6596 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
6597 (vc-cvs-annotate-command):
6598 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
6599 * progmodes/prolog.el (prolog-consult-compile):
6600 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
6601 Use add/remove-function instead.
6602 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
6603 (gud-tooltip-process-output, gud-tooltip-tips):
6604 Use add/remove-function instead.
6605 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
6606 (scheme-interaction-mode, exit-scheme-interaction-mode):
6607 Use add/remove-function instead.
6609 * vc/vc-dispatcher.el: Use lexical-binding.
6610 (vc--process-sentinel): Rename from vc-process-sentinel.
6611 Change last arg to be the code to run. Don't use vc-previous-sentinel
6612 and vc-sentinel-commands any more.
6613 (vc-exec-after): Allow code to be a function. Use add/remove-function.
6614 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
6616 2013-04-19 Masatake YAMATO <yamato@redhat.com>
6618 * progmodes/sh-script.el (sh-imenu-generic-expression):
6619 Handle function names with a single character. (Bug#14111)
6621 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
6623 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
6624 for subroutines defined in an eval (bug#14182).
6626 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6628 * bookmark.el (bookmark-completing-read): Improve handling of empty
6631 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6633 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
6635 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
6637 New faster Imenu implementation (bug#14058).
6638 * progmodes/python.el:
6639 (python-imenu-prev-index-position):
6640 (python-imenu-format-item-label-function)
6641 (python-imenu-format-parent-item-label-function)
6642 (python-imenu-format-parent-item-jump-label-function):
6644 (python-imenu-format-item-label)
6645 (python-imenu-format-parent-item-label)
6646 (python-imenu-format-parent-item-jump-label)
6647 (python-imenu--put-parent, python-imenu--build-tree)
6648 (python-imenu-create-index, python-imenu-create-flat-index)
6649 (python-util-popn): New functions.
6650 (python-mode): Set imenu-create-index-function to
6651 python-imenu-create-index.
6653 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6655 * winner.el (winner-active-region): Use region-active-p, activate-mark
6656 and deactivate-mark (bug#14225).
6658 * simple.el (deactivate-mark): Don't inline it.
6660 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
6662 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
6664 2013-04-18 Tassilo Horn <tsdh@gnu.org>
6666 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
6667 file extensions from the archive-mode entry in order to prefer
6668 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
6670 2013-04-18 Leo Liu <sdl.web@gmail.com>
6672 * bindings.el (help-event-list): Add ?\?.
6674 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6676 * subr.el (with-wrapper-hook): Declare obsolete.
6677 * simple.el (filter-buffer-substring-function): New hook.
6678 (filter-buffer-substring): Use it.
6679 (filter-buffer-substring-functions): Mark obsolete.
6680 * minibuffer.el (completion-in-region-function): New hook.
6681 (completion-in-region): Use it.
6682 (completion-in-region-functions): Mark obsolete.
6683 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
6684 * abbrev.el (abbrev-expand-function): New hook.
6685 (expand-abbrev): Use it.
6686 (abbrev-expand-functions): Mark obsolete.
6687 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
6690 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6692 * progmodes/python.el (python-nav--syntactically): Fix cornercases
6693 and do not care about match data.
6695 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6697 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
6698 completion tables when completing error conditions and
6699 `declare' arguments.
6700 (lisp-complete-symbol, field-complete): Mark as obsolete.
6701 (check-parens): Unmatched parens are user errors.
6702 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
6704 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
6706 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
6707 command changed buffer (ie. `flyspell-pre-buffer' is not current
6708 buffer), which prevents making decisions based on invalid value of
6709 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
6710 cause an error when `flyspell-pre-point' was nil after switching
6712 (flyspell-post-command-hook): No longer needs to change buffers when
6713 checking pre-word. While at it remove unnecessary progn.
6715 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
6717 * textmodes/ispell.el (ispell-add-per-file-word-list):
6718 Fix `flyspell-correct-word-before-point' error when accepting
6719 words and `coment-padding' is an integer by using
6720 `comment-normalize-vars' (Bug #14214).
6722 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6724 New defun movement commands.
6725 * progmodes/python.el (python-nav--syntactically)
6726 (python-nav--forward-defun, python-nav-backward-defun)
6727 (python-nav-forward-defun): New functions.
6729 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6731 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
6732 (python-syntax-context): Use named compiler-macro for backwards
6733 compatibility with Emacs 24.x.
6735 2013-04-17 Leo Liu <sdl.web@gmail.com>
6737 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
6738 octave-hide-process-buffer.
6740 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6742 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
6745 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
6747 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
6748 Fix adjustment of offset when receiving incomplete responses from GDB
6751 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6753 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
6754 python-mode-abbrev-table.
6755 (python-skeleton-define): Adjust accordingly.
6756 (python-mode-abbrev-table): New table that inherits from it so that
6757 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
6759 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
6760 (abbrev-symbol): Use it.
6761 (abbrev--before-point): Use it since we already handle inheritance.
6763 2013-04-16 Leo Liu <sdl.web@gmail.com>
6765 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
6766 binding to info-lookup-symbol.
6768 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
6770 * minibuffer.el (completion--twq-all):
6771 * term/ns-win.el (ns-initialize-window-system):
6772 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
6774 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6776 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
6779 * doc-view.el (doc-view-start-process): Handle url-handler directories.
6781 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
6783 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
6784 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
6786 (ruby-end-of-defun): Remove the unused arg, change the docstring
6787 to reflect that this function is only used as the value of
6788 `end-of-defun-function'.
6789 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
6790 to reflect an earlier change that beginning/end-of-defun functions
6791 jump between methods in a class definition, as well as top-level
6794 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6796 * minibuffer.el (minibuffer-complete): Don't just scroll
6797 a *Completions* that's been iconified.
6798 (minibuffer-force-complete): Make sure repetitions do cycle when going
6799 through completion-in-region -> minibuffer-complete.
6801 2013-04-15 Alan Mackenzie <acm@muc.de>
6803 Correct the placement of c-cpp-delimiters when there're #s not at
6806 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
6807 place a submatch around the #.
6808 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
6809 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
6812 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6814 * emacs-lisp/nadvice.el: Properly test names when adding advice.
6815 (advice--member-p): New arg `name'.
6816 (advice--add-function, advice-member-p): Use it (bug#14202).
6818 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
6820 Reformulate java imenu-generic-expression.
6821 The old expression contained ill formed regexps.
6823 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
6824 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
6825 (cc-imenu-java-method-arg-regexp): New defconsts.
6826 (cc-imenu-java-build-type-args-regex): New defun.
6827 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
6828 handling of spaces in the regexp.
6830 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6832 * textmodes/ispell.el (ispell-command-loop): Remove
6833 flyspell highlight of a word when ispell accepts it (bug #14178).
6835 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
6837 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
6838 uses code from the previous `ange-ftp-run-real-handler'.
6839 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
6840 only in case that function exist. This is needed for proper
6843 2013-04-15 Tassilo Horn <tsdh@gnu.org>
6845 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
6847 * textmodes/reftex.el (reftex-compile-variables): Use it.
6849 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6851 * files.el (normal-mode): Only use default major-mode if no other mode
6854 * emacs-lisp/trace.el (trace-values): New function.
6856 * files.el: Allow : in local variables (bug#14089).
6857 (hack-local-variable-regexp): New var.
6858 (hack-local-variables-prop-line, hack-local-variables): Use it.
6860 2013-04-13 Roland Winkler <winkler@gnu.org>
6862 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
6863 data before it gets modified by bibtex-beginning-of-entry.
6865 2013-04-13 Roland Winkler <winkler@gnu.org>
6867 * textmodes/bibtex.el (bibtex-url): Doc fix.
6869 2013-04-13 Roland Winkler <winkler@gnu.org>
6871 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
6872 does not visit a BibTeX file, exclude it from the list of buffers
6873 returned by bibtex-initialize.
6875 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
6877 * window.el (split-window): Remove interactive form, since as a
6878 command this function is a special case of split-window-below.
6881 2013-04-12 Roland Winkler <winkler@gnu.org>
6883 * faces.el (read-face-name): Do not override value of arg default.
6884 Allow single faces and strings as default values. Remove those
6885 elements from return value that are not faces.
6886 (describe-face): Simplify.
6887 (face-at-point): New optional args thing and multiple so that this
6888 function can provide the same functionality previously provided by
6890 (make-face-bold, make-face-unbold, make-face-italic)
6891 (make-face-unitalic, make-face-bold-italic, invert-face)
6892 (modify-face, read-face-and-attribute): Use face-at-point.
6894 * cus-edit.el (customize-face, customize-face-other-window)
6895 * cus-theme.el (custom-theme-add-face)
6896 * face-remap.el (buffer-face-set)
6897 * facemenu.el (facemenu-set-face): Use face-at-point.
6899 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
6901 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
6903 2013-04-10 Tassilo Horn <tsdh@gnu.org>
6905 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
6906 off leading { and trailing } from field values.
6908 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6910 * emacs-lisp/timer.el (timer--check): New function.
6911 (timer--time, timer-set-function, timer-event-handler): Use it.
6912 (timer-set-idle-time): Simplify.
6913 (timer--activate): CSE.
6914 (timer-event-handler): Give more info in error message.
6915 (internal-timer-start-idle): New function, moved from C.
6917 * mpc.el (mpc-proc): Add `restart' argument.
6918 (mpc-proc-cmd): Use it.
6919 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
6920 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
6923 2013-04-10 Masatake YAMATO <yamato@redhat.com>
6925 * progmodes/sh-script.el: Implement `sh-mode' own
6926 `add-log-current-defun-function' (bug#14112).
6927 (sh-current-defun-name): New function.
6928 (sh-mode): Use the function.
6930 2013-04-09 Bastien Guerry <bzg@gnu.org>
6932 * simple.el (choose-completion-string): Fix docstring (bug#14163).
6934 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
6936 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
6938 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
6941 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
6943 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
6946 2013-04-07 Leo Liu <sdl.web@gmail.com>
6948 * pcmpl-x.el: New file.
6950 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
6952 Do not set x-display-name until X connection is established.
6953 This is needed to prevent from weird situation described at
6954 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
6955 * frame.el (make-frame): Set x-display-name after call to
6956 window system initialization function, not before.
6957 * term/x-win.el (x-initialize-window-system): Add optional
6958 display argument and use it.
6959 * term/w32-win.el (w32-initialize-window-system):
6960 * term/ns-win.el (ns-initialize-window-system):
6961 * term/pc-win.el (msdos-initialize-window-system):
6962 Add compatible optional display argument.
6964 2013-04-06 Eli Zaretskii <eliz@gnu.org>
6966 * files.el (normal-backup-enable-predicate): On MS-Windows and
6967 MS-DOS compare truenames of temporary-file-directory and of the
6968 file, so that 8+3 aliases (usually found in $TEMP on Windows)
6969 don't fail comparison by compare-strings. Also, compare file
6970 names case-insensitively on MS-Windows and MS-DOS.
6972 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6974 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
6975 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
6977 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
6979 * whitespace.el (whitespace-color-on, whitespace-color-off):
6980 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
6982 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
6984 * ispell.el (ispell-set-spellchecker-params):
6985 Really set `ispell-args' for all equivs.
6987 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
6989 * ido.el (ido-completions): Use extra elements of ido-decorations
6991 (ido-decorations): Update docstring.
6993 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
6995 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6996 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
6997 nil during initialization, in order not to miss changes since the
6998 file was opened. (Bug#14140)
7000 2013-04-05 Leo Liu <sdl.web@gmail.com>
7002 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7004 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7006 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7008 2013-04-04 Glenn Morris <rgm@gnu.org>
7010 * electric.el (electric-pair-inhibit-predicate): Add :version.
7012 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7014 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7015 when a package is required several times (bug#14082).
7017 2013-04-04 Roland Winkler <winkler@gnu.org>
7019 * faces.el (read-face-name): Behave as promised by the docstring.
7020 Assume that arg default is a list of faces.
7021 (describe-face): Call read-face-name with list of default faces.
7023 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7025 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7026 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7027 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7029 (bookmark-exit-hook-internal): Save even if list is empty.
7031 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7033 * emacs-lisp/package.el (package-pinned-packages): New var.
7034 (package--add-to-archive-contents): Obey it (bug#14118).
7036 2013-04-03 Alan Mackenzie <acm@muc.de>
7038 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7039 Also adapt to the new values of element 7 of a parse state.
7041 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7042 parameter `not-in-delimiter'. Handle being inside comment opener.
7043 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7044 character in case we're typing a '*' after a '/'.
7045 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7046 instead by passing the parameter to c-state-pp-to-literal.
7048 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7049 for elt. 7 of a parse state.
7051 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7053 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7054 * international/latin1-disp.el, international/mule-util.el:
7055 * language/cyril-util.el, language/european.el, language/ind-util.el:
7056 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7057 * language/tibetan.el, language/viet-util.el:
7058 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7060 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7062 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7063 (electric-pair-post-self-insert-function): Use it.
7064 (electric-pair-default-inhibit): New function, extracted from
7065 electric-pair-post-self-insert-function.
7067 2013-03-31 Roland Winkler <winkler@gnu.org>
7069 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7071 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7073 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7075 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
7077 Un-indent after "pass" and "return" statements (Bug#13888)
7078 * progmodes/python.el (python-indent-block-enders): New var.
7079 (python-indent-calculate-indentation): Use it.
7081 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
7083 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7084 defun. Defining it as defalias could introduce too eager
7085 byte-compiler optimization. (Bug#14030)
7087 2013-03-30 Chong Yidong <cyd@gnu.org>
7089 * iswitchb.el (iswitchb-read-buffer): Fix typo.
7091 2013-03-30 Leo Liu <sdl.web@gmail.com>
7093 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
7094 (kmacro-execute-from-register): Pass the keyboard macro to
7095 kmacro-call-macro or repeating won't work correctly.
7097 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
7099 * progmodes/subword.el: Back to using `forward-symbol'.
7101 * subr.el (forward-whitespace, forward-symbol)
7102 (forward-same-syntax): Move from thingatpt.el.
7104 2013-03-29 Leo Liu <sdl.web@gmail.com>
7106 * kmacro.el (kmacro-to-register): New command.
7107 (kmacro-execute-from-register): New function.
7108 (kmacro-keymap): Bind to 'x'. (Bug#14071)
7110 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7112 * mpc.el: Use defvar-local and setq-local.
7113 (mpc--proc-connect): Connection failures are not bugs.
7114 (mpc-mode-map): `follow-link' only applies to the buffer's content.
7115 (mpc-volume-map): Bind to the up-events.
7117 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
7119 * progmodes/subword.el (superword-mode): Use `forward-sexp'
7120 instead of `forward-symbol'.
7122 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
7124 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
7125 (edebug--recursive-edit): Use it.
7126 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
7127 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
7129 2013-03-28 Leo Liu <sdl.web@gmail.com>
7131 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
7133 2013-03-27 Eli Zaretskii <eliz@gnu.org>
7135 * facemenu.el (list-colors-callback): New defvar.
7136 (list-colors-redisplay): New function.
7137 (list-colors-display): Install list-colors-redisplay as the
7138 revert-buffer-function. (Bug#14063)
7140 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7142 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
7143 and suffixes don't overlap (bug#14061).
7145 * case-table.el: Use lexical-binding.
7146 (case-table-get-table): New function.
7147 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
7149 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
7151 * progmodes/subword.el: Add `superword-mode' to do word motion
7152 over symbol_words (parallels and leverages `subword-mode' which
7153 does word motion inside MixedCaseWords).
7155 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
7157 * eshell/em-unix.el: Move su and sudo to...
7158 * eshell/em-tramp.el: ...Eshell tramp module.
7160 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7162 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
7163 Change return value to be a sexp. Delay `get-buffer' to after
7164 restoring the desktop (bug#13951).
7166 2013-03-26 Leo Liu <sdl.web@gmail.com>
7168 * register.el: Move semantic tag handling back to
7169 cedet/semantic/senator.el. (Bug#14052)
7171 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7173 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
7174 into the prompt either (bug#13963).
7176 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7178 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
7179 part of "(error-foo)".
7181 2013-03-24 Juri Linkov <juri@jurta.org>
7183 * replace.el (list-matching-lines-prefix-face): New defcustom.
7184 (occur-1): Pass `list-matching-lines-prefix-face' to the function
7185 `occur-engine' if `face-differs-from-default-p' returns t.
7186 (occur-engine): Add `,' inside backquote construct to evaluate
7187 `prefix-face'. Propertize the prefix with the `prefix-face' face.
7188 Pass `prefix-face' to the functions `occur-context-lines' and
7189 `occur-engine-add-prefix'.
7190 (occur-engine-add-prefix, occur-context-lines): Add optional arg
7191 `prefix-face' and propertize the prefix with `prefix-face'.
7194 2013-03-24 Leo Liu <sdl.web@gmail.com>
7196 * nxml/rng-valid.el (rng-validate-while-idle)
7197 (rng-validate-quick-while-idle): Guard against deleted buffer.
7200 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
7201 is the last entry in kill-buffer-hook.
7203 * files.el (kill-buffer-hook): Doc fix.
7205 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
7207 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
7210 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
7212 2013-03-23 Leo Liu <sdl.web@gmail.com>
7214 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
7217 * nxml/rng-valid.el (rng-validate-mode)
7218 (rng-after-change-function, rng-do-some-validation):
7219 * nxml/rng-maint.el (rng-validate-buffer):
7220 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
7221 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
7222 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
7223 (nxml-extend-after-change-region): Use with-silent-modifications.
7225 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
7228 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
7229 (rng-next-error-1, rng-previous-error-1): Do not let-bind
7230 timer-idle-list. (Bug#13999)
7232 2013-03-23 Juri Linkov <juri@jurta.org>
7234 * info.el (info-index-match): New face.
7235 (Info-index, Info-apropos-matches): Add a nested subgroup to the
7236 main pattern and add text properties with the new face to matches
7237 in index entries relative to the beginning of the index entry.
7240 2013-03-21 Eric Ludlam <zappo@gnu.org>
7242 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
7243 Inhibit read only while inserting objects.
7245 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
7247 * progmodes/cfengine.el: Update docs to mention
7248 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
7249 symbol motion. Remove "_" from the word syntax.
7251 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
7253 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
7254 syntax for both `cfengine2-mode' and `cfengine3-mode'.
7256 2013-03-20 Juri Linkov <juri@jurta.org>
7258 * info.el (Info-next-reference-or-link)
7259 (Info-prev-reference-or-link): New functions.
7260 (Info-next-reference, Info-prev-reference): Use them.
7261 (Info-try-follow-nearest-node): Handle footnote navigation.
7262 (Info-fontify-node): Fontify footnotes. (Bug#13989)
7264 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7266 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
7267 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
7269 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
7271 Suppress unnecessary non-ASCII chatter during build process.
7272 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
7273 (batch-skkdic-convert): Suppress most of the chatter.
7274 It's not needed so much now that machines are faster,
7275 and its non-ASCII component was confusing; see Dmitry Gutov in
7276 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
7278 2013-03-20 Leo Liu <sdl.web@gmail.com>
7280 * ido.el (ido-chop): Fix bug#10994.
7282 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7284 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
7286 (whitespace-color-on, whitespace-color-off):
7287 Use `font-lock-fontify-buffer' (Bug#13817).
7289 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7291 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
7292 remapping in mode-line.
7293 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
7295 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7297 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
7298 value for `whitespace-line' face (Bug#13875).
7299 (whitespace-font-lock-keywords): Change description.
7300 (whitespace-color-on): Don't save `font-lock-keywords' value, save
7301 the constructed keywords instead.
7302 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
7304 2013-03-19 Leo Liu <sdl.web@gmail.com>
7306 * progmodes/compile.el (compilation-display-error): New command.
7307 (compilation-mode-map, compilation-minor-mode-map): Bind it to
7310 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7312 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
7314 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
7316 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
7318 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
7320 * net/tramp-compat.el (tramp-compat-user-error): New defun.
7322 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7323 * net/tramp-gvfs.el (top):
7324 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
7325 (tramp-handle-shell-command): Use it.
7326 (tramp-dissect-file-name): Raise an error when hostname is a
7327 method name, and neither method nor user is specified.
7329 * net/trampver.el: Update release number.
7331 2013-03-18 Leo Liu <sdl.web@gmail.com>
7333 Make sure eldoc can be turned off properly.
7334 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
7336 (eldoc-display-message-p): Revert last change.
7337 (eldoc-display-message-no-interference-p)
7338 (eldoc-print-current-symbol-info): Tweak.
7340 2013-03-18 Tassilo Horn <tsdh@gnu.org>
7342 * doc-view.el (doc-view-new-window-function): Check the new window
7343 overlay's display property instead the char property of the
7344 buffer's first char. Use `with-selected-window' instead of
7345 `save-window-excursion' with `select-window'.
7346 (doc-view-document->bitmap): Check the current doc-view overlay's
7347 display property instead the char property of the buffer's first char.
7349 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7351 Automate the build of ja-dic.el (Bug#13984).
7352 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
7353 from the input, rather than assume that it's been done for us by the
7354 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
7355 the current date into a ja-dic.el comment, as that complicates
7358 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
7360 * whitespace.el: Fix double evaluation.
7361 (whitespace-space, whitespace-hspace, whitespace-tab)
7362 (whitespace-newline, whitespace-trailing, whitespace-line)
7363 (whitespace-space-before-tab, whitespace-indentation)
7364 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
7366 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
7367 (whitespace-color-on): Use a single font-lock-add-keywords call.
7368 Fix double-evaluation of face variables.
7370 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
7372 * net/tramp-adb.el (tramp-adb-parse-device-names):
7373 Use `start-process' instead of `call-process'. Otherwise, the
7374 function might be blocked under MS Windows. (Bug#13299)
7376 2013-03-17 Leo Liu <sdl.web@gmail.com>
7378 Extend eldoc to display info in the mode-line. (Bug#13978)
7379 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
7380 (eldoc-mode-line-string): New variable.
7381 (eldoc-minibuffer-message): New function.
7382 (eldoc-message-function): New variable.
7383 (eldoc-message): Use it.
7384 (eldoc-display-message-p)
7385 (eldoc-display-message-no-interference-p):
7386 Support eldoc-post-insert-mode.
7388 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
7389 (eval-expression): Run it.
7391 2013-03-17 Roland Winkler <winkler@gnu.org>
7393 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
7394 strings in the list of return values.
7396 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
7398 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
7399 radix before checking for HMS forms.
7401 2013-03-16 Leo Liu <sdl.web@gmail.com>
7403 * progmodes/scheme.el: Add indentation and font-locking for λ.
7406 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
7408 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
7409 token before point (bug#13942).
7411 2013-03-16 Leo Liu <sdl.web@gmail.com>
7413 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
7415 2013-03-16 Eli Zaretskii <eliz@gnu.org>
7417 * startup.el (command-line-normalize-file-name): Fix handling of
7418 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
7419 <xfq.free@gmail.com> in
7420 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
7422 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
7424 Sync with Tramp 2.2.7.
7426 * net/trampver.el: Update release number.
7428 2013-03-14 Tassilo Horn <tsdh@gnu.org>
7430 * doc-view.el Fix bug#13887.
7431 (doc-view-insert-image): Don't modify overlay associated to
7432 non-live windows, and implement horizontal centering of image in
7433 case it's smaller than the window.
7434 (doc-view-new-window-function): Force redisplay of new windows on
7437 2013-03-13 Karl Fogel <kfogel@red-bean.com>
7439 * saveplace.el (save-place-alist-to-file): Don't sort
7440 `save-place-alist', just pretty-print it (bug#13882).
7442 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
7444 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7445 Check whether `default-file-name-coding-system' is bound.
7448 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
7450 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
7451 backquotes for `obsolete' (bug#13929).
7453 * international/mule.el (find-auto-coding): Include file name in
7454 obsolescence warning (bug#13922).
7456 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
7458 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
7459 for CFEngine 3-specific indentation.
7460 (cfengine3-indent-line): Use it. Fix up category regex.
7461 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
7463 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7465 * type-break.el (type-break-file-name):
7466 * textmodes/remember.el (remember-data-file):
7467 * strokes.el (strokes-file):
7468 * shadowfile.el (shadow-initialize):
7469 * saveplace.el (save-place-file):
7470 * ps-bdf.el (bdf-cache-file):
7471 * progmodes/idlwave.el (idlwave-config-directory):
7472 * net/quickurl.el (quickurl-url-file):
7473 * international/kkc.el (kkc-init-file-name):
7474 * ido.el (ido-save-directory-list-file):
7475 * emulation/viper.el (viper-custom-file-name):
7476 * emulation/vip.el (vip-startup-file):
7477 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
7478 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
7480 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
7482 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
7483 * language/thai-word.el: Switch to UTF-8.
7485 See ChangeLog.16 for earlier changes.
7491 Copyright (C) 2011-2013 Free Software Foundation, Inc.
7493 This file is part of GNU Emacs.
7495 GNU Emacs is free software: you can redistribute it and/or modify
7496 it under the terms of the GNU General Public License as published by
7497 the Free Software Foundation, either version 3 of the License, or
7498 (at your option) any later version.
7500 GNU Emacs is distributed in the hope that it will be useful,
7501 but WITHOUT ANY WARRANTY; without even the implied warranty of
7502 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7503 GNU General Public License for more details.
7505 You should have received a copy of the GNU General Public License
7506 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.