1 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3 * ls-lisp.el: Use advice-add.
4 (original-insert-directory): Remove.
5 (ls-lisp--insert-directory): Rename from insert-directory; add
7 (insert-directory): Advise.
9 2013-09-13 Eli Zaretskii <eliz@gnu.org>
11 * term.el (term-emulate-terminal): Decode the command string
12 before passing it to term-command-hook. (Bug#15337)
14 2013-09-13 Glenn Morris <rgm@gnu.org>
16 * eshell/esh-util.el (ange-cache): Move declaration earlier.
18 * eshell/esh-ext.el (eshell-search-path): Declare.
20 * eshell/em-prompt.el (eshell/pwd): Autoload it.
21 Otherwise an error occurs if eshell-dirs module not loaded.
23 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
25 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
27 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
28 `tramp-check-proper-host'. Check for a valid method name.
30 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
31 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
32 * net/tramp-sh.el (tramp-maybe-open-connection):
33 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
35 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
38 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
40 * term/ns-win.el (parameters): Don't declare as dynamic.
41 (before-make-frame-hook): Don't add ineffective function.
43 * eshell/*.el: Use lexical-binding (bug#15231).
45 2013-09-12 Kenichi Handa <handa@gnu.org>
47 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
49 2013-09-12 Glenn Morris <rgm@gnu.org>
51 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
52 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
54 * subr.el (do-after-load-evaluation): Also give compiler warnings
55 when obsolete files are used (except by obsolete files).
57 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
58 in the status output, assume `filename' is the first. (Bug#15322)
60 * vc/vc.el (vc-deduce-fileset): Doc fix.
62 * calc/calc-help.el (Info-goto-node):
63 * progmodes/cperl-mode.el (Info-find-node):
64 * vc/ediff.el (Info-goto-node): Update declarations.
66 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
68 * vc/vc-bzr.el (vc-compilation-mode): Declare.
69 (vc-bzr-pull): Require vc-dispatcher.
70 * vc/vc-git.el (vc-compilation-mode): Declare.
71 (vc-git-pull): Require vc-dispatcher.
73 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
75 * progmodes/octave.el (help-button-action): Declare.
77 * shell.el (shell-directory-tracker): Output error as a message
78 rather than just returning it as a string.
79 (shell-process-pushd): Remove useless use of message.
81 * dframe.el (dframe-timer-fn):
82 * files.el (dir-locals-read-from-file):
83 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
85 * reveal.el (reveal-post-command):
86 * saveplace.el (load-save-place-alist-from-file):
87 * shell.el (shell-resync-dirs):
88 * w32-common-fns.el (x-get-selection-value):
89 * emacs-lisp/copyright.el (copyright-find-copyright):
90 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
91 * emulation/tpu-edt.el (tpu-copy-keyfile):
92 * play/bubbles.el (bubbles--mark-neighbourhood):
93 * progmodes/executable.el
94 (executable-make-buffer-file-executable-if-script-p):
95 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
97 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
99 Cleanup Eshell to rely less on dynamic scoping.
100 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
101 last-value, and ext-command here. Bind `args' closer to `body'.
102 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
103 (eshell--args): Declare new dynamic var.
104 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
105 last-value, and ext-command. Pass `args' to `body'.
106 (eshell-process-args): Bind eshell--args.
107 (eshell-set-option): Use eshell--args.
108 * eshell/eshell.el (eshell): Use derived-mode-p.
109 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
110 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
111 (eshell-glob-function): Declare.
112 * eshell/esh-util.el: Require cl-lib.
113 (eshell-read-hosts-file): Avoid add-to-list.
114 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
116 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
118 (eshell/diff): Remove unused var `err'.
119 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
121 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
122 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
124 * eshell/em-glob.el (eshell-glob-matches, message-shown):
125 Move declaration before first use.
126 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
127 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
130 2013-09-12 Glenn Morris <rgm@gnu.org>
132 * term/ns-win.el (global-map): Remove binding for ispell-next,
133 deleted 1999-05-29. (Bug#15357)
135 2013-09-11 Glenn Morris <rgm@gnu.org>
137 * echistory.el (electric-command-history): Remove call to deleted func.
139 * play/landmark.el (landmark-mode): Fix typos.
141 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
142 Check cvs-sort-ignore-file is bound.
144 * savehist.el: No need for cl when compiling on Emacs.
146 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
148 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
150 (eshell-self-insert-command, eshell-send-invisible):
151 Remove unused argument.
152 (eshell-handle-control-codes): Remove unused var `orig'.
153 Avoid delete-backward-char.
155 * files.el (set-auto-mode): Simplify a bit further.
157 2013-09-11 Glenn Morris <rgm@gnu.org>
159 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
160 (set-auto-mode): Don't regexp-quote elements.
161 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
162 * progmodes/cc-mode.el (interpreter-mode-alist):
163 * progmodes/ruby-mode.el (interpreter-mode-alist):
164 Revert previous change.
166 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
168 * play/snake.el (snake-mode):
169 * play/mpuz.el (mpuz-mode):
170 * play/landmark.el (lm-mode):
171 * play/blackbox.el (blackbox-mode):
172 * play/5x5.el (5x5-mode):
173 * obsolete/options.el (Edit-options-mode):
174 * net/quickurl.el (quickurl-list-mode):
175 * net/newst-treeview.el (newsticker-treeview-mode):
176 * mail/rmailsum.el (rmail-summary-mode):
177 * mail/mspools.el (mspools-mode):
178 * locate.el (locate-mode):
179 * ibuffer.el (ibuffer-mode):
180 * emulation/ws-mode.el (wordstar-mode):
181 * emacs-lisp/debug.el (debugger-mode):
182 * array.el (array-mode):
183 * net/eudc.el (eudc-mode): Use define-derived-mode.
184 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
185 Move initialization into declaration.
186 (mairix-searches-mode): Use define-derived-mode.
187 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
188 (eudc-edit-hotlist): Use dolist.
189 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
190 (Man-mode): Use define-derived-mode.
191 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
192 (Info-edit-mode): Use define-derived-mode.
193 (Info-cease-edit): Use Info-mode.
194 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
196 (eshell-mode): Use define-derived-mode.
197 * chistory.el (command-history-mode-map): Rename from
199 (command-history-mode): Use define-derived-mode.
200 (Command-history-setup): Remove function.
201 * calc/calc.el (calc-trail-mode-map): New var.
202 (calc-trail-mode): Use define-derived-mode.
203 (calc-trail-buffer): Set calc-main-buffer manually.
204 * bookmark.el (bookmark-insert-annotation): New function.
205 (bookmark-edit-annotation): Use it.
206 (bookmark-edit-annotation-mode): Make it a proper major mode.
207 (bookmark-send-edited-annotation): Use derived-mode-p.
208 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
209 closer to its ideal place. Use \' to match EOS.
211 * profiler.el (profiler-calltree-find): Use function-equal.
213 2013-09-10 Glenn Morris <rgm@gnu.org>
215 * files.el (interpreter-mode-alist): Convert to regexps.
216 (set-auto-mode): Adapt for this. (Bug#15306)
217 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
218 Comment out unused variable.
219 * progmodes/cc-mode.el (interpreter-mode-alist):
220 * progmodes/python.el (interpreter-mode-alist):
221 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
222 * progmodes/sh-script.el (sh-set-shell):
223 No longer use interpreter-mode-alist to get list of shells.
225 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
227 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
229 * simple.el: Use set-temporary-overlay-map for universal-argument.
230 (universal-argument-map): Don't use default-bindings (bug#15317).
231 Bind switch-frame explicitly. Replace universal-argument-minus with
232 a conditional binding.
233 (universal-argument-num-events, saved-overriding-map): Remove.
234 (restore-overriding-map): Remove.
235 (universal-argument--mode): Rename from save&set-overriding-map,
237 (universal-argument, universal-argument-more, negative-argument)
238 (digit-argument): Adjust accordingly.
239 (universal-argument-minus): Remove.
240 (universal-argument-other-key): Remove.
242 * subr.el (with-demoted-errors): Add `format' argument.
244 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
246 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
247 `tramp-cleanup-connection'.
249 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
250 parameters KEEP-DEBUG and KEEP-PASSWORD.
252 * net/tramp.el (tramp-file-name-handler):
253 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
254 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
255 (tramp-maybe-open-connection):
256 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
257 Use `tramp-cleanup-connection'.
259 * net/tramp-sh.el (tramp-maybe-open-connection):
260 Catch 'uname-changed inside the progress reporter.
262 2013-09-10 Glenn Morris <rgm@gnu.org>
264 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
266 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
267 returns "alternate access method" in mode (eg "-rw-r--r--.").
269 2013-09-08 Glenn Morris <rgm@gnu.org>
271 * saveplace.el (load-save-place-alist-from-file):
272 Demote errors. (Bug#15305)
274 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
276 Improve compatibility with older Emacsen, and XEmacs.
278 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
279 only if it is bound. It isn't for XEmacs.
280 (with-tramp-progress-reporter): Do not let-bind `result'.
281 This yields to scoping errors in XEmacs.
282 (tramp-handle-make-auto-save-file-name): New function, moved from
285 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
286 for `make-auto-save-file-name'.
287 (tramp-adb--gnu-switches-to-ash):
288 Use `tramp-compat-replace-regexp-in-string'.
290 * net/tramp-cache.el (tramp-cache-print): Call
291 `substring-no-properties' only if it is bound. It isn't for XEmacs.
293 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
294 bound. It isn't for XEmacs.
296 * net/tramp-compat.el (tramp-compat-copy-file):
297 Catch `wrong-number-of-arguments' error.
298 (tramp-compat-replace-regexp-in-string): New defun.
300 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
301 for `make-auto-save-file-name'.
302 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
304 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
305 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
306 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
308 * net/tramp-gw.el (tramp-gw-open-network-stream):
309 Use `tramp-compat-replace-regexp-in-string'.
311 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
312 Call `tramp-handle-make-auto-save-file-name'.
313 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
314 (tramp-sh-file-gvfs-monitor-dir-process-filter)
315 (tramp-sh-file-inotifywait-process-filter):
316 Use `tramp-compat-replace-regexp-in-string'.
317 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
319 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
320 for `make-auto-save-file-name'.
321 (tramp-smb-handle-copy-directory):
322 Call `tramp-compat-replace-regexp-in-string'.
323 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
324 (tramp-smb-handle-copy-file): Improve error message.
325 (tramp-smb-handle-rename-file): Rename directly only in case
326 `newname' does not exist yet. This is a restriction of smbclient.
327 (tramp-smb-maybe-open-connection): Rerun the function only when
328 `auth-sources' is non-nil.
330 2013-09-08 Kenichi Handa <handa@gnu.org>
332 * international/characters.el: Set category "^" (Combining) for
335 2013-09-07 Alan Mackenzie <acm@muc.de>
337 Correctly fontify Java class constructors.
338 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
340 (c-recognize-typeless-decls): Set the Java value to t.
341 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
342 While handling a "(", add a check for, effectively, Java, and handle a
343 "typeless" declaration there.
345 2013-09-07 Roland Winkler <winkler@gnu.org>
347 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
348 field subtitle for entry type book.
350 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
352 * minibuffer.el: Make minibuffer-complete call completion-in-region
353 rather than other way around.
354 (completion--some, completion-pcm--find-all-completions):
355 Don't delay signals when debugging.
356 (minibuffer-completion-contents): Beware fields within the
358 (completion-all-sorted-completions): Use defvar-local.
359 (completion--do-completion, completion--cache-all-sorted-completions)
360 (completion-all-sorted-completions, minibuffer-force-complete):
361 Add args `beg' and `end'.
362 (completion--in-region-1): New fun, extracted from minibuffer-complete.
363 (minibuffer-complete): Use completion-in-region.
364 (completion-complete-and-exit): New fun, extracted from
365 minibuffer-complete-and-exit.
366 (minibuffer-complete-and-exit): Use it.
367 (completion--complete-and-exit): Rename from
368 minibuffer--complete-and-exit.
369 (completion-in-region--single-word): New function, extracted from
370 minibuffer-complete-word.
371 (minibuffer-complete-word): Use it.
372 (display-completion-list): Make `common-substring' argument obsolete.
373 (completion--in-region): Call completion--in-region-1 instead of
375 (completion-help-at-point): Pass boundaries to
376 minibuffer-completion-help as args rather than via an overlay.
377 (completion-pcm--string->pattern): Use `any-delim'.
378 (completion-pcm--optimize-pattern): New function.
379 (completion-pcm--pattern->regex): Handle `any-delim'.
380 * icomplete.el (icomplete-forward-completions)
381 (icomplete-backward-completions, icomplete-completions):
382 Adjust calls to completion-all-sorted-completions and
383 completion--cache-all-sorted-completions.
384 (icomplete-with-completion-tables): Default to t.
385 * emacs-lisp/crm.el (crm--current-element): Rename from
386 crm--select-current-element. Don't put an overlay but return the
388 (crm--completion-command): Take two new args to bind to the boundaries.
389 (crm-completion-help): Adjust accordingly.
390 (crm-complete): Use completion-in-region.
391 (crm-complete-word): Use completion-in-region--single-word.
392 (crm-complete-and-exit): Use completion-complete-and-exit.
394 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
396 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
399 2013-09-06 Juri Linkov <juri@jurta.org>
401 * info.el (Info-display-images-node): When image file doesn't exist
402 display text version of the image if it's provided in the Info file.
403 Otherwise, display the location of missing image from SRC attribute.
404 Add help-echo text property from ALT attribute. (Bug#15279)
406 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
408 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
409 (edit-abbrevs-mode): Use define-derived-mode.
411 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
412 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
414 (epa-key-list-mode, epa-key-mode, epa-info-mode):
415 Use define-derived-mode.
417 * epg.el (epg-start-encrypt): Minor CSE simplification.
419 2013-09-06 William Xu <william.xwl@gmail.com>
421 * arc-mode.el: Add support for 7za (bug#15264).
422 (archive-7z-program): New var.
423 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
424 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
425 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
427 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
431 * net/tramp.el (tramp-syntax, tramp-prefix-format)
432 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
433 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
434 (tramp-postfix-host-format, tramp-file-name-regexp)
435 (tramp-completion-file-name-regexp)
436 (tramp-completion-dissect-file-name)
437 (tramp-handle-substitute-in-file-name): Remove 'url case.
438 (tramp-file-name-regexp-url)
439 (tramp-completion-file-name-regexp-url): Remove constants.
441 2013-09-06 Glenn Morris <rgm@gnu.org>
443 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
445 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
447 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
448 keywords" below "here-doc beginnings" (Bug#15270).
450 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
452 * subr.el (pop): Use `car-safe'.
453 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
454 to detect unused `pop' return value.
456 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
458 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
459 (python-fill-string): Remove unused var `marker'.
460 (python-skeleton-add-menu-items): Remove unused var `items'.
462 * international/mule-cmds.el: Require CL.
463 (find-coding-systems-for-charsets): Avoid add-to-list.
464 (sanitize-coding-system-list): New function, extracted from
465 select-safe-coding-system-interactively.
466 (select-safe-coding-system-interactively): Use it.
467 (read-input-method-name): Accept symbols for `default'.
469 * emacs-lisp/advice.el (defadvice): Add indent rule.
471 2013-09-05 Daniel Hackney <dan@haxney.org>
491 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
492 byte compiler. Remove some unused let-bound variables.
494 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
496 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
497 a "ref-cell", since it gets better optimized (bug#14883).
499 2013-09-05 Glenn Morris <rgm@gnu.org>
501 * progmodes/cc-awk.el (c-forward-sws): Declare.
503 2013-09-04 Glenn Morris <rgm@gnu.org>
505 * generic-x.el [rul-generic-mode]: Require cc-mode.
506 (c++-mode-syntax-table): Declare.
507 (rul-generic-mode-syntax-table): Init in the defvar.
509 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
511 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
512 (vc-do-command, vc-set-async-update):
513 * vc/vc-mtn.el (vc-mtn-dir-status):
514 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
515 (vc-hg-pull, vc-hg-merge-branch):
516 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
517 (vc-git-merge-branch):
518 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
519 (vc-cvs-dir-status-files):
520 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
521 (vc-bzr-dir-status-files):
522 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
523 * vc/vc-annotate.el: Use lexical-binding.
524 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
525 (vc-sentinel-movepoint): Declare.
526 (vc-annotate): Don't use `goto-line'.
527 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
528 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
529 (vc-sentinel-movepoint): Declare.
530 * vc/vc-svn.el: Use lexical-binding.
531 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
533 * vc/vc-rcs.el: Use lexical-binding.
535 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
536 `deleted'. Don't drop errors silently.
538 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
540 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
542 * vc/vc.el (vc-ignore): Rewrite.
543 (vc-default-ignore): New function.
544 (vc-default-ignore-completion-table): Use find-ignore-file.
546 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
547 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
548 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
549 Remove. Most code moved to vc.el.
551 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
553 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
554 * net/tramp-smb.el (tramp-smb-get-file-entries):
555 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
556 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
558 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
560 (eww-change-select): Remove unused var `properties'.
561 (eww-make-unique-file-name): Remove unused var `base'.
563 * finder.el (finder-compile-keywords): Don't mess with windows.
565 * calculator.el (calculator-funcall): Fix typo in last change.
567 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
569 * emacs-lisp/package.el (package-activate-1): Don't let a missing
570 <pkg>-autoloads.el file stop us.
572 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
573 warnings, and factor out common code.
575 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
577 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
578 two-character operators and whether the character preceding them
579 changes their meaning (Bug#15208).
581 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
583 Format code sent to Python shell for robustness.
584 * progmodes/python.el (python-shell-buffer-substring):
586 (python-shell-send-region, python-shell-send-buffer): Use it.
588 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
590 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
591 * net/tramp.el (tramp-user-error): ... here.
592 (tramp-find-method, tramp-check-proper-host)
593 (tramp-dissect-file-name, tramp-debug-message)
594 (tramp-handle-shell-command):
595 * net/tramp-adb.el (tramp-adb-handle-shell-command):
596 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
598 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
600 2013-09-02 Martin Rudalics <rudalics@gmx.at>
602 * avoid.el (mouse-avoidance-point-position)
603 (mouse-avoidance-too-close-p): Handle case where posn-at-point
606 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
608 * progmodes/python.el (python-shell-completion-get-completions):
609 Drop use of deleted `comint-last-prompt-overlay'.
610 (python-nav-if-name-main): New command.
612 2013-09-01 Glenn Morris <rgm@gnu.org>
614 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
615 Avoid leading space in $wins. Otherwise the sed command used by
616 eg compile-main ends up containing "/*.el". (Bug#15170)
618 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
620 2013-08-30 Glenn Morris <rgm@gnu.org>
622 * emacs-lisp/bytecomp.el (byte-recompile-directory):
623 Fix is-this-a-directory logic. (Bug#15220)
625 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
627 * textmodes/css-mode.el: Use SMIE.
628 (css-smie-grammar): New var.
629 (css-smie--forward-token, css-smie--backward-token)
630 (css-smie-rules): New functions.
631 (css-mode): Use them.
632 (css-navigation-syntax-table): Remove var.
633 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
634 (css-indent-calculate, css-indent-line): Remove functions.
636 Misc changes to reduce use of `(lambda...); and other cleanups.
637 * cus-edit.el: Use lexical-binding.
638 (customize-push-and-save, customize-apropos)
639 (custom-buffer-create-internal): Use closures.
640 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
641 * progmodes/ada-xref.el: Use setq.
642 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
643 * dframe.el: Use lexical-binding.
644 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
645 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
646 * descr-text.el: Use lexical-binding.
647 (describe-text-widget, describe-text-sexp, describe-property-list):
649 * comint.el (comint-history-isearch-push-state): Use a closure.
650 * calculator.el: Use lexical-binding.
651 (calculator-number-to-string): Make it work with lexical-binding.
652 (calculator-funcall): Same and use cl-letf.
654 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
655 (lisp--company-doc-string, lisp--company-location): New functions.
656 (lisp-completion-at-point): Use them to improve Company support.
658 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
659 params of lambda expressions.
660 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
661 (ruby-smie--opening-pipe-p): New function.
662 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
663 symbols and matched |...| for formal params.
664 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
665 from being treated as hanging. Handle "rescue".
667 2013-08-29 Glenn Morris <rgm@gnu.org>
669 * progmodes/cc-engine.el (c-pull-open-brace):
670 Move definition before use.
672 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
674 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
675 are immutable. Don't use `unsafe' any more.
676 (cl--defsubst-expand): Don't substitute at the same time as keeping
677 a residual unused let-binding. Don't use `unsafe' any more.
679 2013-08-29 Glenn Morris <rgm@gnu.org>
681 * calendar/cal-china.el (calendar-chinese-year-cache):
684 * nxml/nxml-util.el (nxml-debug-clear-inside):
685 Use cl-loop rather than loop.
687 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
689 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
691 2013-08-28 Glenn Morris <rgm@gnu.org>
693 * progmodes/antlr-mode.el: No need to require cc-mode twice.
695 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
697 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
699 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
701 * simple.el (repeat-complex-command--called-interactively-skip):
703 (repeat-complex-command): Use it (bug#14136).
705 * progmodes/cc-mode.el: Minor cleanup of var declarations.
706 (c-define-abbrev-table): Add `doc' argument.
707 (c-mode-abbrev-table, c++-mode-abbrev-table)
708 (objc-mode-abbrev-table, java-mode-abbrev-table)
709 (idl-mode-abbrev-table, pike-mode-abbrev-table)
710 (awk-mode-abbrev-table): Use it.
711 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
712 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
713 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
714 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
715 Move initialization into the declaration; and remove any
718 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
719 and dynamic let binding.
721 * vc/smerge-mode.el: Remove redundant :group args.
723 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
726 2013-08-28 Juri Linkov <juri@jurta.org>
728 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
729 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
730 (isearch-other-meta-char): Handle an undefined shifted printing
731 character by downshifting it. (Bug#15200)
733 2013-08-28 Juri Linkov <juri@jurta.org>
735 * isearch.el (isearch-search): Change regexp error message for
736 non-regexp searches. (Bug#15166)
738 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
740 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
741 for portability to hosts where /bin/sh has problems.
743 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
745 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
747 2013-08-27 Juri Linkov <juri@jurta.org>
749 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
750 in the keyboard macro. (Bug#15126)
752 2013-08-27 Juri Linkov <juri@jurta.org>
754 * isearch.el (isearch-quote-char): Comment out converting unibyte
755 to multibyte, thus syncing with its `quoted-insert' counterpart.
758 2013-08-27 Martin Rudalics <rudalics@gmx.at>
760 * window.el (display-buffer-use-some-window): Add missing
761 argument in call of get-largest-window (Bug#15185).
762 Reported by Stephen Leake.
764 2013-08-27 Glenn Morris <rgm@gnu.org>
766 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
768 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
770 * progmodes/python.el (python-font-lock-keywords): Don't return nil
771 from a matcher-function unless there's no more matches (bug#15161).
773 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
775 * minibuffer.el: Revert change from 2013-08-20.
777 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
778 with text property `tramp-default', if appropriate.
779 (tramp-check-proper-host): New defun.
780 (tramp-dissect-file-name): Do not check hostname. Revert change
782 (tramp-backtrace): Make VEC-OR-PROC optional.
784 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
785 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
786 * net/tramp-sh.el (tramp-maybe-open-connection):
787 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
788 Apply `tramp-check-proper-host'.
790 2013-08-26 Tassilo Horn <tsdh@gnu.org>
792 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
793 lambda expression in order to have `describe-variable' display it.
795 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
797 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
798 BUF can be optional. (Bug#15186)
800 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
802 * progmodes/flymake.el (flymake-get-real-file-name-function):
803 Fix broken customization. (Bug#15184)
805 2013-08-25 Alan Mackenzie <acm@muc.de>
807 Improve indentation of bracelists defined by macros (without "=").
809 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
810 expansion begins with "{", regard it as bracelist when it doesn't
813 Parse C++ inher-intro when there's a template split over 2 lines.
815 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
816 rigorously the search for "class" etc. followed by ":".
818 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
819 random languages a regexp which never matches rather than nil.
821 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
823 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
824 (c-awk-regexp-one-line-possibly-open-char-list-re)
825 (c-awk-one-line-possibly-open-regexp-re)
826 (c-awk-one-line-non-syn-ws*-re): Remove.
827 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
828 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
829 (c-awk-space*-unclosed-regexp-/-re): New constants.
830 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
831 aren't regexp delimiters.
833 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
834 handling for a rare situation in AWK Mode involving unterminated
837 2013-08-23 Glenn Morris <rgm@gnu.org>
839 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
841 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
843 * files.el (create-file-buffer): If the result would begin with
844 spaces, prepend a "|" instead of removing them. (Bug#15162)
846 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
848 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
849 text-properties (bug#15155).
851 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
853 (calc-keypad-redraw): Remove unused var `pad'.
854 (calc-keypad-press): Remove unused var `menu'.
856 2013-08-23 Martin Rudalics <rudalics@gmx.at>
858 * window.el (display-buffer-pop-up-frame):
859 Call pop-up-frame-function with BUFFER current so `make-frame' will
860 use it as the new frame's buffer (Bug#15133).
862 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
864 * calendar/timeclock.el: Minor cleanups.
865 (timeclock-ask-before-exiting, timeclock-use-display-time):
867 (timeclock-modeline-display): Define as alias before the
869 (timeclock-mode-line-display): Use define-minor-mode.
870 (timeclock-day-list-template): Make it a function, add an argument.
871 (timeclock-day-list-required, timeclock-day-list-length)
872 (timeclock-day-list-debt, timeclock-day-list-span)
873 (timeclock-day-list-break): Adjust calls accordingly.
875 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
877 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
878 Use read--expression so that completion works again.
880 2013-08-21 Sam Steingold <sds@gnu.org>
882 Add rudimentary inferior shell interaction
883 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
884 (sh-set-shell): Reset it.
885 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
886 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
888 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
890 * align.el: Use lexical-binding.
891 (align-region): Simplify accordingly.
893 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
895 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
897 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
900 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
908 * net/tramp-sh.el: Don't wrap external variable declarations by
911 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
913 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
914 now that Emacs supports ImageMagick animations.
916 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
918 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
919 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
921 2013-08-16 Martin Rudalics <rudalics@gmx.at>
923 * window.el (mouse-autoselect-window-select): Do autoselect when
924 mouse pointer is on margin.
926 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
928 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
930 2013-08-16 Glenn Morris <rgm@gnu.org>
932 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
933 Handle "Remote Directory" response of some clients. (Bug#15058)
935 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
936 Tweak warning. (Bug#14926)
938 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
939 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
941 * image-mode.el (image-mode-map): Add menu items to reverse,
942 increase, decrease, reset animation speed.
943 (image--set-speed, image-increase-speed, image-decrease-speed)
944 (image-reverse-speed, image-reset-speed): New functions.
945 (image-mode-map): Add bindings for speed commands.
947 * image.el (image-animate-get-speed, image-animate-set-speed):
949 (image-animate-timeout): Respect image :speed property.
951 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
953 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
954 previous line (bug#15101).
955 (debugger-eval-expression, debugger-record-expression):
956 Use read--expression (bug#15102).
958 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
960 Remove byte compiler warnings, visible when compiling with
961 `byte-compile-force-lexical-warnings' set to t.
963 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
964 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
965 (tramp-handle-unhandled-file-name-directory)
966 (tramp-handle-file-notify-add-watch, tramp-action-login)
967 (tramp-action-succeed, tramp-action-permission-denied)
968 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
971 * net/tramp-adb.el (tramp-adb-parse-device-names)
972 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
973 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
974 (tramp-adb-handle-file-truename): Remove unused arguments.
976 * net/tramp-cache.el (tramp-flush-directory-property)
977 (tramp-flush-connection-property, tramp-list-connections)
978 (tramp-parse-connection-properties): Prefix unused arguments with "_".
980 * net/tramp-compat.el (tramp-compat-make-temp-file):
981 Rename FILENAME to F.
983 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
984 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
985 (tramp-zeroconf-parse-workstation-device-names)
986 (tramp-zeroconf-parse-webdav-device-names)
987 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
989 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
990 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
992 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
994 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
995 (tramp-sh-handle-insert-file-contents-literally)
996 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
998 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
999 Remove unused variables.
1001 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1002 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1003 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1005 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1006 Make them a defconst.
1007 (tramp-uuencode-region): Remove unused variable.
1009 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
1011 * frameset.el (frameset--prop-setter): New function.
1012 (frameset-prop): Add gv-setter declaration.
1013 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1014 parameter was already set in FILTERED. Doc fix.
1015 (frameset--record-minibuffer-relationships): Allow saving a
1016 minibufferless frame without its corresponding minibuffer frame.
1017 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1018 frame, if the frame id matches.
1019 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1020 frames before orphaned ones.
1021 (frameset-restore): Warn about orphaned windows, instead of error out.
1023 2013-08-14 Martin Rudalics <rudalics@gmx.at>
1025 * window.el (window-make-atom): Don't overwrite parameter
1027 (display-buffer-in-atom-window): Handle special case where we
1028 split an already atomic window.
1029 (window--major-non-side-window, display-buffer-in-side-window)
1030 (window--side-check): Ignore minibuffer window when walking
1032 (window-deletable-p): Return 'frame only if no other frame uses
1033 our minibuffer window.
1034 (record-window-buffer): Run buffer-list-update-hook.
1035 (split-window): Make sure window--check-frame won't destroy an
1036 existing atomic window in case the new window gets nested
1038 (display-buffer-at-bottom): Ignore minibuffer window when
1039 walking window tree. Don't split a side window.
1040 (pop-to-buffer): Don't set-buffer here, the select-window call
1042 (mouse-autoselect-window-select): Autoselect only if we are in the
1043 text portion of the window.
1045 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1047 * net/shr.el (shr-parse-image-data): New function to grab both the
1048 data itself and the Content-Type.
1049 (shr-put-image): Use it.
1051 * net/eww.el (eww-display-image): Ditto.
1053 * image.el (image-content-type-suffixes): New variable.
1055 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1057 * progmodes/python.el (python-imenu--build-tree)
1058 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1060 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
1062 * simple.el (backward-word): Mention the optional argument.
1064 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1066 * frameset.el (frameset--make): Rename constructor from make-frameset.
1067 (frameset-p, frameset-valid-p): Don't autoload.
1068 (frameset-valid-p): Use normal accessors.
1070 2013-08-13 Glenn Morris <rgm@gnu.org>
1072 * progmodes/compile.el (compile-command): Tweak example in doc.
1073 * obsolete/scribe.el (scribe-mode):
1074 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1076 * mail/feedmail.el (feedmail-confirm-outgoing)
1077 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1079 * cus-start.el (truncate-partial-width-windows): Fix type.
1081 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1083 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1085 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1087 * emacs-lisp/timer.el (timer--time-setter): New function.
1088 (timer--time): Use it as gv-setter.
1090 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1091 setter is not a symbol.
1093 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
1095 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1096 if sending fails. This makes debugging easier.
1098 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
1100 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1101 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1102 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1104 2013-08-12 Eli Zaretskii <eliz@gnu.org>
1106 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1108 2013-08-12 Glenn Morris <rgm@gnu.org>
1110 * format.el (format-annotate-function):
1111 Handle read-only text properties in the source. (Bug#14887)
1113 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1115 * net/eww.el (eww-display-html): Ignore coding system errors.
1116 One web site uses "utf-8lias" as the coding system.
1118 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
1120 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1122 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
1124 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1125 (tutorial--detailed-help): Remove unused local variables.
1126 (tutorial--save-tutorial-to): Use ignore-errors.
1127 (help-with-tutorial): Use looking-at-p.
1129 * view.el (view-buffer-other-window, view-buffer-other-frame):
1130 Mark unused arguments.
1132 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1133 (woman-select-symbol-fonts, woman, woman-find-file)
1134 (woman-insert-file-contents, woman-non-underline-faces):
1136 (woman1-unquote): Move declaration.
1138 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1139 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
1140 argument. Remove unused local variable.
1141 (xml-parse-elem-type): Use string-match-p.
1142 (xml-substitute-numeric-entities): Use ignore-errors.
1144 * calculator.el (calculator): Mark unused argument.
1145 (calculator-paste, calculator-quit, calculator-integer-p):
1147 (calculator-string-to-number, calculator-decimal, calculator-exp)
1148 (calculator-op-or-exp): Use string-match-p.
1150 * dired.el (dired-buffer-more-recently-used-p): Declare.
1151 (dired-insert-set-properties, dired-insert-old-subdirs):
1154 * dired-aux.el (dired-compress): Use ignore-errors.
1155 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1156 (dired-do-async-shell-command, dired-do-shell-command)
1157 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1158 (dired-insert-subdir-validate): Use string-match-p.
1159 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1160 (dired-add-entry): Use string-match-p, looking-at-p.
1161 (dired-insert-subdir-newpos): Remove unused local variable.
1163 * filenotify.el (file-notify-callback): Remove unused local variable.
1165 * filesets.el (filesets-error): Mark unused argument.
1166 (filesets-which-command-p, filesets-filter-dir-names)
1167 (filesets-directory-files, filesets-get-external-viewer)
1168 (filesets-ingroup-get-data): Use string-match-p.
1170 * find-file.el (ff-other-file-name, ff-other-file-name)
1171 (ff-find-the-other-file, ff-cc-hh-converter):
1172 Remove unused local variables.
1173 (ff-get-file-name): Use string-match-p.
1174 (ff-all-dirs-under): Use ignore-errors.
1176 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
1177 (follow-select-if-visible): Remove unused local variable.
1179 * forms.el (read-file-filter): Move declaration.
1180 (forms--make-format, forms--make-parser, forms-insert-record):
1181 Quote function with #'.
1182 (forms--update): Use string-match-p. Quote function with #'.
1184 * help-mode.el (help-dir-local-var-def): Mark unused argument.
1185 (help-make-xrefs): Use looking-at-p.
1186 (help-xref-on-pp): Use looking-at-p, ignore-errors.
1188 * ibuffer.el (ibuffer-ext-visible-p): Declare.
1189 (ibuffer-confirm-operation-on): Use string-match-p.
1191 * msb.el (msb-item-handler, msb-dired-item-handler):
1192 Mark unused arguments.
1194 * ses.el (ses-decode-cell-symbol)
1195 (ses-kill-override): Remove unused local variable.
1196 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
1197 (ses-load): Use ignore-errors, looking-at-p.
1198 (ses-jump-safe): Use ignore-errors.
1199 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
1201 * tabify.el (untabify, tabify): Mark unused arguments.
1203 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
1204 Mark unused argument.
1205 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
1206 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
1208 * emacs-lisp/timer.el (timer--time): Define setter with
1209 gv-define-setter to avoid deprecation warning.
1211 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
1212 (*record-cmpl-statistics-p*): Remove (was commented out).
1213 (cmpl-statistics-block): Remove (body was commented out).
1214 All callers changed.
1215 (add-completions-from-buffer, load-completions-from-file):
1216 Remove unused variables.
1218 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
1220 * filecache.el (file-cache-delete-file-list):
1221 Print message only when told so.
1222 (file-cache-files-matching): Use #' in mapconcat argument.
1224 * ffap.el (ffap-url-at-point): Fix reference to variable
1225 thing-at-point-default-mail-uri-scheme.
1227 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1229 * subr.el (define-error): New function.
1230 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
1231 error-file-not-found and define with define-error.
1232 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
1233 and define with define-error.
1234 * userlock.el (file-locked, file-supersession):
1235 * simple.el (mark-inactive):
1236 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
1237 * progmodes/ada-mode.el (ada-mode-errors):
1238 * play/life.el (life-extinct):
1239 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
1240 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
1241 * nxml/rng-util.el (rng-error):
1242 * nxml/rng-uri.el (rng-uri-error):
1243 * nxml/rng-match.el (rng-compile-error):
1244 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
1245 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
1246 * nxml/nxml-rap.el (nxml-scan-error):
1247 * nxml/nxml-outln.el (nxml-outline-error):
1248 * net/soap-client.el (soap-error):
1249 * net/gnutls.el (gnutls-error):
1250 * net/ange-ftp.el (ftp-error):
1251 * mpc.el (mpc-proc-error):
1252 * json.el (json-error, json-readtable-error, json-unknown-keyword)
1253 (json-number-format, json-string-escape, json-string-format)
1254 (json-key-format, json-object-format):
1255 * jka-compr.el (compression-error):
1256 * international/quail.el (quail-error):
1257 * international/kkc.el (kkc-error):
1258 * emacs-lisp/ert.el (ert-test-failed):
1259 * calc/calc.el (calc-error, inexact-result, math-overflow)
1261 * bookmark.el (bookmark-error-no-filename):
1262 * epg.el (epg-error): Define with define-error.
1264 * time.el (display-time-event-handler)
1265 (display-time-next-load-average): Don't call sit-for since it seems
1266 unnecessary (bug#15045).
1268 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
1269 Use #' instead of ' to quote functions.
1270 (checkdoc-output-mode): Use setq-local.
1271 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
1272 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
1273 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
1274 (checkdoc-ispell, checkdoc-ispell-current-buffer)
1275 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
1276 (checkdoc-ispell-message-text, checkdoc-ispell-start)
1277 (checkdoc-ispell-continue, checkdoc-ispell-comments)
1278 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
1280 * ido.el (ido-completion-help): Fix up compiler warning.
1282 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
1284 * frameset.el (frameset-p): Add autoload cookie.
1285 (frameset--jump-to-register): New function, based on code moved from
1287 (frameset-to-register): Move from register.el. Adapt to `registerv'.
1289 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
1290 (frameset-restore, frameset-save, frameset-session-filter-alist):
1291 Remove declarations.
1292 (register-alist): Doc fix.
1293 (frameset-to-register): Move to frameset.el.
1294 (jump-to-register, describe-register-1): Remove frameset-specific code.
1296 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1298 * allout-widgets.el (allout-widgets-pre-command-business)
1299 (allout-widgets-post-command-business)
1300 (allout-widgets-after-change-handler)
1301 (allout-decorate-item-and-context, allout-set-boundary-marker)
1302 (allout-body-modification-handler)
1303 (allout-graphics-modification-handler): Mark ignored arguments.
1304 (allout-widgets-post-command-business)
1305 (allout-widgets-exposure-change-processor)
1306 (allout-widgets-exposure-undo-processor)
1307 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
1308 (allout-parse-item-at-point, allout-decorate-item-guides)
1309 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
1310 * allout.el (epa-passphrase-callback-function): Declare.
1311 (allout-overlay-insert-in-front-handler)
1312 (allout-overlay-interior-modification-handler)
1313 (allout-isearch-end-handler, allout-chart-siblings)
1314 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
1315 (allout-yank-processing, allout-process-exposed)
1316 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
1317 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
1318 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
1319 (lisp-indent-defform): Mark ignored arguments.
1320 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
1321 (calculate-lisp-indent): Remove unused variables.
1322 * international/characters.el (indian-2-column, arabic-2-column)
1323 (tibetan): Mark ignored arguments.
1324 (use-cjk-char-width-table): Mark ignored arguments.
1325 Remove unused variables.
1326 * international/fontset.el (build-default-fontset-data)
1327 (x-compose-font-name, create-fontset-from-fontset-spec):
1328 Mark ignored arguments.
1329 (fontset-plain-name): Remove unused variables.
1330 * international/mule.el (charset-id, charset-bytes, generic-char-p)
1331 (keyboard-coding-system): Mark ignored arguments.
1332 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
1333 * help.el (resize-temp-buffer-window):
1334 * window.el (display-buffer-in-major-side-window)
1335 (display-buffer-in-side-window, display-buffer-in-previous-window):
1336 Remove unused variables.
1337 * isearch.el (isearch-forward-symbol):
1338 * version.el (emacs-bzr-version-bzr):
1339 * international/mule-cmds.el (current-language-environment):
1340 * term/common-win.el (x-handle-iconic, x-handle-geometry)
1342 * term/pc-win.el (x-list-fonts, x-display-planes)
1343 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
1344 (x-server-version, x-display-screens, x-display-mm-height)
1345 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
1346 (x-selection-owner-p, x-own-selection-internal)
1347 (x-disown-selection-internal, x-get-selection-internal)
1348 (msdos-initialize-window-system):
1349 * term/tty-colors.el (tty-color-alist, tty-color-clear):
1350 * term/x-win.el (x-handle-no-bitmap-icon):
1351 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
1352 (vc-default-find-file-hook, vc-default-extra-menu):
1353 Mark ignored arguments.
1355 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1357 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
1358 break-condition in the context of the debugged code (bug#12685).
1360 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
1363 Do not use an overlay to highlight the last prompt. (Bug#14744)
1364 (comint-mode): Make comint-last-prompt buffer local.
1365 (comint-last-prompt): New variable.
1366 (comint-last-prompt-overlay): Remove. Superseded by
1368 (comint-snapshot-last-prompt, comint-output-filter):
1369 Use comint-last-prompt.
1371 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1373 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
1374 (frameset-save): Check validity of the resulting frameset.
1376 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
1378 * ido.el (ido-record-command): Add doc string.
1380 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1382 * frameset.el (frameset): Do not disable creation of the default
1383 frameset-p predicate. Doc fix.
1384 (frameset-valid-p): New function, copied from the old predicate-p.
1385 Add additional checks.
1386 (frameset-restore): Check with frameset-valid-p.
1387 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
1388 (frameset-name, frameset-description, frameset-properties)
1389 (frameset-states): Add docstring.
1390 (frameset-session-filter-alist, frameset-persistent-filter-alist)
1391 (frameset-filter-alist): Doc fixes.
1393 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1395 * frameset.el (frameset-p, frameset-prop): Doc fixes.
1397 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1399 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
1400 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
1401 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
1402 (byte-compile-normal-call): Remove obsolescence check.
1404 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1406 * frameset.el (frameset-restore): Doc fix.
1408 * register.el (frameset-frame-id, frameset-frame-with-id)
1409 (frameset-p, frameset-restore, frameset-save): Declare.
1410 (register-alist): Document framesets.
1411 (frameset-session-filter-alist): Declare.
1412 (frameset-to-register): New function.
1413 (jump-to-register): Implement jumping to framesets. Doc fix.
1414 (describe-register-1): Describe framesets.
1416 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
1418 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
1420 * desktop.el (desktop-save-frameset): Use new frameset-save args.
1421 Use lexical-binding.
1423 * frameset.el (frameset): Use type vector, not list (incompatible
1424 change). Do not declare a new constructor, use the default one.
1425 Upgrade suggested properties `app', `name' and `desc' to slots `app',
1426 `name' and `description', respectively, and add read-only slot
1427 `timestamp'. Doc fixes.
1428 (frameset-copy, frameset-persistent-filter-alist)
1429 (frameset-filter-alist, frameset-switch-to-gui-p)
1430 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
1431 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
1432 (frameset-filter-iconified, frameset-keep-original-display-p):
1434 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
1435 Rename from frameset-filter-(save|restore)-param. All callers changed.
1437 (frameset-p): Adapt to change to vector and be more thorough.
1438 Change arg name to OBJECT. Doc fix.
1439 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
1440 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
1441 All callers changed.
1442 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
1443 All callers changed.
1444 (frameset--record-minibuffer-relationships): Rename from
1445 frameset--process-minibuffer-frames. All callers changed.
1446 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
1447 Use new default constructor (again). Doc fix.
1448 (frameset--find-frame-if): Rename from `frameset--find-frame.
1449 All callers changed.
1450 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
1451 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
1453 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
1454 PARAMETERS and WINDOW-STATE, respectively.
1455 (frameset-restore): Add new keyword argument PREDICATE.
1456 Reset frameset--target-display to nil. Doc fix.
1458 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1460 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
1462 (bat-mode-syntax-table): Mark \n as end-of-comment.
1463 (bat-font-lock-keywords): Remove comment rule.
1465 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
1466 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
1468 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
1469 (byte-compile-callargs-warn): Use `push'.
1470 (byte-compile-arglist-warn): Ignore higher-order "calls".
1471 (byte-compile-file-form-autoload): Use `pcase'.
1472 (byte-compile-function-form): If quoting a symbol, check that it exists.
1474 2013-08-07 Eli Zaretskii <eliz@gnu.org>
1476 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
1477 and add a few popular commands found in batch files.
1478 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
1479 (dos-mode): Doc fixes.
1481 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1483 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
1484 (dos-mode): Use setq-local. Add space after "rem".
1485 (dos-mode-syntax-table): Don't use "w" for symbol chars.
1486 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
1488 2013-08-07 Arni Magnusson <arnima@hafro.is>
1490 * progmodes/dos.el: New file.
1491 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
1494 2013-08-06 Glenn Morris <rgm@gnu.org>
1496 * calendar/calendar.el: Add new faces, and day-header-array.
1497 (calendar-weekday-header, calendar-weekend-header)
1498 (calendar-month-header): New faces.
1499 (calendar-day-header-construct): New function.
1500 (calendar-day-header-width): Also :set calendar-day-header-array.
1501 (calendar-american-month-header, calendar-european-month-header)
1502 (calendar-iso-month-header): Use calendar- faces.
1503 (calendar-generate-month):
1504 Use calendar-day-header-array for day headers; apply faces to them.
1505 (calendar-mode): Check calendar-font-lock-keywords non-nil.
1506 (calendar-abbrev-construct): Add optional maxlen argument.
1507 (calendar-day-name-array): Doc fix.
1508 (calendar-day-name-array, calendar-abbrev-length)
1509 (calendar-day-abbrev-array):
1510 Also :set calendar-day-header-array, and maybe redraw.
1511 (calendar-day-header-array): New option. (Bug#15007)
1512 (calendar-font-lock-keywords): Set to nil and make obsolete.
1513 (calendar-day-name): Add option to use header array.
1515 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1517 * net/shr.el (shr-render-td): Remove debugging.
1518 (shr-render-td): Make width computation consistent by defaulting
1519 all zero-width columns to 10 characters. This may not be optimal,
1520 but it's at least consistent.
1521 (shr-make-table-1): Redo last change to fix the real problem in
1524 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1526 * files.el (cache-long-line-scans):
1527 Make obsolete alias to `cache-long-scans'.
1529 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
1531 * frameset.el (frameset, frameset-filter-alist)
1532 (frameset-filter-params, frameset-save, frameset--reuse-frame)
1533 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
1534 (frameset-compute-pos): Rename from frameset--compute-pos,
1536 (frameset-move-onscreen): Use frameset-compute-pos.
1537 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1539 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
1540 Fix typos in docstrings.
1542 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1544 * frame.el (get-other-frame): Tiny cleanup.
1546 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
1548 * vc/vc.el (vc-default-ignore-completion-table):
1549 Silence byte-compiler warning.
1551 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
1552 slot , which can indeed be nil.
1553 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1554 Move entry for `left' from persistent to live filter alist.
1555 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
1557 (frameset-filter-params): When restoring a frame, copy items added to
1558 `filtered', to avoid unwittingly modifying the original parameters.
1559 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
1560 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
1562 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
1563 to use looking-at-p instead of looking-at. (Bug#15028)
1565 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1567 Revert introduction of isearch-filter-predicates (bug#14714).
1568 Rely on add-function instead.
1569 * isearch.el (isearch-filter-predicates): Rename it back to
1570 isearch-filter-predicate.
1571 (isearch-message-prefix): Use advice-function-mapc and advice
1572 properties to get the isearch-message-prefix.
1573 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
1574 instead of run-hook-with-args-until-failure.
1575 (isearch-filter-visible): Not obsolete any more.
1576 * loadup.el: Preload nadvice.
1577 * replace.el (perform-replace): Revert to funcall
1578 instead of run-hook-with-args-until-failure.
1579 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
1580 * dired-aux.el (dired-isearch-filenames-mode): Rename from
1581 dired-isearch-filenames-toggle; make it into a proper minor mode.
1582 Use add/remove-function.
1583 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
1584 Call the minor-mode rather than add/remove-hook.
1585 (dired-isearch-filter-filenames):
1586 Remove isearch-message-prefix property.
1587 * info.el (Info--search-loop): New function, extracted from Info-search.
1588 Funcall isearch-filter-predicate instead of
1589 run-hook-with-args-until-failure isearch-filter-predicates.
1590 (Info-search): Use it.
1591 (Info-mode): Use isearch-filter-predicate instead of
1592 isearch-filter-predicates.
1594 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1596 Do not call to `selected-window' where it is assumed by default.
1597 Affected functions are `window-minibuffer-p', `window-dedicated-p',
1598 `window-hscroll', `window-width', `window-height', `window-buffer',
1599 `window-frame', `window-start', `window-point', `next-window'
1600 and `window-display-table'.
1601 * abbrev.el (abbrev--default-expand):
1602 * bs.el (bs--show-with-configuration):
1603 * buff-menu.el (Buffer-menu-mouse-select):
1604 * calc/calc.el (calc):
1605 * calendar/calendar.el (calendar-generate-window):
1606 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
1608 * comint.el (send-invisible, comint-dynamic-complete-filename)
1609 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
1610 * completion.el (complete):
1611 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
1612 * disp-table.el (describe-current-display-table):
1613 * doc-view.el (doc-view-insert-image):
1614 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
1615 * ehelp.el (with-electric-help):
1616 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1617 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
1618 * emacs-lisp/helper.el (Helper-help-scroller):
1619 * emulation/cua-base.el (cua--post-command-handler-1):
1620 * eshell/esh-mode.el (eshell-output-filter):
1621 * ffap.el (ffap-gnus-wrapper):
1622 * help-macro.el (make-help-screen):
1623 * hilit-chg.el (highlight-compare-buffers):
1624 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
1625 * hl-line.el (global-hl-line-highlight):
1626 * icomplete.el (icomplete-simple-completing-p):
1627 * isearch.el (isearch-done):
1628 * jit-lock.el (jit-lock-stealth-fontify):
1629 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
1630 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
1631 * mpc.el (mpc-tagbrowser, mpc):
1632 * net/rcirc.el (rcirc-any-buffer):
1633 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
1634 * play/landmark.el (landmark-max-width, landmark-max-height):
1635 * play/zone.el (zone):
1636 * progmodes/compile.el (compilation-goto-locus):
1637 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
1638 * progmodes/etags.el (find-tag-other-window):
1639 * progmodes/fortran.el (fortran-column-ruler):
1640 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
1641 * progmodes/verilog-mode.el (verilog-point-text):
1642 * reposition.el (reposition-window):
1643 * rot13.el (toggle-rot13-mode):
1644 * server.el (server-switch-buffer):
1645 * shell.el (shell-dynamic-complete-command)
1646 (shell-dynamic-complete-environment-variable):
1647 * simple.el (insert-buffer, set-selective-display)
1648 (delete-completion-window):
1649 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
1650 (speedbar-recenter):
1651 * startup.el (fancy-splash-head):
1652 * textmodes/ispell.el (ispell-command-loop):
1653 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
1654 * tutorial.el (help-with-tutorial):
1655 * vc/add-log.el (add-change-log-entry):
1656 * vc/compare-w.el (compare-windows):
1657 * vc/ediff-help.el (ediff-indent-help-message):
1658 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
1659 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
1660 (ediff-setup-control-frame):
1661 * vc/emerge.el (emerge-position-region):
1662 * vc/pcvs-util.el (cvs-bury-buffer):
1663 * window.el (walk-windows, mouse-autoselect-window-select):
1664 * winner.el (winner-set-conf, winner-undo): Related users changed.
1666 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1668 * frameset.el (frameset--set-id): Doc fix.
1669 (frameset-frame-id, frameset-frame-id-equal-p)
1670 (frameset-locate-frame-id): New functions.
1671 (frameset--process-minibuffer-frames, frameset--reuse-frame)
1672 (frameset-restore): Use them.
1674 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1676 Do not call to `selected-frame' where it is assumed by default.
1677 Affected functions are `raise-frame', `redraw-frame',
1678 `frame-first-window', `frame-terminal' and `delete-frame'.
1679 * calendar/appt.el (appt-disp-window):
1680 * epg.el (epg-wait-for-completion):
1681 * follow.el (follow-delete-other-windows-and-split)
1682 (follow-avoid-tail-recenter):
1683 * international/mule.el (set-terminal-coding-system):
1684 * mail/rmail.el (rmail-mail-return):
1685 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
1686 * progmodes/f90.el (f90-add-imenu-menu):
1687 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
1688 * server.el (server-switch-buffer):
1689 * simple.el (delete-completion-window):
1691 * term/xterm.el (terminal-init-xterm-modify-other-keys)
1692 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
1693 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
1694 * vc/ediff.el (ediff-documentation): Related users changed.
1695 * frame.el (selected-terminal): Remove the leftover.
1697 2013-08-05 Glenn Morris <rgm@gnu.org>
1699 * calendar/calendar.el (calendar-generate-month):
1700 Fix for calendar-column-width != 1 + calendar-day-digit-width.
1701 (calendar-generate-month, calendar-font-lock-keywords):
1702 Fix for calendar-day-header-width > length of any day name.
1704 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1706 * desktop.el (desktop-clear): Use new name of sort predicate.
1708 * frameset.el (frameset): Add docstring. Move :version property to its
1710 (frameset-copy): Rename from copy-frameset.
1711 (frameset-p): Check more thoroughly.
1712 (frameset-prop): Do not check for :version, which is no longer a prop.
1713 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1714 Use new :never value instead of t.
1715 (frameset-filter-alist): Expand and clarify docstring.
1716 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
1717 (frameset-filter-minibuffer, frameset-filter-save-param)
1718 (frameset-filter-restore-param, frameset-filter-iconified):
1719 Add pointer to docstring of frameset-filter-alist.
1720 (frameset-filter-params): Rename filter values to be more meaningful:
1721 :never instead of t, and reverse the meanings of :save and :restore.
1722 (frameset--process-minibuffer-frames): Clarify error message.
1723 (frameset-save): Avoid unnecessary and confusing call to framep.
1724 Use new BOA constructor for framesets.
1725 (frameset--reuse-list): Doc fix.
1726 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
1727 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
1728 (frameset-minibufferless-first-p): Doc fix.
1729 Rename from frameset-sort-frames-for-deletion.
1730 (frameset-restore): Doc fixes. Use new function names.
1731 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1733 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
1735 * desktop.el (desktop-restore-forces-onscreen)
1736 (desktop-restore-reuses-frames): Document :keyword constant values.
1737 (desktop-filter-parameters-alist): Remove, now identical to
1738 frameset-filter-alist.
1739 (desktop--filter-tty*): Remove, moved to frameset.el.
1740 (desktop-save-frameset, desktop-restore-frameset):
1741 Do not pass :filters argument.
1743 * frameset.el (frameset-live-filter-alist)
1744 (frameset-persistent-filter-alist): New variables.
1745 (frameset-filter-alist): Use them. Add autoload cookie.
1746 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
1747 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
1748 `frameset--id' (it's supposed to be internal to frameset.el).
1749 (frameset--process-minibuffer-frames): Ditto. Doc fix.
1750 (frameset--initial-params): New function.
1751 (frameset--get-frame): Use it. Doc fix.
1752 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
1753 Accept :all, not 'all.
1754 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
1755 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
1756 with fbound symbols. Fix frame id matching, and remove matching ids if
1757 the frame being restored is deleted. Obey :delete.
1759 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1761 * subr.el (macrop): New function.
1762 (text-clone--maintaining): New var.
1763 (text-clone--maintain): Rename from text-clone-maintain. Use it
1764 instead of inhibit-modification-hooks.
1766 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
1767 a proxy, so as handle autoloads and redefinitions of the target.
1768 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
1770 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
1771 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
1772 (pcase--mutually-exclusive-p): New function.
1773 (pcase--split-consp): Use it.
1774 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
1775 mutually exclusive with the current predicate.
1777 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
1778 (edebug-macrop): Remove. Use `macrop' instead.
1779 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
1781 * eshell/esh-cmd.el (eshell-macrop):
1782 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
1784 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1786 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
1787 (advice-mapc): New function, using it.
1788 (advice-function-member-p): New function.
1789 (advice--normalize): Store the cdr in advice--saved-rewrite since
1790 that's the part that will be changed.
1791 (advice--symbol-function): New function.
1792 (advice-remove): Handle removal before the function is defined.
1793 Adjust to new advice--saved-rewrite.
1794 (advice-member-p): Use advice-function-member-p and
1795 advice--symbol-function.
1797 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
1799 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
1800 (frameset-filter-minibuffer): Doc fix.
1801 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
1802 (frameset--set-id, frameset--process-minibuffer-frames)
1803 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
1804 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
1806 * desktop.el (desktop-clear): Only delete frames when called
1807 interactively and desktop-restore-frames is non-nil. Doc fix.
1808 (desktop-read): Set desktop-saved-frameset to nil.
1810 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
1812 * vc/vc.el (vc-ignore): Rewrite.
1813 (vc-default-ignore-completion-table):
1815 (vc--add-line, vc--remove-regexp): New functions.
1817 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
1818 (vc-svn-ignore-completion-table): New function.
1820 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
1821 (vc-hg-ignore-completion-table):
1822 (vc-hg-find-ignore-file): New functions.
1824 * vc/vc-git.el (vc-git-ignore): Rewrite.
1825 (vc-git-ignore-completion-table):
1826 (vc-git-find-ignore-file): New functions.
1828 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
1830 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
1831 (vc-bzr-ignore-completion-table):
1832 (vc-bzr-find-ignore-file): New functions.
1834 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
1836 * frameset.el (frameset-prop): New function and setter.
1837 (frameset-save): Do not modify frame list passed by the caller.
1839 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1841 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
1843 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
1845 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
1846 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
1848 * custom.el (custom-initialize-default, custom-initialize-set)
1849 (custom-initialize-reset, custom-initialize-changed): Affect the
1850 toplevel-default-value (bug#6275, bug#14586).
1851 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
1854 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
1856 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1857 Add cl-def* expressions.
1859 * frameset.el (frameset-filter-params): Fix order of arguments.
1861 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
1863 Move code related to saving frames to frameset.el.
1864 * desktop.el: Require frameset.
1865 (desktop-restore-frames): Doc fix.
1866 (desktop-restore-reuses-frames): Rename from
1867 desktop-restoring-reuses-frames.
1868 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
1869 (desktop-clear): Clear frames too.
1870 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
1871 (desktop--filter-tty*, desktop-save, desktop-read):
1872 Use frameset functions.
1873 (desktop-before-saving-frames-functions, desktop--filter-*-color)
1874 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1875 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
1876 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
1877 (desktop--process-minibuffer-frames, desktop-save-frames)
1878 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
1879 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
1880 (desktop--sort-states, desktop-restoring-frames-p)
1881 (desktop-restore-frames): Remove. Most code moved to frameset.el.
1882 (desktop-restoring-frameset-p, desktop-restore-frameset)
1883 (desktop--check-dont-save, desktop-save-frameset): New functions.
1884 (desktop--app-id): New constant.
1885 (desktop-first-buffer, desktop-buffer-ok-count)
1886 (desktop-buffer-fail-count): Move before first use.
1887 * frameset.el: New file.
1889 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
1891 * files.el: Use lexical-binding.
1892 (dir-locals-read-from-file): Remove unused `err' variable.
1893 (hack-dir-local-variables--warned-coding): New var.
1894 (hack-dir-local-variables): Use it to avoid repeated warnings.
1895 (make-backup-file-name--default-function): New function.
1896 (make-backup-file-name-function): Use it as default.
1897 (buffer-stale--default-function): New function.
1898 (buffer-stale-function): Use it as default.
1899 (revert-buffer-insert-file-contents--default-function): New function.
1900 (revert-buffer-insert-file-contents-function): Use it as default.
1901 (insert-directory): Avoid add-to-list.
1903 * autorevert.el (auto-revert-handler): Simplify.
1904 Use buffer-stale--default-function.
1906 2013-08-01 Tassilo Horn <tsdh@gnu.org>
1908 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
1910 * whitespace.el (whitespace-ensure-local-variables): New function.
1911 (whitespace-cleanup-region): Call it.
1912 (whitespace-turn-on): Call it.
1914 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
1916 Complete file name handlers.
1918 * net/tramp.el (tramp-handle-set-visited-file-modtime)
1919 (tramp-handle-verify-visited-file-modtime)
1920 (tramp-handle-file-notify-rm-watch): New functions.
1921 (tramp-call-process): Do not bind `default-directory'.
1923 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1924 Order alphabetically.
1925 [access-file, add-name-to-file, dired-call-process]:
1926 [dired-compress-file, file-acl, file-notify-rm-watch]:
1927 [file-ownership-preserved-p, file-selinux-context]:
1928 [make-directory-internal, make-symbolic-link, set-file-acl]:
1929 [set-file-selinux-context, set-visited-file-modtime]:
1930 [verify-visited-file-modtime]: Add handler.
1931 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
1933 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
1934 [file-notify-add-watch, file-notify-rm-watch]:
1935 [set-file-times, set-visited-file-modtime]:
1936 [verify-visited-file-modtime]: Add handler.
1937 (with-tramp-gvfs-error-message)
1938 (tramp-gvfs-handle-set-visited-file-modtime)
1939 (tramp-gvfs-fuse-file-name): Remove.
1940 (tramp-gvfs-handle-file-notify-add-watch)
1941 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
1942 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
1944 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1945 Order alphabetically.
1946 [file-notify-rm-watch ]: Use default Tramp handler.
1947 [executable-find]: Remove private handler.
1948 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
1949 `default-directory'.
1950 (tramp-sh-handle-executable-find)
1951 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
1952 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1953 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
1954 Do not use `format' in `tramp-message'.
1956 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
1957 [file-notify-rm-watch, set-visited-file-modtime]:
1958 [verify-visited-file-modtime]: Add handler.
1959 (tramp-smb-call-winexe): Do not bind `default-directory'.
1961 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
1963 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
1965 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
1967 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
1969 (log-view-diff-changeset): Same.
1970 (log-view-diff-common): Call backend command `previous-revision'
1971 to find out the previous revision, in both cases. Swap the
1972 variables `to' and `fr', so that `fr' usually refers to the
1973 earlier revision (Bug#14989).
1975 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
1977 * ibuf-ext.el (ibuffer-filter-by-filename):
1978 Make it work with dired buffers too.
1980 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
1982 * emacs-lisp/re-builder.el (reb-color-display-p):
1983 * files.el (save-buffers-kill-terminal):
1984 * net/browse-url.el (browse-url):
1985 * server.el (server-save-buffers-kill-terminal):
1986 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
1987 Prefer nil to selected-frame for the first arg of frame-parameter.
1989 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
1991 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
1993 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
1995 * minibuffer.el (completion--twq-all): Try and preserve each
1996 completion's case choice (bug#14907).
1998 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2000 * net/network-stream.el (open-network-stream): Mention the new
2001 :nogreeting parameter.
2002 (network-stream-open-starttls): Use the :nogreeting parameter
2005 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2007 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2008 more natural than popping.
2010 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
2011 (shr-urlify): Highlight under mouse.
2013 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2015 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2017 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2019 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2022 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2023 point-min==1. Fix search string. Fix parentheses missing.
2025 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
2026 assume point-min==1. Fix search string. Fix parentheses missing.
2028 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2030 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
2033 2013-07-29 Eli Zaretskii <eliz@gnu.org>
2035 * frame.el (frame-notice-user-settings): Avoid inflooping when the
2036 initial frame is minibuffer-less. (Bug#14841)
2038 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
2040 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2043 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2044 (tramp-maybe-open-connection): Use it.
2046 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
2048 * desktop.el (desktop--make-frame): Include `minibuffer' in the
2049 minimal set of parameters passed when creating a frame, because
2050 the minibuffer status of a frame cannot be changed later.
2052 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
2054 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2055 replace-regexp-in-string and inadvertent omissions in previous change.
2056 (todo-filter-items): Ensure only file names are comma-separated in
2057 name of filtered items buffer.
2059 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
2061 * desktop.el: Optionally force offscreen frames back onscreen.
2062 (desktop-restoring-reuses-frames): New option.
2063 (desktop--compute-pos, desktop--move-onscreen): New functions.
2064 (desktop--make-frame): Use desktop--move-onscreen.
2066 2013-07-27 Alan Mackenzie <acm@muc.de>
2068 Fontify a Java generic method as a function.
2069 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2072 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
2074 * calendar/todo-mode.el: Add command to rename todo files.
2075 (todo-rename-file): New command.
2076 (todo-key-bindings-t): Add key binding for it. Change the
2077 bindings of todo-filter-regexp-items(-multifile) to use `x'
2078 instead of `r', since the latter is better suited to the new
2081 2013-07-27 Alan Mackenzie <acm@muc.de>
2083 Make Java try-with-resources statement parse properly.
2084 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2085 (c-block-stmt-1-2-key): New language constants/variables.
2086 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2087 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2088 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
2089 with c-block-stmt-1-2-key.
2091 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
2093 * desktop.el (desktop--make-frame): Apply most frame parameters after
2094 creating the frame to force (partially or totally) offscreen frames to
2095 be restored as such.
2097 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2099 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
2102 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2104 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2105 `base' arg of backtrace-frame.
2107 2013-07-26 Eli Zaretskii <eliz@gnu.org>
2109 * simple.el (list-processes): Doc fix.
2111 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
2113 * desktop.el (desktop--select-frame):
2114 Try harder to reuse existing frames.
2116 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2118 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2119 (edebug-eval): Use backtrace-eval.
2120 (edebug--display, edebug--recursive-edit): Don't let-bind the
2121 edebug-outer-* vars that keep track of variables we locally let-bind.
2122 (edebug-outside-excursion): Don't restore outside values of locally
2124 (edebug--display): Use user-error.
2125 (cl-lexical-debug, cl-debug-env): Remove.
2127 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
2129 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2130 are restored to be sure that they are visible before deleting any
2133 2013-07-26 Matthias Meulien <orontee@gmail.com>
2135 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2136 vc-print-root-log. (Bug#14948)
2138 2013-07-26 Richard Stallman <rms@gnu.org>
2140 Add aliases for encrypting mail.
2141 * epa.el (epa-mail-aliases): New option.
2142 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2143 Bind inhibit-read-only so read-only text doesn't ruin everything.
2144 (epa-mail-default-recipients): New subroutine broken out.
2145 Handle epa-mail-aliases.
2147 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2149 Add support for lexical variables to the debugger's `e' command.
2150 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2151 vars, except for debugger-outer-match-data.
2152 (debugger-frame-number): Move check for "on a function call" from
2153 callers into it. Add `skip-base' argument.
2154 (debugger-frame, debugger-frame-clear): Simplify accordingly.
2155 (debugger-env-macro): Only reset the state stored in non-variables,
2156 i.e. current-buffer and match-data.
2157 (debugger-eval-expression): Rewrite using backtrace-eval.
2158 * subr.el (internal--called-interactively-p--get-frame): Remove.
2159 (called-interactively-p):
2160 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2161 `base' arg of backtrace-frame instead.
2163 2013-07-26 Glenn Morris <rgm@gnu.org>
2165 * align.el (align-regexp): Doc fix. (Bug#14857)
2166 (align-region): Explicit error if subexpression missing/does not match.
2168 * simple.el (global-visual-line-mode):
2169 Do not duplicate the mode lighter. (Bug#14858)
2171 2013-07-25 Martin Rudalics <rudalics@gmx.at>
2173 * window.el (display-buffer): In display-buffer bind
2174 split-window-keep-point to t, bug#14829.
2176 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
2178 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
2179 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
2180 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
2181 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2183 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2184 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
2186 2013-07-25 Glenn Morris <rgm@gnu.org>
2188 * dired-x.el (dired-mark-extension): Convert comment to doc string.
2190 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
2192 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
2193 parameter to modify-frame-parameters if the value has not changed;
2194 this is a workaround for bug#14949.
2195 (desktop--make-frame): On cl-delete-if call, check parameter name,
2198 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2200 * vc/vc.el (vc-ignore): New function.
2202 * vc/vc-svn.el (vc-svn-ignore): New function.
2204 * vc/vc-hg.el (vc-hg-ignore): New function.
2206 * vc/vc-git.el (vc-git-ignore): New function.
2208 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
2209 (vc-dir-ignore): New function.
2211 * vc/vc-cvs.el (vc-cvs-ignore): New function.
2212 (cvs-append-to-ignore): Move here from pcvs.el.
2214 * vc/vc-bzr.el (vc-bzr-ignore): New function.
2216 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
2218 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
2220 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
2221 (desktop-restore-frames): Warn when deleting an existing frame failed.
2223 2013-07-24 Glenn Morris <rgm@gnu.org>
2225 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
2227 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
2229 * filenotify.el (file-notify-supported-p):
2230 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2233 * autorevert.el (auto-revert-use-notify):
2234 (auto-revert-notify-add-watch):
2235 * net/tramp.el (tramp-file-name-for-operation):
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-sh.el (tramp-sh-file-name-handler-alist):
2239 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2240 Remove `file-notify-supported-p' entry.
2242 2013-07-24 Glenn Morris <rgm@gnu.org>
2244 * printing.el: Replace all uses of deleted ps-windows-system,
2245 ps-lp-system, ps-flatten-list with lpr- versions.
2247 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2249 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
2250 checked with memq (bug#14935).
2252 * files.el (revert-buffer-function): Use a non-nil default.
2253 (revert-buffer-preserve-modes): Declare var to
2254 provide access to the `preserve-modes' argument.
2255 (revert-buffer): Let-bind it.
2256 (revert-buffer--default): New function, extracted from revert-buffer.
2258 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2260 * lpr.el: Signal print errors more prominently.
2261 (print-region-function): Don't default to nil.
2262 (lpr-print-region): New function, extracted from print-region-1.
2263 Check lpr's return value and signal an error in case of problem.
2264 (print-region-1): Use it.
2265 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
2267 (ps-printer-name): Default to nil.
2268 (ps-printer-name-option): Default to lpr-printer-switch.
2269 (ps-print-region-function): Don't default to nil.
2270 (ps-postscript-code-directory): Simplify default.
2271 (ps-do-despool): Use lpr-print-region to properly check the outcome.
2272 (ps-string-list, ps-eval-switch, ps-flatten-list)
2273 (ps-flatten-list-1): Remove.
2274 (ps-multibyte-buffer): Avoid setq.
2275 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
2276 (print-region-function, ps-print-region-function): Don't set them here.
2278 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
2280 * ido.el (ido-fractionp):
2281 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
2282 (ido-max-file-prompt-width, ido-unc-hosts-cache)
2283 (ido-max-directory-size, ido-max-dir-file-cache)
2284 (ido-decorations): Doc fix.
2286 * ansi-color.el: Fix old URL.
2288 2013-07-23 Michael R. Mauger <michael@mauger.com>
2290 * progmodes/sql.el Version 3.3
2291 (sql-product-alist): Improve oracle :prompt-cont-regexp.
2292 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
2293 (sql-interactive-remove-continuation-prompt): Rewrite, use
2294 functions above. Fix continuation prompt and complete output line
2296 (sql-redirect-one, sql-execute): Use `read-only-mode' on
2297 redirected output buffer.
2298 (sql-mode): Restore deleted code (Bug#13591).
2300 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
2302 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
2304 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
2306 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
2308 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2309 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2310 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
2312 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
2314 * desktop.el (desktop-clear): Simplify; remove useless checks
2315 against invalid buffer names.
2316 (desktop-list*): Use cl-list*.
2317 (desktop-buffer-info, desktop-create-buffer): Simplify.
2319 2013-07-23 Leo Liu <sdl.web@gmail.com>
2321 * bookmark.el (bookmark-make-record): Restore NAME as a default
2324 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2326 * emacs-lisp/autoload.el (autoload--setup-output): New function,
2327 extracted from autoload--insert-text.
2328 (autoload--insert-text): Remove.
2329 (autoload--print-cookie-text): New function, extracted from
2330 autoload--insert-cookie-text.
2331 (autoload--insert-cookie-text): Remove.
2332 (autoload-generate-file-autoloads): Adjust calls accordingly.
2334 * winner.el (winner-hook-installed-p): Remove.
2335 (winner-mode): Simplify accordingly.
2337 * subr.el (add-to-list): Fix compiler-macro when `append' is
2338 not constant. Don't use `cl-member' for the base case.
2340 * progmodes/subword.el: Fix boundary case (bug#13758).
2341 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
2343 (subword-backward-regexp): Make it a constant.
2344 (subword-forward-internal): Don't treat a trailing capital as the
2345 beginning of a word.
2347 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
2349 * emacs-lisp/package.el (package-menu-mode): Don't modify the
2350 global value of tabulated-list-revert-hook (bug#14930).
2352 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
2354 * desktop.el: Require 'cl-lib.
2355 (desktop-before-saving-frames-functions): New hook.
2356 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
2357 for frames being saved. Rename from desktop--save-minibuffer-frames.
2358 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
2359 Do not save frames with non-nil `desktop-dont-save' parameter.
2360 Filter out deleted frames.
2361 (desktop--find-frame): Use cl-find-if.
2362 (desktop--select-frame): Use cl-(first|second|third) to access values
2364 (desktop--make-frame): Use cl-delete-if.
2365 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
2366 (desktop-restore-frames): Use cl-(first|second|third) to access values
2367 of desktop-mini. Look for visible frame at the end, not while
2370 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
2371 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
2372 Use string-match-p, looking-at-p (bug#14927).
2374 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
2376 * desktop.el (desktop-saved-frame-states):
2377 Rename from desktop--saved-states; all users changed.
2378 (desktop-save-frames): Rename from desktop--save-frames.
2379 Do not save state to desktop file.
2380 (desktop-save): Save desktop-saved-frame-states to desktop file
2382 (desktop-restoring-frames-p): New function.
2383 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
2384 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
2385 buffer-lists when restoring frames. Suggested by Martin Rudalics.
2387 * desktop.el: Correctly restore iconified frames.
2388 (desktop--filter-iconified-position): New function.
2389 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
2391 2013-07-20 Glenn Morris <rgm@gnu.org>
2393 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
2394 Let `message' do the formatting.
2395 (def-gdb-preempt-display-buffer): Add explicit format.
2397 * image-dired.el (image-dired-track-original-file):
2398 Use with-current-buffer.
2399 (image-dired-track-thumbnail): Use with-current-buffer.
2400 Avoid changing point of wrong window.
2402 * image-dired.el (image-dired-track-original-file):
2403 Avoid changing point of wrong window. (Bug#14909)
2405 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
2407 * progmodes/gdb-mi.el (gdb-done-or-error):
2408 Guard against "%" in gdb output. (Bug#14127)
2410 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
2412 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
2415 * international/mule.el (coding-system-iso-2022-flags): Fix last
2418 2013-07-20 Kenichi Handa <handa@gnu.org>
2420 * international/mule.el (coding-system-iso-2022-flags):
2421 Add `8-bit-level-4'. (Bug#8522)
2423 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2425 * net/shr.el (shr-mouse-browse-url): New command and keystroke
2428 * net/eww.el (eww-process-text-input): Allow inputting when the
2429 point is at the start of the line, as the properties aren't
2432 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
2435 2013-07-19 Richard Stallman <rms@gnu.org>
2437 * epa.el (epa-popup-info-window): Doc fix.
2439 * subr.el (split-string): New arg TRIM.
2441 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
2443 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
2444 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
2446 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
2448 * filenotify.el (file-notify--library): Rename from
2449 `file-notify-support'. Do not autoload. Adapt all uses.
2450 (file-notify-supported-p): New defun.
2452 * autorevert.el (auto-revert-use-notify):
2453 Use `file-notify-supported-p' instead of `file-notify-support'.
2455 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
2457 * net/tramp.el (tramp-file-name-for-operation):
2458 Add `file-notify-supported-p'.
2460 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2462 (tramp-sh-file-name-handler-alist): Add it as handler for
2463 `file-notify-supported-p '.
2465 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2466 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2467 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2468 Add `ignore' as handler for `file-notify-*' functions.
2470 2013-07-17 Eli Zaretskii <eliz@gnu.org>
2472 * simple.el (line-move-partial, line-move): Don't start vscroll or
2473 scroll-up if the current line is not taller than the window.
2476 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
2478 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
2479 highlight question marks in the method names as strings.
2480 (ruby-block-beg-keywords): Inline.
2481 (ruby-font-lock-keyword-beg-re): Extract from
2482 `ruby-font-lock-keywords'.
2484 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
2486 * frame.el (blink-cursor-blinks): New defcustom.
2487 (blink-cursor-blinks-done): New defvar.
2488 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
2489 (blink-cursor-timer-function): Check if number of blinks has been
2491 (blink-cursor-suspend, blink-cursor-check): New defuns.
2493 2013-07-15 Glenn Morris <rgm@gnu.org>
2495 * edmacro.el (edmacro-format-keys): Fix previous change.
2497 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
2499 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
2500 The hack didn't work outside English locales anyway.
2502 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
2504 * simple.el (define-alternatives): Rename from alternatives-define,
2505 per RMS' suggestion.
2507 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
2509 * desktop.el (desktop-restore-frames): Change default to t.
2510 (desktop-restore-in-current-display): Now offer more options.
2511 (desktop-restoring-reuses-frames): New customization option.
2512 (desktop--saved-states): Doc fix.
2513 (desktop-filter-parameters-alist): New variable, renamed and expanded
2514 from desktop--excluded-frame-parameters.
2515 (desktop--target-display): New variable.
2516 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
2517 (desktop--filter-tty*, desktop--filter-*-color)
2518 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2519 (desktop--filter-save-desktop-parm)
2520 (desktop-restore-in-original-display-p): New functions.
2521 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
2522 (desktop--save-minibuffer-frames): New function, inspired by a similar
2523 function from Martin Rudalics.
2524 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
2525 (desktop--restore-in-this-display-p): Remove.
2526 (desktop--find-frame): Rename from desktop--find-frame-in-display
2527 and add predicate argument.
2528 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
2529 (desktop--reuse-list): New variable.
2530 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
2532 (desktop--restore-frames): Add support for "minibuffer-special" frames.
2534 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
2536 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
2538 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
2540 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2541 Highlight conversion methods on Kernel.
2543 2013-07-13 Alan Mackenzie <acm@muc.de>
2545 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
2546 and comment it out. This out-commenting enables certain C++
2547 declarations to be parsed correctly.
2549 2013-07-13 Eli Zaretskii <eliz@gnu.org>
2551 * international/mule.el (define-coding-system): Doc fix.
2553 * simple.el (default-font-height): Don't call font-info if the
2554 frame's default font didn't change since the frame was created.
2557 2013-07-13 Leo Liu <sdl.web@gmail.com>
2559 * ido.el (ido-read-file-name): Guard against non-symbol value.
2561 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2563 * progmodes/python.el (python-imenu--build-tree): Fix corner case
2566 2013-07-13 Leo Liu <sdl.web@gmail.com>
2568 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
2569 ido-set-matches call. (Bug#6852)
2571 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
2573 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
2574 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
2576 (ruby-font-lock-keywords): Distinguish calls to functions with
2577 module-like names from module references. Highlight character
2580 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2582 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
2583 (gdb-send): Handle continued commands. (Bug#14847)
2585 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
2587 * desktop.el (desktop--v2s): Remove unused local variable.
2588 (desktop-save-buffer): Make defvar-local; adjust docstring.
2589 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
2590 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
2592 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
2594 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
2596 2013-07-12 Eli Zaretskii <eliz@gnu.org>
2598 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
2601 2013-07-12 Glenn Morris <rgm@gnu.org>
2603 * doc-view.el: Require cl-lib at runtime too.
2604 (doc-view-remove-if): Remove.
2605 (doc-view-search-next-match, doc-view-search-previous-match):
2608 * edmacro.el: Require cl-lib at runtime too.
2609 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
2610 (edmacro-mismatch, edmacro-subseq): Remove.
2612 * shadowfile.el: Require cl-lib.
2613 (shadow-remove-if): Remove.
2614 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
2617 * wid-edit.el: Require cl-lib.
2618 (widget-choose): Use cl-remove-if.
2619 (widget-remove-if): Remove.
2621 * progmodes/ebrowse.el: Require cl-lib at runtime too.
2622 (ebrowse-delete-if-not): Remove.
2623 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
2624 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
2625 Use cl-delete-if-not.
2627 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
2629 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
2630 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
2632 2013-07-12 Leo Liu <sdl.web@gmail.com>
2634 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
2636 2013-07-11 Glenn Morris <rgm@gnu.org>
2638 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
2639 (edebug-gensym-index, edebug-gensym):
2640 Remove reimplementation of cl-gensym.
2641 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
2643 * thumbs.el: Require cl-lib at run-time too.
2644 (thumbs-gensym-counter, thumbs-gensym):
2645 Remove reimplementation of cl-gensym.
2646 (thumbs-temp-file): Use cl-gensym.
2648 * emacs-lisp/ert.el: Require cl-lib at runtime too.
2649 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
2650 (ert--intersection, ert--set-difference, ert--set-difference-eq)
2651 (ert--union, ert--gensym-counter, ert--gensym-counter)
2652 (ert--coerce-to-vector, ert--remove*, ert--string-position)
2653 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
2654 (ert-make-test-unbound, ert--expand-should-1)
2655 (ert--expand-should, ert--should-error-handle-error)
2656 (should-error, ert--explain-equal-rec)
2657 (ert--plist-difference-explanation, ert-select-tests)
2658 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
2659 Use cl-lib functions rather than reimplementations.
2661 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
2663 * net/tramp.el (tramp-methods): Extend docstring.
2664 (tramp-connection-timeout): New defcustom.
2665 (tramp-error-with-buffer): Reset timestamp only when appropriate.
2666 (with-tramp-progress-reporter): Simplify.
2667 (tramp-process-actions): Improve messages.
2669 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2670 * net/tramp-sh.el (tramp-maybe-open-connection):
2671 Use `tramp-connection-timeout'.
2672 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
2675 2013-07-11 Leo Liu <sdl.web@gmail.com>
2677 * ido.el (ido-read-file-name): Conform to the requirements of
2678 read-file-name. (Bug#11861)
2679 (ido-read-directory-name): Conform to the requirements of
2680 read-directory-name.
2682 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
2684 * subr.el (delay-warning): New function.
2686 2013-07-10 Eli Zaretskii <eliz@gnu.org>
2688 * simple.el (default-line-height): New function.
2689 (line-move-partial, line-move): Use it instead of computing the
2691 (line-move-partial): Always compute ROWH. If the last line is
2692 partially-visible, but its text is completely visible, allow
2693 cursor to enter such a partially-visible line.
2695 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
2697 Improve error messages. (Bug#14808)
2699 * net/tramp.el (tramp-current-connection): New defvar, moved from
2701 (tramp-message-show-progress-reporter-message): Remove, not
2703 (tramp-error-with-buffer): Show message in minibuffer.
2704 Discard input before waiting. Reset connection timestamp.
2705 (with-tramp-progress-reporter): Improve messages.
2706 (tramp-process-actions): Use progress reporter. Delete process in
2707 case of error. Improve messages.
2709 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
2710 Call `tramp-error-with-buffer' with vector and buffer.
2711 (tramp-current-connection): Remove.
2712 (tramp-maybe-open-connection): The car of
2713 `tramp-current-connection' are the first 3 slots of the vector.
2715 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
2717 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
2718 inside continued strings.
2720 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
2722 Timestamp fixes for undo (Bug#14824).
2723 * files.el (clear-visited-file-modtime): Move here from fileio.c.
2725 2013-07-10 Leo Liu <sdl.web@gmail.com>
2727 * files.el (require-final-newline): Allow safe local value.
2730 2013-07-09 Leo Liu <sdl.web@gmail.com>
2732 * ido.el (ido-read-directory-name): Handle fallback.
2733 (ido-read-file-name): Update DIR to ido-current-directory.
2735 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
2737 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
2739 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
2740 "autoload". Remove "warn lower camel case" section, previously
2741 commented out. Highlight negation char. Do not highlight the
2742 target in singleton method definitions.
2744 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2746 * faces.el (tty-setup-hook): Declare the hook.
2748 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
2749 and detect when a guard/pred depends on local vars (bug#14773).
2750 (pcase--u1): Adjust caller.
2752 2013-07-08 Eli Zaretskii <eliz@gnu.org>
2754 * simple.el (line-move-partial, line-move): Account for
2756 (line-move-partial): Avoid setting vscroll when the last
2757 partially-visible line in window is of default height.
2759 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2761 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
2764 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
2766 * subr.el (read-quoted-char): Remove unused local variable `char'.
2768 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
2770 * ediff.el (ediff-version): Version update.
2771 (ediff-files-command, ediff3-files-command, ediff-merge-command)
2772 (ediff-merge-with-ancestor-command, ediff-directories-command)
2773 (ediff-directories3-command, ediff-merge-directories-command)
2774 (ediff-merge-directories-with-ancestor-command): New functions.
2775 All are command-line interfaces to ediff: to facilitate calling
2776 Emacs with the appropriate ediff functions invoked.
2778 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
2779 (viper-save-kill-buffer): Check if buffer is modified.
2781 * viper.el (viper-version): Version update.
2782 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
2784 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
2786 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
2787 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
2788 (viper-intercept-ESC-key): Simplify.
2789 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
2790 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
2791 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
2792 (viper-setup-ESC-to-escape): New functions.
2793 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
2794 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
2796 2013-07-07 Eli Zaretskii <eliz@gnu.org>
2798 * simple.el (default-font-height, window-screen-lines):
2800 (line-move, line-move-partial): Use them instead of
2801 frame-char-height and window-text-height. This makes scrolling
2802 text smoother when the buffer's default face uses a font that is
2803 different from the frame's default font.
2805 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
2807 * files.el (write-file): Do not display confirm dialog for NS,
2808 it does its own dialog, which can't be cancelled (Bug#14578).
2810 2013-07-06 Eli Zaretskii <eliz@gnu.org>
2812 * simple.el (line-move-partial): Adjust the row returned by
2813 posn-at-point for the current window-vscroll. (Bug#14567)
2815 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
2817 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
2818 (tramp-sh-file-inotifywait-process-filter): Handle file names with
2821 2013-07-06 Martin Rudalics <rudalics@gmx.at>
2823 * window.el (window-state-put-stale-windows): New variable.
2824 (window--state-put-2): Save list of windows without matching buffer.
2825 (window-state-put): Remove "bufferless" windows if possible.
2827 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
2829 * simple.el (alternatives-define): Remove leftover :group keyword.
2832 2013-07-06 Leo Liu <sdl.web@gmail.com>
2834 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
2835 (ido-enable-virtual-buffers): New variable.
2836 (ido-buffer-internal, ido-toggle-virtual-buffers)
2837 (ido-make-buffer-list): Use it.
2838 (ido-exhibit): Support turning on and off virtual buffers
2841 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
2843 * simple.el (alternatives-define): New macro.
2845 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
2847 * subr.el (read-quoted-char): Use read-key.
2848 (sit-for): Let read-event decode tty input (bug#14782).
2850 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
2852 * calendar/todo-mode.el: Add handling of file deletion, both by
2853 mode command and externally. Fix various related bugs.
2854 Clarify Commentary and improve some documentation strings and code.
2855 (todo-delete-file): New command.
2856 (todo-check-file): New function.
2857 (todo-show): Handle external deletion of the file we're trying to
2858 show (bug#14688). Replace called-interactively-p by an optional
2859 prefix argument to avoid problematic interaction with catch form
2860 when byte compiled (bug#14702).
2861 (todo-quit): Handle external deletion of the archive's todo file.
2862 Make sure the buffer that was visiting the archive file is still
2863 live before trying to bury it.
2864 (todo-category-completions): Handle external deletion of any
2865 category completion files.
2866 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
2867 of todo files, in case of external deletion.
2868 (todo-add-file): Replace unnecessary setq by let-binding.
2869 (todo-find-archive): Check whether there are any archives.
2870 Replace unnecessary setq by let-binding.
2871 (todo-archive-done-item): Use find-file-noselect to get the
2872 archive buffer whether or not the archive already exists.
2873 Remove superfluous code. Use file size instead of buffer-file-name to
2874 check if the archive is new; if it is, update list of archives.
2875 (todo-default-todo-file): Allow nil to be a valid value for when
2876 there are no todo files.
2877 (todo-reevaluate-default-file-defcustom): Use corrected definition
2878 of todo-default-todo-file.
2879 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
2880 (todo-delete-category, todo-show-categories-table)
2881 (todo-category-number): Clarify comment.
2882 (todo-filter-items): Clarify documentation string.
2883 (todo-show-current-file, todo-display-as-todo-file)
2884 (todo-reset-and-enable-done-separator): Tweak documentation string.
2885 (todo-done-separator): Make separator length window-width, since
2886 bug#2749 is now fixed.
2888 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
2890 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2891 Support both "gvfs-monitor-dir" and "inotifywait".
2892 (tramp-sh-file-inotifywait-process-filter): Rename from
2893 `tramp-sh-file-notify-process-filter'.
2894 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2895 (tramp-get-remote-gvfs-monitor-dir): New defuns.
2897 2013-07-05 Leo Liu <sdl.web@gmail.com>
2899 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
2901 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2903 * frame.el (display-pixel-height, display-pixel-width)
2904 (display-mm-height, display-mm-width): Mention behavior on
2905 multi-monitor setups in docstrings.
2906 (w32-display-monitor-attributes-list): Declare function.
2907 (display-monitor-attributes-list): Use it.
2909 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
2911 * filenotify.el: New package.
2913 * autorevert.el (top): Require filenotify.el.
2914 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
2916 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2917 (auto-revert-notify-handler): Use `file-notify-*' functions.
2919 * subr.el (file-notify-handle-event): Move function to filenotify.el.
2921 * net/tramp.el (tramp-file-name-for-operation):
2922 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
2924 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
2925 for `file-notify-add-watch' and `file-notify-rm-watch'.
2926 (tramp-process-sentinel): Improve trace.
2927 (tramp-sh-handle-file-notify-add-watch)
2928 (tramp-sh-file-notify-process-filter)
2929 (tramp-sh-handle-file-notify-rm-watch)
2930 (tramp-get-remote-inotifywait): New defuns.
2932 2013-07-03 Juri Linkov <juri@jurta.org>
2934 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
2935 call of `occur-read-primary-args' to interactive spec.
2937 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
2938 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
2940 2013-07-03 Matthias Meulien <orontee@gmail.com>
2942 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
2943 `Buffer-menu-multi-occur'. Add it to the menu.
2944 (Buffer-menu-mode): Document it in docstring.
2945 (Buffer-menu-multi-occur): New command. (Bug#14673)
2947 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2949 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2950 keywords and built-ins.
2952 2013-07-03 Glenn Morris <rgm@gnu.org>
2954 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
2956 Make info-xref checks case-sensitive by default
2957 * info.el (Info-find-node, Info-find-in-tag-table)
2958 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
2959 Add option for exact case matching of nodes.
2960 * info-xref.el (info-xref): New custom group.
2961 (info-xref-case-fold): New option.
2962 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
2964 2013-07-03 Leo Liu <sdl.web@gmail.com>
2966 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
2968 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
2970 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
2971 middle of block statement initially, lower the depth. Remove
2972 FIXME comment, not longer valid. Remove middle of block statement
2973 detection, no need to do that anymore since we've been using
2974 `ruby-parse-region' here.
2976 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
2978 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
2980 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
2982 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
2984 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
2986 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
2987 (desktop-restore-in-current-display): New customization option.
2988 (desktop--excluded-frame-parameters): Add `font'.
2989 (desktop--save-frames): Rename from desktop--save-windows.
2990 (desktop--restore-in-this-display-p): New function.
2991 (desktop--make-full-frame): Remove unwanted width/height from
2992 full(width|height) frames.
2993 (desktop--restore-frames): Rename from desktop--restore-windows.
2994 Obey desktop-restore-current-display. Do not delete old frames or
2995 select a new frame unless we were able to restore at least one frame.
2997 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
2999 * files.el (find-file-noselect): Simplify conditional expression.
3001 * remember.el (remember-append-to-file):
3002 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3004 Add `remember-notes' function to store random notes across Emacs
3006 * remember.el (remember-data-file): Add :set callback to affect
3007 notes buffer (if any).
3008 (remember-notes): New command.
3009 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3010 New defcustoms for the `remember-notes' function.
3011 (remember-notes-save-and-bury-buffer): New command.
3012 (remember-notes-mode-map): New variable.
3013 (remember-mode): New minor mode.
3014 (remember-notes--kill-buffer-query): New function.
3015 * startup.el (initial-buffer-choice): Add notes to custom type.
3017 2013-06-30 Eli Zaretskii <eliz@gnu.org>
3019 * bindings.el (right-char, left-char): Don't call sit-for, this is
3020 no longer needed. Use arithmetic comparison only for numerical
3023 * international/mule-cmds.el (select-safe-coding-system):
3024 Handle the case of FROM being a string correctly. (Bug#14755)
3026 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3028 * net/shr.el (shr-make-table-1): Add a sanity check that allows
3029 progression on degenerate tables.
3030 (shr-rescale-image): ImageMagick animated images currently don't work.
3032 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
3034 Some fixes and improvements for desktop frame restoration.
3035 It is still experimental and disabled by default.
3036 * desktop.el (desktop--save-windows): Put the selected frame at
3037 the head of the list.
3038 (desktop--make-full-frame): New function.
3039 (desktop--restore-windows): Try to re-select the frame that was
3040 selected upon saving. Do not abort if some frames fail to restore,
3041 just show an error message and continue. Set up maximized frames
3042 so they have default non-maximized dimensions.
3044 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
3046 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3047 Don't start heredoc inside a string or comment.
3049 2013-06-29 Eli Zaretskii <eliz@gnu.org>
3051 * bindings.el (visual-order-cursor-movement): New defcustom.
3052 (right-char, left-char): Provide visual-order cursor motion by
3053 calling move-point-visually. Update the doc strings.
3055 2013-06-28 Kenichi Handa <handa@gnu.org>
3057 * international/mule.el (define-coding-system): New coding system
3058 properties :inhibit-null-byte-detection,
3059 :inhibit-iso-escape-detection, and :prefer-utf-8.
3060 (set-buffer-file-coding-system): If :charset-list property of
3061 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3062 appropriate for setting.
3064 * international/mule-cmds.el (select-safe-coding-system):
3065 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3066 multibyte characters, return utf-8 (or one of its siblings).
3068 * international/mule-conf.el (prefer-utf-8): New coding system.
3069 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3072 2013-06-28 Ivan Kanis <ivan@kanis.fr>
3074 * net/shr.el (shr-render-region): New function.
3076 * net/eww.el: Autoload `eww-browse-url'.
3078 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3080 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3081 Adapt to `package-desc-version' being a list.
3082 Use `package--ac-desc-version' to retrieve version from a package
3085 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
3087 New experimental feature to save&restore window and frame setup.
3088 * desktop.el (desktop-save-windows): New defcustom.
3089 (desktop--saved-states): New var.
3090 (desktop--excluded-frame-parameters): New defconst.
3091 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3092 (desktop--restore-windows, desktop--save-windows): New functions.
3093 (desktop-save): Call `desktop--save-windows'.
3094 (desktop-read): Call `desktop--restore-windows'.
3096 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3098 * net/shr.el (add-face-text-property): Remove compat definition.
3100 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
3102 * info.el (Info-try-follow-nearest-node): Move search for footnote
3103 above search for node name to prevent missing a footnote (bug#14717).
3105 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
3107 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3109 2013-06-27 Leo Liu <sdl.web@gmail.com>
3111 * net/eww.el (eww-read-bookmarks): Check file size.
3113 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3115 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3116 advice--pending if newdef is nil or an autoload (bug#13820).
3117 (advice-mapc): New function.
3119 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3121 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3123 (eww-mode-map): Add a menu bar.
3124 (eww-add-bookmark): New command.
3125 (eww-bookmark-mode): New mode and commands.
3126 (eww-add-bookmark): Remove newlines from the title.
3127 (eww-bookmark-browse): Don't bug out if it's the only window.
3129 2013-06-26 Glenn Morris <rgm@gnu.org>
3131 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3132 (hfy-size): Handle ttys. (Bug#14668)
3134 * info-xref.el: Update for Texinfo 5 change in *note format.
3135 (info-xref-node-re, info-xref-note-re): New constants.
3136 (info-xref-check-buffer): Use info-xref-note-re.
3138 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3140 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3142 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3143 nil terminate the loop (bug#14718).
3145 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3147 * net/eww.el: Rework history traversal. When going forward/back,
3148 put these actions into the history, too, so that they can be
3150 (eww-render): Move the history reset to the correct buffer.
3152 2013-06-25 Juri Linkov <juri@jurta.org>
3154 * files-x.el (modify-dir-local-variable): Change the header comment
3155 in the file with directory local variables. (Bug#14692)
3157 * files-x.el (read-file-local-variable-value): Add `default'.
3160 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3162 * net/eww.el (eww-make-unique-file-name): Create a unique file
3163 name before saving to entering `y' accidentally asynchronously.
3165 2013-06-25 Ivan Kanis <ivan@kanis.fr>
3167 * net/eww.el (eww-download): New command and keystroke.
3169 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3171 * net/eww.el (eww-copy-page-url): Change name of command.
3173 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
3174 be more consistent with Info and dired.
3176 * net/eww.el (eww-mode-map): Ditto.
3178 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3180 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
3181 packages from archives.
3182 (package-archive-contents): Change format; include obsolete packages.
3183 (package-desc): Use `dir' to mark builtin packages.
3184 (package--from-builtin): Set the `dir' field to `builtin'.
3185 (generated-autoload-file, version-control): Declare.
3186 (package-compute-transaction): Change first arg and return value to be
3187 lists of package-descs. Adjust to new package-archive-contents format.
3188 (package--add-to-archive-contents): Adjust to new
3189 package-archive-contents format.
3190 (package-download-transaction): Arg is now a list of package-descs.
3191 (package-install): If `pkg' is a package name, pass it as
3192 a requirement, so it is subject to the usual (e.g. disabled) checks.
3193 (describe-package): Accept package-desc as well.
3194 (describe-package-1): Describe a specific package-desc. Add links to
3195 other package-descs for the same package name.
3196 (package-menu-describe-package): Pass the actual package-desc.
3197 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
3199 (package-desc-status): New function.
3200 (package-menu--refresh): New function, extracted
3201 from package-menu--generate.
3202 (package-menu--generate): Use it.
3203 (package-delete): Update package-alist.
3204 (package-menu-execute): Don't call package-initialize.
3206 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
3207 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
3208 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
3209 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
3210 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
3211 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
3213 2013-06-25 Martin Rudalics <rudalics@gmx.at>
3215 * window.el (window--state-get-1): Workaround for bug#14527.
3216 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
3218 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3220 * net/eww.el (eww-back-url): Implement the history by stashing all
3221 the data into a list.
3222 (eww-forward-url): Allow going forward in the history, too.
3224 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3226 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
3227 for values and use read--expression for expressions (bug#14710).
3228 (read-file-local-variable): Avoid setq.
3229 (read-file-local-variable-mode): Use minor-mode-list.
3231 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3233 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
3236 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3238 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
3239 Update imenu-support when dialect changes.
3241 2013-06-25 Leo Liu <sdl.web@gmail.com>
3243 * ido.el (ido-read-internal): Allow forward slash on windows.
3245 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3247 * net/eww.el (eww): Start of strings is \\`, not ^.
3249 2013-06-24 Ivan Kanis <ivan@kanis.fr>
3251 * net/shr.el (shr-browse-url): Fix interactive spec.
3253 * net/eww.el (eww): Add a trailing slash to domain names.
3255 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
3257 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
3259 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3261 * net/shr.el (shr-browse-url): Use an external browser if given a
3264 * net/eww.el (eww-external-browser): Move to shr.
3266 2013-06-24 Ivan Kanis <ivan@kanis.fr>
3268 * net/eww.el (eww): Work more correctly for file: URLs.
3269 (eww-detect-charset): Allow quoted charsets.
3270 (eww-yank-page-url): New command and keystroke.
3272 2013-06-24 Daiki Ueno <ueno@gnu.org>
3274 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
3275 file name of gpg executable.
3276 (epg-context-program): New function.
3277 (epg-context-home-directory): New function.
3278 (epg-context-set-program): New function.
3279 (epg-context-set-home-directory): New function.
3280 (epg--start): Use `epg-context-program' instead of
3282 (epg--list-keys-1): Likewise.
3284 2013-06-24 Leo Liu <sdl.web@gmail.com>
3286 * ido.el (ido-read-internal): Fix bug#14620.
3288 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
3290 * faces.el (face-documentation): Simplify.
3291 (read-face-attribute, tty-find-type, x-resolve-font-name):
3292 Use `string-match-p'.
3293 (list-faces-display): Use `string-match-p'. Simplify.
3294 (face-spec-recalc): Check face to avoid face alias loops.
3295 (read-color): Use `string-match-p' and non-capturing parenthesis.
3297 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3299 * net/shr.el (shr-rescale-image): Use the new
3300 :max-width/:max-height functionality.
3302 2013-06-23 Ivan Kanis <ivan@kanis.fr>
3304 * net/eww.el (eww-search-prefix): New variable.
3306 (eww-external-browser): New variable.
3307 (eww-mode-map): New keystroke.
3308 (eww-browse-with-external-browser): New command.
3310 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
3312 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
3314 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3315 Don't skip aligning the next header field when padding is 0;
3316 otherwise, field width is not respected unless the title is as
3319 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3321 * emacs-lisp/package.el (package-el-version): Remove.
3322 (package-process-define-package): Fix inf-loop.
3323 (package-install): Allow symbols as arguments again.
3325 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3327 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
3328 add some more keyword-like methods.
3329 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
3331 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
3333 * bs.el (bs-buffer-show-mark): Make defvar-local.
3334 (bs-mode): Use setq-local.
3336 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
3337 (emacs-lock--try-unlocking): Make defvar-local.
3339 2013-06-22 Glenn Morris <rgm@gnu.org>
3341 * play/cookie1.el (cookie-apropos): Minor simplification.
3343 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
3345 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3347 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
3348 `regexp-opt', it breaks the build during dumping.
3350 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
3352 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3353 Highlight keyword-like methods on Kernel and Module with
3354 font-lock-builtin-face.
3355 (auto-mode-alist): Consolidate different entries into one regexp
3356 and add more *file-s.
3358 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
3360 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
3362 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
3363 (diary-entry): Use it in the action of this button type instead of
3366 * calendar/todo-mode.el: New version.
3367 (todo-add-category): Append new category to end of file and give
3368 it the highest number, instead of putting it at the beginning and
3369 giving it 0. Incorporate noninteractive functionality.
3370 (todo-forward-category): Adapt to 1-based category numbering.
3371 Allow skipping over archived categories.
3372 (todo-backward-category): Derive from todo-forward-category.
3373 (todo-backward-item, todo-forward-item): Make noninteractive and
3374 delegate interactive part to new commands. Make sensitive to done items.
3375 (todo-categories): Make value an alist of category names and
3376 vectors of item counts.
3377 (todo-category-beg): Make a defconst.
3378 (todo-category-number): Use 1 instead of 0 as initial value.
3379 (todo-category-select): Make sensitive to overlays, optional item
3380 highlighting and done items.
3381 (todo-delete-item): Make sensitive to overlays and marked and done items.
3382 (todo-edit-item): Make sensitive to overlays and editing of
3383 date/time header optional. Add format checks.
3384 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
3385 no-op if point is not on an item. Advertise using todo-edit-quit.
3386 (todo-edit-mode): Make sensitive to new format, font-locking, and
3387 multiple todo files.
3388 (todo-insert-item, todo-insert-item-here): Derive from
3389 todo-basic-insert-item and extend functionality.
3390 (todo-item-end, todo-item-start): Make sensitive to done items.
3391 (todo-item-string): Don't return text properties. Restore point.
3392 (todo-jump-to-category): Make sensitive to multiple todo files and
3393 todo archives. Use extended category completion.
3394 (todo-lower-item, todo-raise-item): Rename to *-priority and
3395 derive from todo-set-item-priority.
3396 (todo-mode): Derive from special-mode. Make sensitive to new
3397 format, font-locking and multiple todo files. Make read-only.
3398 (todo-mode-map): Don't suppress digit keys, so they can supply
3399 prefix arguments. Add many new key bindings.
3400 (todo-prefix): Insert as an overlay instead of file text.
3401 Change semantics from diary date expression to purely visual mark.
3402 (todo-print): Rename to todo-print-buffer. Make buffer display
3403 features printable. Remove option to restrict number of items
3404 printed. Add option to print to file.
3405 (todo-print-function): Rename to todo-print-buffer-function.
3406 (todo-quit): Extend to handle exiting new todo modes.
3407 (todo-remove-item): Make sensitive to overlays.
3408 (todo-save): Extend to buffers of filtered items.
3409 (todo-show): Make sensitive to done items, multiple todo files and
3410 new todo modes. Offer to convert legacy todo file before creating
3411 first new todo file.
3412 (todo-show-priorities): Rename to todo-top-priorities.
3413 Change semantics of value 0.
3414 (todo-top-priorities): Rename to todo-filter-top-priorities,
3415 derive from todo-filter-items and extend functionality.
3416 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
3417 and extend functionality to other types of filtered items.
3418 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
3419 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
3420 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
3421 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
3422 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
3423 (todo-edit-mode-hook, todo-entry-prefix-function)
3424 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
3425 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
3426 (todo-initials, todo-insert-threshold, todo-item-string-start)
3427 (todo-line-string, todo-menu, todo-mode-hook)
3428 (todo-more-important-p, todo-previous-answer, todo-previous-line)
3429 (todo-print-priorities, todo-remove-separator)
3430 (todo-save-top-priorities-too, todo-string-count-lines)
3431 (todo-string-multiline-p, todo-time-string-format)
3432 (todo-tmp-buffer-name): Remove.
3433 (todo-add-file, todo-archive-done-item, todo-choose-archive)
3434 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
3435 (todo-edit-category-diary-inclusion)
3436 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
3437 (todo-edit-file, todo-edit-item-date-day)
3438 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
3439 (todo-edit-item-date-month, todo-edit-item-date-to-today)
3440 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
3441 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
3442 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
3443 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
3444 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
3445 (todo-filter-top-priorities-multifile, todo-find-archive)
3446 (todo-find-filtered-items-file, todo-go-to-source-item)
3447 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
3448 (todo-jump-to-archive-category, todo-lower-category)
3449 (todo-mark-category, todo-marked-item-p, todo-merge-category)
3450 (todo-move-category, todo-move-item, todo-next-button)
3451 (todo-next-item, todo-padded-string, todo-powerset)
3452 (todo-previous-button, todo-previous-item)
3453 (todo-print-buffer-to-file, todo-raise-category)
3454 (todo-rename-category, todo-repair-categories-sexp, todo-search)
3455 (todo-set-category-number, todo-set-item-priority)
3456 (todo-set-top-priorities-in-category)
3457 (todo-set-top-priorities-in-file, todo-show-categories-table)
3458 (todo-sort-categories-alphabetically-or-numerically)
3459 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
3460 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
3461 (todo-toggle-item-header, todo-toggle-item-highlighting)
3462 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
3463 (todo-toggle-view-done-items, todo-toggle-view-done-only)
3464 (todo-unarchive-items, todo-unmark-category): New commands.
3465 (todo-absolute-file-name, todo-add-to-buffer-list)
3466 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
3467 (todo-basic-insert-item, todo-category-completions)
3468 (todo-category-number, todo-category-string-matcher-1)
3469 (todo-category-string-matcher-2, todo-check-filtered-items-file)
3470 (todo-check-format, todo-clear-matches)
3471 (todo-comment-string-matcher, todo-convert-legacy-date-time)
3472 (todo-current-category, todo-date-string-matcher)
3473 (todo-define-insertion-command, todo-diary-expired-matcher)
3474 (todo-diary-goto-entry, todo-diary-item-p)
3475 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
3476 (todo-display-categories, todo-display-sorted, todo-done-item-p)
3477 (todo-done-item-section-p, todo-done-separator)
3478 (todo-done-string-matcher, todo-files, todo-filter-items)
3479 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
3480 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
3481 (todo-insert-category-line, todo-insert-item-from-calendar)
3482 (todo-insert-sort-button, todo-insert-with-overlays)
3483 (todo-insertion-command-name, todo-insertion-key-bindings)
3484 (todo-label-to-key, todo-longest-category-name-length)
3485 (todo-make-categories-list, todo-mode-external-set)
3486 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
3487 (todo-modes-set-3, todo-multiple-filter-files)
3488 (todo-nondiary-marker-matcher, todo-prefix-overlays)
3489 (todo-read-category, todo-read-date, todo-read-dayname)
3490 (todo-read-file-name, todo-read-time)
3491 (todo-reevaluate-category-completions-files-defcustom)
3492 (todo-reevaluate-default-file-defcustom)
3493 (todo-reevaluate-filelist-defcustoms)
3494 (todo-reevaluate-filter-files-defcustom)
3495 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
3496 (todo-reset-done-separator, todo-reset-done-separator-string)
3497 (todo-reset-done-string, todo-reset-global-current-todo-file)
3498 (todo-reset-highlight-item, todo-reset-nondiary-marker)
3499 (todo-reset-prefix, todo-set-categories)
3500 (todo-set-date-from-calendar, todo-set-show-current-file)
3501 (todo-set-top-priorities, todo-short-file-name)
3502 (todo-show-current-file, todo-sort, todo-time-string-matcher)
3503 (todo-total-item-counts, todo-update-buffer-list)
3504 (todo-update-categories-display, todo-update-categories-sexp)
3505 (todo-update-count, todo-validate-name, todo-y-or-n-p):
3507 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
3509 (todo-categories, todo-display, todo-edit, todo-faces)
3510 (todo-filtered): New defgroups.
3511 (todo-archived-only, todo-button, todo-category-string, todo-date)
3512 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
3513 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
3514 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
3515 (todo-add-item-if-new-category, todo-always-add-time-string)
3516 (todo-categories-align, todo-categories-archived-label)
3517 (todo-categories-category-label, todo-categories-diary-label)
3518 (todo-categories-done-label, todo-categories-number-separator)
3519 (todo-categories-todo-label, todo-categories-totals-label)
3520 (todo-category-completions-files, todo-completion-ignore-case)
3521 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
3522 (todo-done-separator-string, todo-done-string)
3523 (todo-files-function, todo-filter-done-items, todo-filter-files)
3524 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
3525 (todo-initial-category, todo-initial-file, todo-item-mark)
3526 (todo-legacy-date-time-regexp, todo-mode-line-function)
3527 (todo-nondiary-marker, todo-number-prefix)
3528 (todo-print-buffer-function, todo-show-current-file)
3529 (todo-show-done-only, todo-show-first, todo-show-with-done)
3530 (todo-skip-archived-categories, todo-top-priorities-overrides)
3531 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
3532 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
3534 (todo-category-done, todo-date-pattern, todo-date-string-start)
3535 (todo-diary-items-buffer, todo-done-string-start)
3536 (todo-filtered-items-buffer, todo-item-start)
3537 (todo-month-abbrev-array, todo-month-name-array)
3538 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
3539 (todo-top-priorities-buffer): New defconsts.
3540 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
3541 (todo-categories-with-marks, todo-category-string-face)
3542 (todo-comment-face, todo-comment-string, todo-current-todo-file)
3543 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
3544 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
3545 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
3546 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
3547 (todo-font-lock-keywords, todo-global-current-todo-file)
3548 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
3549 (todo-insertion-commands-args)
3550 (todo-insertion-commands-args-genlist)
3551 (todo-insertion-commands-names, todo-insertion-map)
3552 (todo-key-bindings-t, todo-key-bindings-t+a)
3553 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
3554 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
3555 (todo-nondiary-face, todo-print-buffer, todo-time-face)
3556 (todo-visited): New variables.
3558 2013-06-21 Glenn Morris <rgm@gnu.org>
3560 * play/cookie1.el (cookie-apropos): Add optional display argument.
3561 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
3562 (psychoanalyze-pinhead): Use cookie-doctor.
3564 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3566 * emacs-lisp/package.el (tar-get-file-descriptor)
3567 (tar--extract): Declare.
3569 2013-06-21 Eduard Wiebe <usenet@pusto.de>
3571 Extend flymake's warning predicate to be a function (bug#14217).
3572 * progmodes/flymake.el (flymake-warning-predicate): New.
3573 (flymake-parse-line): Use it.
3574 (flymake-warning-re): Make obsolete alias to
3575 `flymake-warning-predicate'.
3577 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3579 * emacs-lisp/package.el (package-alist): Include obsolete packages.
3580 (package-obsolete-list): Remove.
3581 (package-activate): Remove min-version argument. Add `force' argument.
3582 Adjust to new package-alist format.
3583 (package-mark-obsolete): Remove.
3584 (package-unpack): Force reload of the package's autoloads.
3585 (package-installed-p): Check builtins if the installed package is not
3587 (package-initialize): Don't reset package-obsolete-list.
3588 Don't specify which package version to activate.
3589 (package-process-define-package, describe-package-1)
3590 (package-menu--generate): Adjust to new package-alist format.
3592 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3594 * allout-widgets.el (allout-widgets-mode-off)
3595 (allout-widgets-mode-on, allout-widgets-pre-command-business)
3596 (allout-widgets-post-command-business)
3597 (allout-widgets-after-copy-or-kill-function)
3598 (allout-widgets-after-undo-function, allout-test-range-overlaps)
3599 (allout-decorate-item-and-context)
3600 (allout-graphics-modification-handler): Fix typos in docstrings.
3601 (allout-get-or-create-parent-widget): Use `looking-at-p'.
3603 * cmuscheme.el (scheme-start-file): Doc fix.
3604 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
3605 (scheme-input-filter): Use `string-match-p'.
3607 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
3609 * dired-x.el: Use Dired consistently in docstrings.
3611 * dired.el: Use Dired consistently in docstrings.
3612 (dired-readin, dired-mode): Use `setq-local'.
3613 (dired-switches-alist): Make defvar-local.
3614 (dired-buffers-for-dir): Use `zerop'.
3615 (dired-safe-switches-p, dired-switches-escape-p)
3616 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
3617 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
3618 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
3619 (dired-goto-next-nontrivial-file): Use `string-match-p'.
3620 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
3621 (dired-toggle-marks, dired-mark-files-containing-regexp)
3622 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
3623 (dired-flag-auto-save-files, dired-flag-backup-files):
3625 (dired-mark-files-regexp, dired-build-subdir-alist):
3626 Use `string-match-p', `looking-at-p'.
3628 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
3629 (direct-print-region-helper): Use `string-match-p'.
3631 2013-06-21 Leo Liu <sdl.web@gmail.com>
3633 * comint.el (comint-redirect-results-list-from-process):
3636 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3638 * net/eww.el (eww-update-header-line-format): Quote % characters.
3640 2013-06-21 Glenn Morris <rgm@gnu.org>
3642 * play/cookie1.el (cookie): New custom group.
3643 (cookie-file): New option.
3644 (cookie-check-file): New function.
3645 (cookie): Make it interactive. Make start and end messages optional.
3646 Interactively, display the result. Default to cookie-file.
3647 (cookie-insert): Default to cookie-file.
3648 (cookie-snarf): Make start and end messages optional.
3649 Default to cookie-file. Use with-temp-buffer.
3650 (cookie-read): Rename from read-cookie.
3651 Make start and end messages optional. Default to cookie-file.
3652 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
3654 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
3655 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
3657 2013-06-21 Leo Liu <sdl.web@gmail.com>
3659 * progmodes/octave.el (octave-mode): Backward compatibility fix.
3661 2013-06-21 Glenn Morris <rgm@gnu.org>
3663 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
3665 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3666 Daniel Hackney <dan@haxney.org>
3668 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
3669 Consolidate the single-file vs tarball code.
3670 (package-desc-suffix): New function.
3671 (package-desc-full-name): Don't bother inlining it.
3672 (package-load-descriptor): Return the new package-desc.
3673 (package-mark-obsolete): Remove unused arg `package'.
3674 (package-unpack): Make it work for single files as well.
3675 Make it update package-alist.
3676 (package--make-autoloads-and-stuff): Rename from
3677 package--make-autoloads-and-compile. Don't compile any more.
3678 (package--compile): New function.
3679 (package-generate-description-file): New function, extracted from
3680 package-unpack-single.
3681 (package-unpack-single): Remove.
3682 (package--with-work-buffer): Add indentation and debugging info.
3683 (package-download-single): Remove.
3684 (package-install-from-archive): Rename from package-download-tar, make
3685 it take a pkg-desc, and make it work for single files as well.
3686 (package-download-transaction): Simplify.
3687 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
3688 external tar program.
3689 (package-install-from-buffer): Remove `pkg-desc' argument.
3690 Use package-tar-file-info for tar-mode buffers.
3691 (package-install-file): Simplify accordingly.
3692 (package-archive-base): Change to take a pkg-desc.
3693 * tar-mode.el (tar--check-descriptor): New function, extracted from
3695 (tar-get-descriptor): Use it.
3696 (tar-get-file-descriptor): New function.
3697 (tar--extract): New function, extracted from tar-extract.
3698 (tar--extract): Use it.
3699 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
3700 case the summary uses non-ascii. Adjust to new calling convention of
3701 package-tar-file-info.
3703 2013-06-21 Leo Liu <sdl.web@gmail.com>
3705 * comint.el (comint-redirect-results-list-from-process):
3706 Fix random delay. (Bug#14681)
3708 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3710 * profiler.el (profiler-format-number): Use log, not log10.
3712 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3714 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
3716 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3718 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
3719 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
3721 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
3722 (AUTOGENEL): ... here.
3723 * emacs-lisp/cl-macs.el (cl--sublis): New function.
3724 (cl--defsubst-expand): Use it.
3726 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
3728 * subr.el (log10): Move here from C code, and declare as obsolete.
3729 All uses of (log10 X) replaced with (log X 10).
3731 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3733 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
3734 Declare with `defvar-local'.
3735 (tabulated-list-use-header-line, tabulated-list-entries)
3736 (tabulated-list-padding, tabulated-list-printer)
3737 (tabulated-list-sort-key): Declare with `defvar-local'.
3738 (tabulated-list-init-header, tabulated-list-print-fake-header):
3741 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
3743 * arc-mode.el (archive-mode): Add `archive-write-file' to
3744 `write-contents-functions' also for remote files. (Bug#14652)
3746 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3748 * cus-edit.el (custom-commands): Fix typos.
3749 (custom-display): Fix tooltip text.
3750 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
3751 Fix typos in docstrings.
3752 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
3753 (custom-unlispify-menu-entry, custom-magic-value-create)
3754 (custom-add-see-also, custom-group-value-create): Use ?\s.
3755 (custom-guess-type, customize-apropos, editable-field)
3756 (custom-face-value-create): Use `string-match-p'.
3757 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
3759 * custom.el (custom-load-symbol): Use `string-match-p'.
3761 * ansi-color.el: Convert to lexical binding.
3762 (ansi-colors): Fix URL.
3763 (ansi-color-context, ansi-color-context-region): Use defvar-local.
3764 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
3765 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
3767 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3769 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
3771 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
3773 2013-06-19 Tom Tromey <tromey@redhat.com>
3775 * net/eww.el (eww-top-url): Remove.
3776 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
3777 (eww-render): Set new variables. Don't set eww-top-url.
3778 (eww-handle-link): Handle "prev", "home", and "contents".
3779 Downcase the rel text.
3780 (eww-top-url): Choose best top URL.
3782 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3784 * net/eww.el: Rewrite to implement form elements "by hand" instead of
3785 relying in widget.el. Using widget.el leads to too many
3786 user interface inconsistencies.
3787 (eww-self-insert): Implement entering commands in text fields.
3788 (eww-process-text-input): New function to make text input field editing
3790 (eww-submit): Rewrite to use the new-style form methods.
3791 (eww-select-display): Display the correct selected item.
3792 (eww-change-select): Implement changing the select value.
3793 (eww-toggle-checkbox): Implement radio/checkboxes.
3794 (eww-update-field): Fix compilation error.
3795 (eww-tag-textarea): Implement <textarea>.
3797 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
3798 we don't shadow mode-specific bindings.
3800 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
3803 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
3805 2013-06-19 Glenn Morris <rgm@gnu.org>
3807 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
3809 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
3811 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
3814 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
3816 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3818 * net/browse-url.el (browse-url-browser-function):
3819 `eww-browse-url' has the right calling signature, `eww' does not.
3821 2013-06-19 Glenn Morris <rgm@gnu.org>
3823 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3824 Only eval autoloaded macros.
3825 (byte-compile-autoload): Only give the macro warning for macros.
3827 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
3828 (ps-underlined-faces): Declare.
3830 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
3831 (speedbar-add-supported-extension): Declare.
3833 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
3834 Don't include a date stamp in the header of the generated file;
3835 it leads to needless differences between output files.
3837 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
3839 * net/secrets.el (secrets-struct-secret-content-type):
3840 Replace check of introspection data by a test call of "CreateItem".
3841 Some servers do not offer introspection.
3843 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
3845 * electric.el (electric-pair-mode): Improve interaction with
3846 electric-layout-mode.
3847 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
3848 (electric-pair-syntax): Use text-mode-syntax-table in comments
3850 (electric-pair--insert): New function.
3851 (electric-pair-post-self-insert-function): Use it and
3852 electric--after-char-pos.
3854 2013-06-19 Leo Liu <sdl.web@gmail.com>
3856 * progmodes/octave.el (octave-help): Fix regexp.
3858 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3860 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
3861 (shr-table-horizontal-line): Allow nil as a value, and change the
3863 (shr-insert-table-ruler): Respect the nil value.
3865 2013-06-18 Tom Tromey <tromey@barimba>
3867 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3869 (eww-open-file): New defun.
3870 (eww-render): Initialize new variables.
3871 (eww-display-html): Handle "link" and "a".
3872 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
3873 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
3874 (eww-back-url): Rename from eww-previous-url.
3875 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3878 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
3880 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
3881 Distinguish ternary operator tokens from slash symbol and slash
3884 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
3886 Convert symbol prettification into minor mode and global minor mode.
3888 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
3889 `prog-prettify-symbols', and make a local defvar instead of defcustom.
3890 (prettify-symbols--keywords): Rename from
3891 `prog-prettify-symbols-alist' and make a local defvar.
3892 (prettify-symbols--compose-symbol): Rename from
3893 `prog--prettify-font-lock-compose-symbol'.
3894 (prettify-symbols--make-keywords): Rename from
3895 `prog-prettify-font-lock-symbols-keywords' and simplify.
3896 (prog-prettify-install): Remove.
3897 (prettify-symbols-mode): New minor mode, based on
3898 `prog-prettify-install'.
3899 (turn-on-prettify-symbols-mode): New function.
3900 (global-prettify-symbols-mode): New globalized minor mode.
3902 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3903 * progmodes/cfengine.el (cfengine3-mode):
3904 * progmodes/perl-mode.el (perl-mode): Don't call
3905 `prog-prettify-install'; set `prettify-symbols-alist' instead.
3907 2013-06-18 Juri Linkov <juri@jurta.org>
3909 * files-x.el (modify-file-local-variable-message): New function.
3910 (modify-file-local-variable)
3911 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
3912 and call `modify-file-local-variable-message' when it's non-nil.
3913 (add-file-local-variable, delete-file-local-variable)
3914 (add-file-local-variable-prop-line)
3915 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
3916 and use it. (Bug#9820)
3918 2013-06-18 Juri Linkov <juri@jurta.org>
3920 * emulation/vi.el (vi-shell-op):
3921 * emulation/vip.el (vip-execute-com, ex-command):
3922 * emulation/viper-cmd.el (viper-exec-bang):
3923 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
3924 the call of `shell-command-on-region'. (Bug#14637)
3926 * simple.el (shell-command-on-region): Doc fix.
3928 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3930 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
3933 2013-06-18 Glenn Morris <rgm@gnu.org>
3935 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
3937 * newcomment.el (comment-search-forward, comment-search-backward):
3938 Doc fix. (Bug#14376)
3940 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
3942 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
3943 (buffer-face-mode-invoke): Doc fix.
3945 2013-06-18 Matthias Meulien <orontee@gmail.com>
3947 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
3948 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
3950 2013-06-18 Glenn Morris <rgm@gnu.org>
3952 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
3953 Replace obsolete function generic-make-keywords with its expansion.
3955 * progmodes/python.el (ffap-alist): Declare.
3957 * textmodes/reftex.el (bibtex-mode-map): Declare.
3959 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3961 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
3962 (package-unpack, package-unpack-single): Return the pkg-dir.
3963 (package-download-transaction): Use it to update package-alist.
3965 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
3967 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
3970 2013-06-17 Juri Linkov <juri@jurta.org>
3972 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
3974 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3976 * emacs-lisp/package.el (package-load-descriptor):
3977 Remove `with-syntax-table' call, `read' doesn't need it.
3978 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
3980 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
3982 * startup.el (command-line): Expand package name returned by
3983 `package--description-file' (bug#14639).
3985 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
3987 * emacs-lisp/package.el (package-load-descriptor): Do not call
3988 `emacs-lisp-mode', just use its syntax table.
3990 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
3992 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
3993 `font-lock-extra-managed-props' if any prettifying keyword is added.
3994 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
3995 (prog-mode): Use `setq-local'.
3997 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3999 * international/characters.el (standard-case-table): Set syntax of ?»
4000 and ?« to punctuation.
4002 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
4004 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4005 Save relevant match data before calling `syntax-ppss' (bug#14595).
4007 2013-06-15 Juri Linkov <juri@jurta.org>
4009 * files-x.el (modify-file-local-variable-prop-line): Add local
4010 variables to the end of the existing comment on the first line.
4011 Use `file-auto-mode-skip' to skip interpreter magic line,
4012 and also skip XML declaration.
4014 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4016 * startup.el (package--builtin-versions): New var.
4017 (package-subdirectory-regexp): Remove.
4018 (package--description-file): Hard code its value instead.
4020 * emacs-lisp/package.el: Don't activate packages older than builtin.
4021 (package-obsolete-list): Rename from package-obsolete-alist, and make
4022 it into a simple list of package-desc.
4023 (package-strip-version): Remove.
4024 (package-built-in-p): Use package--builtin-versions.
4025 (package-mark-obsolete): Simplify.
4026 (package-process-define-package): Mark it obsolete if older than the
4028 (package-handle-response): Use line-end-position.
4029 (package-read-archive-contents, package--download-one-archive):
4031 (package--add-to-archive-contents): Skip if older than the builtin or
4033 (package-menu-describe-package): Fix last change.
4034 (package-list-unversioned): New var.
4035 (package-menu--generate): Use it.
4037 * emacs-lisp/autoload.el: Manage package--builtin-versions.
4038 (autoload--insert-text, autoload--insert-cookie-text): New functions.
4039 (autoload-builtin-package-versions): New variable.
4040 (autoload-generate-file-autoloads): Use them.
4041 Remove the list of autoloaded functions/macros from the
4042 (autoload...) comments.
4044 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4046 2013-06-15 Eli Zaretskii <eliz@gnu.org>
4048 * simple.el (line-move-partial): Don't jump to the next screen
4049 line as soon as it becomes visible. Instead, continue enlarging
4050 the vscroll until the portion of a tall screen line that's left on
4051 display is about the height of the frame's default font.
4054 2013-06-15 Glenn Morris <rgm@gnu.org>
4056 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4057 compilation-error-regexp-alist void, or local while let-bound.
4059 * progmodes/make-mode.el (makefile-mode-syntax-table):
4060 Treat "=" as punctuation. (Bug#14614)
4062 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
4064 * help-fns.el (describe-variable):
4065 Add extra line for permanent-local variables.
4067 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
4069 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4070 Add export, import, library. (Bug#9164)
4071 (library): Set indent function.
4073 2013-06-14 Glenn Morris <rgm@gnu.org>
4075 * term/xterm.el (xterm--query):
4076 Stop after first matching handler. (Bug#14615)
4078 2013-06-14 Ivan Kanis <ivan@kanis.fr>
4080 Add support for dired in saveplace.
4081 * dired.el (dired-initial-position-hook): New variable.
4082 (dired-initial-position): Call hook to place cursor position.
4083 * saveplace.el (save-place-to-alist): Add dired position.
4084 (save-place-dired-hook): New function.
4086 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4088 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4089 through a symbol rather than letrec.
4091 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4092 (package-desc): Add `dir' field.
4093 (package-desc-full-name): New function.
4094 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4095 (package-maybe-load-descriptor): Remove.
4096 (package-load-all-descriptors): Just call package-load-descriptor.
4097 (package--disabled-p): New function.
4098 (package-desc-vers, package-desc-doc): Remove aliases.
4099 (package--dir): Remove function.
4100 (package-activate): Check if a package is disabled.
4101 (package-process-define-package): New function, extracted from
4103 (define-package): Turn into a place holder.
4104 (package-unpack-single, package-tar-file-info):
4105 Use package--description-file.
4106 (package-compute-transaction): Use package--disabled-p.
4107 (package-download-transaction): Don't call
4108 package-maybe-load-descriptor since they're all loaded anyway.
4109 (package-install): Change argument to be a pkg-desc.
4110 (package-delete): Use a single pkg-desc argument.
4111 (describe-package-1): Use package-desc-dir instead of package--dir.
4112 Use package-desc property instead of package-symbol.
4113 (package-install-button-action): Adjust accordingly.
4114 (package--push): Rewrite.
4115 (package-menu--print-info): Adjust accordingly. Change the ID format
4117 (package-menu-describe-package, package-menu-get-status)
4118 (package-menu--find-upgrades, package-menu-mark-upgrades)
4119 (package-menu-execute, package-menu--name-predicate):
4121 * startup.el (package--description-file): New function.
4122 (command-line): Use it.
4123 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4124 Use package-desc-version.
4126 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4127 (byte-compile-preprocess): Use it.
4128 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4129 can't quite recognize.
4130 (byte-compile-add-to-list): Remove.
4131 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4132 (cconv-closure-convert): Add assertion.
4134 * emacs-lisp/map-ynp.el: Use lexical-binding.
4135 (map-y-or-n-p): Remove unused vars `tail' and `object'.
4136 Factor out some repeated code.
4138 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4140 * subr.el (with-eval-after-load): New macro.
4141 (eval-after-load): Allow form to be a function.
4142 take advantage of lexical-binding.
4143 (do-after-load-evaluation): Use dolist and adjust to new format.
4144 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4146 2013-06-13 Juri Linkov <juri@jurta.org>
4148 * replace.el (perform-replace): Display "symbol " and other search
4149 modes from `isearch-message-prefix' in the *Help* buffer.
4151 * isearch.el (isearch-query-replace): Add " symbol" and other
4152 possible search modes from `isearch-message-prefix' to the prompt.
4153 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4154 when reading a regexp to collect.
4156 2013-06-13 Juri Linkov <juri@jurta.org>
4158 * isearch.el (word-search-regexp): Match whitespace if the search
4159 string begins or ends in whitespace. The LAX arg is applied to
4160 both ends of the search string. Use `regexp-quote' and explicit
4161 \< and \> instead of \b. Use \` and \' instead of ^ and $.
4162 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4163 boundaries are replaced with symbol boundaries, and characters
4164 between symbols match non-word non-symbol syntax. (Bug#14602)
4166 2013-06-13 Juri Linkov <juri@jurta.org>
4168 * isearch.el (isearch-del-char): Don't exceed the length of
4169 `isearch-string' by the prefix arg. (Bug#14563)
4171 2013-06-13 Juri Linkov <juri@jurta.org>
4173 * isearch.el (isearch-yank-word, isearch-yank-line)
4174 (isearch-char-by-name, isearch-quote-char)
4175 (isearch-printing-char, isearch-process-search-char):
4176 Add optional count prefix arg. (Bug#14563)
4178 * international/isearch-x.el
4179 (isearch-process-search-multibyte-characters):
4180 Add optional count prefix arg.
4182 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4184 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
4185 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
4188 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
4190 * subr.el (set-temporary-overlay-map): Add on-exit argument.
4192 2013-06-13 Glenn Morris <rgm@gnu.org>
4194 * startup.el (tty-handle-args):
4195 Don't just discard "--" and anything after. (Bug#14608)
4197 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
4199 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
4201 Implement changes in Secret Service API. Make it backward compatible.
4202 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
4203 (secrets-create-item): Use it. Prefix properties with interface.
4205 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
4207 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
4208 (term-emulate-terminal): Respect term-suppress-hard-newline.
4210 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
4212 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4213 Only remove a `thumb-file' overlay. (Bug#14548)
4215 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
4217 * mail/reporter.el (reporter-submit-bug-report):
4218 Handle missing package-name. (Bug#14600)
4220 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4222 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
4223 (reftex-citation-prompt, reftex-default-bibliography)
4224 (reftex-bib-or-thebib, reftex-get-bibfile-list)
4225 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4226 (reftex-bib-sort-author, reftex-bib-sort-year)
4227 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
4228 (reftex-extract-bib-entries-from-thebibliography)
4229 (reftex-get-bibkey-default, reftex-get-bib-names)
4230 (reftex-parse-bibtex-entry, reftex-get-bib-field)
4231 (reftex-format-bib-entry, reftex-parse-bibitem)
4232 (reftex-format-bibitem, reftex-do-citation)
4233 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
4234 (reftex-restrict-bib-matches, reftex-extract-bib-file)
4235 (reftex-insert-bib-matches, reftex-format-citation)
4236 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
4237 (reftex-create-bibtex-file): Add docstrings, mostly by converting
4238 existing comments into docstrings.
4240 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4242 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
4244 2013-06-12 Andreas Schwab <schwab@suse.de>
4246 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
4247 for auto-save files.
4249 2013-06-12 Glenn Morris <rgm@gnu.org>
4251 * ido.el (ido-delete-ignored-files): Remove.
4252 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
4253 Go back to calling ido-ignore-item-p directly.
4255 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
4257 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
4259 * ido.el (ido-delete-ignored-files): New function,
4260 split from ido-make-file-list-1.
4261 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
4262 (ido-make-file-list-1): Use ido-delete-ignored-files.
4264 2013-06-12 Leo Liu <sdl.web@gmail.com>
4266 * progmodes/octave.el (inferior-octave-startup)
4267 (inferior-octave-completion-table)
4268 (inferior-octave-track-window-width-change)
4269 (octave-eldoc-function-signatures, octave-help)
4270 (octave-find-definition): Use single quoted strings.
4271 (inferior-octave-startup-args): Change default value.
4272 (inferior-octave-startup): Do not hard code "-i" and
4273 "--no-line-editing".
4274 (inferior-octave-resync-dirs): Add optional arg NOERROR.
4275 (inferior-octave-directory-tracker): Use it.
4276 (octave-goto-function-definition): Robustify.
4277 (octave-help): Support highlighting operators in 'See also'.
4278 (octave-find-definition): Find subfunctions only in Octave mode.
4280 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4282 * help-fns.el (help-fns--compiler-macro): If the handler function is
4283 named, then put a link to it.
4284 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
4285 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
4287 (cl-eval-when): Simplify debug spec.
4288 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
4289 compiler-macro function instead of setting `compiler-macro-file'.
4291 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4293 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
4294 * vc/vc-hooks.el (vc-stay-local): Doc fix.
4296 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4297 Daniel Hackney <dan@haxney.org>
4299 First part of Daniel Hackney's patch to package.el.
4300 * emacs-lisp/package.el: Use defstruct.
4301 (package-desc): New, main struct.
4302 (package--bi-desc, package--ac-desc): New structs, used to describe the
4303 format in external files.
4304 (package-desc-vers): Replace with package-desc-version accessor.
4305 (package-desc-doc): Replace with package-desc-summary accessor.
4306 (package-activate-1): Remove `package' arg since the pkg-vec now
4308 (define-package): Use package-desc-from-define.
4309 (package-unpack-single): Change file-name arg to be a symbol.
4310 (package--add-to-archive-contents): Use package-desc-create and new
4311 accessor functions to package--ac-desc.
4312 (package-buffer-info, package-tar-file-info): Return a package-desc.
4313 (package-install-from-buffer): Remove `type' argument. Change pkg-info
4314 arg to be a package-desc.
4315 (package-install-file): Adjust accordingly. Use \' to match EOS.
4316 (package--from-builtin): New function.
4317 (describe-package-1, package-menu--generate): Use it.
4318 (package--make-autoloads-and-compile): Change name arg to be a symbol.
4319 (package-generate-autoloads): Idem and return the name of the file.
4320 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4321 Change pkg-info arg to be a package-desc.
4322 Use package-make-ac-desc.
4323 (package-upload-file): Use \' to match EOS.
4324 * finder.el (finder-compile-keywords): Use package-make-builtin.
4326 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4328 * vc/vc.el (vc-deduce-fileset): Change error message.
4329 (vc-read-backend): New function.
4330 (vc-next-action): Use it.
4332 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
4334 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
4335 (prolog-font-lock-keywords): Use regexp-opt instead.
4336 Don't manually highlight strings.
4337 (prolog-mode-variables): Simplify comment-start-skip.
4338 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
4340 * emacs-lisp/generic.el (generic--normalise-comments)
4341 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
4342 (generic-mode-set-comments): Use them.
4343 (generic-bracket-support): Use setq-local.
4344 (generic-make-keywords-list): Declare obsolete.
4346 2013-06-11 Glenn Morris <rgm@gnu.org>
4348 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4349 Prettify after setting font-lock-defaults. (Bug#14574)
4351 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
4353 * replace.el (query-replace, occur-read-regexp-defaults-function)
4355 * subr.el (declare-function, number-sequence, local-set-key)
4356 (substitute-key-definition, locate-user-emacs-file)
4357 (with-silent-modifications, split-string, eval-after-load):
4358 Fix typos, remove unneeded backslashes and reflow some docstrings.
4360 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4362 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
4363 default for Elisp files.
4365 2013-06-11 Glenn Morris <rgm@gnu.org>
4367 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
4368 although define-derived-mode was doing this anyway. (Bug#14583)
4370 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
4372 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4373 Fix make-variable-buffer-local call to refer to the correct variable.
4375 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
4377 * eshell/em-term.el (eshell-visual-commands)
4378 (eshell-visual-subcommands, eshell-visual-options):
4379 Add summary line to docstrings. Add cross-references.
4381 2013-06-10 Glenn Morris <rgm@gnu.org>
4383 * epa.el (epa-read-file-name): New function. (Bug#14510)
4384 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
4386 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
4388 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
4389 output redirection to be ignored with visual commands.
4391 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
4393 * eshell/em-term.el (eshell-visual-command-p): New function.
4394 (eshell-term-initialize): Move long lambda to separate function
4395 eshell-visual-command-p.
4396 * eshell/em-dirs.el (eshell-dirs-initialise):
4397 * eshell/em-script.el (eshell-script-initialize):
4398 Add missing #' to lambda.
4400 2013-06-08 Leo Liu <sdl.web@gmail.com>
4402 * progmodes/octave.el (octave-add-log-current-defun): New function.
4403 (octave-mode): Set add-log-current-defun-function.
4404 (octave-goto-function-definition): Do not move point if not found.
4405 (octave-find-definition): Enhance to try subfunctions first.
4407 2013-06-08 Glenn Morris <rgm@gnu.org>
4409 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4410 (byte-compile-backward-char, byte-compile-backward-word):
4411 Improve previous change, to handle non-explicit nil.
4413 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4415 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
4416 (smie--opener/closer-at-point): New function.
4417 (smie--matching-block-data): Use it. Don't match from right after an
4418 opener or right before a closer. Obey smie-blink-matching-inners.
4419 Don't signal a mismatch for repeated inners like "switch..case..case".
4421 2013-06-07 Leo Liu <sdl.web@gmail.com>
4423 * progmodes/octave.el (octave-mode): Set comment-use-global-state
4425 (octave-function-header-regexp): Fix. (Bug#14570)
4426 (octave-help-mode-finish-hook, octave-help-mode-finish):
4427 Remove. Just use temp-buffer-show-hook.
4429 * newcomment.el (comment-search-backward): Revert last change.
4432 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
4434 2013-06-07 Eli Zaretskii <eliz@gnu.org>
4436 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
4437 through xargs, to avoid failure due to MS-Windows limitations on
4438 command-line length.
4440 2013-06-06 Glenn Morris <rgm@gnu.org>
4442 * font-lock.el (lisp-font-lock-keywords-2):
4443 Treat user-error like error.
4445 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4446 (byte-compile-backward-char, byte-compile-backward-word):
4447 Handle explicit nil arguments. (Bug#14565)
4449 2013-06-05 Alan Mackenzie <acm@muc.de>
4451 * isearch.el (isearch-allow-prefix): New user option.
4452 (isearch-other-meta-char): Don't exit isearch when a prefix
4453 argument is typed whilst `isearch-allow-prefix' is non-nil.
4456 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4458 * autorevert.el (auto-revert-notify-handler): Use memq.
4459 Hide assertion failure.
4461 * skeleton.el: Use cl-lib.
4462 (skeleton-further-elements): Use defvar-local.
4463 (skeleton-insert): Use cl-progv.
4465 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4467 * progmodes/prog-mode.el (prog-prettify-symbols)
4468 (prog-prettify-install): Update docstrings.
4470 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4472 * simple.el: Move all the prog-mode code to prog-mode.el.
4473 * progmodes/prog-mode.el: New file.
4474 * loadup.el: Add prog-mode.el.
4476 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4478 * simple.el (prog-prettify-symbols): Add version.
4479 (prog-prettify-install): Add convenience function to prettify symbols.
4481 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
4482 (perl--augmented-font-lock-keywords-1)
4483 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
4484 variables and use it.
4486 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4487 (cfengine3-mode): Remove unneeded variable and use it.
4489 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4490 (lisp--augmented-font-lock-keywords-1)
4491 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
4492 Remove unneeded variables and use it.
4494 2013-06-05 João Távora <joaotavora@gmail.com>
4496 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
4497 to point when opening the connection. (Bug#14380)
4499 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4501 * subr.el (load-history-regexp, load-history-filename-element)
4502 (eval-after-load, after-load-functions, do-after-load-evaluation)
4503 (eval-next-after-load, display-delayed-warnings)
4504 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
4505 definition of save-match-data.
4506 (overriding-local-map): Remove accidental obsolescence declaration.
4508 * emacs-lisp/edebug.el (edebug-result): Move before first use.
4510 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4512 Generalize symbol prettify support to prog-mode and implement it
4513 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
4514 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
4515 (prog--prettify-font-lock-compose-symbol)
4516 (prog-prettify-font-lock-symbols-keywords): New variables and
4517 functions to support symbol prettification.
4518 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4519 (lisp--augmented-font-lock-keywords-1)
4520 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
4521 (lisp--prettify-symbols-alist): Implement prettify of lambda.
4522 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4523 (cfengine3--prettify-symbols-alist, cfengine3-mode):
4524 Implement prettify of -> => :: strings.
4525 * progmodes/perl-mode.el (perl-prettify-symbols)
4526 (perl--font-lock-compose-symbol)
4527 (perl--font-lock-symbols-keywords): Move to prog-mode.
4528 (perl--prettify-symbols-alist): Prettify -> => :: strings.
4529 (perl-font-lock-keywords-1)
4530 (perl-font-lock-keywords-2): Remove explicit prettify support.
4531 (perl--augmented-font-lock-keywords)
4532 (perl--augmented-font-lock-keywords-1)
4533 (perl--augmented-font-lock-keywords-2, perl-mode):
4534 Implement prettify support.
4536 2013-06-05 Leo Liu <sdl.web@gmail.com>
4538 Re-implement smie matching block highlight using
4539 show-paren-data-function. (Bug#14395)
4540 * emacs-lisp/smie.el (smie-matching-block-highlight)
4541 (smie--highlight-matching-block-overlay)
4542 (smie--highlight-matching-block-lastpos)
4543 (smie-highlight-matching-block)
4544 (smie-highlight-matching-block-mode): Remove.
4545 (smie--matching-block-data-cache): New variable.
4546 (smie--matching-block-data): New function.
4547 (smie-setup): Use smie--matching-block-data for
4548 show-paren-data-function.
4550 * progmodes/octave.el (octave-mode-menu): Fix.
4551 (octave-find-definition): Skip garbage lines.
4553 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4555 Fix compilation error with simultaneous dynamic+lexical scoping.
4556 Add warning when a defvar appears after the first let-binding.
4557 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
4558 (byte-compile-close-variables): Initialize it.
4559 (byte-compile--declare-var): New function.
4560 (byte-compile-file-form-defvar)
4561 (byte-compile-file-form-define-abbrev-table)
4562 (byte-compile-file-form-custom-declare-variable): Use it.
4563 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
4564 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
4565 (byte-compile-bind): Handle dynamic bindings that shadow
4567 (byte-compile-unbind): Make arg non-optional.
4568 (byte-compile-let): Simplify.
4569 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
4570 (cconv--analyse-function, cconv-analyse-form): Populate it.
4571 Protect byte-compile-bound-variables to limit the scope of defvars.
4572 (cconv-analyse-form): Add missing rule for (defvar <foo>).
4573 Remove unneeded rule for `declare'.
4575 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
4576 so as to avoid depending on cl-adjoin at run-time.
4577 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
4579 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
4580 (macroexp--warn-and-return): Use it.
4582 2013-06-05 Leo Liu <sdl.web@gmail.com>
4584 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
4586 2013-06-04 Leo Liu <sdl.web@gmail.com>
4588 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
4589 (compilation-auto-jump): Suppress the "Mark set" message to give
4590 way to exit message.
4592 2013-06-04 Alan Mackenzie <acm@muc.de>
4594 Remove faulty optimisation from indentation calculation.
4595 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
4596 search limit based on 2000 characters back from indent-point.
4598 2013-06-03 Tassilo Horn <tsdh@gnu.org>
4600 * eshell/em-term.el (cl-lib): Require `cl-lib'.
4602 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4604 * emacs-lisp/lisp.el: Use lexical-binding.
4605 (lisp--local-variables-1, lisp--local-variables): New functions.
4606 (lisp--local-variables-completion-table): New var.
4607 (lisp-completion-at-point): Use it complete let-bound vars.
4609 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
4610 eagerly (bug#14422).
4612 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
4614 * autorevert.el (auto-revert-notify-enabled)
4615 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4616 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
4617 (auto-revert-notify-handler): Handle also gfilenotify.
4619 * subr.el (file-notify-handle-event): New defun. Replacing ...
4620 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
4623 2013-06-03 Juri Linkov <juri@jurta.org>
4625 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
4626 `M-s h .'. (Bug#14427)
4628 * hi-lock.el (highlight-symbol-at-point): New alias for the new
4629 command `hi-lock-face-symbol-at-point'.
4630 (hi-lock-face-symbol-at-point): New command.
4631 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
4632 (hi-lock-menu): Add `highlight-symbol-at-point'.
4633 (hi-lock-mode): Doc fix.
4635 * isearch.el (isearch-forward-symbol-at-point): New command.
4636 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
4637 (isearch-highlight-regexp): Add a regexp which matches
4638 words/symbols for word/symbol mode.
4640 * subr.el (find-tag-default-bounds): New function with the body
4641 mostly moved from `find-tag-default'.
4642 (find-tag-default): Move most code to `find-tag-default-bounds',
4643 call it and apply `buffer-substring-no-properties' afterwards.
4645 2013-06-03 Tassilo Horn <tsdh@gnu.org>
4647 * eshell/em-term.el (eshell-term-initialize):
4648 Use `cl-intersection' rather than `intersection'.
4650 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
4652 * vc/log-view.el: Doc fix.
4653 (log-view-mode-map): Copy keymap from `special-mode-map'.
4655 2013-06-02 Eric Ludlam <zappo@gnu.org>
4657 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
4658 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
4659 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
4660 (eieio-unbound, eieio-default-superclass)
4661 (eieio--define-field-accessors, method-static, method-before)
4662 (method-primary, method-after, method-num-lists)
4663 (method-generic-before, method-generic-primary)
4664 (method-generic-after, method-num-slots)
4665 (eieio-specialized-key-to-generic-key)
4666 (eieio--check-type, class-v, class-p)
4667 (eieio-class-name, define-obsolete-function-alias)
4668 (eieio-class-parents-fast, eieio-class-children-fast)
4669 (same-class-fast-p, class-constructor, generic-p)
4670 (generic-primary-only-p, generic-primary-only-one-p)
4671 (class-option-assoc, class-option, eieio-object-p)
4672 (class-abstract-p, class-method-invocation-order)
4673 (eieio-defclass-autoload-map, eieio-defclass-autoload)
4674 (eieio-class-un-autoload, eieio-defclass)
4675 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
4676 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
4677 (eieio--defgeneric-init-form, eieio-defgeneric-form)
4678 (eieio-defgeneric-reset-generic-form)
4679 (eieio-defgeneric-form-primary-only)
4680 (eieio-defgeneric-reset-generic-form-primary-only)
4681 (eieio-defgeneric-form-primary-only-one)
4682 (eieio-defgeneric-reset-generic-form-primary-only-one)
4683 (eieio-unbind-method-implementations)
4684 (eieio--defmethod, eieio--typep)
4685 (eieio-perform-slot-validation, eieio-validate-slot-value)
4686 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
4687 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
4688 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
4689 (eieio-slot-name-index, eieio-class-slot-name-index)
4690 (eieio-set-defaults, eieio-initarg-to-attribute)
4691 (eieio-attribute-to-initarg, eieio-c3-candidate)
4692 (eieio-c3-merge-lists, eieio-class-precedence-c3)
4693 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
4694 (eieio-class-precedence-list, eieio-generic-call-methodname)
4695 (eieio-generic-call-arglst, eieio-generic-call-key)
4696 (eieio-generic-call-next-method-list)
4697 (eieio-pre-method-execution-functions, eieio-generic-call)
4698 (eieio-generic-call-primary-only, eieiomt-method-list)
4699 (eieiomt-optimizing-obarray, eieiomt-install)
4700 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
4701 (eieio-generic-form, eieio-defmethod, make-obsolete)
4702 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
4703 (defclass): Remove `eval-and-compile' from macro.
4704 (call-next-method, shared-initialize): Instead of using
4705 `scoped-class' variable, use new eieio--scoped-class, and
4706 eieio--with-scoped-class.
4707 (initialize-instance): Rename local variable 'scoped-class' to
4708 'this-class' to remove ambiguitity from old global.
4710 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
4712 (eieio--scoped-class-stack): New variable.
4713 (eieio--scoped-class): New fcn.
4714 (eieio--with-scoped-class): New scoping macro.
4715 (eieio-defclass): Use pushnew instead of add-to-list.
4716 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
4717 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
4718 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
4719 `scoped-class' variable, use new eieio--scoped-class, and
4720 eieio--with-scoped-class.
4722 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
4724 2013-06-02 Tassilo Horn <tsdh@gnu.org>
4726 * eshell/esh-ext.el (eshell-external-command): Pass args to
4727 `eshell-find-interpreter'.
4728 (eshell-find-interpreter): Add new second parameter ARGS.
4730 * eshell/em-script.el (eshell-script-initialize): Add second arg
4731 to the function added as MATCH to `eshell-interpreter-alist'.
4733 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
4734 the function added as MATCH to `eshell-interpreter-alist'.
4736 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
4737 (eshell-visual-options): New defcustom.
4738 (eshell-escape-control-x): Adapt docstring.
4739 (eshell-term-initialize): Test `eshell-visual-subcommands' and
4740 `eshell-visual-options' in addition to `eshell-visual-commands'.
4741 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
4743 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
4745 * progmodes/python.el (python-indent-block-enders): Add break,
4746 continue and raise keywords.
4748 2013-06-01 Glenn Morris <rgm@gnu.org>
4750 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
4752 Plain (f)boundp silences compilation warnings since Emacs 22.1.
4753 * progmodes/cc-cmds.el (delete-forward-p):
4754 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
4755 * progmodes/cc-engine.el (buffer-syntactic-context):
4756 * progmodes/cc-fonts.el (face-property-instance):
4757 * progmodes/cc-mode.el (set-keymap-parents):
4758 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
4759 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
4760 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
4761 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
4762 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
4764 * progmodes/cc-vars.el (other): Emacs has this widget since
4765 at least 21.1, so don't (re)define it.
4767 * eshell/em-cmpl.el (eshell-cmpl-initialize):
4768 Replace the obsolete alias pcomplete-arg-quote-list.
4770 2013-06-01 Leo Liu <sdl.web@gmail.com>
4772 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
4774 (inferior-octave-minimal-columns)
4775 (inferior-octave-last-column-width): New variables.
4776 (inferior-octave-track-window-width-change): New function.
4777 (inferior-octave-mode): Adjust column width so that Octave output,
4778 for example from 'ls', can fit into the window nicely.
4780 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4782 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4783 Highlight expansions inside regexp literals.
4785 2013-05-31 Glenn Morris <rgm@gnu.org>
4787 * obsolete/sym-comp.el (symbol-complete):
4788 Replace obsolete completion-annotate-function.
4790 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
4792 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4794 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4795 New function, checks if point is inside a literal that allows
4796 expression expansion.
4797 (ruby-syntax-propertize-expansion): Use it.
4798 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
4801 2013-05-30 Juri Linkov <juri@jurta.org>
4803 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
4805 (isearch-invisible): New variable.
4806 (isearch-forward): Doc fix.
4807 (isearch-mode): Set `isearch-invisible'
4808 to the value of `search-invisible'.
4809 (isearch-toggle-case-fold): Doc fix.
4810 (isearch-toggle-invisible): New command.
4811 (isearch-query-replace): Let-bind `search-invisible'
4812 to the value of `isearch-invisible'.
4813 (isearch-search): Use `isearch-invisible' instead of
4814 `search-invisible'. Let-bind `search-invisible'
4815 to the value of `isearch-invisible'. (Bug#11378)
4817 2013-05-30 Juri Linkov <juri@jurta.org>
4819 * replace.el (perform-replace): Avoid `isearch-range-invisible'
4820 call when `query-flag' is nil and `search-invisible' is non-nil.
4823 2013-05-30 Glenn Morris <rgm@gnu.org>
4825 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
4827 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
4828 (cc-require): Suppress spurious "noruntime" warnings.
4829 (cc-require-when-compile): Use fboundp, for sake of compiler.
4831 * progmodes/cc-mode.el: Move load of cc-vars before that of
4832 cc-langs (which in turn loads cc-vars), to quieten compiler.
4834 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4836 * paren.el: Simplify the code.
4837 (show-paren-mode): Always start the timer.
4838 (show-paren--idle-timer): Rename from show-paren-idle-timer.
4839 (show-paren--overlay, show-paren--overlay-1): Rename from
4840 show-paren-overlay and show-paren-overlay-1, and initialize to an
4841 overlay rather than to nil.
4842 (show-paren-function): Misc cleanup and simplifications.
4844 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4846 * paren.el (show-paren-data-function): New hook.
4847 (show-paren--default): New function, extracted from show-paren-function.
4848 (show-paren-function): Use show-paren-data-function.
4850 2013-05-30 Glenn Morris <rgm@gnu.org>
4852 * ielm.el (ielm-map, ielm-complete-symbol):
4853 Use completion-at-point rather than obsolete functions.
4854 (inferior-emacs-lisp-mode): Doc fix.
4855 Set completion-at-point-functions, rather than
4856 comint-dynamic-complete-functions.
4858 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
4859 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
4860 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
4862 * image.el (image-animated-p): Tweak definition.
4864 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
4865 (rlogin-process-connection-type): Tweak default. Add set-after.
4866 (rlogin-host): Doc fix.
4867 (rlogin): Tweak prompt.
4868 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
4870 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
4871 * progmodes/tcl.el (inferior-tcl-mode-map):
4872 Use completion-at-point rather than obsolete alias.
4874 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
4876 * minibuffer.el (read-file-name-completion-ignore-case):
4877 Move before completion--in-region, for eager macro expansion.
4879 2013-05-29 Juri Linkov <juri@jurta.org>
4881 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
4882 for total count of matching lines. Add `global-matches' for total
4883 count of matches. Rename `matches' to `lines' for count of
4884 matching lines. Add `matches' for count of matches.
4885 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
4886 to `prev-line' for line number of prev match endpt.
4887 Increment `matches' for every match. Print the number of
4888 matching lines in the header.
4889 (occur-context-lines): Rename `lines' to `curr-line'.
4890 Rename `prev-lines' to `prev-line'. (Bug#14017)
4892 2013-05-29 Juri Linkov <juri@jurta.org>
4894 * replace.el (perform-replace): Add `skip-read-only-count',
4895 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
4896 Increment them for corresponding conditions and report the number
4897 of skipped occurrences in the final message. (Bug#11746)
4898 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4899 (replace-string, replace-regexp): Doc fix.
4901 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4903 * emacs-lisp/trace.el (trace--read-args): Provide a default.
4905 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
4906 prog-mode-map (bug#14504).
4908 2013-05-29 Leo Liu <sdl.web@gmail.com>
4910 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
4911 (octave-help): Small simplification.
4913 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
4914 off the highlight first.
4916 2013-05-29 Glenn Morris <rgm@gnu.org>
4918 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
4919 Handle idlwave-last-system-routine-info-cons-cell being nil.
4921 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
4922 (idlwave-write-paths): Simplify via with-temp-buffer.
4924 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
4925 * emulation/cua-rect.el: Also load cua-base at run time.
4927 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
4928 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
4929 (cperl-imenu-on-info): Require imenu.
4931 2013-05-28 Alan Mackenzie <acm@muc.de>
4933 Handle "capitalised keywords" correctly.
4934 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
4936 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
4938 * eshell/em-unix.el: Add -r option to cp.
4940 2013-05-28 Glenn Morris <rgm@gnu.org>
4942 * vc/vc-arch.el (vc-exec-after): Declare.
4943 (vc-switches): Autoload.
4944 * vc/vc-bzr.el: No need to require vc when compiling.
4945 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
4946 (vc-resynch-buffer, vc-dir-refresh): Declare.
4947 (vc-setup-buffer, vc-switches): Autoload.
4948 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
4949 (vc-resynch-buffer): Declare.
4950 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
4951 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
4952 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
4953 (grep-read-regexp, grep-read-files, grep-expand-template)
4954 (vc-dir-refresh): Declare.
4955 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
4956 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
4957 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
4958 * vc/vc-mtn.el (vc-exec-after): Declare.
4959 (vc-switches): Autoload.
4960 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
4961 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
4962 (vc-file-tree-walk): Declare.
4963 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
4964 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
4965 (vc-tag-precondition, vc-rename-master): Autoload.
4966 * vc/vc-svn.el (vc-exec-after): Declare.
4967 (vc-switches, vc-setup-buffer): Autoload.
4968 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
4970 (vc-resynch-buffer): Declare.
4972 * obsolete/fast-lock.el (byte-compile-warnings):
4973 Don't warn about obsolete features in this obsolete file.
4975 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
4976 Move definition before use.
4978 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
4979 (dun-unix-verbs): Remove dun-zippy.
4980 (dun-zippy): Remove function.
4982 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
4984 2013-05-27 Juri Linkov <juri@jurta.org>
4986 * replace.el (replace-search): New function with code moved out
4987 from `perform-replace'.
4988 (replace-highlight, replace-dehighlight): Move function definitions
4989 up closer to `replace-search'. (Bug#11746)
4991 2013-05-27 Juri Linkov <juri@jurta.org>
4993 * replace.el (perform-replace): Ignore invisible matches.
4994 In addition to checking `query-replace-skip-read-only', also
4995 filter out matches by calling `run-hook-with-args-until-failure'
4996 on `isearch-filter-predicates', and also check `search-invisible'
4997 for t or call `isearch-range-invisible'.
4998 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5000 2013-05-27 Juri Linkov <juri@jurta.org>
5002 * isearch.el (isearch-filter-predicates): Rename from
5003 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5004 (isearch-message-prefix): Display text from the property
5005 `isearch-message-prefix' of the currently active filters.
5006 (isearch-search): Don't compare `isearch-filter-predicate' with
5007 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5008 on `isearch-filter-predicates'. Also check `search-invisible' for t
5009 or call `isearch-range-invisible'.
5010 (isearch-filter-visible): Make obsolete.
5011 (isearch-lazy-highlight-search):
5012 Call `run-hook-with-args-until-failure' on
5013 `isearch-filter-predicates' and use `isearch-range-invisible'.
5015 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5016 `isearch-filter-predicates' instead of `funcall'ing
5017 `isearch-filter-predicate'.
5018 (Info-mode): Set `Info-isearch-filter' to
5019 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5021 * dired-aux.el (dired-isearch-filter-predicate-orig):
5023 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5024 (dired-isearch-filenames-end): Add and remove
5025 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5026 instead of changing the value of `isearch-filter-predicate'.
5027 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5028 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5029 Put property `isearch-message-prefix' to "filename " on
5030 `dired-isearch-filter-filenames'.
5032 * wdired.el (wdired-change-to-wdired-mode):
5033 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5034 locally instead of changing `isearch-filter-predicate'.
5035 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5037 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
5039 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5040 return the commit hash (Bug#14459). Also set the
5041 `vc-git-detached' property.
5042 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5043 (vc-git-mode-line-string): Use the same help-echo format whether
5044 in detached mode or not, because we know the actual revision now.
5045 When in detached mode, shorten the revision to 7 chars.
5047 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5049 * emacs-lisp/easy-mmode.el (define-minor-mode):
5050 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5051 mode hook and provide a docstring.
5053 2013-05-27 Alan Mackenzie <acm@muc.de>
5055 Remove spurious syntax-table text properties inserted by C-y.
5056 * progmodes/cc-mode.el (c-after-change): Also clear hard
5057 syntax-table property with value nil.
5059 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
5061 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5062 when reading the events; the buffer layout shall not be changed.
5064 2013-05-27 Leo Liu <sdl.web@gmail.com>
5066 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5068 (inferior-octave-directory-tracker): Automatically re-sync
5070 (octave-help): Improve handling of 'See also'.
5072 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5074 * doc-view.el: Minor naming convention tweaks.
5075 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5077 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5078 even if there's no `display' property yet (bug#14435).
5080 2013-05-25 Eli Zaretskii <eliz@gnu.org>
5082 * subr.el (unmsys--file-name): Rename from reveal-filename.
5084 * Makefile.in (custom-deps, finder-data, autoloads)
5085 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5086 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5087 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5089 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5091 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5092 error-completion on the first 2 args of condition-case (bug#14446).
5095 2013-05-25 Leo Liu <sdl.web@gmail.com>
5097 * comint.el (comint-previous-matching-input): Do not flood the
5098 *Messages* buffer with trivial messages.
5100 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5102 * progmodes/flymake.el (flymake-nop): Don't return a string.
5103 (flymake-set-at): Fix typo.
5105 * simple.el (read--expression): New function, extracted from
5106 eval-expression. Set completion-at-point-functions (bug#14465).
5107 (eval-expression, eval-minibuffer): Use it.
5109 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5111 * progmodes/flymake.el (flymake-save-buffer-in-file)
5112 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5113 (flymake-selected-frame, flymake-log, flymake-ins-after)
5114 (flymake-set-at, flymake-get-buildfile-from-cache)
5115 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5116 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5117 Refine the doc string.
5118 (flymake-get-file-name-mode-and-masks): Reformat.
5119 (flymake-get-real-file-name-function): Fix a minor bug.
5121 2013-05-24 Juri Linkov <juri@jurta.org>
5123 * progmodes/grep.el (grep-mode-font-lock-keywords):
5124 Support =linenumber= format used by git-grep for lines with
5125 function names. (Bug#13549)
5127 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5129 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5130 0 after a semi-colon; it works better for smie-auto-fill.
5131 (octave--indent-new-comment-line): New function.
5132 (octave-indent-new-comment-line): Use it (indirectly).
5133 (octave-mode): Don't disable smie-auto-fill. Use add-function to
5134 modify comment-line-break-function.
5136 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5137 (smie-setup): Use add-function to set it.
5139 2013-05-24 Sam Steingold <sds@gnu.org>
5141 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5142 argument (before the `interactive' argument).
5144 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5146 * image-mode.el (image-mode-winprops): Add winprops to
5147 image-mode-winprops-alist before running
5148 image-mode-new-window-functions.
5149 * doc-view.el (doc-view-new-window-function): Don't delay
5150 doc-view-goto-page via timers (bug#14435).
5152 2013-05-24 Tassilo Horn <tsdh@gnu.org>
5154 * doc-view.el: Integrate with desktop.el. (Bug#14435)
5155 (doc-view-desktop-save-buffer): New function.
5156 (doc-view-restore-desktop-buffer): New function.
5157 (desktop-buffer-mode-handlers):
5158 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
5160 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5161 `desktop-save-buffer' function.
5163 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
5165 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
5166 (tramp-gvfs-file-name-handler): Raise a user error when
5167 `tramp-gvfs-enabled' is nil.
5168 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
5169 Do not raise a user error when loading package. (Bug#14447)
5171 * net/xesam.el: Move to obsolete/.
5173 2013-05-24 Glenn Morris <rgm@gnu.org>
5175 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
5177 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
5179 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
5180 (Info-find-node, Man-getpage-in-background): Declare.
5182 * mail/unrmail.el (unrmail):
5183 Replace obsolete detect-coding-with-priority.
5185 * net/socks.el (socks-split-string): Use this rather than split-string.
5186 (socks-nslookup-host): Update for above change.
5187 (dynamic-choice, s5-dynamic-choice-match)
5188 (s5-dynamic-choice-match-inline, s5-widget-value-create):
5189 Comment out unused code.
5191 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
5192 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
5193 (gud-tooltip-echo-area): Make obsolete.
5194 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
5196 * progmodes/js.el (js--optimize-arglist): Declare.
5198 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
5200 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
5201 (ediff-window-C): Declare.
5203 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
5204 Tweak requires to silence compiler.
5206 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
5207 (he-search-string, he-tried-table, he-expand-list)
5208 (he-init-string, he-string-member, he-substitute-string)
5209 (he-reset-string): Declare.
5211 * obsolete/options.el (list-options): Use custom-variable-p,
5212 rather than obsolete alias.
5214 2013-05-23 Sam Steingold <sds@gnu.org>
5216 * simple.el (shell-command-on-region): Pass the `replace' argument
5217 down to `call-process-region' to comply with the doc as reported on
5218 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
5220 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5222 * emacs-lisp/smie.el (smie-indent-forward-token)
5223 (smie-indent-backward-token): Handle string tokens (bug#14381).
5225 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5227 * ielm.el (ielm-menu): New menu.
5228 (inferior-emacs-lisp-mode): Set comment-start.
5230 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5232 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
5233 Fix deactivate action.
5235 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
5236 Add cleveref macros.
5238 * lisp/textmodes/reftex-parse.el
5239 (reftex-locate-bibliography-files): Accept options for
5240 bibliography commands.
5241 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
5242 Add addbibresource. Basic Biblatex support.
5244 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
5246 * net/tramp-gvfs.el (top):
5247 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
5248 when loading package. (Bug#14447)
5250 2013-05-23 Glenn Morris <rgm@gnu.org>
5252 * progmodes/js.el: No need to load comint when compiling.
5253 (ring-insert, comint-send-string, comint-send-input)
5254 (comint-last-input-end, ido-chop): Declare.
5256 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
5257 * vc/ediff-mult.el: Adjust requires.
5258 (ediff-directories-internal, ediff-directory-revisions-internal)
5259 (ediff-patch-file-internal): Declare.
5260 * vc/ediff-ptch.el: Adjust requires.
5261 (ediff-use-last-dir, ediff-buffers-internal): Declare.
5262 (ediff-find-file): Autoload.
5263 * vc/ediff-util.el: No need to load ediff when compiling.
5264 (ediff-regions-internal): Declare.
5265 * vc/ediff-wind.el: Adjust requires.
5266 (ediff-compute-toolbar-width): Define when compiling.
5267 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
5268 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
5269 (dired-get-filename, dired-get-marked-files)
5270 (ediff-last-dir-patch, ediff-patch-default-directory)
5271 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
5272 (ediff-patch-buffer-internal): Declare.
5274 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
5275 (ispell-process, ispell-buffer-local-words, lm-summary)
5276 (lm-section-start, lm-section-end): Declare.
5277 (checkdoc-ispell-init): Simplify.
5279 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
5280 (he-string-member, he-reset-string, he-substitute-string): Declare.
5282 * eshell/em-ls.el: Adjust requires.
5283 (eshell-glob-regexp): Declare.
5284 * eshell/em-tramp.el: Adjust requires.
5285 (eshell-parse-command): Autoload.
5286 * eshell/em-xtra.el: Adjust requires.
5287 (eshell-parse-command): Autoload.
5288 * eshell/esh-ext.el: Adjust requires.
5289 (eshell-parse-command, eshell-close-handles): Autoload.
5290 * eshell/esh-io.el: Adjust requires.
5291 (eshell-output-filter): Autoload.
5292 * eshell/esh-util.el: No need to load tramp when compiling.
5293 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
5295 (eshell-parse-ange-ls): Require ange-ftp and tramp.
5296 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5297 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
5298 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
5299 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
5300 * eshell/esh-opt.el, eshell/esh-proc.el:
5301 * eshell/esh-var.el: Adjust requires.
5302 * eshell/eshell.el: Do not require esh-util twice.
5303 (eshell-add-input-to-history): Declare.
5304 (eshell-command): Check history module is active before using it.
5306 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
5308 2013-05-22 Leo Liu <sdl.web@gmail.com>
5310 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
5312 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
5314 * autorevert.el (auto-revert-notify-add-watch)
5315 (auto-revert-notify-handler): Add `attrib' for the inotify case,
5316 it indicates changes in file modification time.
5318 2013-05-22 Glenn Morris <rgm@gnu.org>
5320 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5321 Always delete the autoloaded function from the noruntime and
5322 unresolved functions lists.
5324 * allout.el: No need to load epa, epg, overlay when compiling.
5325 (epg-context-set-passphrase-callback, epg-list-keys)
5326 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
5327 (epg-key-user-id-list): Declare.
5329 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5330 (viper-set-parsing-style-toggling-macro)
5331 (viper-set-emacs-state-searchstyle-macros):
5332 Use called-interactively-p on Emacs.
5333 (viper-looking-back): Make it an obsolete alias. Update callers.
5334 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
5335 Use looking-back rather than viper-looking-back.
5336 (viper-tmp-insert-at-eob, viper-enlarge-region)
5337 (viper-read-string-with-history, viper-register-to-point)
5338 (viper-append-to-register, viper-change-state-to-vi)
5339 (viper-backward-char-carefully, viper-forward-char-carefully)
5340 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
5341 (viper-change-state-to-emacs): Declare.
5342 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
5343 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
5344 * emulation/viper-mous.el: Do not load viper-cmd.
5345 (viper-backward-char-carefully, viper-forward-char-carefully)
5346 (viper-forward-word, viper-adjust-window): Declare.
5348 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
5350 * progmodes/idlw-help.el (idlwave-help-fontify):
5351 Use called-interactively-p.
5353 * term/w32console.el (w32-get-console-codepage)
5354 (w32-get-console-output-codepage): Declare.
5356 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
5357 Remove unnecessary declarations.
5358 (dframe-message): Doc fix.
5360 * info.el (dframe-select-attached-frame, dframe-current-frame):
5363 * speedbar.el (speedbar-message): Make it an obsolete alias.
5365 (speedbar-with-attached-buffer)
5366 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
5367 (speedbar-with-writable): Use backquote.
5368 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
5369 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5370 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
5371 rather than speedbar- aliases.
5372 * mail/rmail.el: Load dframe rather than speedbar when compiling.
5373 (speedbar-make-specialized-keymap, speedbar-insert-button)
5374 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
5375 (speedbar-do-function-pointer): Declare.
5376 (rmail-speedbar-button, rmail-speedbar-find-file)
5377 (rmail-speedbar-move-message):
5378 Use dframe-with-attached-buffer rather than speedbar- alias.
5379 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
5380 (dframe-message, speedbar-make-specialized-keymap)
5381 (speedbar-add-expansion-list, speedbar-mode-functions-list)
5382 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
5383 (speedbar-insert-button, dframe-select-attached-frame)
5384 (dframe-maybee-jump-to-attached-frame)
5385 (speedbar-change-initial-expansion-list)
5386 (speedbar-previously-used-expansion-list-name): Declare.
5387 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
5388 Use dframe-message, dframe-with-attached-buffer rather than
5390 (gud-sentinel): Silence compiler.
5391 * progmodes/vhdl-mode.el (speedbar-refresh)
5392 (speedbar-do-function-pointer, speedbar-add-supported-extension)
5393 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
5394 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
5395 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
5396 (speedbar-file-lists, speedbar-make-tag-line)
5397 (speedbar-line-directory, speedbar-goto-this-file)
5398 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
5399 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
5400 (speedbar-make-button, speedbar-reset-scanners)
5401 (speedbar-files-item-info, speedbar-line-text)
5402 (speedbar-find-file-in-frame, speedbar-set-timer)
5403 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
5404 (speedbar-with-writable): Do not (re)define it.
5405 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
5406 rather than speedbar- alias.
5408 2013-05-21 Leo Liu <sdl.web@gmail.com>
5410 * progmodes/octave.el (octave-mode-menu): Update and re-organize
5412 (octave-mode): Tweak fill-nobreak-predicate.
5413 (inferior-octave-startup): Check process to avoid infinite loop.
5414 (inferior-octave): Pop to buffer first to show abornmal process
5417 2013-05-21 Glenn Morris <rgm@gnu.org>
5419 * printing.el (pr-menu-bar): Define when compiling.
5421 2013-05-21 Leo Liu <sdl.web@gmail.com>
5423 * progmodes/octave.el (octave-auto-fill): Remove.
5424 (octave-indent-new-comment-line): Improve.
5425 (octave-mode): Use auto fill mode through
5426 comment-line-break-function and fill-nobreak-predicate.
5427 (octave-goto-function-definition): Support DEFUN_DLD.
5428 (octave-beginning-of-defun): Small tweak.
5429 (octave-help): Show parent directory.
5431 2013-05-21 Glenn Morris <rgm@gnu.org>
5433 * files.el (dired-unmark):
5434 * progmodes/gud.el (gdb-input): Update declarations.
5436 * calculator.el (electric, ehelp): No need to load when compiling.
5437 (Electric-command-loop, electric-describe-mode): Declare.
5439 * doc-view.el (doc-view-current-converter-processes): Move before use.
5441 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5442 Move MODE-set-explicitly definition before use.
5444 * international/mule-diag.el (mule-diag):
5445 Don't use obsolete window-system-version.
5447 * mail/feedmail.el (smtpmail): No need to load when compiling.
5448 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
5450 * mail/mail-utils.el (rfc822): No need to load when compiling.
5451 (rfc822-addresses): Autoload it.
5452 (mail-strip-quoted-names): Trivial simplification.
5454 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
5455 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
5457 * net/snmp-mode.el (tempo): Don't duplicate requires.
5459 * progmodes/prolog.el (info): No need to load when compiling.
5460 (comint): Require before shell requires it.
5461 (Info-goto-node): Autoload it.
5462 (Info-follow-nearest-node): Declare.
5463 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
5465 * textmodes/artist.el (picture-mode-exit): Declare.
5467 * textmodes/reftex-parse.el (reftex-parse-from-file):
5468 Trivial rewrite so the compiler can parse it better.
5470 2013-05-20 Leo Liu <sdl.web@gmail.com>
5472 * progmodes/octave.el (octave-help-mode-map)
5473 (octave-help-mode-finish-hook): New variables.
5474 (octave-help-mode, octave-help-mode-finish): New functions.
5475 (octave-help): Use octave-help-mode.
5477 2013-05-20 Glenn Morris <rgm@gnu.org>
5479 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
5481 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
5483 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
5484 start at point, so that expansion starting right after opening
5485 slash in a regexp is recognized.
5486 (ruby-syntax-before-regexp-re): New defvar, extracted from
5487 ruby-syntax-propertize-function. Since the value of this regexp
5488 is looked up at runtime now, we should be able to turn
5489 `ruby-syntax-methods-before-regexp' into a defcustom later.
5490 (ruby-syntax-propertize-function): Split regexp matching into two
5491 parts, for opening and closing slashes. That allows us to skip
5492 over string interpolations and support multiline regexps.
5493 Don't call `ruby-syntax-propertize-expansions', instead use another rule
5494 for them, which calls `ruby-syntax-propertize-expansion'.
5495 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
5496 call to `ruby-syntax-propertize-function'.
5497 (ruby-syntax-propertize-expansion): Extracted from
5498 `ruby-syntax-propertize-expansions'. Handles one expansion.
5499 (ruby-syntax-propertize-percent-literal): Leave point right after
5500 the percent symbol, so that the expression expansion rule can
5501 propertize the contents.
5502 (ruby-syntax-propertize-heredoc): Leave point at bol following the
5504 (ruby-syntax-propertize-expansions): Remove.
5506 2013-05-18 Juri Linkov <juri@jurta.org>
5508 * man.el (Man-default-man-entry): Remove `-' from the end
5509 of the default value. (Bug#14400)
5511 2013-05-18 Glenn Morris <rgm@gnu.org>
5513 * comint.el (comint-password-prompt-regexp):
5514 Allow "password for XXX" where XXX contains colons (eg https://...).
5516 2013-05-18 Leo Liu <sdl.web@gmail.com>
5518 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
5519 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5520 (octave-source-directories): Don't check process.
5521 (octave-source-directories, octave-find-definition): Doc fix.
5523 2013-05-18 Glenn Morris <rgm@gnu.org>
5525 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
5526 Remove backspace/delete bindings. (Bug#14392)
5528 * cus-dep.el (custom-make-dependencies): Sort the output.
5529 (custom-versions-load-alist): Convert comment to doc.
5531 2013-05-17 Leo Liu <sdl.web@gmail.com>
5533 * newcomment.el (comment-search-backward): Stricter in finding
5534 comment start. (Bug#14303)
5536 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
5537 (octave-comment-start-skip): Properly anchored.
5539 2013-05-17 Leo Liu <sdl.web@gmail.com>
5541 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
5542 Clean up when turned off. (Bug#14395)
5543 (smie--highlight-matching-block-overlay): No longer buffer-local.
5544 (smie-highlight-matching-block): Adjust.
5546 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
5548 Doc string fix for "nanoseconds" (Bug#14406).
5549 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
5550 Fix doc string typo that had "nanoseconds" instead of "microseconds".
5552 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5554 * calc/calc-units.el (math-extract-units): Preserve powers
5557 2013-05-17 Leo Liu <sdl.web@gmail.com>
5559 * subr.el (delete-consecutive-dups): New function.
5560 * ido.el (ido-set-matches-1): Use it.
5561 * progmodes/octave.el (inferior-octave-completion-table): Use it.
5562 * ido.el (ido-remove-consecutive-dups): Remove.
5564 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5566 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5567 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
5568 regexp-opt's `words'.
5570 2013-05-16 Leo Liu <sdl.web@gmail.com>
5572 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
5573 (smie--highlight-matching-block-overlay)
5574 (smie--highlight-matching-block-lastpos)
5575 (smie--highlight-matching-block-timer): New variables.
5576 (smie-highlight-matching-block): New function.
5577 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
5578 (smie-setup): Conditionally enable smie-blink-matching-open.
5580 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
5582 Sync with upstream verilog-mode r840.
5583 * progmodes/verilog-mode.el (verilog-mode-version)
5584 (verilog-mode-release-date): Update.
5585 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
5586 (verilog-sig-tieoff): Fix string error on
5587 AUTORESET with colon define, bug594. Reported by Andrew Hou.
5588 (verilog-read-decls): Fix parameters confusing
5589 AUTOINST interfaces, bug565. Reported by Leith Johnson.
5591 2013-05-16 Eli Zaretskii <eliz@gnu.org>
5593 * subr.el (reveal-filename): New function.
5595 * loadup.el: Compute Emacs executable versions on MS-Windows,
5596 where executables have the .exe extension. Add a hard link
5597 emacs-XX.YY.ZZ.exe on MS-Windows.
5599 * Makefile.in (XARGS_LIMIT): New variable.
5600 (custom-deps, finder-data, autoloads)
5601 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5602 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5603 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
5604 (compile-main): Limit xargs according to $(XARGS_LIMIT).
5606 2013-05-16 Leo Liu <sdl.web@gmail.com>
5608 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
5609 (octave-mode-menu, octave-mode-map): Remove its uses.
5611 2013-05-16 Reto Zimmermann <reto@gnu.org>
5613 Sync with upstream vhdl mode v3.34.2.
5614 * progmodes/vhdl-mode.el: Use `push' throughout.
5615 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
5616 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
5617 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
5618 (vhdl-actual-generic-name): New option to derive actual generic name.
5619 (vhdl-port-paste-signals): Replace formal by actual generics.
5620 (vhdl-beautify): New name for old group vhdl-align. Update users.
5621 (vhdl-beautify-options): New option.
5622 (vhdl-last-input-event): New compat alias. Use throughout.
5623 (vhdl-goto-line): Replace user level function `goto-line'.
5624 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
5625 vhdl-fix-statement-buffer.
5626 (vhdl-create-mode-menu): Add some entries.
5627 (vhdl-align-region-groups): Respect vhdl-beautify-options.
5628 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
5629 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
5630 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
5631 to force statements on one line.
5632 (vhdl-remove-trailing-spaces-region):
5633 New, split from vhdl-remove-trailing-spaces.
5634 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
5635 Respect vhdl-beautify-options.
5636 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
5637 (vhdl-update-sensitivity-list): Not add with index if exists without.
5638 Not include array index with signal. Ignore keywords in comments.
5639 (vhdl-get-visible-signals): Regexp tweaks.
5640 (vhdl-template-component-inst): Handle empty library.
5641 (vhdl-template-type): Add template for 'enum' type.
5642 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
5643 Use vhdl-replace-string.
5644 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
5645 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
5646 (vhdl-speedbar-initialize): Update for above name change.
5647 (vhdl-compose-wire-components): Fix in handling of constants.
5648 (vhdl-error-regexp-emacs-alist): New variable.
5649 (vhdl-error-regexp-add-emacs): New function;
5650 adds support for new compile.el (Emacs 22+)
5651 (vhdl-generate-makefile-1): Change target order for single lib. units.
5652 Allow use of absolute file names.
5654 2013-05-16 Leo Liu <sdl.web@gmail.com>
5656 * simple.el (prog-indent-sexp): Indent enclosing defun.
5658 2013-05-15 Glenn Morris <rgm@gnu.org>
5660 * cus-start.el (show-trailing-whitespace): Move to editing basics.
5661 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
5662 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
5663 (whitespace-highlight): Move to whitespace group.
5665 * comint.el (comint-source):
5666 * pcmpl-linux.el (pcmpl-linux):
5667 * shell.el (shell-faces):
5668 * eshell/esh-opt.el (eshell-opt):
5669 * international/ccl.el (ccl): Remove empty custom groups.
5671 * completion.el (dynamic-completion-mode):
5672 * jit-lock.el (jit-lock-debug-mode):
5673 * minibuffer.el (completion-in-region-mode):
5674 * type-break.el (type-break-mode-line-message-mode)
5675 (type-break-query-mode):
5676 * emulation/tpu-edt.el (tpu-edt-mode):
5677 * progmodes/subword.el (global-subword-mode, global-superword-mode):
5678 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5679 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
5681 * term/xterm.el (xterm): Change parent group to terminals.
5683 * master.el (master): Remove empty custom group.
5684 (master-mode): Remove unused :group argument.
5685 * textmodes/refill.el (refill): Remove empty custom group.
5686 (refill-mode): Remove unused :group argument.
5688 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
5690 * cus-dep.el: Provide a feature.
5691 (custom-make-dependencies): Ignore dotfiles (dir-locals).
5692 Don't mistakenly ignore files whose basenames match a basename
5693 from preloaded-file-list (eg cedet/ede/simple.el).
5694 Add a fallback method for getting :group.
5696 2013-05-15 Juri Linkov <juri@jurta.org>
5698 * isearch.el (isearch-char-by-name): Rename from
5699 `isearch-insert-char-by-name'. Doc fix.
5700 (isearch-forward): Mention `isearch-char-by-name' in
5701 the docstring. (Bug#13348)
5703 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
5704 `exit-minibuffer' instead of
5705 `isearch-nonincremental-exit-minibuffer'.
5706 (isearch-edit-string): Remove mention of
5707 `isearch-nonincremental-exit-minibuffer' from docstring.
5708 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
5709 (isearch-forward-exit-minibuffer)
5710 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
5712 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5714 * loadup.el: Just use unversioned DOC.
5716 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
5717 literals as extending to EOB.
5718 (nxml-last-fontify-end): Remove unused variable.
5719 (nxml-after-change1): Use with-silent-modifications.
5720 (nxml-extend-after-change-region): Simplify.
5721 (nxml-extend-after-change-region1): Remove function.
5722 (nxml-after-change1): Don't adjust for dependent regions.
5723 (nxml-fontify-matcher): Simplify.
5724 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
5725 (xmltok-add-dependent): Remove function.
5726 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
5727 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
5728 (xmltok-scan-prolog-after-processing-instruction-open): Treat
5729 unclosed <[[, <?, comment, and other literals as extending to EOB.
5730 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
5731 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
5733 (rng-do-some-validation-1): Don't mark dependent regions.
5734 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
5735 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
5736 (nxml-clear-dependent-regions): Remove functions.
5737 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
5738 (nxml-ensure-scan-up-to-date):
5739 Don't clear&mark dependent regions.
5741 2013-05-15 Leo Liu <sdl.web@gmail.com>
5743 * progmodes/octave.el (octave-goto-function-definition):
5744 Improve and fix callers.
5746 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5748 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
5749 the setter (bug#14387).
5751 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
5752 surrounding group (bug#14402).
5754 2013-05-14 Juri Linkov <juri@jurta.org>
5756 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
5759 2013-05-14 Glenn Morris <rgm@gnu.org>
5761 * progmodes/f90.el (f90-imenu-generic-expression):
5762 Fix typo in 2013-05-08 change. (Bug#14402)
5764 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5766 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
5767 Remove signals for which replies are never received.
5769 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5771 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
5772 (gdb-handler-alist, gdb-handler-number): Remove variables.
5773 (gdb-handler-list): New variable.
5774 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
5775 (gdb-pending-handler-p, gdb-handle-reply)
5776 (gdb-remove-all-pending-triggers): New functions.
5777 (gdb-discard-unordered-replies): New defcustom.
5778 (gdb-handler): New defstruct.
5779 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
5780 instead of gdb-pending-triggers. Update docstring.
5781 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
5782 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
5783 (gdb-var-update-handler, def-gdb-auto-update-trigger)
5784 (def-gdb-auto-update-handler, gdb-get-changed-registers)
5785 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
5786 (gdb-frame-handler): Pending triggers are now automatically managed.
5787 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
5789 (gdb-input): Automatically handles pending triggers. Update docstring.
5790 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
5791 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
5793 (gdb-done-or-error): Now use gdb-handle-reply.
5795 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5797 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
5800 2013-05-14 Glenn Morris <rgm@gnu.org>
5802 * subr.el (user-emacs-directory-warning): New option.
5803 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
5805 2013-05-14 Leo Liu <sdl.web@gmail.com>
5807 * progmodes/octave.el (octave-font-lock-keywords): Fix error
5809 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
5810 (octave-font-lock-texinfo-comment): Fix invalid search bound
5811 error: wrong side of point.
5813 2013-05-14 Glenn Morris <rgm@gnu.org>
5815 * progmodes/flymake.el (flymake-xml-program): New option.
5816 (flymake-xml-init): Use it.
5818 * term/xterm.el: Provide a feature.
5820 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
5822 2013-05-13 Glenn Morris <rgm@gnu.org>
5824 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
5825 Add compat aliases as a hack workaround. (Bug#14384)
5827 2013-05-13 Leo Liu <sdl.web@gmail.com>
5829 * progmodes/octave.el (octave-indent-comment): Fix indentation for
5831 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
5833 (octave-comment-start-skip): Include %!.
5834 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
5836 2013-05-12 Leo Liu <sdl.web@gmail.com>
5838 * progmodes/octave.el (inferior-octave-startup): Store the value
5839 of __octave_srcdir__ for octave-source-directories.
5840 (inferior-octave-check-process): New function refactored out of
5841 inferior-octave-send-list-and-digest.
5842 (octave-source-directories)
5843 (octave-find-definition-filename-function): New variables.
5844 (octave-source-directories)
5845 (octave-find-definition-default-filename): New functions.
5846 (octave-find-definition): Improve to find functions implemented in C++.
5848 2013-05-12 Glenn Morris <rgm@gnu.org>
5850 * calendar/diary-lib.el (diary-outlook-format-1):
5851 Don't include dayname in the output. (Bug#14349)
5853 2013-05-11 Glenn Morris <rgm@gnu.org>
5855 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
5857 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
5858 Treat cc-provide like provide.
5860 2013-05-11 Kevin Ryde <user42@zip.com.au>
5862 * cus-dep.el (custom-make-dependencies):
5863 Use generated-autoload-load-name for the sake of files such
5864 such cedet/semantic/bovine/c.el, where the base file name
5865 is not in load-path. (Bug#5277)
5867 2013-05-11 Glenn Morris <rgm@gnu.org>
5869 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
5872 2013-05-11 Leo Liu <sdl.web@gmail.com>
5874 * progmodes/octave.el (octave-indent-comment): Improve.
5875 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5876 (octave-eldoc-function-signatures, octave-eldoc-function):
5878 (octave-mode, inferior-octave-mode): Add eldoc support.
5880 2013-05-11 Richard Stallman <rms@gnu.org>
5882 * epa.el (epa-decrypt-file): Take output file name as argument
5883 and read it using `interactive'.
5885 2013-05-11 Leo Liu <sdl.web@gmail.com>
5887 * progmodes/octave.el (octave-beginning-of-line)
5888 (octave-end-of-line): Check before using up-list because it jumps
5889 out of more syntactic contructs since moving to smie.
5890 (octave-indent-comment): New function.
5891 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
5892 (octave-begin-keywords, octave-end-keywords)
5893 (octave-reserved-words, octave-smie-bnf-table)
5894 (octave-smie-rules): Add new keywords from Octave 3.6.4.
5896 2013-05-11 Glenn Morris <rgm@gnu.org>
5898 * faces.el (internal-face-x-get-resource):
5899 * frame.el (ns-display-monitor-attributes-list):
5900 * calc/calc-aent.el (math-to-radians-2):
5901 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
5904 * calc/calc-menu.el: Make it loadable in isolation.
5906 * net/eudcb-bbdb.el: Make it loadable without bbdb.
5907 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
5908 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
5909 (eudc-bbdb-query-internal): Require 'bbdb.
5911 * lpr.el (lpr-headers-switches):
5912 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
5914 * progmodes/sql.el (sql-login-params): Fix and improve :type.
5916 * emulation/edt-mapper.el: In batch mode, error rather than hang.
5918 * term.el (term-set-escape-char): Make it idempotent.
5920 2013-05-10 Leo Liu <sdl.web@gmail.com>
5922 * progmodes/octave.el (inferior-octave-completion-table):
5923 No longer a function and all uses changed. Use cache to speed up
5924 completion due to bug#11906.
5925 (octave-beginning-of-defun): Re-write to be more general.
5927 2013-05-10 Glenn Morris <rgm@gnu.org>
5929 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
5931 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5933 * comint.el (comint-redirect-send-command-to-process): Use :around
5934 rather than :override for comint-redirect-filter.
5935 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
5936 Call it instead of comint-redirect-original-filter-function (which
5937 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
5939 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
5941 * frame.el (display-monitor-attributes-list): Add NS case.
5942 (ns-display-monitor-attributes-list): Declare.
5944 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
5946 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
5948 2013-05-09 Glenn Morris <rgm@gnu.org>
5950 * international/fontset.el (vertical-centering-font-regexp):
5953 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
5955 * bookmark.el (bookmark-search-delay):
5956 * cus-start.el (vertical-centering-font-regexp):
5957 * ps-mule.el (ps-mule-font-info-database-default):
5958 * ps-print.el (ps-default-fg, ps-default-bg):
5959 * type-break.el (type-break-good-break-interval):
5960 * whitespace.el (whitespace-indentation-regexp)
5961 (whitespace-space-after-tab-regexp):
5962 * emacs-lisp/testcover.el (testcover-1value-functions)
5963 (testcover-noreturn-functions, testcover-progn-functions)
5964 (testcover-prog1-functions):
5965 * emulation/viper-init.el (viper-emacs-state-cursor-color):
5966 * eshell/em-glob.el (eshell-glob-translate-alist):
5967 * play/tetris.el (tetris-tty-colors):
5968 * progmodes/cpp.el (cpp-face-default-list):
5969 * progmodes/flymake.el (flymake-allowed-file-name-masks):
5970 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
5971 (idlwave-help-browser-generic-args):
5972 * progmodes/make-mode.el (makefile-special-targets-list):
5973 * progmodes/python.el (python-shell-virtualenv-path):
5974 * progmodes/verilog-mode.el (verilog-active-low-regexp)
5975 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
5976 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
5977 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
5978 * textmodes/reftex-vars.el (reftex-format-label-function):
5979 * textmodes/remember.el (remember-diary-file): Fix custom types.
5981 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
5984 2013-05-09 Leo Liu <sdl.web@gmail.com>
5986 * progmodes/octave.el (inferior-octave-completion-at-point):
5987 Restore file completion. (Bug#14300)
5988 (inferior-octave-startup): Fix incorrect highlighting for the
5991 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5993 * progmodes/ruby-mode.el: First cut at SMIE support.
5994 (ruby-use-smie): New var.
5995 (ruby-smie-grammar): New constant.
5996 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
5997 (ruby-smie--forward-token, ruby-smie--backward-token)
5998 (ruby-smie-rules): New functions.
5999 (ruby-mode-variables): Setup SMIE if applicable.
6001 2013-05-08 Eli Zaretskii <eliz@gnu.org>
6003 * simple.el (line-move-visual): Signal beginning/end of buffer
6004 only if vertical-motion moved less than it was requested. Avoids
6005 silly incorrect error messages when there are display strings with
6006 multiple newlines at EOL.
6008 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6010 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6011 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6012 (prolog-char-quote-workaround):
6013 * progmodes/cperl-mode.el (cperl-under-as-char):
6014 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
6016 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
6018 (vhdl-mode-syntax-table-init): Remove.
6020 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6023 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6025 (ld-script-font-lock-keywords):
6026 Change regexps to use things like \_< and \_>.
6028 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6029 Change all regexps to use things like \_< and \_>.
6031 * progmodes/autoconf.el (autoconf-definition-regexp)
6032 (autoconf-font-lock-keywords, autoconf-current-defun-function):
6033 Handle a _ with symbol syntax.
6034 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6036 * progmodes/ada-mode.el (ada-mode-abbrev-table):
6037 Consolidate declaration.
6038 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6040 (ada-create-syntax-table): Remove.
6041 (ada-capitalize-word): Don't mess with the syntax of "_" since it
6042 already has the right syntax nowadays.
6043 (ada-goto-next-word): Don't change the syntax of "_".
6045 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6048 2013-05-08 Sam Steingold <sds@gnu.org>
6050 * thingatpt.el (thing-at-point): Accept optional second argument
6051 NO-PROPERTIES to strip the text properties from the return value.
6052 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6053 to `thing-at-point' instead of stripping the properties ourselves.
6054 Also, when `thing-at-point' fails to find a url, prepend "http://"
6055 to the filename at point on the assumption that the user is
6056 pointing at something like gnu.org/gnu.
6058 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
6060 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6061 * faces.el (crm-separator):
6062 Silence byte-compiler.
6064 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6065 (tool-bar-map): Remove unneeded defvars.
6067 2013-05-08 Leo Liu <sdl.web@gmail.com>
6069 Re-work a fix for bug#10994 based on Le Wang's patch.
6070 * ido.el (ido-remove-consecutive-dups): New helper.
6071 (ido-completing-read): Use it.
6072 (ido-chop): Revert fix for bug#10994.
6074 2013-05-08 Adam Spiers <emacs@adamspiers.org>
6076 * cus-edit.el (custom-save-variables):
6077 Pretty-print long values. (Bug#14187)
6079 2013-05-08 Glenn Morris <rgm@gnu.org>
6081 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6082 (m4-mode-syntax-table): Init in the defvar.
6083 (m4-mode-abbrev-table): Let define-derived-mode define it.
6085 2013-05-08 Tom Tromey <tromey@redhat.com>
6087 * progmodes/m4-mode.el (m4-mode-syntax-table):
6088 Do not treat "_" as word constituent. (Bug#14167)
6090 2013-05-07 Glenn Morris <rgm@gnu.org>
6092 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6093 Remove explicit eshell-isearch-cancel-map.
6095 * progmodes/f90.el (f90-smart-end-names): New option.
6096 (f90-smart-end): Doc fix.
6097 (f90-end-block-optional-name): New constant.
6098 (f90-block-match): Respect f90-smart-end-names.
6100 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6102 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6103 about implicit semi-colons (bug#14218).
6105 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6107 * frame.el (display-monitor-attributes-list)
6108 (frame-monitor-attributes): New functions.
6110 2013-05-06 Leo Liu <sdl.web@gmail.com>
6112 * progmodes/octave.el (octave-syntax-propertize-function): Change
6113 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6114 (octave-font-lock-keywords): Use octave-operator-regexp.
6115 (octave-completion-at-point): Rename from
6116 octave-completion-at-point-function.
6117 (inferior-octave-directory-tracker): Robustify.
6118 (octave-text-functions): Remove and fix its uses. No such things
6121 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6123 * emacs-lisp/trace.el (trace--display-buffer): New function.
6124 (trace-make-advice): Use it.
6126 2013-05-06 Juri Linkov <juri@jurta.org>
6128 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6129 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6131 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6132 in the help string. (Bug#12985)
6134 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6136 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
6138 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6140 * progmodes/perl-mode.el: Add support for here documents.
6141 (perl-syntax-propertize-function): Match here-doc markers.
6142 (perl-syntax-propertize-special-constructs): Find their end.
6143 (perl-imenu-generic-expression): Use [:alnum:].
6145 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6146 (advice--add-function): Refresh the advice if already present
6149 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
6151 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
6153 2013-05-06 Glenn Morris <rgm@gnu.org>
6155 * w32-fns.el (w32-charset-info-alist): Declare.
6157 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6158 of its defcustom properties.
6159 (eshell-cmpl-initialize): No need to load pcomplete.
6161 * generic-x.el: No need to require comint when compiling.
6163 * net/eudc-export.el: Make it loadable without bbdb.
6164 (top-level): Use require rather than load-library.
6165 (eudc-create-bbdb-record, eudc-bbdbify-phone)
6166 (eudc-batch-export-records-to-bbdb)
6167 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
6170 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6172 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
6173 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
6174 some tweaks, instead.
6176 2013-05-05 Leo Liu <sdl.web@gmail.com>
6178 * progmodes/octave.el (octave-font-lock-keywords)
6179 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
6180 (inferior-octave-send-list-and-digest): Improve error message.
6181 (octave-mode, inferior-octave-mode): Use setq-local.
6182 (octave-help): Set info-lookup-mode.
6184 2013-05-05 Richard Stallman <rms@gnu.org>
6186 * vc/compare-w.el (compare-windows-whitespace):
6187 Treat no-break space as whitespace.
6189 * mail/rmailsum.el (rmail-summary-rmail-update):
6190 Detect empty summary and don't change selected message.
6191 (rmail-summary-goto-msg): Likewise.
6193 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
6194 Doc fixes, rename args.
6196 2013-05-05 Alan Mackenzie <acm@muc.de>
6198 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
6200 2013-05-05 Juri Linkov <juri@jurta.org>
6202 * info.el (Info-read-subfile): Use (point-min) instead of (point)
6203 to not add the length of the summary segment to the return value.
6206 2013-05-05 Leo Liu <sdl.web@gmail.com>
6208 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
6209 (inferior-octave-output-filter): Remove.
6210 (octave-send-region, inferior-octave-startup): Fix callers.
6211 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
6212 (octave-binary-file-extensions): New user variable.
6213 (octave-find-definition): Confirm if opening binary files.
6214 (octave-help-file): Use octave-find-definition to get the binary
6216 (octave-help): Adjust for octave-help-file change.
6218 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6220 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
6221 Merge the two entries that handle function definitions.
6222 (pascal--syntax-propertize): New const.
6223 (pascal-mode): Use it. Use setq-local.
6225 2013-05-04 Glenn Morris <rgm@gnu.org>
6227 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
6228 (diary-from-outlook): Respect diary-from-outlook-function.
6230 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6232 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
6233 Move the declaration from C.
6234 (read-minibuffer, eval-minibuffer): Move from C.
6235 (completion-setup-function): Avoid minibuffer-completion-contents.
6237 2013-05-03 Leo Liu <sdl.web@gmail.com>
6239 * progmodes/octave.el (octave-font-lock-keywords): Do not
6240 dehighlight 'end' in comments or strings.
6241 (octave-completing-read, octave-goto-function-definition):
6243 (octave-help-buffer): New user variable.
6244 (octave-help-file, octave-help-function): New button types.
6245 (octave-help): New command and bind it to C-h ;.
6246 (octave-find-definition): New command and bind it to M-.
6247 (user-error): Alias to error if not defined.
6249 2013-05-02 Leo Liu <sdl.web@gmail.com>
6251 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
6253 (octave-font-lock-keywords): Include [ and {.
6255 2013-05-02 Leo Liu <sdl.web@gmail.com>
6257 * progmodes/octave.el (inferior-octave-startup-file): Change default.
6258 (inferior-octave): Remove calling comint-mode and return the buffer.
6259 (inferior-octave-startup): Cosmetic changes.
6261 2013-05-02 Leo Liu <sdl.web@gmail.com>
6263 * progmodes/octave.el (octave-syntax-propertize-function):
6264 Include the case when ' is at line beginning. (Bug#14336)
6266 2013-05-02 Glenn Morris <rgm@gnu.org>
6268 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
6269 * desktop.el (vc-dir-mode): Just autoload it here.
6271 2013-05-02 Alan Mackenzie <acm@muc.de>
6273 Eliminate variable c-standard-font-lock-fontify-region-function.
6274 * progmodes/cc-mode.el
6275 (c-standard-font-lock-fontify-region-function): Remove.
6276 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
6278 2013-05-01 Leo Liu <sdl.web@gmail.com>
6280 * progmodes/octave.el: Compatible with older emacs-24 releases.
6281 (inferior-octave-has-built-in-variables): Remove. Built-in
6282 variables were removed from Octave in 2007.
6283 (inferior-octave-startup): Fix uses.
6284 (comint-line-beginning-position): Remove compatibility code for
6287 2013-05-01 Juri Linkov <juri@jurta.org>
6289 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
6291 2013-05-01 Juri Linkov <juri@jurta.org>
6293 * comint.el (comint-previous-matching-input): Don't print message
6294 "History item: %d" when `isearch-mode' is active.
6295 (comint-history-isearch-message): Print message "History item: %d"
6296 when `comint-input-ring-index' is not empty and this function is
6297 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
6299 2013-05-01 Leo Liu <sdl.web@gmail.com>
6301 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
6302 definitions. Use completion-at-point to insert keywords.
6303 (octave-abbrev-start): Remove.
6304 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
6306 2013-04-30 Leo Liu <sdl.web@gmail.com>
6308 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
6311 2013-04-30 Alan Mackenzie <acm@muc.de>
6313 Handle arbitrarily long C++ member initialisation lists.
6314 * progmodes/cc-engine.el (c-back-over-member-initializers):
6316 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
6317 (most) member init lists.
6319 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6321 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
6324 2013-04-30 Leo Liu <sdl.web@gmail.com>
6326 * progmodes/octave.el (octave-variables): Remove. No builtin
6327 variables any more. All converted to functions.
6328 (octave-font-lock-keywords, octave-completion-at-point-function):
6330 (octave-font-lock-texinfo-comment): New user variable.
6331 (octave-texinfo-font-lock-keywords): New variable for texinfo
6333 (octave-function-comment-block): New face.
6334 (octave-font-lock-texinfo-comment): New function.
6335 (octave-mode): Font lock texinfo comment block.
6337 2013-04-29 Leo Liu <sdl.web@gmail.com>
6339 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
6340 indexing expression.
6341 (octave-continuation-string): Do not use \.
6342 (inferior-octave-complete-impossible): Remove.
6343 (inferior-octave-completion-table)
6344 (inferior-octave-completion-at-point): Remove its uses.
6345 (inferior-octave-startup): completion_matches was introduced to
6346 Octave in 1996 so safe to assume it.
6347 (octave-function-file-comment): Improve to follow how Octave does it.
6348 (octave-update-function-file-comment): Tweak.
6350 2013-04-29 Leo Liu <sdl.web@gmail.com>
6352 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
6353 (inferior-octave-startup): Remove inferior-octave-startup-hook.
6354 (octave-function-file-comment): Fix typo.
6355 (octave-sync-function-file-names): Use read-char-choice.
6357 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
6359 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
6360 to t for the less important warnings.
6362 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
6364 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
6366 2013-04-27 Glenn Morris <rgm@gnu.org>
6368 * vc/log-view.el (log-view-current-entry):
6369 Treat "---" separator lines as part of the following rev. (Bug#14169)
6371 2013-04-27 Juri Linkov <juri@jurta.org>
6373 * subr.el (read-number): Doc fix about using it by interactive
6374 code letter `n'. (Bug#14254)
6376 2013-04-27 Juri Linkov <juri@jurta.org>
6378 * desktop.el (desktop-auto-save-timeout): New option.
6379 (desktop-file-checksum): New variable.
6380 (desktop-save): Add optional arg `auto-save' and don't auto-save
6382 (desktop-auto-save-timer): New variable.
6383 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
6384 (after-init-hook): Call `desktop-auto-save-set-timer'.
6385 Suggested by Reuben Thomas <rrt@sc3d.org> in
6386 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
6388 2013-04-27 Leo Liu <sdl.web@gmail.com>
6390 * progmodes/octave.el (octave-function-file-p)
6391 (octave-skip-comment-forward, octave-function-file-comment)
6392 (octave-update-function-file-comment): New functions.
6393 (octave-mode-map): Bind C-c ; to
6394 octave-update-function-file-comment.
6395 (octave-mode-menu): Add octave-update-function-file-comment.
6396 (octave-mode, inferior-octave-mode): Fix doc-string.
6397 (octave-insert-defun): Conform to Octave's coding convention.
6400 * files.el (basic-save-buffer): Don't let errors in
6401 before-save-hook prevent saving buffer.
6403 2013-04-20 Roland Winkler <winkler@gnu.org>
6405 * faces.el (read-face-name): Use completing-read if arg multiple
6408 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
6410 * ls-lisp.el (ls-lisp-insert-directory): If no files are
6411 displayed, move point to after the totals line.
6412 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
6415 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6417 * emacs-lisp/package.el (package-autoload-ensure-default-file):
6418 Add current dir to the load-path.
6419 (package-generate-autoloads): Don't rely on
6420 autoload-ensure-default-file.
6422 2013-04-26 Reuben Thomas <rrt@sc3d.org>
6424 * textmodes/remember.el (remember-store-in-files): Document that
6425 the file name format is passed to `format-time-string'.
6427 2013-04-26 Leo Liu <sdl.web@gmail.com>
6429 * progmodes/octave.el (octave-sync-function-file-names): New function.
6430 (octave-mode): Use it in before-save-hook.
6432 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6434 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
6437 * progmodes/octave.el (octave-smie-forward-token): Properly skip
6438 \n and comment, even if it's not an implicit ; (bug#14218).
6440 2013-04-26 Glenn Morris <rgm@gnu.org>
6442 * subr.el (read-number): Once more use `read' rather than
6443 `string-to-number', to trap non-numeric input. (Bug#14254)
6445 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
6447 * emacs-lisp/syntax.el (syntax-propertize-multiline):
6448 Use `syntax-multiline' text property consistently instead of
6449 `font-lock-multiline'. (Bug#14237)
6451 2013-04-26 Glenn Morris <rgm@gnu.org>
6453 * emacs-lisp/shadow.el (list-load-path-shadows):
6454 No longer necessary to check for duplicate simple.el, since
6455 2012-07-07 change to init_lread to not include installation lisp
6456 directories in load-path when running uninstalled. (Bug#14270)
6458 2013-04-26 Leo Liu <sdl.web@gmail.com>
6460 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
6461 (octave-mode, inferior-octave-mode): Use setq-local.
6462 (octave-not-in-string-or-comment-p): Rename to
6463 octave-in-string-or-comment-p.
6464 (octave-in-comment-p, octave-in-string-p)
6465 (octave-in-string-or-comment-p): Replace defsubst with defun.
6467 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
6469 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
6471 2013-04-25 Bastien Guerry <bzg@gnu.org>
6473 * textmodes/remember.el (remember-data-directory)
6474 (remember-directory-file-name-format): Fix custom types.
6476 2013-04-25 Leo Liu <sdl.web@gmail.com>
6478 * progmodes/octave.el (octave-completion-at-point-function):
6479 Make use of inferior octave process.
6480 (octave-initialize-completions): Remove.
6481 (inferior-octave-completion-table): New function.
6482 (inferior-octave-completion-at-point): Use it.
6483 (octave-completion-alist): Remove.
6485 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6487 * progmodes/opascal.el: Use font-lock and syntax-propertize.
6488 (opascal-mode-syntax-table): New var.
6489 (opascal-literal-kind, opascal-is-literal-end)
6490 (opascal-literal-token-at): Rewrite.
6491 (opascal--literal-start-re, opascal-font-lock-keywords)
6492 (opascal--syntax-propertize): New constants.
6493 (opascal-font-lock-defaults): Adjust.
6494 (opascal-mode): Use them. Set comment-<foo> variables as well.
6495 (delphi-comment-face, opascal-comment-face, delphi-string-face)
6496 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
6497 (delphi-other-face, opascal-other-face): Remove face variables.
6498 (opascal-save-state): Remove macro.
6499 (opascal-fontifying-progress-step): Remove constant.
6500 (opascal--ignore-changes): Remove var.
6501 (opascal-set-token-property, opascal-parse-next-literal)
6502 (opascal-is-stable-literal, opascal-complete-literal)
6503 (opascal-is-literal-start, opascal-face-of)
6504 (opascal-parse-region, opascal-parse-region-until-stable)
6505 (opascal-fontify-region, opascal-after-change)
6506 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
6507 (opascal-debug-parse-region, opascal-debug-parse-window)
6508 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
6509 (opascal-debug-fontify-buffer): Remove.
6510 (opascal-debug-mode-map): Adjust accordingly.
6512 2013-04-25 Leo Liu <sdl.web@gmail.com>
6514 Merge octave-mod.el and octave-inf.el into octave.el with some
6516 * progmodes/octave.el: New file renamed from octave-mod.el.
6517 * progmodes/octave-inf.el: Merged into octave.el.
6518 * progmodes/octave-mod.el: Renamed to octave.el.
6520 2013-04-25 Tassilo Horn <tsdh@gnu.org>
6522 * textmodes/reftex-vars.el
6523 (reftex-label-ignored-macros-and-environments): New defcustom.
6525 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
6527 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6529 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
6530 (smie-indent-keyword): Improve the check to ensure that the next
6531 comment is really on the same line.
6532 (smie-indent-comment): Don't align with a subsequent closer (or eob).
6534 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
6535 semi-colons if the line is not otherwise empty (bug#14218).
6537 2013-04-25 Glenn Morris <rgm@gnu.org>
6539 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
6541 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6543 * progmodes/opascal.el (opascal-set-token-property): Rename from
6544 opascal-set-text-properties and only set `token' (bug#14134).
6545 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
6546 (opascal-literal-text-properties): Remove.
6547 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
6550 2013-04-24 Reuben Thomas <rrt@sc3d.org>
6552 * textmodes/remember.el (remember-handler-functions): Add an
6553 option for a new handler `remember-store-in-files'.
6554 (remember-data-directory, remember-directory-file-name-format):
6556 (remember-store-in-files): New function to store remember notes
6557 as separate files within a directory.
6559 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
6561 * progmodes/compile.el (compilation-next-error-function):
6562 Pass "formats" to compilation-find-file (bug#11777).
6564 2013-04-24 Glenn Morris <rgm@gnu.org>
6566 * vc/vc-bzr.el (vc-bzr-print-log):
6567 * vc/vc-hg.el (vc-hg-print-log):
6568 * vc/vc-svn.el (vc-svn-print-log):
6569 Fix START-REVISION with LIMIT != 1. (Bug#14168)
6571 * vc/vc-bzr.el (vc-bzr-print-log):
6572 * vc/vc-cvs.el (vc-cvs-print-log):
6573 * vc/vc-git.el (vc-git-print-log):
6574 * vc/vc-hg.el (vc-hg-print-log):
6575 * vc/vc-mtn.el (vc-mtn-print-log):
6576 * vc/vc-rcs.el (vc-rcs-print-log):
6577 * vc/vc-sccs.el (vc-sccs-print-log):
6578 * vc/vc-svn.el (vc-svn-print-log):
6579 * vc/vc.el (vc-print-log-internal): Doc fixes.
6581 2013-04-23 Glenn Morris <rgm@gnu.org>
6583 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
6584 Remove venerable code attempting to avoid substitute-command-keys.
6586 2013-04-23 Tassilo Horn <tsdh@gnu.org>
6588 * textmodes/reftex-vars.el (reftex-label-regexps):
6589 Call `reftex-compile-variables' after changes to this variable.
6591 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6593 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
6594 Use lexical-binding.
6595 (jit-lock-force-redisplay): Use markers, check buffer's continued
6596 existence and beware narrowed buffers.
6597 (jit-lock-fontify-now): Adjust call accordingly.
6599 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6601 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
6602 to avoid misleading the user.
6604 2013-04-22 Leo Liu <sdl.web@gmail.com>
6606 * info-look.el: Prefer latex2e.info. (Bug#14240)
6608 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
6610 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
6612 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
6613 * net/tramp.el (tramp-call-process): ... here.
6614 (tramp-set-completion-function, tramp-parse-putty):
6615 * net/tramp-adb.el (tramp-adb-execute-adb-command):
6616 * net/tramp-gvfs.el (tramp-gvfs-send-command):
6617 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6618 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
6619 (tramp-call-local-coding-command): Use `tramp-call-process'
6620 instead of `tramp-compat-call-process'.
6622 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
6623 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
6624 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
6625 (tramp-find-inline-compress): Improve traces.
6626 (tramp-maybe-send-script): Check for Perl binary.
6627 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
6629 2013-04-22 Daiki Ueno <ueno@gnu.org>
6631 * epg.el (epg-context-pinentry-mode): New function.
6632 (epg-context-set-pinentry-mode): New function.
6633 (epg--start): Pass --pinentry-mode option to gpg command.
6635 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
6637 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
6638 `comint-dynamic-complete' is obsolete since 24.1, replaced by
6639 `completion-at-point'. (Bug#13774)
6641 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
6642 default key binding for `describe-distribution' has been moved to
6643 `C-h C-o'. (Bug#13970)
6645 2013-04-21 Glenn Morris <rgm@gnu.org>
6647 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
6649 (vc-print-log): Clarify interactive prompt.
6651 2013-04-20 Glenn Morris <rgm@gnu.org>
6653 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6654 No longer include timestamp etc information.
6656 2013-04-20 Roland Winkler <winkler@gnu.org>
6658 * faces.el (read-face-name): Bug fix, return just one face if arg
6659 multiple is nil. (Bug#14209)
6661 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6663 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
6664 (remove-function): Autoload.
6666 * comint.el (comint-redirect-original-filter-function): Remove.
6667 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
6668 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
6669 (vc-cvs-annotate-command):
6670 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
6671 * progmodes/prolog.el (prolog-consult-compile):
6672 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
6673 Use add/remove-function instead.
6674 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
6675 (gud-tooltip-process-output, gud-tooltip-tips):
6676 Use add/remove-function instead.
6677 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
6678 (scheme-interaction-mode, exit-scheme-interaction-mode):
6679 Use add/remove-function instead.
6681 * vc/vc-dispatcher.el: Use lexical-binding.
6682 (vc--process-sentinel): Rename from vc-process-sentinel.
6683 Change last arg to be the code to run. Don't use vc-previous-sentinel
6684 and vc-sentinel-commands any more.
6685 (vc-exec-after): Allow code to be a function. Use add/remove-function.
6686 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
6688 2013-04-19 Masatake YAMATO <yamato@redhat.com>
6690 * progmodes/sh-script.el (sh-imenu-generic-expression):
6691 Handle function names with a single character. (Bug#14111)
6693 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
6695 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
6696 for subroutines defined in an eval (bug#14182).
6698 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6700 * bookmark.el (bookmark-completing-read): Improve handling of empty
6703 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6705 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
6707 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
6709 New faster Imenu implementation (bug#14058).
6710 * progmodes/python.el:
6711 (python-imenu-prev-index-position):
6712 (python-imenu-format-item-label-function)
6713 (python-imenu-format-parent-item-label-function)
6714 (python-imenu-format-parent-item-jump-label-function):
6716 (python-imenu-format-item-label)
6717 (python-imenu-format-parent-item-label)
6718 (python-imenu-format-parent-item-jump-label)
6719 (python-imenu--put-parent, python-imenu--build-tree)
6720 (python-imenu-create-index, python-imenu-create-flat-index)
6721 (python-util-popn): New functions.
6722 (python-mode): Set imenu-create-index-function to
6723 python-imenu-create-index.
6725 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6727 * winner.el (winner-active-region): Use region-active-p, activate-mark
6728 and deactivate-mark (bug#14225).
6730 * simple.el (deactivate-mark): Don't inline it.
6732 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
6734 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
6736 2013-04-18 Tassilo Horn <tsdh@gnu.org>
6738 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
6739 file extensions from the archive-mode entry in order to prefer
6740 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
6742 2013-04-18 Leo Liu <sdl.web@gmail.com>
6744 * bindings.el (help-event-list): Add ?\?.
6746 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6748 * subr.el (with-wrapper-hook): Declare obsolete.
6749 * simple.el (filter-buffer-substring-function): New hook.
6750 (filter-buffer-substring): Use it.
6751 (filter-buffer-substring-functions): Mark obsolete.
6752 * minibuffer.el (completion-in-region-function): New hook.
6753 (completion-in-region): Use it.
6754 (completion-in-region-functions): Mark obsolete.
6755 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
6756 * abbrev.el (abbrev-expand-function): New hook.
6757 (expand-abbrev): Use it.
6758 (abbrev-expand-functions): Mark obsolete.
6759 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
6762 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6764 * progmodes/python.el (python-nav--syntactically): Fix cornercases
6765 and do not care about match data.
6767 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6769 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
6770 completion tables when completing error conditions and
6771 `declare' arguments.
6772 (lisp-complete-symbol, field-complete): Mark as obsolete.
6773 (check-parens): Unmatched parens are user errors.
6774 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
6776 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
6778 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
6779 command changed buffer (ie. `flyspell-pre-buffer' is not current
6780 buffer), which prevents making decisions based on invalid value of
6781 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
6782 cause an error when `flyspell-pre-point' was nil after switching
6784 (flyspell-post-command-hook): No longer needs to change buffers when
6785 checking pre-word. While at it remove unnecessary progn.
6787 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
6789 * textmodes/ispell.el (ispell-add-per-file-word-list):
6790 Fix `flyspell-correct-word-before-point' error when accepting
6791 words and `coment-padding' is an integer by using
6792 `comment-normalize-vars' (Bug #14214).
6794 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6796 New defun movement commands.
6797 * progmodes/python.el (python-nav--syntactically)
6798 (python-nav--forward-defun, python-nav-backward-defun)
6799 (python-nav-forward-defun): New functions.
6801 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6803 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
6804 (python-syntax-context): Use named compiler-macro for backwards
6805 compatibility with Emacs 24.x.
6807 2013-04-17 Leo Liu <sdl.web@gmail.com>
6809 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
6810 octave-hide-process-buffer.
6812 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6814 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
6817 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
6819 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
6820 Fix adjustment of offset when receiving incomplete responses from GDB
6823 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6825 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
6826 python-mode-abbrev-table.
6827 (python-skeleton-define): Adjust accordingly.
6828 (python-mode-abbrev-table): New table that inherits from it so that
6829 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
6831 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
6832 (abbrev-symbol): Use it.
6833 (abbrev--before-point): Use it since we already handle inheritance.
6835 2013-04-16 Leo Liu <sdl.web@gmail.com>
6837 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
6838 binding to info-lookup-symbol.
6840 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
6842 * minibuffer.el (completion--twq-all):
6843 * term/ns-win.el (ns-initialize-window-system):
6844 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
6846 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6848 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
6851 * doc-view.el (doc-view-start-process): Handle url-handler directories.
6853 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
6855 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
6856 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
6858 (ruby-end-of-defun): Remove the unused arg, change the docstring
6859 to reflect that this function is only used as the value of
6860 `end-of-defun-function'.
6861 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
6862 to reflect an earlier change that beginning/end-of-defun functions
6863 jump between methods in a class definition, as well as top-level
6866 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6868 * minibuffer.el (minibuffer-complete): Don't just scroll
6869 a *Completions* that's been iconified.
6870 (minibuffer-force-complete): Make sure repetitions do cycle when going
6871 through completion-in-region -> minibuffer-complete.
6873 2013-04-15 Alan Mackenzie <acm@muc.de>
6875 Correct the placement of c-cpp-delimiters when there're #s not at
6878 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
6879 place a submatch around the #.
6880 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
6881 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
6884 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6886 * emacs-lisp/nadvice.el: Properly test names when adding advice.
6887 (advice--member-p): New arg `name'.
6888 (advice--add-function, advice-member-p): Use it (bug#14202).
6890 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
6892 Reformulate java imenu-generic-expression.
6893 The old expression contained ill formed regexps.
6895 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
6896 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
6897 (cc-imenu-java-method-arg-regexp): New defconsts.
6898 (cc-imenu-java-build-type-args-regex): New defun.
6899 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
6900 handling of spaces in the regexp.
6902 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6904 * textmodes/ispell.el (ispell-command-loop): Remove
6905 flyspell highlight of a word when ispell accepts it (bug #14178).
6907 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
6909 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
6910 uses code from the previous `ange-ftp-run-real-handler'.
6911 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
6912 only in case that function exist. This is needed for proper
6915 2013-04-15 Tassilo Horn <tsdh@gnu.org>
6917 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
6919 * textmodes/reftex.el (reftex-compile-variables): Use it.
6921 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6923 * files.el (normal-mode): Only use default major-mode if no other mode
6926 * emacs-lisp/trace.el (trace-values): New function.
6928 * files.el: Allow : in local variables (bug#14089).
6929 (hack-local-variable-regexp): New var.
6930 (hack-local-variables-prop-line, hack-local-variables): Use it.
6932 2013-04-13 Roland Winkler <winkler@gnu.org>
6934 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
6935 data before it gets modified by bibtex-beginning-of-entry.
6937 2013-04-13 Roland Winkler <winkler@gnu.org>
6939 * textmodes/bibtex.el (bibtex-url): Doc fix.
6941 2013-04-13 Roland Winkler <winkler@gnu.org>
6943 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
6944 does not visit a BibTeX file, exclude it from the list of buffers
6945 returned by bibtex-initialize.
6947 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
6949 * window.el (split-window): Remove interactive form, since as a
6950 command this function is a special case of split-window-below.
6953 2013-04-12 Roland Winkler <winkler@gnu.org>
6955 * faces.el (read-face-name): Do not override value of arg default.
6956 Allow single faces and strings as default values. Remove those
6957 elements from return value that are not faces.
6958 (describe-face): Simplify.
6959 (face-at-point): New optional args thing and multiple so that this
6960 function can provide the same functionality previously provided by
6962 (make-face-bold, make-face-unbold, make-face-italic)
6963 (make-face-unitalic, make-face-bold-italic, invert-face)
6964 (modify-face, read-face-and-attribute): Use face-at-point.
6966 * cus-edit.el (customize-face, customize-face-other-window)
6967 * cus-theme.el (custom-theme-add-face)
6968 * face-remap.el (buffer-face-set)
6969 * facemenu.el (facemenu-set-face): Use face-at-point.
6971 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
6973 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
6975 2013-04-10 Tassilo Horn <tsdh@gnu.org>
6977 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
6978 off leading { and trailing } from field values.
6980 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6982 * emacs-lisp/timer.el (timer--check): New function.
6983 (timer--time, timer-set-function, timer-event-handler): Use it.
6984 (timer-set-idle-time): Simplify.
6985 (timer--activate): CSE.
6986 (timer-event-handler): Give more info in error message.
6987 (internal-timer-start-idle): New function, moved from C.
6989 * mpc.el (mpc-proc): Add `restart' argument.
6990 (mpc-proc-cmd): Use it.
6991 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
6992 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
6995 2013-04-10 Masatake YAMATO <yamato@redhat.com>
6997 * progmodes/sh-script.el: Implement `sh-mode' own
6998 `add-log-current-defun-function' (bug#14112).
6999 (sh-current-defun-name): New function.
7000 (sh-mode): Use the function.
7002 2013-04-09 Bastien Guerry <bzg@gnu.org>
7004 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7006 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7008 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7010 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7013 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7015 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7018 2013-04-07 Leo Liu <sdl.web@gmail.com>
7020 * pcmpl-x.el: New file.
7022 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7024 Do not set x-display-name until X connection is established.
7025 This is needed to prevent from weird situation described at
7026 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7027 * frame.el (make-frame): Set x-display-name after call to
7028 window system initialization function, not before.
7029 * term/x-win.el (x-initialize-window-system): Add optional
7030 display argument and use it.
7031 * term/w32-win.el (w32-initialize-window-system):
7032 * term/ns-win.el (ns-initialize-window-system):
7033 * term/pc-win.el (msdos-initialize-window-system):
7034 Add compatible optional display argument.
7036 2013-04-06 Eli Zaretskii <eliz@gnu.org>
7038 * files.el (normal-backup-enable-predicate): On MS-Windows and
7039 MS-DOS compare truenames of temporary-file-directory and of the
7040 file, so that 8+3 aliases (usually found in $TEMP on Windows)
7041 don't fail comparison by compare-strings. Also, compare file
7042 names case-insensitively on MS-Windows and MS-DOS.
7044 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7046 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7047 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7049 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
7051 * whitespace.el (whitespace-color-on, whitespace-color-off):
7052 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
7054 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7056 * ispell.el (ispell-set-spellchecker-params):
7057 Really set `ispell-args' for all equivs.
7059 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7061 * ido.el (ido-completions): Use extra elements of ido-decorations
7063 (ido-decorations): Update docstring.
7065 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
7067 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7068 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7069 nil during initialization, in order not to miss changes since the
7070 file was opened. (Bug#14140)
7072 2013-04-05 Leo Liu <sdl.web@gmail.com>
7074 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7076 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7078 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7080 2013-04-04 Glenn Morris <rgm@gnu.org>
7082 * electric.el (electric-pair-inhibit-predicate): Add :version.
7084 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7086 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7087 when a package is required several times (bug#14082).
7089 2013-04-04 Roland Winkler <winkler@gnu.org>
7091 * faces.el (read-face-name): Behave as promised by the docstring.
7092 Assume that arg default is a list of faces.
7093 (describe-face): Call read-face-name with list of default faces.
7095 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7097 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7098 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7099 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7101 (bookmark-exit-hook-internal): Save even if list is empty.
7103 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7105 * emacs-lisp/package.el (package-pinned-packages): New var.
7106 (package--add-to-archive-contents): Obey it (bug#14118).
7108 2013-04-03 Alan Mackenzie <acm@muc.de>
7110 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7111 Also adapt to the new values of element 7 of a parse state.
7113 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7114 parameter `not-in-delimiter'. Handle being inside comment opener.
7115 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7116 character in case we're typing a '*' after a '/'.
7117 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7118 instead by passing the parameter to c-state-pp-to-literal.
7120 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7121 for elt. 7 of a parse state.
7123 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7125 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7126 * international/latin1-disp.el, international/mule-util.el:
7127 * language/cyril-util.el, language/european.el, language/ind-util.el:
7128 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7129 * language/tibetan.el, language/viet-util.el:
7130 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7132 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7134 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7135 (electric-pair-post-self-insert-function): Use it.
7136 (electric-pair-default-inhibit): New function, extracted from
7137 electric-pair-post-self-insert-function.
7139 2013-03-31 Roland Winkler <winkler@gnu.org>
7141 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7143 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7145 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7147 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
7149 Un-indent after "pass" and "return" statements (Bug#13888)
7150 * progmodes/python.el (python-indent-block-enders): New var.
7151 (python-indent-calculate-indentation): Use it.
7153 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
7155 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7156 defun. Defining it as defalias could introduce too eager
7157 byte-compiler optimization. (Bug#14030)
7159 2013-03-30 Chong Yidong <cyd@gnu.org>
7161 * iswitchb.el (iswitchb-read-buffer): Fix typo.
7163 2013-03-30 Leo Liu <sdl.web@gmail.com>
7165 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
7166 (kmacro-execute-from-register): Pass the keyboard macro to
7167 kmacro-call-macro or repeating won't work correctly.
7169 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
7171 * progmodes/subword.el: Back to using `forward-symbol'.
7173 * subr.el (forward-whitespace, forward-symbol)
7174 (forward-same-syntax): Move from thingatpt.el.
7176 2013-03-29 Leo Liu <sdl.web@gmail.com>
7178 * kmacro.el (kmacro-to-register): New command.
7179 (kmacro-execute-from-register): New function.
7180 (kmacro-keymap): Bind to 'x'. (Bug#14071)
7182 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7184 * mpc.el: Use defvar-local and setq-local.
7185 (mpc--proc-connect): Connection failures are not bugs.
7186 (mpc-mode-map): `follow-link' only applies to the buffer's content.
7187 (mpc-volume-map): Bind to the up-events.
7189 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
7191 * progmodes/subword.el (superword-mode): Use `forward-sexp'
7192 instead of `forward-symbol'.
7194 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
7196 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
7197 (edebug--recursive-edit): Use it.
7198 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
7199 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
7201 2013-03-28 Leo Liu <sdl.web@gmail.com>
7203 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
7205 2013-03-27 Eli Zaretskii <eliz@gnu.org>
7207 * facemenu.el (list-colors-callback): New defvar.
7208 (list-colors-redisplay): New function.
7209 (list-colors-display): Install list-colors-redisplay as the
7210 revert-buffer-function. (Bug#14063)
7212 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7214 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
7215 and suffixes don't overlap (bug#14061).
7217 * case-table.el: Use lexical-binding.
7218 (case-table-get-table): New function.
7219 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
7221 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
7223 * progmodes/subword.el: Add `superword-mode' to do word motion
7224 over symbol_words (parallels and leverages `subword-mode' which
7225 does word motion inside MixedCaseWords).
7227 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
7229 * eshell/em-unix.el: Move su and sudo to...
7230 * eshell/em-tramp.el: ...Eshell tramp module.
7232 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7234 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
7235 Change return value to be a sexp. Delay `get-buffer' to after
7236 restoring the desktop (bug#13951).
7238 2013-03-26 Leo Liu <sdl.web@gmail.com>
7240 * register.el: Move semantic tag handling back to
7241 cedet/semantic/senator.el. (Bug#14052)
7243 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7245 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
7246 into the prompt either (bug#13963).
7248 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7250 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
7251 part of "(error-foo)".
7253 2013-03-24 Juri Linkov <juri@jurta.org>
7255 * replace.el (list-matching-lines-prefix-face): New defcustom.
7256 (occur-1): Pass `list-matching-lines-prefix-face' to the function
7257 `occur-engine' if `face-differs-from-default-p' returns t.
7258 (occur-engine): Add `,' inside backquote construct to evaluate
7259 `prefix-face'. Propertize the prefix with the `prefix-face' face.
7260 Pass `prefix-face' to the functions `occur-context-lines' and
7261 `occur-engine-add-prefix'.
7262 (occur-engine-add-prefix, occur-context-lines): Add optional arg
7263 `prefix-face' and propertize the prefix with `prefix-face'.
7266 2013-03-24 Leo Liu <sdl.web@gmail.com>
7268 * nxml/rng-valid.el (rng-validate-while-idle)
7269 (rng-validate-quick-while-idle): Guard against deleted buffer.
7272 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
7273 is the last entry in kill-buffer-hook.
7275 * files.el (kill-buffer-hook): Doc fix.
7277 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
7279 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
7282 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
7284 2013-03-23 Leo Liu <sdl.web@gmail.com>
7286 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
7289 * nxml/rng-valid.el (rng-validate-mode)
7290 (rng-after-change-function, rng-do-some-validation):
7291 * nxml/rng-maint.el (rng-validate-buffer):
7292 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
7293 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
7294 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
7295 (nxml-extend-after-change-region): Use with-silent-modifications.
7297 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
7300 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
7301 (rng-next-error-1, rng-previous-error-1): Do not let-bind
7302 timer-idle-list. (Bug#13999)
7304 2013-03-23 Juri Linkov <juri@jurta.org>
7306 * info.el (info-index-match): New face.
7307 (Info-index, Info-apropos-matches): Add a nested subgroup to the
7308 main pattern and add text properties with the new face to matches
7309 in index entries relative to the beginning of the index entry.
7312 2013-03-21 Eric Ludlam <zappo@gnu.org>
7314 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
7315 Inhibit read only while inserting objects.
7317 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
7319 * progmodes/cfengine.el: Update docs to mention
7320 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
7321 symbol motion. Remove "_" from the word syntax.
7323 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
7325 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
7326 syntax for both `cfengine2-mode' and `cfengine3-mode'.
7328 2013-03-20 Juri Linkov <juri@jurta.org>
7330 * info.el (Info-next-reference-or-link)
7331 (Info-prev-reference-or-link): New functions.
7332 (Info-next-reference, Info-prev-reference): Use them.
7333 (Info-try-follow-nearest-node): Handle footnote navigation.
7334 (Info-fontify-node): Fontify footnotes. (Bug#13989)
7336 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7338 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
7339 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
7341 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
7343 Suppress unnecessary non-ASCII chatter during build process.
7344 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
7345 (batch-skkdic-convert): Suppress most of the chatter.
7346 It's not needed so much now that machines are faster,
7347 and its non-ASCII component was confusing; see Dmitry Gutov in
7348 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
7350 2013-03-20 Leo Liu <sdl.web@gmail.com>
7352 * ido.el (ido-chop): Fix bug#10994.
7354 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7356 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
7358 (whitespace-color-on, whitespace-color-off):
7359 Use `font-lock-fontify-buffer' (Bug#13817).
7361 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7363 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
7364 remapping in mode-line.
7365 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
7367 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7369 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
7370 value for `whitespace-line' face (Bug#13875).
7371 (whitespace-font-lock-keywords): Change description.
7372 (whitespace-color-on): Don't save `font-lock-keywords' value, save
7373 the constructed keywords instead.
7374 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
7376 2013-03-19 Leo Liu <sdl.web@gmail.com>
7378 * progmodes/compile.el (compilation-display-error): New command.
7379 (compilation-mode-map, compilation-minor-mode-map): Bind it to
7382 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7384 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
7386 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
7388 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
7390 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
7392 * net/tramp-compat.el (tramp-compat-user-error): New defun.
7394 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7395 * net/tramp-gvfs.el (top):
7396 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
7397 (tramp-handle-shell-command): Use it.
7398 (tramp-dissect-file-name): Raise an error when hostname is a
7399 method name, and neither method nor user is specified.
7401 * net/trampver.el: Update release number.
7403 2013-03-18 Leo Liu <sdl.web@gmail.com>
7405 Make sure eldoc can be turned off properly.
7406 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
7408 (eldoc-display-message-p): Revert last change.
7409 (eldoc-display-message-no-interference-p)
7410 (eldoc-print-current-symbol-info): Tweak.
7412 2013-03-18 Tassilo Horn <tsdh@gnu.org>
7414 * doc-view.el (doc-view-new-window-function): Check the new window
7415 overlay's display property instead the char property of the
7416 buffer's first char. Use `with-selected-window' instead of
7417 `save-window-excursion' with `select-window'.
7418 (doc-view-document->bitmap): Check the current doc-view overlay's
7419 display property instead the char property of the buffer's first char.
7421 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7423 Automate the build of ja-dic.el (Bug#13984).
7424 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
7425 from the input, rather than assume that it's been done for us by the
7426 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
7427 the current date into a ja-dic.el comment, as that complicates
7430 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
7432 * whitespace.el: Fix double evaluation.
7433 (whitespace-space, whitespace-hspace, whitespace-tab)
7434 (whitespace-newline, whitespace-trailing, whitespace-line)
7435 (whitespace-space-before-tab, whitespace-indentation)
7436 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
7438 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
7439 (whitespace-color-on): Use a single font-lock-add-keywords call.
7440 Fix double-evaluation of face variables.
7442 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
7444 * net/tramp-adb.el (tramp-adb-parse-device-names):
7445 Use `start-process' instead of `call-process'. Otherwise, the
7446 function might be blocked under MS Windows. (Bug#13299)
7448 2013-03-17 Leo Liu <sdl.web@gmail.com>
7450 Extend eldoc to display info in the mode-line. (Bug#13978)
7451 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
7452 (eldoc-mode-line-string): New variable.
7453 (eldoc-minibuffer-message): New function.
7454 (eldoc-message-function): New variable.
7455 (eldoc-message): Use it.
7456 (eldoc-display-message-p)
7457 (eldoc-display-message-no-interference-p):
7458 Support eldoc-post-insert-mode.
7460 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
7461 (eval-expression): Run it.
7463 2013-03-17 Roland Winkler <winkler@gnu.org>
7465 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
7466 strings in the list of return values.
7468 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
7470 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
7471 radix before checking for HMS forms.
7473 2013-03-16 Leo Liu <sdl.web@gmail.com>
7475 * progmodes/scheme.el: Add indentation and font-locking for λ.
7478 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
7480 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
7481 token before point (bug#13942).
7483 2013-03-16 Leo Liu <sdl.web@gmail.com>
7485 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
7487 2013-03-16 Eli Zaretskii <eliz@gnu.org>
7489 * startup.el (command-line-normalize-file-name): Fix handling of
7490 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
7491 <xfq.free@gmail.com> in
7492 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
7494 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
7496 Sync with Tramp 2.2.7.
7498 * net/trampver.el: Update release number.
7500 2013-03-14 Tassilo Horn <tsdh@gnu.org>
7502 * doc-view.el Fix bug#13887.
7503 (doc-view-insert-image): Don't modify overlay associated to
7504 non-live windows, and implement horizontal centering of image in
7505 case it's smaller than the window.
7506 (doc-view-new-window-function): Force redisplay of new windows on
7509 2013-03-13 Karl Fogel <kfogel@red-bean.com>
7511 * saveplace.el (save-place-alist-to-file): Don't sort
7512 `save-place-alist', just pretty-print it (bug#13882).
7514 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
7516 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7517 Check whether `default-file-name-coding-system' is bound.
7520 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
7522 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
7523 backquotes for `obsolete' (bug#13929).
7525 * international/mule.el (find-auto-coding): Include file name in
7526 obsolescence warning (bug#13922).
7528 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
7530 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
7531 for CFEngine 3-specific indentation.
7532 (cfengine3-indent-line): Use it. Fix up category regex.
7533 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
7535 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7537 * type-break.el (type-break-file-name):
7538 * textmodes/remember.el (remember-data-file):
7539 * strokes.el (strokes-file):
7540 * shadowfile.el (shadow-initialize):
7541 * saveplace.el (save-place-file):
7542 * ps-bdf.el (bdf-cache-file):
7543 * progmodes/idlwave.el (idlwave-config-directory):
7544 * net/quickurl.el (quickurl-url-file):
7545 * international/kkc.el (kkc-init-file-name):
7546 * ido.el (ido-save-directory-list-file):
7547 * emulation/viper.el (viper-custom-file-name):
7548 * emulation/vip.el (vip-startup-file):
7549 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
7550 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
7552 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
7554 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
7555 * language/thai-word.el: Switch to UTF-8.
7557 See ChangeLog.16 for earlier changes.
7563 Copyright (C) 2011-2013 Free Software Foundation, Inc.
7565 This file is part of GNU Emacs.
7567 GNU Emacs is free software: you can redistribute it and/or modify
7568 it under the terms of the GNU General Public License as published by
7569 the Free Software Foundation, either version 3 of the License, or
7570 (at your option) any later version.
7572 GNU Emacs is distributed in the hope that it will be useful,
7573 but WITHOUT ANY WARRANTY; without even the implied warranty of
7574 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7575 GNU General Public License for more details.
7577 You should have received a copy of the GNU General Public License
7578 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.