1 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3 * play/life.el (life-mode): Use define-derived-mode. Derive from
5 (life): Let-bind inhibit-read-only.
6 (life-setup): Avoid `setq'. Use `life-mode'.
8 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9 which should not be needed any more.
10 (package-menu-refresh, package-menu-describe-package): Use user-error.
12 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
13 (eshell-post-rewrite-command-hook): Make obsolete.
14 (eshell-parse-command): Simplify.
15 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
16 (eshell--cmd): Declare.
17 (eshell-parse-pipeline): Remove unused var `final-p'.
18 Pass a dynvar to eshell-post-rewrite-command-hook.
19 Implement the new eshell-post-rewrite-command-function.
20 (eshell-invoke-directly): Remove unused arg `input'.
21 * eshell/esh-io.el (eshell-io-initialize):
22 Use eshell-post-rewrite-command-function (bug#15399).
23 (eshell--apply-redirections): Rename from eshell-apply-redirections;
24 adjust to new calling convention.
25 (eshell-create-handles): Rename args to avoid clashing with dynvar
28 2013-09-17 Glenn Morris <rgm@gnu.org>
30 * simple.el (messages-buffer-mode): New major mode.
31 (messages-buffer): New function.
32 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
33 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
34 (ert-run-test): Use `messages-buffer' function.
35 (ert--force-message-log-buffer-truncation): Ignore read-only.
36 * help.el (view-echo-area-messages): Use `messages-buffer' function.
37 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
39 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
41 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
43 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
45 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
47 * icomplete.el (icomplete-in-buffer): New var.
48 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
49 vars and replace them with functions.
50 (icomplete-minibuffer-setup): Adjust accordingly.
51 (icomplete--completion-table, icomplete--completion-predicate)
52 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
54 (icomplete-forward-completions, icomplete-backward-completions)
55 (icomplete-simple-completing-p, icomplete-exhibit)
56 (icomplete-completions): Use them.
57 (icomplete--in-region-buffer): New var.
58 (icomplete--in-region-setup): New function.
59 (icomplete-mode): Use it.
61 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
63 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
64 return args and options.
65 (eshell-eval-using-options): Use the new return value of
66 eshell--do-opts to set the options's vars in their scope.
67 (eshell--set-option): Rename from eshell-set-option.
69 (eshell--process-option): Rename from eshell-process-option.
71 (eshell--process-args): Use an `opt-vals' alist to store the options's
72 values during their processing and return them additionally to the
75 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
77 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
78 continuation character an operator, as far as indentation is
79 concerned (Bug#15369).
81 2013-09-15 Martin Rudalics <rudalics@gmx.at>
83 * window.el (window--state-put-2): Don't process buffer state
84 when buffer doesn't exist any more (Bug#15382).
86 2013-09-15 Glenn Morris <rgm@gnu.org>
88 * eshell/em-unix.el (eshell/rm):
89 Make -f ignore missing files. (Bug#15373)
91 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
92 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
93 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
95 2013-09-14 Glenn Morris <rgm@gnu.org>
97 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
99 2013-09-13 Glenn Morris <rgm@gnu.org>
101 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
102 (dired-guess-default): Make `file' available in the env. (Bug#15363)
104 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
106 * frame.el (x-focus-frame): Mark as declared in frame.c.
108 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
110 * ls-lisp.el: Use advice-add.
111 (original-insert-directory): Remove.
112 (ls-lisp--insert-directory): Rename from insert-directory; add
114 (insert-directory): Advise.
116 2013-09-13 Eli Zaretskii <eliz@gnu.org>
118 * term.el (term-emulate-terminal): Decode the command string
119 before passing it to term-command-hook. (Bug#15337)
121 2013-09-13 Glenn Morris <rgm@gnu.org>
123 * eshell/esh-util.el (ange-cache): Move declaration earlier.
125 * eshell/esh-ext.el (eshell-search-path): Declare.
127 * eshell/em-prompt.el (eshell/pwd): Autoload it.
128 Otherwise an error occurs if eshell-dirs module not loaded.
130 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
132 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
134 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
135 `tramp-check-proper-host'. Check for a valid method name.
137 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
138 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
139 * net/tramp-sh.el (tramp-maybe-open-connection):
140 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
142 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
143 also for hash values.
145 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
147 * term/ns-win.el (parameters): Don't declare as dynamic.
148 (before-make-frame-hook): Don't add ineffective function.
150 * eshell/*.el: Use lexical-binding (bug#15231).
152 2013-09-12 Kenichi Handa <handa@gnu.org>
154 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
156 2013-09-12 Glenn Morris <rgm@gnu.org>
158 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
159 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
161 * subr.el (do-after-load-evaluation): Also give compiler warnings
162 when obsolete files are used (except by obsolete files).
164 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
165 in the status output, assume `filename' is the first. (Bug#15322)
167 * vc/vc.el (vc-deduce-fileset): Doc fix.
169 * calc/calc-help.el (Info-goto-node):
170 * progmodes/cperl-mode.el (Info-find-node):
171 * vc/ediff.el (Info-goto-node): Update declarations.
173 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
175 * vc/vc-bzr.el (vc-compilation-mode): Declare.
176 (vc-bzr-pull): Require vc-dispatcher.
177 * vc/vc-git.el (vc-compilation-mode): Declare.
178 (vc-git-pull): Require vc-dispatcher.
180 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
182 * progmodes/octave.el (help-button-action): Declare.
184 * shell.el (shell-directory-tracker): Output error as a message
185 rather than just returning it as a string.
186 (shell-process-pushd): Remove useless use of message.
188 * dframe.el (dframe-timer-fn):
189 * files.el (dir-locals-read-from-file):
190 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
192 * reveal.el (reveal-post-command):
193 * saveplace.el (load-save-place-alist-from-file):
194 * shell.el (shell-resync-dirs):
195 * w32-common-fns.el (x-get-selection-value):
196 * emacs-lisp/copyright.el (copyright-find-copyright):
197 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
198 * emulation/tpu-edt.el (tpu-copy-keyfile):
199 * play/bubbles.el (bubbles--mark-neighbourhood):
200 * progmodes/executable.el
201 (executable-make-buffer-file-executable-if-script-p):
202 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
204 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
206 Cleanup Eshell to rely less on dynamic scoping.
207 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
208 last-value, and ext-command here. Bind `args' closer to `body'.
209 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
210 (eshell--args): Declare new dynamic var.
211 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
212 last-value, and ext-command. Pass `args' to `body'.
213 (eshell-process-args): Bind eshell--args.
214 (eshell-set-option): Use eshell--args.
215 * eshell/eshell.el (eshell): Use derived-mode-p.
216 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
217 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
218 (eshell-glob-function): Declare.
219 * eshell/esh-util.el: Require cl-lib.
220 (eshell-read-hosts-file): Avoid add-to-list.
221 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
223 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
225 (eshell/diff): Remove unused var `err'.
226 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
228 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
229 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
231 * eshell/em-glob.el (eshell-glob-matches, message-shown):
232 Move declaration before first use.
233 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
234 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
237 2013-09-12 Glenn Morris <rgm@gnu.org>
239 * term/ns-win.el (global-map): Remove binding for ispell-next,
240 deleted 1999-05-29. (Bug#15357)
242 2013-09-11 Glenn Morris <rgm@gnu.org>
244 * echistory.el (electric-command-history): Remove call to deleted func.
246 * play/landmark.el (landmark-mode): Fix typos.
248 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
249 Check cvs-sort-ignore-file is bound.
251 * savehist.el: No need for cl when compiling on Emacs.
253 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
255 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
257 (eshell-self-insert-command, eshell-send-invisible):
258 Remove unused argument.
259 (eshell-handle-control-codes): Remove unused var `orig'.
260 Avoid delete-backward-char.
262 * files.el (set-auto-mode): Simplify a bit further.
264 2013-09-11 Glenn Morris <rgm@gnu.org>
266 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
267 (set-auto-mode): Don't regexp-quote elements.
268 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
269 * progmodes/cc-mode.el (interpreter-mode-alist):
270 * progmodes/ruby-mode.el (interpreter-mode-alist):
271 Revert previous change.
273 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
275 * play/snake.el (snake-mode):
276 * play/mpuz.el (mpuz-mode):
277 * play/landmark.el (lm-mode):
278 * play/blackbox.el (blackbox-mode):
279 * play/5x5.el (5x5-mode):
280 * obsolete/options.el (Edit-options-mode):
281 * net/quickurl.el (quickurl-list-mode):
282 * net/newst-treeview.el (newsticker-treeview-mode):
283 * mail/rmailsum.el (rmail-summary-mode):
284 * mail/mspools.el (mspools-mode):
285 * locate.el (locate-mode):
286 * ibuffer.el (ibuffer-mode):
287 * emulation/ws-mode.el (wordstar-mode):
288 * emacs-lisp/debug.el (debugger-mode):
289 * array.el (array-mode):
290 * net/eudc.el (eudc-mode): Use define-derived-mode.
291 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
292 Move initialization into declaration.
293 (mairix-searches-mode): Use define-derived-mode.
294 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
295 (eudc-edit-hotlist): Use dolist.
296 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
297 (Man-mode): Use define-derived-mode.
298 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
299 (Info-edit-mode): Use define-derived-mode.
300 (Info-cease-edit): Use Info-mode.
301 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
303 (eshell-mode): Use define-derived-mode.
304 * chistory.el (command-history-mode-map): Rename from
306 (command-history-mode): Use define-derived-mode.
307 (Command-history-setup): Remove function.
308 * calc/calc.el (calc-trail-mode-map): New var.
309 (calc-trail-mode): Use define-derived-mode.
310 (calc-trail-buffer): Set calc-main-buffer manually.
311 * bookmark.el (bookmark-insert-annotation): New function.
312 (bookmark-edit-annotation): Use it.
313 (bookmark-edit-annotation-mode): Make it a proper major mode.
314 (bookmark-send-edited-annotation): Use derived-mode-p.
315 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
316 closer to its ideal place. Use \' to match EOS.
318 * profiler.el (profiler-calltree-find): Use function-equal.
320 2013-09-10 Glenn Morris <rgm@gnu.org>
322 * files.el (interpreter-mode-alist): Convert to regexps.
323 (set-auto-mode): Adapt for this. (Bug#15306)
324 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
325 Comment out unused variable.
326 * progmodes/cc-mode.el (interpreter-mode-alist):
327 * progmodes/python.el (interpreter-mode-alist):
328 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
329 * progmodes/sh-script.el (sh-set-shell):
330 No longer use interpreter-mode-alist to get list of shells.
332 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
334 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
336 * simple.el: Use set-temporary-overlay-map for universal-argument.
337 (universal-argument-map): Don't use default-bindings (bug#15317).
338 Bind switch-frame explicitly. Replace universal-argument-minus with
339 a conditional binding.
340 (universal-argument-num-events, saved-overriding-map): Remove.
341 (restore-overriding-map): Remove.
342 (universal-argument--mode): Rename from save&set-overriding-map,
344 (universal-argument, universal-argument-more, negative-argument)
345 (digit-argument): Adjust accordingly.
346 (universal-argument-minus): Remove.
347 (universal-argument-other-key): Remove.
349 * subr.el (with-demoted-errors): Add `format' argument.
351 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
353 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
354 `tramp-cleanup-connection'.
356 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
357 parameters KEEP-DEBUG and KEEP-PASSWORD.
359 * net/tramp.el (tramp-file-name-handler):
360 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
361 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
362 (tramp-maybe-open-connection):
363 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
364 Use `tramp-cleanup-connection'.
366 * net/tramp-sh.el (tramp-maybe-open-connection):
367 Catch 'uname-changed inside the progress reporter.
369 2013-09-10 Glenn Morris <rgm@gnu.org>
371 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
373 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
374 returns "alternate access method" in mode (eg "-rw-r--r--.").
376 2013-09-08 Glenn Morris <rgm@gnu.org>
378 * saveplace.el (load-save-place-alist-from-file):
379 Demote errors. (Bug#15305)
381 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
383 Improve compatibility with older Emacsen, and XEmacs.
385 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
386 only if it is bound. It isn't for XEmacs.
387 (with-tramp-progress-reporter): Do not let-bind `result'.
388 This yields to scoping errors in XEmacs.
389 (tramp-handle-make-auto-save-file-name): New function, moved from
392 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
393 for `make-auto-save-file-name'.
394 (tramp-adb--gnu-switches-to-ash):
395 Use `tramp-compat-replace-regexp-in-string'.
397 * net/tramp-cache.el (tramp-cache-print): Call
398 `substring-no-properties' only if it is bound. It isn't for XEmacs.
400 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
401 bound. It isn't for XEmacs.
403 * net/tramp-compat.el (tramp-compat-copy-file):
404 Catch `wrong-number-of-arguments' error.
405 (tramp-compat-replace-regexp-in-string): New defun.
407 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
408 for `make-auto-save-file-name'.
409 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
411 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
412 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
413 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
415 * net/tramp-gw.el (tramp-gw-open-network-stream):
416 Use `tramp-compat-replace-regexp-in-string'.
418 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
419 Call `tramp-handle-make-auto-save-file-name'.
420 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
421 (tramp-sh-file-gvfs-monitor-dir-process-filter)
422 (tramp-sh-file-inotifywait-process-filter):
423 Use `tramp-compat-replace-regexp-in-string'.
424 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
426 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
427 for `make-auto-save-file-name'.
428 (tramp-smb-handle-copy-directory):
429 Call `tramp-compat-replace-regexp-in-string'.
430 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
431 (tramp-smb-handle-copy-file): Improve error message.
432 (tramp-smb-handle-rename-file): Rename directly only in case
433 `newname' does not exist yet. This is a restriction of smbclient.
434 (tramp-smb-maybe-open-connection): Rerun the function only when
435 `auth-sources' is non-nil.
437 2013-09-08 Kenichi Handa <handa@gnu.org>
439 * international/characters.el: Set category "^" (Combining) for
442 2013-09-07 Alan Mackenzie <acm@muc.de>
444 Correctly fontify Java class constructors.
445 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
447 (c-recognize-typeless-decls): Set the Java value to t.
448 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
449 While handling a "(", add a check for, effectively, Java, and handle a
450 "typeless" declaration there.
452 2013-09-07 Roland Winkler <winkler@gnu.org>
454 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
455 field subtitle for entry type book.
457 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
459 * minibuffer.el: Make minibuffer-complete call completion-in-region
460 rather than other way around.
461 (completion--some, completion-pcm--find-all-completions):
462 Don't delay signals when debugging.
463 (minibuffer-completion-contents): Beware fields within the
465 (completion-all-sorted-completions): Use defvar-local.
466 (completion--do-completion, completion--cache-all-sorted-completions)
467 (completion-all-sorted-completions, minibuffer-force-complete):
468 Add args `beg' and `end'.
469 (completion--in-region-1): New fun, extracted from minibuffer-complete.
470 (minibuffer-complete): Use completion-in-region.
471 (completion-complete-and-exit): New fun, extracted from
472 minibuffer-complete-and-exit.
473 (minibuffer-complete-and-exit): Use it.
474 (completion--complete-and-exit): Rename from
475 minibuffer--complete-and-exit.
476 (completion-in-region--single-word): New function, extracted from
477 minibuffer-complete-word.
478 (minibuffer-complete-word): Use it.
479 (display-completion-list): Make `common-substring' argument obsolete.
480 (completion--in-region): Call completion--in-region-1 instead of
482 (completion-help-at-point): Pass boundaries to
483 minibuffer-completion-help as args rather than via an overlay.
484 (completion-pcm--string->pattern): Use `any-delim'.
485 (completion-pcm--optimize-pattern): New function.
486 (completion-pcm--pattern->regex): Handle `any-delim'.
487 * icomplete.el (icomplete-forward-completions)
488 (icomplete-backward-completions, icomplete-completions):
489 Adjust calls to completion-all-sorted-completions and
490 completion--cache-all-sorted-completions.
491 (icomplete-with-completion-tables): Default to t.
492 * emacs-lisp/crm.el (crm--current-element): Rename from
493 crm--select-current-element. Don't put an overlay but return the
495 (crm--completion-command): Take two new args to bind to the boundaries.
496 (crm-completion-help): Adjust accordingly.
497 (crm-complete): Use completion-in-region.
498 (crm-complete-word): Use completion-in-region--single-word.
499 (crm-complete-and-exit): Use completion-complete-and-exit.
501 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
503 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
506 2013-09-06 Juri Linkov <juri@jurta.org>
508 * info.el (Info-display-images-node): When image file doesn't exist
509 display text version of the image if it's provided in the Info file.
510 Otherwise, display the location of missing image from SRC attribute.
511 Add help-echo text property from ALT attribute. (Bug#15279)
513 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
515 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
516 (edit-abbrevs-mode): Use define-derived-mode.
518 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
519 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
521 (epa-key-list-mode, epa-key-mode, epa-info-mode):
522 Use define-derived-mode.
524 * epg.el (epg-start-encrypt): Minor CSE simplification.
526 2013-09-06 William Xu <william.xwl@gmail.com>
528 * arc-mode.el: Add support for 7za (bug#15264).
529 (archive-7z-program): New var.
530 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
531 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
532 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
534 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
538 * net/tramp.el (tramp-syntax, tramp-prefix-format)
539 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
540 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
541 (tramp-postfix-host-format, tramp-file-name-regexp)
542 (tramp-completion-file-name-regexp)
543 (tramp-completion-dissect-file-name)
544 (tramp-handle-substitute-in-file-name): Remove 'url case.
545 (tramp-file-name-regexp-url)
546 (tramp-completion-file-name-regexp-url): Remove constants.
548 2013-09-06 Glenn Morris <rgm@gnu.org>
550 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
552 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
554 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
555 keywords" below "here-doc beginnings" (Bug#15270).
557 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
559 * subr.el (pop): Use `car-safe'.
560 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
561 to detect unused `pop' return value.
563 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
565 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
566 (python-fill-string): Remove unused var `marker'.
567 (python-skeleton-add-menu-items): Remove unused var `items'.
569 * international/mule-cmds.el: Require CL.
570 (find-coding-systems-for-charsets): Avoid add-to-list.
571 (sanitize-coding-system-list): New function, extracted from
572 select-safe-coding-system-interactively.
573 (select-safe-coding-system-interactively): Use it.
574 (read-input-method-name): Accept symbols for `default'.
576 * emacs-lisp/advice.el (defadvice): Add indent rule.
578 2013-09-05 Daniel Hackney <dan@haxney.org>
598 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
599 byte compiler. Remove some unused let-bound variables.
601 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
603 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
604 a "ref-cell", since it gets better optimized (bug#14883).
606 2013-09-05 Glenn Morris <rgm@gnu.org>
608 * progmodes/cc-awk.el (c-forward-sws): Declare.
610 2013-09-04 Glenn Morris <rgm@gnu.org>
612 * generic-x.el [rul-generic-mode]: Require cc-mode.
613 (c++-mode-syntax-table): Declare.
614 (rul-generic-mode-syntax-table): Init in the defvar.
616 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
618 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
619 (vc-do-command, vc-set-async-update):
620 * vc/vc-mtn.el (vc-mtn-dir-status):
621 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
622 (vc-hg-pull, vc-hg-merge-branch):
623 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
624 (vc-git-merge-branch):
625 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
626 (vc-cvs-dir-status-files):
627 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
628 (vc-bzr-dir-status-files):
629 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
630 * vc/vc-annotate.el: Use lexical-binding.
631 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
632 (vc-sentinel-movepoint): Declare.
633 (vc-annotate): Don't use `goto-line'.
634 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
635 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
636 (vc-sentinel-movepoint): Declare.
637 * vc/vc-svn.el: Use lexical-binding.
638 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
640 * vc/vc-rcs.el: Use lexical-binding.
642 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
643 `deleted'. Don't drop errors silently.
645 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
647 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
649 * vc/vc.el (vc-ignore): Rewrite.
650 (vc-default-ignore): New function.
651 (vc-default-ignore-completion-table): Use find-ignore-file.
653 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
654 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
655 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
656 Remove. Most code moved to vc.el.
658 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
660 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
661 * net/tramp-smb.el (tramp-smb-get-file-entries):
662 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
663 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
665 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
667 (eww-change-select): Remove unused var `properties'.
668 (eww-make-unique-file-name): Remove unused var `base'.
670 * finder.el (finder-compile-keywords): Don't mess with windows.
672 * calculator.el (calculator-funcall): Fix typo in last change.
674 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
676 * emacs-lisp/package.el (package-activate-1): Don't let a missing
677 <pkg>-autoloads.el file stop us.
679 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
680 warnings, and factor out common code.
682 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
684 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
685 two-character operators and whether the character preceding them
686 changes their meaning (Bug#15208).
688 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
690 Format code sent to Python shell for robustness.
691 * progmodes/python.el (python-shell-buffer-substring):
693 (python-shell-send-region, python-shell-send-buffer): Use it.
695 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
697 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
698 * net/tramp.el (tramp-user-error): ... here.
699 (tramp-find-method, tramp-check-proper-host)
700 (tramp-dissect-file-name, tramp-debug-message)
701 (tramp-handle-shell-command):
702 * net/tramp-adb.el (tramp-adb-handle-shell-command):
703 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
705 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
707 2013-09-02 Martin Rudalics <rudalics@gmx.at>
709 * avoid.el (mouse-avoidance-point-position)
710 (mouse-avoidance-too-close-p): Handle case where posn-at-point
713 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
715 * progmodes/python.el (python-shell-completion-get-completions):
716 Drop use of deleted `comint-last-prompt-overlay'.
717 (python-nav-if-name-main): New command.
719 2013-09-01 Glenn Morris <rgm@gnu.org>
721 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
722 Avoid leading space in $wins. Otherwise the sed command used by
723 eg compile-main ends up containing "/*.el". (Bug#15170)
725 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
727 2013-08-30 Glenn Morris <rgm@gnu.org>
729 * emacs-lisp/bytecomp.el (byte-recompile-directory):
730 Fix is-this-a-directory logic. (Bug#15220)
732 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
734 * textmodes/css-mode.el: Use SMIE.
735 (css-smie-grammar): New var.
736 (css-smie--forward-token, css-smie--backward-token)
737 (css-smie-rules): New functions.
738 (css-mode): Use them.
739 (css-navigation-syntax-table): Remove var.
740 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
741 (css-indent-calculate, css-indent-line): Remove functions.
743 Misc changes to reduce use of `(lambda...); and other cleanups.
744 * cus-edit.el: Use lexical-binding.
745 (customize-push-and-save, customize-apropos)
746 (custom-buffer-create-internal): Use closures.
747 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
748 * progmodes/ada-xref.el: Use setq.
749 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
750 * dframe.el: Use lexical-binding.
751 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
752 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
753 * descr-text.el: Use lexical-binding.
754 (describe-text-widget, describe-text-sexp, describe-property-list):
756 * comint.el (comint-history-isearch-push-state): Use a closure.
757 * calculator.el: Use lexical-binding.
758 (calculator-number-to-string): Make it work with lexical-binding.
759 (calculator-funcall): Same and use cl-letf.
761 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
762 (lisp--company-doc-string, lisp--company-location): New functions.
763 (lisp-completion-at-point): Use them to improve Company support.
765 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
766 params of lambda expressions.
767 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
768 (ruby-smie--opening-pipe-p): New function.
769 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
770 symbols and matched |...| for formal params.
771 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
772 from being treated as hanging. Handle "rescue".
774 2013-08-29 Glenn Morris <rgm@gnu.org>
776 * progmodes/cc-engine.el (c-pull-open-brace):
777 Move definition before use.
779 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
781 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
782 are immutable. Don't use `unsafe' any more.
783 (cl--defsubst-expand): Don't substitute at the same time as keeping
784 a residual unused let-binding. Don't use `unsafe' any more.
786 2013-08-29 Glenn Morris <rgm@gnu.org>
788 * calendar/cal-china.el (calendar-chinese-year-cache):
791 * nxml/nxml-util.el (nxml-debug-clear-inside):
792 Use cl-loop rather than loop.
794 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
796 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
798 2013-08-28 Glenn Morris <rgm@gnu.org>
800 * progmodes/antlr-mode.el: No need to require cc-mode twice.
802 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
804 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
806 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
808 * simple.el (repeat-complex-command--called-interactively-skip):
810 (repeat-complex-command): Use it (bug#14136).
812 * progmodes/cc-mode.el: Minor cleanup of var declarations.
813 (c-define-abbrev-table): Add `doc' argument.
814 (c-mode-abbrev-table, c++-mode-abbrev-table)
815 (objc-mode-abbrev-table, java-mode-abbrev-table)
816 (idl-mode-abbrev-table, pike-mode-abbrev-table)
817 (awk-mode-abbrev-table): Use it.
818 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
819 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
820 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
821 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
822 Move initialization into the declaration; and remove any
825 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
826 and dynamic let binding.
828 * vc/smerge-mode.el: Remove redundant :group args.
830 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
833 2013-08-28 Juri Linkov <juri@jurta.org>
835 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
836 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
837 (isearch-other-meta-char): Handle an undefined shifted printing
838 character by downshifting it. (Bug#15200)
840 2013-08-28 Juri Linkov <juri@jurta.org>
842 * isearch.el (isearch-search): Change regexp error message for
843 non-regexp searches. (Bug#15166)
845 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
847 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
848 for portability to hosts where /bin/sh has problems.
850 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
852 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
854 2013-08-27 Juri Linkov <juri@jurta.org>
856 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
857 in the keyboard macro. (Bug#15126)
859 2013-08-27 Juri Linkov <juri@jurta.org>
861 * isearch.el (isearch-quote-char): Comment out converting unibyte
862 to multibyte, thus syncing with its `quoted-insert' counterpart.
865 2013-08-27 Martin Rudalics <rudalics@gmx.at>
867 * window.el (display-buffer-use-some-window): Add missing
868 argument in call of get-largest-window (Bug#15185).
869 Reported by Stephen Leake.
871 2013-08-27 Glenn Morris <rgm@gnu.org>
873 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
875 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
877 * progmodes/python.el (python-font-lock-keywords): Don't return nil
878 from a matcher-function unless there's no more matches (bug#15161).
880 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
882 * minibuffer.el: Revert change from 2013-08-20.
884 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
885 with text property `tramp-default', if appropriate.
886 (tramp-check-proper-host): New defun.
887 (tramp-dissect-file-name): Do not check hostname. Revert change
889 (tramp-backtrace): Make VEC-OR-PROC optional.
891 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
892 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
893 * net/tramp-sh.el (tramp-maybe-open-connection):
894 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
895 Apply `tramp-check-proper-host'.
897 2013-08-26 Tassilo Horn <tsdh@gnu.org>
899 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
900 lambda expression in order to have `describe-variable' display it.
902 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
904 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
905 BUF can be optional. (Bug#15186)
907 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
909 * progmodes/flymake.el (flymake-get-real-file-name-function):
910 Fix broken customization. (Bug#15184)
912 2013-08-25 Alan Mackenzie <acm@muc.de>
914 Improve indentation of bracelists defined by macros (without "=").
916 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
917 expansion begins with "{", regard it as bracelist when it doesn't
920 Parse C++ inher-intro when there's a template split over 2 lines.
922 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
923 rigorously the search for "class" etc. followed by ":".
925 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
926 random languages a regexp which never matches rather than nil.
928 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
930 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
931 (c-awk-regexp-one-line-possibly-open-char-list-re)
932 (c-awk-one-line-possibly-open-regexp-re)
933 (c-awk-one-line-non-syn-ws*-re): Remove.
934 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
935 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
936 (c-awk-space*-unclosed-regexp-/-re): New constants.
937 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
938 aren't regexp delimiters.
940 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
941 handling for a rare situation in AWK Mode involving unterminated
944 2013-08-23 Glenn Morris <rgm@gnu.org>
946 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
948 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
950 * files.el (create-file-buffer): If the result would begin with
951 spaces, prepend a "|" instead of removing them. (Bug#15162)
953 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
955 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
956 text-properties (bug#15155).
958 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
960 (calc-keypad-redraw): Remove unused var `pad'.
961 (calc-keypad-press): Remove unused var `menu'.
963 2013-08-23 Martin Rudalics <rudalics@gmx.at>
965 * window.el (display-buffer-pop-up-frame):
966 Call pop-up-frame-function with BUFFER current so `make-frame' will
967 use it as the new frame's buffer (Bug#15133).
969 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
971 * calendar/timeclock.el: Minor cleanups.
972 (timeclock-ask-before-exiting, timeclock-use-display-time):
974 (timeclock-modeline-display): Define as alias before the
976 (timeclock-mode-line-display): Use define-minor-mode.
977 (timeclock-day-list-template): Make it a function, add an argument.
978 (timeclock-day-list-required, timeclock-day-list-length)
979 (timeclock-day-list-debt, timeclock-day-list-span)
980 (timeclock-day-list-break): Adjust calls accordingly.
982 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
984 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
985 Use read--expression so that completion works again.
987 2013-08-21 Sam Steingold <sds@gnu.org>
989 Add rudimentary inferior shell interaction
990 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
991 (sh-set-shell): Reset it.
992 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
993 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
995 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
997 * align.el: Use lexical-binding.
998 (align-region): Simplify accordingly.
1000 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
1002 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1004 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1007 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
1011 * net/tramp-cmds.el:
1013 * net/tramp-gvfs.el:
1015 * net/tramp-sh.el: Don't wrap external variable declarations by
1016 `eval-when-compile'.
1018 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1020 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1021 now that Emacs supports ImageMagick animations.
1023 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
1025 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1026 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1028 2013-08-16 Martin Rudalics <rudalics@gmx.at>
1030 * window.el (mouse-autoselect-window-select): Do autoselect when
1031 mouse pointer is on margin.
1033 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1035 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1037 2013-08-16 Glenn Morris <rgm@gnu.org>
1039 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1040 Handle "Remote Directory" response of some clients. (Bug#15058)
1042 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1043 Tweak warning. (Bug#14926)
1045 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1046 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1048 * image-mode.el (image-mode-map): Add menu items to reverse,
1049 increase, decrease, reset animation speed.
1050 (image--set-speed, image-increase-speed, image-decrease-speed)
1051 (image-reverse-speed, image-reset-speed): New functions.
1052 (image-mode-map): Add bindings for speed commands.
1054 * image.el (image-animate-get-speed, image-animate-set-speed):
1056 (image-animate-timeout): Respect image :speed property.
1058 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1060 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1061 previous line (bug#15101).
1062 (debugger-eval-expression, debugger-record-expression):
1063 Use read--expression (bug#15102).
1065 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
1067 Remove byte compiler warnings, visible when compiling with
1068 `byte-compile-force-lexical-warnings' set to t.
1070 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1071 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1072 (tramp-handle-unhandled-file-name-directory)
1073 (tramp-handle-file-notify-add-watch, tramp-action-login)
1074 (tramp-action-succeed, tramp-action-permission-denied)
1075 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1078 * net/tramp-adb.el (tramp-adb-parse-device-names)
1079 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1080 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1081 (tramp-adb-handle-file-truename): Remove unused arguments.
1083 * net/tramp-cache.el (tramp-flush-directory-property)
1084 (tramp-flush-connection-property, tramp-list-connections)
1085 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1087 * net/tramp-compat.el (tramp-compat-make-temp-file):
1088 Rename FILENAME to F.
1090 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1091 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1092 (tramp-zeroconf-parse-workstation-device-names)
1093 (tramp-zeroconf-parse-webdav-device-names)
1094 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1096 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1097 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1099 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1101 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1102 (tramp-sh-handle-insert-file-contents-literally)
1103 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1105 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1106 Remove unused variables.
1108 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1109 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1110 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1112 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1113 Make them a defconst.
1114 (tramp-uuencode-region): Remove unused variable.
1116 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
1118 * frameset.el (frameset--prop-setter): New function.
1119 (frameset-prop): Add gv-setter declaration.
1120 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1121 parameter was already set in FILTERED. Doc fix.
1122 (frameset--record-minibuffer-relationships): Allow saving a
1123 minibufferless frame without its corresponding minibuffer frame.
1124 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1125 frame, if the frame id matches.
1126 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1127 frames before orphaned ones.
1128 (frameset-restore): Warn about orphaned windows, instead of error out.
1130 2013-08-14 Martin Rudalics <rudalics@gmx.at>
1132 * window.el (window-make-atom): Don't overwrite parameter
1134 (display-buffer-in-atom-window): Handle special case where we
1135 split an already atomic window.
1136 (window--major-non-side-window, display-buffer-in-side-window)
1137 (window--side-check): Ignore minibuffer window when walking
1139 (window-deletable-p): Return 'frame only if no other frame uses
1140 our minibuffer window.
1141 (record-window-buffer): Run buffer-list-update-hook.
1142 (split-window): Make sure window--check-frame won't destroy an
1143 existing atomic window in case the new window gets nested
1145 (display-buffer-at-bottom): Ignore minibuffer window when
1146 walking window tree. Don't split a side window.
1147 (pop-to-buffer): Don't set-buffer here, the select-window call
1149 (mouse-autoselect-window-select): Autoselect only if we are in the
1150 text portion of the window.
1152 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1154 * net/shr.el (shr-parse-image-data): New function to grab both the
1155 data itself and the Content-Type.
1156 (shr-put-image): Use it.
1158 * net/eww.el (eww-display-image): Ditto.
1160 * image.el (image-content-type-suffixes): New variable.
1162 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1164 * progmodes/python.el (python-imenu--build-tree)
1165 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1167 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
1169 * simple.el (backward-word): Mention the optional argument.
1171 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1173 * frameset.el (frameset--make): Rename constructor from make-frameset.
1174 (frameset-p, frameset-valid-p): Don't autoload.
1175 (frameset-valid-p): Use normal accessors.
1177 2013-08-13 Glenn Morris <rgm@gnu.org>
1179 * progmodes/compile.el (compile-command): Tweak example in doc.
1180 * obsolete/scribe.el (scribe-mode):
1181 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1183 * mail/feedmail.el (feedmail-confirm-outgoing)
1184 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1186 * cus-start.el (truncate-partial-width-windows): Fix type.
1188 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1190 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1192 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1194 * emacs-lisp/timer.el (timer--time-setter): New function.
1195 (timer--time): Use it as gv-setter.
1197 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1198 setter is not a symbol.
1200 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
1202 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1203 if sending fails. This makes debugging easier.
1205 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
1207 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1208 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1209 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1211 2013-08-12 Eli Zaretskii <eliz@gnu.org>
1213 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1215 2013-08-12 Glenn Morris <rgm@gnu.org>
1217 * format.el (format-annotate-function):
1218 Handle read-only text properties in the source. (Bug#14887)
1220 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1222 * net/eww.el (eww-display-html): Ignore coding system errors.
1223 One web site uses "utf-8lias" as the coding system.
1225 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
1227 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1229 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
1231 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1232 (tutorial--detailed-help): Remove unused local variables.
1233 (tutorial--save-tutorial-to): Use ignore-errors.
1234 (help-with-tutorial): Use looking-at-p.
1236 * view.el (view-buffer-other-window, view-buffer-other-frame):
1237 Mark unused arguments.
1239 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1240 (woman-select-symbol-fonts, woman, woman-find-file)
1241 (woman-insert-file-contents, woman-non-underline-faces):
1243 (woman1-unquote): Move declaration.
1245 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1246 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
1247 argument. Remove unused local variable.
1248 (xml-parse-elem-type): Use string-match-p.
1249 (xml-substitute-numeric-entities): Use ignore-errors.
1251 * calculator.el (calculator): Mark unused argument.
1252 (calculator-paste, calculator-quit, calculator-integer-p):
1254 (calculator-string-to-number, calculator-decimal, calculator-exp)
1255 (calculator-op-or-exp): Use string-match-p.
1257 * dired.el (dired-buffer-more-recently-used-p): Declare.
1258 (dired-insert-set-properties, dired-insert-old-subdirs):
1261 * dired-aux.el (dired-compress): Use ignore-errors.
1262 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1263 (dired-do-async-shell-command, dired-do-shell-command)
1264 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1265 (dired-insert-subdir-validate): Use string-match-p.
1266 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1267 (dired-add-entry): Use string-match-p, looking-at-p.
1268 (dired-insert-subdir-newpos): Remove unused local variable.
1270 * filenotify.el (file-notify-callback): Remove unused local variable.
1272 * filesets.el (filesets-error): Mark unused argument.
1273 (filesets-which-command-p, filesets-filter-dir-names)
1274 (filesets-directory-files, filesets-get-external-viewer)
1275 (filesets-ingroup-get-data): Use string-match-p.
1277 * find-file.el (ff-other-file-name, ff-other-file-name)
1278 (ff-find-the-other-file, ff-cc-hh-converter):
1279 Remove unused local variables.
1280 (ff-get-file-name): Use string-match-p.
1281 (ff-all-dirs-under): Use ignore-errors.
1283 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
1284 (follow-select-if-visible): Remove unused local variable.
1286 * forms.el (read-file-filter): Move declaration.
1287 (forms--make-format, forms--make-parser, forms-insert-record):
1288 Quote function with #'.
1289 (forms--update): Use string-match-p. Quote function with #'.
1291 * help-mode.el (help-dir-local-var-def): Mark unused argument.
1292 (help-make-xrefs): Use looking-at-p.
1293 (help-xref-on-pp): Use looking-at-p, ignore-errors.
1295 * ibuffer.el (ibuffer-ext-visible-p): Declare.
1296 (ibuffer-confirm-operation-on): Use string-match-p.
1298 * msb.el (msb-item-handler, msb-dired-item-handler):
1299 Mark unused arguments.
1301 * ses.el (ses-decode-cell-symbol)
1302 (ses-kill-override): Remove unused local variable.
1303 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
1304 (ses-load): Use ignore-errors, looking-at-p.
1305 (ses-jump-safe): Use ignore-errors.
1306 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
1308 * tabify.el (untabify, tabify): Mark unused arguments.
1310 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
1311 Mark unused argument.
1312 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
1313 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
1315 * emacs-lisp/timer.el (timer--time): Define setter with
1316 gv-define-setter to avoid deprecation warning.
1318 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
1319 (*record-cmpl-statistics-p*): Remove (was commented out).
1320 (cmpl-statistics-block): Remove (body was commented out).
1321 All callers changed.
1322 (add-completions-from-buffer, load-completions-from-file):
1323 Remove unused variables.
1325 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
1327 * filecache.el (file-cache-delete-file-list):
1328 Print message only when told so.
1329 (file-cache-files-matching): Use #' in mapconcat argument.
1331 * ffap.el (ffap-url-at-point): Fix reference to variable
1332 thing-at-point-default-mail-uri-scheme.
1334 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1336 * subr.el (define-error): New function.
1337 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
1338 error-file-not-found and define with define-error.
1339 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
1340 and define with define-error.
1341 * userlock.el (file-locked, file-supersession):
1342 * simple.el (mark-inactive):
1343 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
1344 * progmodes/ada-mode.el (ada-mode-errors):
1345 * play/life.el (life-extinct):
1346 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
1347 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
1348 * nxml/rng-util.el (rng-error):
1349 * nxml/rng-uri.el (rng-uri-error):
1350 * nxml/rng-match.el (rng-compile-error):
1351 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
1352 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
1353 * nxml/nxml-rap.el (nxml-scan-error):
1354 * nxml/nxml-outln.el (nxml-outline-error):
1355 * net/soap-client.el (soap-error):
1356 * net/gnutls.el (gnutls-error):
1357 * net/ange-ftp.el (ftp-error):
1358 * mpc.el (mpc-proc-error):
1359 * json.el (json-error, json-readtable-error, json-unknown-keyword)
1360 (json-number-format, json-string-escape, json-string-format)
1361 (json-key-format, json-object-format):
1362 * jka-compr.el (compression-error):
1363 * international/quail.el (quail-error):
1364 * international/kkc.el (kkc-error):
1365 * emacs-lisp/ert.el (ert-test-failed):
1366 * calc/calc.el (calc-error, inexact-result, math-overflow)
1368 * bookmark.el (bookmark-error-no-filename):
1369 * epg.el (epg-error): Define with define-error.
1371 * time.el (display-time-event-handler)
1372 (display-time-next-load-average): Don't call sit-for since it seems
1373 unnecessary (bug#15045).
1375 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
1376 Use #' instead of ' to quote functions.
1377 (checkdoc-output-mode): Use setq-local.
1378 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
1379 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
1380 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
1381 (checkdoc-ispell, checkdoc-ispell-current-buffer)
1382 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
1383 (checkdoc-ispell-message-text, checkdoc-ispell-start)
1384 (checkdoc-ispell-continue, checkdoc-ispell-comments)
1385 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
1387 * ido.el (ido-completion-help): Fix up compiler warning.
1389 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
1391 * frameset.el (frameset-p): Add autoload cookie.
1392 (frameset--jump-to-register): New function, based on code moved from
1394 (frameset-to-register): Move from register.el. Adapt to `registerv'.
1396 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
1397 (frameset-restore, frameset-save, frameset-session-filter-alist):
1398 Remove declarations.
1399 (register-alist): Doc fix.
1400 (frameset-to-register): Move to frameset.el.
1401 (jump-to-register, describe-register-1): Remove frameset-specific code.
1403 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1405 * allout-widgets.el (allout-widgets-pre-command-business)
1406 (allout-widgets-post-command-business)
1407 (allout-widgets-after-change-handler)
1408 (allout-decorate-item-and-context, allout-set-boundary-marker)
1409 (allout-body-modification-handler)
1410 (allout-graphics-modification-handler): Mark ignored arguments.
1411 (allout-widgets-post-command-business)
1412 (allout-widgets-exposure-change-processor)
1413 (allout-widgets-exposure-undo-processor)
1414 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
1415 (allout-parse-item-at-point, allout-decorate-item-guides)
1416 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
1417 * allout.el (epa-passphrase-callback-function): Declare.
1418 (allout-overlay-insert-in-front-handler)
1419 (allout-overlay-interior-modification-handler)
1420 (allout-isearch-end-handler, allout-chart-siblings)
1421 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
1422 (allout-yank-processing, allout-process-exposed)
1423 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
1424 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
1425 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
1426 (lisp-indent-defform): Mark ignored arguments.
1427 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
1428 (calculate-lisp-indent): Remove unused variables.
1429 * international/characters.el (indian-2-column, arabic-2-column)
1430 (tibetan): Mark ignored arguments.
1431 (use-cjk-char-width-table): Mark ignored arguments.
1432 Remove unused variables.
1433 * international/fontset.el (build-default-fontset-data)
1434 (x-compose-font-name, create-fontset-from-fontset-spec):
1435 Mark ignored arguments.
1436 (fontset-plain-name): Remove unused variables.
1437 * international/mule.el (charset-id, charset-bytes, generic-char-p)
1438 (keyboard-coding-system): Mark ignored arguments.
1439 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
1440 * help.el (resize-temp-buffer-window):
1441 * window.el (display-buffer-in-major-side-window)
1442 (display-buffer-in-side-window, display-buffer-in-previous-window):
1443 Remove unused variables.
1444 * isearch.el (isearch-forward-symbol):
1445 * version.el (emacs-bzr-version-bzr):
1446 * international/mule-cmds.el (current-language-environment):
1447 * term/common-win.el (x-handle-iconic, x-handle-geometry)
1449 * term/pc-win.el (x-list-fonts, x-display-planes)
1450 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
1451 (x-server-version, x-display-screens, x-display-mm-height)
1452 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
1453 (x-selection-owner-p, x-own-selection-internal)
1454 (x-disown-selection-internal, x-get-selection-internal)
1455 (msdos-initialize-window-system):
1456 * term/tty-colors.el (tty-color-alist, tty-color-clear):
1457 * term/x-win.el (x-handle-no-bitmap-icon):
1458 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
1459 (vc-default-find-file-hook, vc-default-extra-menu):
1460 Mark ignored arguments.
1462 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1464 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
1465 break-condition in the context of the debugged code (bug#12685).
1467 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
1470 Do not use an overlay to highlight the last prompt. (Bug#14744)
1471 (comint-mode): Make comint-last-prompt buffer local.
1472 (comint-last-prompt): New variable.
1473 (comint-last-prompt-overlay): Remove. Superseded by
1475 (comint-snapshot-last-prompt, comint-output-filter):
1476 Use comint-last-prompt.
1478 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1480 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
1481 (frameset-save): Check validity of the resulting frameset.
1483 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
1485 * ido.el (ido-record-command): Add doc string.
1487 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1489 * frameset.el (frameset): Do not disable creation of the default
1490 frameset-p predicate. Doc fix.
1491 (frameset-valid-p): New function, copied from the old predicate-p.
1492 Add additional checks.
1493 (frameset-restore): Check with frameset-valid-p.
1494 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
1495 (frameset-name, frameset-description, frameset-properties)
1496 (frameset-states): Add docstring.
1497 (frameset-session-filter-alist, frameset-persistent-filter-alist)
1498 (frameset-filter-alist): Doc fixes.
1500 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1502 * frameset.el (frameset-p, frameset-prop): Doc fixes.
1504 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1506 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
1507 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
1508 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
1509 (byte-compile-normal-call): Remove obsolescence check.
1511 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1513 * frameset.el (frameset-restore): Doc fix.
1515 * register.el (frameset-frame-id, frameset-frame-with-id)
1516 (frameset-p, frameset-restore, frameset-save): Declare.
1517 (register-alist): Document framesets.
1518 (frameset-session-filter-alist): Declare.
1519 (frameset-to-register): New function.
1520 (jump-to-register): Implement jumping to framesets. Doc fix.
1521 (describe-register-1): Describe framesets.
1523 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
1525 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
1527 * desktop.el (desktop-save-frameset): Use new frameset-save args.
1528 Use lexical-binding.
1530 * frameset.el (frameset): Use type vector, not list (incompatible
1531 change). Do not declare a new constructor, use the default one.
1532 Upgrade suggested properties `app', `name' and `desc' to slots `app',
1533 `name' and `description', respectively, and add read-only slot
1534 `timestamp'. Doc fixes.
1535 (frameset-copy, frameset-persistent-filter-alist)
1536 (frameset-filter-alist, frameset-switch-to-gui-p)
1537 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
1538 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
1539 (frameset-filter-iconified, frameset-keep-original-display-p):
1541 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
1542 Rename from frameset-filter-(save|restore)-param. All callers changed.
1544 (frameset-p): Adapt to change to vector and be more thorough.
1545 Change arg name to OBJECT. Doc fix.
1546 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
1547 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
1548 All callers changed.
1549 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
1550 All callers changed.
1551 (frameset--record-minibuffer-relationships): Rename from
1552 frameset--process-minibuffer-frames. All callers changed.
1553 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
1554 Use new default constructor (again). Doc fix.
1555 (frameset--find-frame-if): Rename from `frameset--find-frame.
1556 All callers changed.
1557 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
1558 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
1560 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
1561 PARAMETERS and WINDOW-STATE, respectively.
1562 (frameset-restore): Add new keyword argument PREDICATE.
1563 Reset frameset--target-display to nil. Doc fix.
1565 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1567 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
1569 (bat-mode-syntax-table): Mark \n as end-of-comment.
1570 (bat-font-lock-keywords): Remove comment rule.
1572 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
1573 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
1575 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
1576 (byte-compile-callargs-warn): Use `push'.
1577 (byte-compile-arglist-warn): Ignore higher-order "calls".
1578 (byte-compile-file-form-autoload): Use `pcase'.
1579 (byte-compile-function-form): If quoting a symbol, check that it exists.
1581 2013-08-07 Eli Zaretskii <eliz@gnu.org>
1583 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
1584 and add a few popular commands found in batch files.
1585 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
1586 (dos-mode): Doc fixes.
1588 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1590 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
1591 (dos-mode): Use setq-local. Add space after "rem".
1592 (dos-mode-syntax-table): Don't use "w" for symbol chars.
1593 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
1595 2013-08-07 Arni Magnusson <arnima@hafro.is>
1597 * progmodes/dos.el: New file.
1598 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
1601 2013-08-06 Glenn Morris <rgm@gnu.org>
1603 * calendar/calendar.el: Add new faces, and day-header-array.
1604 (calendar-weekday-header, calendar-weekend-header)
1605 (calendar-month-header): New faces.
1606 (calendar-day-header-construct): New function.
1607 (calendar-day-header-width): Also :set calendar-day-header-array.
1608 (calendar-american-month-header, calendar-european-month-header)
1609 (calendar-iso-month-header): Use calendar- faces.
1610 (calendar-generate-month):
1611 Use calendar-day-header-array for day headers; apply faces to them.
1612 (calendar-mode): Check calendar-font-lock-keywords non-nil.
1613 (calendar-abbrev-construct): Add optional maxlen argument.
1614 (calendar-day-name-array): Doc fix.
1615 (calendar-day-name-array, calendar-abbrev-length)
1616 (calendar-day-abbrev-array):
1617 Also :set calendar-day-header-array, and maybe redraw.
1618 (calendar-day-header-array): New option. (Bug#15007)
1619 (calendar-font-lock-keywords): Set to nil and make obsolete.
1620 (calendar-day-name): Add option to use header array.
1622 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1624 * net/shr.el (shr-render-td): Remove debugging.
1625 (shr-render-td): Make width computation consistent by defaulting
1626 all zero-width columns to 10 characters. This may not be optimal,
1627 but it's at least consistent.
1628 (shr-make-table-1): Redo last change to fix the real problem in
1631 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1633 * files.el (cache-long-line-scans):
1634 Make obsolete alias to `cache-long-scans'.
1636 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
1638 * frameset.el (frameset, frameset-filter-alist)
1639 (frameset-filter-params, frameset-save, frameset--reuse-frame)
1640 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
1641 (frameset-compute-pos): Rename from frameset--compute-pos,
1643 (frameset-move-onscreen): Use frameset-compute-pos.
1644 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1646 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
1647 Fix typos in docstrings.
1649 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1651 * frame.el (get-other-frame): Tiny cleanup.
1653 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
1655 * vc/vc.el (vc-default-ignore-completion-table):
1656 Silence byte-compiler warning.
1658 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
1659 slot , which can indeed be nil.
1660 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1661 Move entry for `left' from persistent to live filter alist.
1662 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
1664 (frameset-filter-params): When restoring a frame, copy items added to
1665 `filtered', to avoid unwittingly modifying the original parameters.
1666 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
1667 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
1669 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
1670 to use looking-at-p instead of looking-at. (Bug#15028)
1672 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1674 Revert introduction of isearch-filter-predicates (bug#14714).
1675 Rely on add-function instead.
1676 * isearch.el (isearch-filter-predicates): Rename it back to
1677 isearch-filter-predicate.
1678 (isearch-message-prefix): Use advice-function-mapc and advice
1679 properties to get the isearch-message-prefix.
1680 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
1681 instead of run-hook-with-args-until-failure.
1682 (isearch-filter-visible): Not obsolete any more.
1683 * loadup.el: Preload nadvice.
1684 * replace.el (perform-replace): Revert to funcall
1685 instead of run-hook-with-args-until-failure.
1686 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
1687 * dired-aux.el (dired-isearch-filenames-mode): Rename from
1688 dired-isearch-filenames-toggle; make it into a proper minor mode.
1689 Use add/remove-function.
1690 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
1691 Call the minor-mode rather than add/remove-hook.
1692 (dired-isearch-filter-filenames):
1693 Remove isearch-message-prefix property.
1694 * info.el (Info--search-loop): New function, extracted from Info-search.
1695 Funcall isearch-filter-predicate instead of
1696 run-hook-with-args-until-failure isearch-filter-predicates.
1697 (Info-search): Use it.
1698 (Info-mode): Use isearch-filter-predicate instead of
1699 isearch-filter-predicates.
1701 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1703 Do not call to `selected-window' where it is assumed by default.
1704 Affected functions are `window-minibuffer-p', `window-dedicated-p',
1705 `window-hscroll', `window-width', `window-height', `window-buffer',
1706 `window-frame', `window-start', `window-point', `next-window'
1707 and `window-display-table'.
1708 * abbrev.el (abbrev--default-expand):
1709 * bs.el (bs--show-with-configuration):
1710 * buff-menu.el (Buffer-menu-mouse-select):
1711 * calc/calc.el (calc):
1712 * calendar/calendar.el (calendar-generate-window):
1713 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
1715 * comint.el (send-invisible, comint-dynamic-complete-filename)
1716 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
1717 * completion.el (complete):
1718 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
1719 * disp-table.el (describe-current-display-table):
1720 * doc-view.el (doc-view-insert-image):
1721 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
1722 * ehelp.el (with-electric-help):
1723 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1724 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
1725 * emacs-lisp/helper.el (Helper-help-scroller):
1726 * emulation/cua-base.el (cua--post-command-handler-1):
1727 * eshell/esh-mode.el (eshell-output-filter):
1728 * ffap.el (ffap-gnus-wrapper):
1729 * help-macro.el (make-help-screen):
1730 * hilit-chg.el (highlight-compare-buffers):
1731 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
1732 * hl-line.el (global-hl-line-highlight):
1733 * icomplete.el (icomplete-simple-completing-p):
1734 * isearch.el (isearch-done):
1735 * jit-lock.el (jit-lock-stealth-fontify):
1736 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
1737 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
1738 * mpc.el (mpc-tagbrowser, mpc):
1739 * net/rcirc.el (rcirc-any-buffer):
1740 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
1741 * play/landmark.el (landmark-max-width, landmark-max-height):
1742 * play/zone.el (zone):
1743 * progmodes/compile.el (compilation-goto-locus):
1744 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
1745 * progmodes/etags.el (find-tag-other-window):
1746 * progmodes/fortran.el (fortran-column-ruler):
1747 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
1748 * progmodes/verilog-mode.el (verilog-point-text):
1749 * reposition.el (reposition-window):
1750 * rot13.el (toggle-rot13-mode):
1751 * server.el (server-switch-buffer):
1752 * shell.el (shell-dynamic-complete-command)
1753 (shell-dynamic-complete-environment-variable):
1754 * simple.el (insert-buffer, set-selective-display)
1755 (delete-completion-window):
1756 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
1757 (speedbar-recenter):
1758 * startup.el (fancy-splash-head):
1759 * textmodes/ispell.el (ispell-command-loop):
1760 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
1761 * tutorial.el (help-with-tutorial):
1762 * vc/add-log.el (add-change-log-entry):
1763 * vc/compare-w.el (compare-windows):
1764 * vc/ediff-help.el (ediff-indent-help-message):
1765 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
1766 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
1767 (ediff-setup-control-frame):
1768 * vc/emerge.el (emerge-position-region):
1769 * vc/pcvs-util.el (cvs-bury-buffer):
1770 * window.el (walk-windows, mouse-autoselect-window-select):
1771 * winner.el (winner-set-conf, winner-undo): Related users changed.
1773 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1775 * frameset.el (frameset--set-id): Doc fix.
1776 (frameset-frame-id, frameset-frame-id-equal-p)
1777 (frameset-locate-frame-id): New functions.
1778 (frameset--process-minibuffer-frames, frameset--reuse-frame)
1779 (frameset-restore): Use them.
1781 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1783 Do not call to `selected-frame' where it is assumed by default.
1784 Affected functions are `raise-frame', `redraw-frame',
1785 `frame-first-window', `frame-terminal' and `delete-frame'.
1786 * calendar/appt.el (appt-disp-window):
1787 * epg.el (epg-wait-for-completion):
1788 * follow.el (follow-delete-other-windows-and-split)
1789 (follow-avoid-tail-recenter):
1790 * international/mule.el (set-terminal-coding-system):
1791 * mail/rmail.el (rmail-mail-return):
1792 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
1793 * progmodes/f90.el (f90-add-imenu-menu):
1794 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
1795 * server.el (server-switch-buffer):
1796 * simple.el (delete-completion-window):
1798 * term/xterm.el (terminal-init-xterm-modify-other-keys)
1799 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
1800 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
1801 * vc/ediff.el (ediff-documentation): Related users changed.
1802 * frame.el (selected-terminal): Remove the leftover.
1804 2013-08-05 Glenn Morris <rgm@gnu.org>
1806 * calendar/calendar.el (calendar-generate-month):
1807 Fix for calendar-column-width != 1 + calendar-day-digit-width.
1808 (calendar-generate-month, calendar-font-lock-keywords):
1809 Fix for calendar-day-header-width > length of any day name.
1811 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1813 * desktop.el (desktop-clear): Use new name of sort predicate.
1815 * frameset.el (frameset): Add docstring. Move :version property to its
1817 (frameset-copy): Rename from copy-frameset.
1818 (frameset-p): Check more thoroughly.
1819 (frameset-prop): Do not check for :version, which is no longer a prop.
1820 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1821 Use new :never value instead of t.
1822 (frameset-filter-alist): Expand and clarify docstring.
1823 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
1824 (frameset-filter-minibuffer, frameset-filter-save-param)
1825 (frameset-filter-restore-param, frameset-filter-iconified):
1826 Add pointer to docstring of frameset-filter-alist.
1827 (frameset-filter-params): Rename filter values to be more meaningful:
1828 :never instead of t, and reverse the meanings of :save and :restore.
1829 (frameset--process-minibuffer-frames): Clarify error message.
1830 (frameset-save): Avoid unnecessary and confusing call to framep.
1831 Use new BOA constructor for framesets.
1832 (frameset--reuse-list): Doc fix.
1833 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
1834 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
1835 (frameset-minibufferless-first-p): Doc fix.
1836 Rename from frameset-sort-frames-for-deletion.
1837 (frameset-restore): Doc fixes. Use new function names.
1838 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1840 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
1842 * desktop.el (desktop-restore-forces-onscreen)
1843 (desktop-restore-reuses-frames): Document :keyword constant values.
1844 (desktop-filter-parameters-alist): Remove, now identical to
1845 frameset-filter-alist.
1846 (desktop--filter-tty*): Remove, moved to frameset.el.
1847 (desktop-save-frameset, desktop-restore-frameset):
1848 Do not pass :filters argument.
1850 * frameset.el (frameset-live-filter-alist)
1851 (frameset-persistent-filter-alist): New variables.
1852 (frameset-filter-alist): Use them. Add autoload cookie.
1853 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
1854 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
1855 `frameset--id' (it's supposed to be internal to frameset.el).
1856 (frameset--process-minibuffer-frames): Ditto. Doc fix.
1857 (frameset--initial-params): New function.
1858 (frameset--get-frame): Use it. Doc fix.
1859 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
1860 Accept :all, not 'all.
1861 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
1862 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
1863 with fbound symbols. Fix frame id matching, and remove matching ids if
1864 the frame being restored is deleted. Obey :delete.
1866 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1868 * subr.el (macrop): New function.
1869 (text-clone--maintaining): New var.
1870 (text-clone--maintain): Rename from text-clone-maintain. Use it
1871 instead of inhibit-modification-hooks.
1873 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
1874 a proxy, so as handle autoloads and redefinitions of the target.
1875 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
1877 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
1878 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
1879 (pcase--mutually-exclusive-p): New function.
1880 (pcase--split-consp): Use it.
1881 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
1882 mutually exclusive with the current predicate.
1884 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
1885 (edebug-macrop): Remove. Use `macrop' instead.
1886 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
1888 * eshell/esh-cmd.el (eshell-macrop):
1889 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
1891 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1893 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
1894 (advice-mapc): New function, using it.
1895 (advice-function-member-p): New function.
1896 (advice--normalize): Store the cdr in advice--saved-rewrite since
1897 that's the part that will be changed.
1898 (advice--symbol-function): New function.
1899 (advice-remove): Handle removal before the function is defined.
1900 Adjust to new advice--saved-rewrite.
1901 (advice-member-p): Use advice-function-member-p and
1902 advice--symbol-function.
1904 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
1906 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
1907 (frameset-filter-minibuffer): Doc fix.
1908 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
1909 (frameset--set-id, frameset--process-minibuffer-frames)
1910 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
1911 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
1913 * desktop.el (desktop-clear): Only delete frames when called
1914 interactively and desktop-restore-frames is non-nil. Doc fix.
1915 (desktop-read): Set desktop-saved-frameset to nil.
1917 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
1919 * vc/vc.el (vc-ignore): Rewrite.
1920 (vc-default-ignore-completion-table):
1922 (vc--add-line, vc--remove-regexp): New functions.
1924 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
1925 (vc-svn-ignore-completion-table): New function.
1927 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
1928 (vc-hg-ignore-completion-table):
1929 (vc-hg-find-ignore-file): New functions.
1931 * vc/vc-git.el (vc-git-ignore): Rewrite.
1932 (vc-git-ignore-completion-table):
1933 (vc-git-find-ignore-file): New functions.
1935 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
1937 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
1938 (vc-bzr-ignore-completion-table):
1939 (vc-bzr-find-ignore-file): New functions.
1941 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
1943 * frameset.el (frameset-prop): New function and setter.
1944 (frameset-save): Do not modify frame list passed by the caller.
1946 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1948 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
1950 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
1952 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
1953 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
1955 * custom.el (custom-initialize-default, custom-initialize-set)
1956 (custom-initialize-reset, custom-initialize-changed): Affect the
1957 toplevel-default-value (bug#6275, bug#14586).
1958 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
1961 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
1963 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1964 Add cl-def* expressions.
1966 * frameset.el (frameset-filter-params): Fix order of arguments.
1968 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
1970 Move code related to saving frames to frameset.el.
1971 * desktop.el: Require frameset.
1972 (desktop-restore-frames): Doc fix.
1973 (desktop-restore-reuses-frames): Rename from
1974 desktop-restoring-reuses-frames.
1975 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
1976 (desktop-clear): Clear frames too.
1977 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
1978 (desktop--filter-tty*, desktop-save, desktop-read):
1979 Use frameset functions.
1980 (desktop-before-saving-frames-functions, desktop--filter-*-color)
1981 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
1982 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
1983 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
1984 (desktop--process-minibuffer-frames, desktop-save-frames)
1985 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
1986 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
1987 (desktop--sort-states, desktop-restoring-frames-p)
1988 (desktop-restore-frames): Remove. Most code moved to frameset.el.
1989 (desktop-restoring-frameset-p, desktop-restore-frameset)
1990 (desktop--check-dont-save, desktop-save-frameset): New functions.
1991 (desktop--app-id): New constant.
1992 (desktop-first-buffer, desktop-buffer-ok-count)
1993 (desktop-buffer-fail-count): Move before first use.
1994 * frameset.el: New file.
1996 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
1998 * files.el: Use lexical-binding.
1999 (dir-locals-read-from-file): Remove unused `err' variable.
2000 (hack-dir-local-variables--warned-coding): New var.
2001 (hack-dir-local-variables): Use it to avoid repeated warnings.
2002 (make-backup-file-name--default-function): New function.
2003 (make-backup-file-name-function): Use it as default.
2004 (buffer-stale--default-function): New function.
2005 (buffer-stale-function): Use it as default.
2006 (revert-buffer-insert-file-contents--default-function): New function.
2007 (revert-buffer-insert-file-contents-function): Use it as default.
2008 (insert-directory): Avoid add-to-list.
2010 * autorevert.el (auto-revert-handler): Simplify.
2011 Use buffer-stale--default-function.
2013 2013-08-01 Tassilo Horn <tsdh@gnu.org>
2015 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2017 * whitespace.el (whitespace-ensure-local-variables): New function.
2018 (whitespace-cleanup-region): Call it.
2019 (whitespace-turn-on): Call it.
2021 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
2023 Complete file name handlers.
2025 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2026 (tramp-handle-verify-visited-file-modtime)
2027 (tramp-handle-file-notify-rm-watch): New functions.
2028 (tramp-call-process): Do not bind `default-directory'.
2030 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2031 Order alphabetically.
2032 [access-file, add-name-to-file, dired-call-process]:
2033 [dired-compress-file, file-acl, file-notify-rm-watch]:
2034 [file-ownership-preserved-p, file-selinux-context]:
2035 [make-directory-internal, make-symbolic-link, set-file-acl]:
2036 [set-file-selinux-context, set-visited-file-modtime]:
2037 [verify-visited-file-modtime]: Add handler.
2038 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2040 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2041 [file-notify-add-watch, file-notify-rm-watch]:
2042 [set-file-times, set-visited-file-modtime]:
2043 [verify-visited-file-modtime]: Add handler.
2044 (with-tramp-gvfs-error-message)
2045 (tramp-gvfs-handle-set-visited-file-modtime)
2046 (tramp-gvfs-fuse-file-name): Remove.
2047 (tramp-gvfs-handle-file-notify-add-watch)
2048 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2049 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2051 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2052 Order alphabetically.
2053 [file-notify-rm-watch ]: Use default Tramp handler.
2054 [executable-find]: Remove private handler.
2055 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2056 `default-directory'.
2057 (tramp-sh-handle-executable-find)
2058 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2059 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2060 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2061 Do not use `format' in `tramp-message'.
2063 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2064 [file-notify-rm-watch, set-visited-file-modtime]:
2065 [verify-visited-file-modtime]: Add handler.
2066 (tramp-smb-call-winexe): Do not bind `default-directory'.
2068 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2070 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2072 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2074 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2076 (log-view-diff-changeset): Same.
2077 (log-view-diff-common): Call backend command `previous-revision'
2078 to find out the previous revision, in both cases. Swap the
2079 variables `to' and `fr', so that `fr' usually refers to the
2080 earlier revision (Bug#14989).
2082 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
2084 * ibuf-ext.el (ibuffer-filter-by-filename):
2085 Make it work with dired buffers too.
2087 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
2089 * emacs-lisp/re-builder.el (reb-color-display-p):
2090 * files.el (save-buffers-kill-terminal):
2091 * net/browse-url.el (browse-url):
2092 * server.el (server-save-buffers-kill-terminal):
2093 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2094 Prefer nil to selected-frame for the first arg of frame-parameter.
2096 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2098 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2100 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
2102 * minibuffer.el (completion--twq-all): Try and preserve each
2103 completion's case choice (bug#14907).
2105 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2107 * net/network-stream.el (open-network-stream): Mention the new
2108 :nogreeting parameter.
2109 (network-stream-open-starttls): Use the :nogreeting parameter
2112 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2114 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2115 more natural than popping.
2117 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
2118 (shr-urlify): Highlight under mouse.
2120 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2122 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2124 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2126 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2129 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2130 point-min==1. Fix search string. Fix parentheses missing.
2132 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
2133 assume point-min==1. Fix search string. Fix parentheses missing.
2135 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2137 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
2140 2013-07-29 Eli Zaretskii <eliz@gnu.org>
2142 * frame.el (frame-notice-user-settings): Avoid inflooping when the
2143 initial frame is minibuffer-less. (Bug#14841)
2145 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
2147 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2150 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2151 (tramp-maybe-open-connection): Use it.
2153 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
2155 * desktop.el (desktop--make-frame): Include `minibuffer' in the
2156 minimal set of parameters passed when creating a frame, because
2157 the minibuffer status of a frame cannot be changed later.
2159 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
2161 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2162 replace-regexp-in-string and inadvertent omissions in previous change.
2163 (todo-filter-items): Ensure only file names are comma-separated in
2164 name of filtered items buffer.
2166 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
2168 * desktop.el: Optionally force offscreen frames back onscreen.
2169 (desktop-restoring-reuses-frames): New option.
2170 (desktop--compute-pos, desktop--move-onscreen): New functions.
2171 (desktop--make-frame): Use desktop--move-onscreen.
2173 2013-07-27 Alan Mackenzie <acm@muc.de>
2175 Fontify a Java generic method as a function.
2176 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2179 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
2181 * calendar/todo-mode.el: Add command to rename todo files.
2182 (todo-rename-file): New command.
2183 (todo-key-bindings-t): Add key binding for it. Change the
2184 bindings of todo-filter-regexp-items(-multifile) to use `x'
2185 instead of `r', since the latter is better suited to the new
2188 2013-07-27 Alan Mackenzie <acm@muc.de>
2190 Make Java try-with-resources statement parse properly.
2191 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2192 (c-block-stmt-1-2-key): New language constants/variables.
2193 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2194 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2195 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
2196 with c-block-stmt-1-2-key.
2198 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
2200 * desktop.el (desktop--make-frame): Apply most frame parameters after
2201 creating the frame to force (partially or totally) offscreen frames to
2202 be restored as such.
2204 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2206 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
2209 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2211 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2212 `base' arg of backtrace-frame.
2214 2013-07-26 Eli Zaretskii <eliz@gnu.org>
2216 * simple.el (list-processes): Doc fix.
2218 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
2220 * desktop.el (desktop--select-frame):
2221 Try harder to reuse existing frames.
2223 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2225 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2226 (edebug-eval): Use backtrace-eval.
2227 (edebug--display, edebug--recursive-edit): Don't let-bind the
2228 edebug-outer-* vars that keep track of variables we locally let-bind.
2229 (edebug-outside-excursion): Don't restore outside values of locally
2231 (edebug--display): Use user-error.
2232 (cl-lexical-debug, cl-debug-env): Remove.
2234 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
2236 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2237 are restored to be sure that they are visible before deleting any
2240 2013-07-26 Matthias Meulien <orontee@gmail.com>
2242 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2243 vc-print-root-log. (Bug#14948)
2245 2013-07-26 Richard Stallman <rms@gnu.org>
2247 Add aliases for encrypting mail.
2248 * epa.el (epa-mail-aliases): New option.
2249 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2250 Bind inhibit-read-only so read-only text doesn't ruin everything.
2251 (epa-mail-default-recipients): New subroutine broken out.
2252 Handle epa-mail-aliases.
2254 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2256 Add support for lexical variables to the debugger's `e' command.
2257 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2258 vars, except for debugger-outer-match-data.
2259 (debugger-frame-number): Move check for "on a function call" from
2260 callers into it. Add `skip-base' argument.
2261 (debugger-frame, debugger-frame-clear): Simplify accordingly.
2262 (debugger-env-macro): Only reset the state stored in non-variables,
2263 i.e. current-buffer and match-data.
2264 (debugger-eval-expression): Rewrite using backtrace-eval.
2265 * subr.el (internal--called-interactively-p--get-frame): Remove.
2266 (called-interactively-p):
2267 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2268 `base' arg of backtrace-frame instead.
2270 2013-07-26 Glenn Morris <rgm@gnu.org>
2272 * align.el (align-regexp): Doc fix. (Bug#14857)
2273 (align-region): Explicit error if subexpression missing/does not match.
2275 * simple.el (global-visual-line-mode):
2276 Do not duplicate the mode lighter. (Bug#14858)
2278 2013-07-25 Martin Rudalics <rudalics@gmx.at>
2280 * window.el (display-buffer): In display-buffer bind
2281 split-window-keep-point to t, bug#14829.
2283 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
2285 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
2286 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
2287 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
2288 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2290 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2291 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
2293 2013-07-25 Glenn Morris <rgm@gnu.org>
2295 * dired-x.el (dired-mark-extension): Convert comment to doc string.
2297 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
2299 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
2300 parameter to modify-frame-parameters if the value has not changed;
2301 this is a workaround for bug#14949.
2302 (desktop--make-frame): On cl-delete-if call, check parameter name,
2305 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2307 * vc/vc.el (vc-ignore): New function.
2309 * vc/vc-svn.el (vc-svn-ignore): New function.
2311 * vc/vc-hg.el (vc-hg-ignore): New function.
2313 * vc/vc-git.el (vc-git-ignore): New function.
2315 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
2316 (vc-dir-ignore): New function.
2318 * vc/vc-cvs.el (vc-cvs-ignore): New function.
2319 (cvs-append-to-ignore): Move here from pcvs.el.
2321 * vc/vc-bzr.el (vc-bzr-ignore): New function.
2323 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
2325 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
2327 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
2328 (desktop-restore-frames): Warn when deleting an existing frame failed.
2330 2013-07-24 Glenn Morris <rgm@gnu.org>
2332 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
2334 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
2336 * filenotify.el (file-notify-supported-p):
2337 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2340 * autorevert.el (auto-revert-use-notify):
2341 (auto-revert-notify-add-watch):
2342 * net/tramp.el (tramp-file-name-for-operation):
2343 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2344 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2345 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2346 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2347 Remove `file-notify-supported-p' entry.
2349 2013-07-24 Glenn Morris <rgm@gnu.org>
2351 * printing.el: Replace all uses of deleted ps-windows-system,
2352 ps-lp-system, ps-flatten-list with lpr- versions.
2354 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2356 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
2357 checked with memq (bug#14935).
2359 * files.el (revert-buffer-function): Use a non-nil default.
2360 (revert-buffer-preserve-modes): Declare var to
2361 provide access to the `preserve-modes' argument.
2362 (revert-buffer): Let-bind it.
2363 (revert-buffer--default): New function, extracted from revert-buffer.
2365 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2367 * lpr.el: Signal print errors more prominently.
2368 (print-region-function): Don't default to nil.
2369 (lpr-print-region): New function, extracted from print-region-1.
2370 Check lpr's return value and signal an error in case of problem.
2371 (print-region-1): Use it.
2372 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
2374 (ps-printer-name): Default to nil.
2375 (ps-printer-name-option): Default to lpr-printer-switch.
2376 (ps-print-region-function): Don't default to nil.
2377 (ps-postscript-code-directory): Simplify default.
2378 (ps-do-despool): Use lpr-print-region to properly check the outcome.
2379 (ps-string-list, ps-eval-switch, ps-flatten-list)
2380 (ps-flatten-list-1): Remove.
2381 (ps-multibyte-buffer): Avoid setq.
2382 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
2383 (print-region-function, ps-print-region-function): Don't set them here.
2385 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
2387 * ido.el (ido-fractionp):
2388 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
2389 (ido-max-file-prompt-width, ido-unc-hosts-cache)
2390 (ido-max-directory-size, ido-max-dir-file-cache)
2391 (ido-decorations): Doc fix.
2393 * ansi-color.el: Fix old URL.
2395 2013-07-23 Michael R. Mauger <michael@mauger.com>
2397 * progmodes/sql.el Version 3.3
2398 (sql-product-alist): Improve oracle :prompt-cont-regexp.
2399 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
2400 (sql-interactive-remove-continuation-prompt): Rewrite, use
2401 functions above. Fix continuation prompt and complete output line
2403 (sql-redirect-one, sql-execute): Use `read-only-mode' on
2404 redirected output buffer.
2405 (sql-mode): Restore deleted code (Bug#13591).
2407 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
2409 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
2411 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
2413 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
2415 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2416 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2417 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
2419 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
2421 * desktop.el (desktop-clear): Simplify; remove useless checks
2422 against invalid buffer names.
2423 (desktop-list*): Use cl-list*.
2424 (desktop-buffer-info, desktop-create-buffer): Simplify.
2426 2013-07-23 Leo Liu <sdl.web@gmail.com>
2428 * bookmark.el (bookmark-make-record): Restore NAME as a default
2431 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2433 * emacs-lisp/autoload.el (autoload--setup-output): New function,
2434 extracted from autoload--insert-text.
2435 (autoload--insert-text): Remove.
2436 (autoload--print-cookie-text): New function, extracted from
2437 autoload--insert-cookie-text.
2438 (autoload--insert-cookie-text): Remove.
2439 (autoload-generate-file-autoloads): Adjust calls accordingly.
2441 * winner.el (winner-hook-installed-p): Remove.
2442 (winner-mode): Simplify accordingly.
2444 * subr.el (add-to-list): Fix compiler-macro when `append' is
2445 not constant. Don't use `cl-member' for the base case.
2447 * progmodes/subword.el: Fix boundary case (bug#13758).
2448 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
2450 (subword-backward-regexp): Make it a constant.
2451 (subword-forward-internal): Don't treat a trailing capital as the
2452 beginning of a word.
2454 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
2456 * emacs-lisp/package.el (package-menu-mode): Don't modify the
2457 global value of tabulated-list-revert-hook (bug#14930).
2459 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
2461 * desktop.el: Require 'cl-lib.
2462 (desktop-before-saving-frames-functions): New hook.
2463 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
2464 for frames being saved. Rename from desktop--save-minibuffer-frames.
2465 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
2466 Do not save frames with non-nil `desktop-dont-save' parameter.
2467 Filter out deleted frames.
2468 (desktop--find-frame): Use cl-find-if.
2469 (desktop--select-frame): Use cl-(first|second|third) to access values
2471 (desktop--make-frame): Use cl-delete-if.
2472 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
2473 (desktop-restore-frames): Use cl-(first|second|third) to access values
2474 of desktop-mini. Look for visible frame at the end, not while
2477 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
2478 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
2479 Use string-match-p, looking-at-p (bug#14927).
2481 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
2483 * desktop.el (desktop-saved-frame-states):
2484 Rename from desktop--saved-states; all users changed.
2485 (desktop-save-frames): Rename from desktop--save-frames.
2486 Do not save state to desktop file.
2487 (desktop-save): Save desktop-saved-frame-states to desktop file
2489 (desktop-restoring-frames-p): New function.
2490 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
2491 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
2492 buffer-lists when restoring frames. Suggested by Martin Rudalics.
2494 * desktop.el: Correctly restore iconified frames.
2495 (desktop--filter-iconified-position): New function.
2496 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
2498 2013-07-20 Glenn Morris <rgm@gnu.org>
2500 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
2501 Let `message' do the formatting.
2502 (def-gdb-preempt-display-buffer): Add explicit format.
2504 * image-dired.el (image-dired-track-original-file):
2505 Use with-current-buffer.
2506 (image-dired-track-thumbnail): Use with-current-buffer.
2507 Avoid changing point of wrong window.
2509 * image-dired.el (image-dired-track-original-file):
2510 Avoid changing point of wrong window. (Bug#14909)
2512 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
2514 * progmodes/gdb-mi.el (gdb-done-or-error):
2515 Guard against "%" in gdb output. (Bug#14127)
2517 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
2519 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
2522 * international/mule.el (coding-system-iso-2022-flags): Fix last
2525 2013-07-20 Kenichi Handa <handa@gnu.org>
2527 * international/mule.el (coding-system-iso-2022-flags):
2528 Add `8-bit-level-4'. (Bug#8522)
2530 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2532 * net/shr.el (shr-mouse-browse-url): New command and keystroke
2535 * net/eww.el (eww-process-text-input): Allow inputting when the
2536 point is at the start of the line, as the properties aren't
2539 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
2542 2013-07-19 Richard Stallman <rms@gnu.org>
2544 * epa.el (epa-popup-info-window): Doc fix.
2546 * subr.el (split-string): New arg TRIM.
2548 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
2550 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
2551 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
2553 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
2555 * filenotify.el (file-notify--library): Rename from
2556 `file-notify-support'. Do not autoload. Adapt all uses.
2557 (file-notify-supported-p): New defun.
2559 * autorevert.el (auto-revert-use-notify):
2560 Use `file-notify-supported-p' instead of `file-notify-support'.
2562 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
2564 * net/tramp.el (tramp-file-name-for-operation):
2565 Add `file-notify-supported-p'.
2567 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2569 (tramp-sh-file-name-handler-alist): Add it as handler for
2570 `file-notify-supported-p '.
2572 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2573 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2574 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2575 Add `ignore' as handler for `file-notify-*' functions.
2577 2013-07-17 Eli Zaretskii <eliz@gnu.org>
2579 * simple.el (line-move-partial, line-move): Don't start vscroll or
2580 scroll-up if the current line is not taller than the window.
2583 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
2585 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
2586 highlight question marks in the method names as strings.
2587 (ruby-block-beg-keywords): Inline.
2588 (ruby-font-lock-keyword-beg-re): Extract from
2589 `ruby-font-lock-keywords'.
2591 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
2593 * frame.el (blink-cursor-blinks): New defcustom.
2594 (blink-cursor-blinks-done): New defvar.
2595 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
2596 (blink-cursor-timer-function): Check if number of blinks has been
2598 (blink-cursor-suspend, blink-cursor-check): New defuns.
2600 2013-07-15 Glenn Morris <rgm@gnu.org>
2602 * edmacro.el (edmacro-format-keys): Fix previous change.
2604 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
2606 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
2607 The hack didn't work outside English locales anyway.
2609 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
2611 * simple.el (define-alternatives): Rename from alternatives-define,
2612 per RMS' suggestion.
2614 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
2616 * desktop.el (desktop-restore-frames): Change default to t.
2617 (desktop-restore-in-current-display): Now offer more options.
2618 (desktop-restoring-reuses-frames): New customization option.
2619 (desktop--saved-states): Doc fix.
2620 (desktop-filter-parameters-alist): New variable, renamed and expanded
2621 from desktop--excluded-frame-parameters.
2622 (desktop--target-display): New variable.
2623 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
2624 (desktop--filter-tty*, desktop--filter-*-color)
2625 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2626 (desktop--filter-save-desktop-parm)
2627 (desktop-restore-in-original-display-p): New functions.
2628 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
2629 (desktop--save-minibuffer-frames): New function, inspired by a similar
2630 function from Martin Rudalics.
2631 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
2632 (desktop--restore-in-this-display-p): Remove.
2633 (desktop--find-frame): Rename from desktop--find-frame-in-display
2634 and add predicate argument.
2635 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
2636 (desktop--reuse-list): New variable.
2637 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
2639 (desktop--restore-frames): Add support for "minibuffer-special" frames.
2641 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
2643 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
2645 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
2647 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2648 Highlight conversion methods on Kernel.
2650 2013-07-13 Alan Mackenzie <acm@muc.de>
2652 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
2653 and comment it out. This out-commenting enables certain C++
2654 declarations to be parsed correctly.
2656 2013-07-13 Eli Zaretskii <eliz@gnu.org>
2658 * international/mule.el (define-coding-system): Doc fix.
2660 * simple.el (default-font-height): Don't call font-info if the
2661 frame's default font didn't change since the frame was created.
2664 2013-07-13 Leo Liu <sdl.web@gmail.com>
2666 * ido.el (ido-read-file-name): Guard against non-symbol value.
2668 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2670 * progmodes/python.el (python-imenu--build-tree): Fix corner case
2673 2013-07-13 Leo Liu <sdl.web@gmail.com>
2675 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
2676 ido-set-matches call. (Bug#6852)
2678 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
2680 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
2681 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
2683 (ruby-font-lock-keywords): Distinguish calls to functions with
2684 module-like names from module references. Highlight character
2687 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2689 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
2690 (gdb-send): Handle continued commands. (Bug#14847)
2692 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
2694 * desktop.el (desktop--v2s): Remove unused local variable.
2695 (desktop-save-buffer): Make defvar-local; adjust docstring.
2696 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
2697 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
2699 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
2701 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
2703 2013-07-12 Eli Zaretskii <eliz@gnu.org>
2705 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
2708 2013-07-12 Glenn Morris <rgm@gnu.org>
2710 * doc-view.el: Require cl-lib at runtime too.
2711 (doc-view-remove-if): Remove.
2712 (doc-view-search-next-match, doc-view-search-previous-match):
2715 * edmacro.el: Require cl-lib at runtime too.
2716 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
2717 (edmacro-mismatch, edmacro-subseq): Remove.
2719 * shadowfile.el: Require cl-lib.
2720 (shadow-remove-if): Remove.
2721 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
2724 * wid-edit.el: Require cl-lib.
2725 (widget-choose): Use cl-remove-if.
2726 (widget-remove-if): Remove.
2728 * progmodes/ebrowse.el: Require cl-lib at runtime too.
2729 (ebrowse-delete-if-not): Remove.
2730 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
2731 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
2732 Use cl-delete-if-not.
2734 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
2736 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
2737 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
2739 2013-07-12 Leo Liu <sdl.web@gmail.com>
2741 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
2743 2013-07-11 Glenn Morris <rgm@gnu.org>
2745 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
2746 (edebug-gensym-index, edebug-gensym):
2747 Remove reimplementation of cl-gensym.
2748 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
2750 * thumbs.el: Require cl-lib at run-time too.
2751 (thumbs-gensym-counter, thumbs-gensym):
2752 Remove reimplementation of cl-gensym.
2753 (thumbs-temp-file): Use cl-gensym.
2755 * emacs-lisp/ert.el: Require cl-lib at runtime too.
2756 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
2757 (ert--intersection, ert--set-difference, ert--set-difference-eq)
2758 (ert--union, ert--gensym-counter, ert--gensym-counter)
2759 (ert--coerce-to-vector, ert--remove*, ert--string-position)
2760 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
2761 (ert-make-test-unbound, ert--expand-should-1)
2762 (ert--expand-should, ert--should-error-handle-error)
2763 (should-error, ert--explain-equal-rec)
2764 (ert--plist-difference-explanation, ert-select-tests)
2765 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
2766 Use cl-lib functions rather than reimplementations.
2768 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
2770 * net/tramp.el (tramp-methods): Extend docstring.
2771 (tramp-connection-timeout): New defcustom.
2772 (tramp-error-with-buffer): Reset timestamp only when appropriate.
2773 (with-tramp-progress-reporter): Simplify.
2774 (tramp-process-actions): Improve messages.
2776 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2777 * net/tramp-sh.el (tramp-maybe-open-connection):
2778 Use `tramp-connection-timeout'.
2779 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
2782 2013-07-11 Leo Liu <sdl.web@gmail.com>
2784 * ido.el (ido-read-file-name): Conform to the requirements of
2785 read-file-name. (Bug#11861)
2786 (ido-read-directory-name): Conform to the requirements of
2787 read-directory-name.
2789 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
2791 * subr.el (delay-warning): New function.
2793 2013-07-10 Eli Zaretskii <eliz@gnu.org>
2795 * simple.el (default-line-height): New function.
2796 (line-move-partial, line-move): Use it instead of computing the
2798 (line-move-partial): Always compute ROWH. If the last line is
2799 partially-visible, but its text is completely visible, allow
2800 cursor to enter such a partially-visible line.
2802 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
2804 Improve error messages. (Bug#14808)
2806 * net/tramp.el (tramp-current-connection): New defvar, moved from
2808 (tramp-message-show-progress-reporter-message): Remove, not
2810 (tramp-error-with-buffer): Show message in minibuffer.
2811 Discard input before waiting. Reset connection timestamp.
2812 (with-tramp-progress-reporter): Improve messages.
2813 (tramp-process-actions): Use progress reporter. Delete process in
2814 case of error. Improve messages.
2816 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
2817 Call `tramp-error-with-buffer' with vector and buffer.
2818 (tramp-current-connection): Remove.
2819 (tramp-maybe-open-connection): The car of
2820 `tramp-current-connection' are the first 3 slots of the vector.
2822 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
2824 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
2825 inside continued strings.
2827 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
2829 Timestamp fixes for undo (Bug#14824).
2830 * files.el (clear-visited-file-modtime): Move here from fileio.c.
2832 2013-07-10 Leo Liu <sdl.web@gmail.com>
2834 * files.el (require-final-newline): Allow safe local value.
2837 2013-07-09 Leo Liu <sdl.web@gmail.com>
2839 * ido.el (ido-read-directory-name): Handle fallback.
2840 (ido-read-file-name): Update DIR to ido-current-directory.
2842 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
2844 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
2846 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
2847 "autoload". Remove "warn lower camel case" section, previously
2848 commented out. Highlight negation char. Do not highlight the
2849 target in singleton method definitions.
2851 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2853 * faces.el (tty-setup-hook): Declare the hook.
2855 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
2856 and detect when a guard/pred depends on local vars (bug#14773).
2857 (pcase--u1): Adjust caller.
2859 2013-07-08 Eli Zaretskii <eliz@gnu.org>
2861 * simple.el (line-move-partial, line-move): Account for
2863 (line-move-partial): Avoid setting vscroll when the last
2864 partially-visible line in window is of default height.
2866 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2868 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
2871 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
2873 * subr.el (read-quoted-char): Remove unused local variable `char'.
2875 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
2877 * ediff.el (ediff-version): Version update.
2878 (ediff-files-command, ediff3-files-command, ediff-merge-command)
2879 (ediff-merge-with-ancestor-command, ediff-directories-command)
2880 (ediff-directories3-command, ediff-merge-directories-command)
2881 (ediff-merge-directories-with-ancestor-command): New functions.
2882 All are command-line interfaces to ediff: to facilitate calling
2883 Emacs with the appropriate ediff functions invoked.
2885 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
2886 (viper-save-kill-buffer): Check if buffer is modified.
2888 * viper.el (viper-version): Version update.
2889 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
2891 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
2893 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
2894 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
2895 (viper-intercept-ESC-key): Simplify.
2896 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
2897 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
2898 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
2899 (viper-setup-ESC-to-escape): New functions.
2900 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
2901 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
2903 2013-07-07 Eli Zaretskii <eliz@gnu.org>
2905 * simple.el (default-font-height, window-screen-lines):
2907 (line-move, line-move-partial): Use them instead of
2908 frame-char-height and window-text-height. This makes scrolling
2909 text smoother when the buffer's default face uses a font that is
2910 different from the frame's default font.
2912 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
2914 * files.el (write-file): Do not display confirm dialog for NS,
2915 it does its own dialog, which can't be cancelled (Bug#14578).
2917 2013-07-06 Eli Zaretskii <eliz@gnu.org>
2919 * simple.el (line-move-partial): Adjust the row returned by
2920 posn-at-point for the current window-vscroll. (Bug#14567)
2922 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
2924 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
2925 (tramp-sh-file-inotifywait-process-filter): Handle file names with
2928 2013-07-06 Martin Rudalics <rudalics@gmx.at>
2930 * window.el (window-state-put-stale-windows): New variable.
2931 (window--state-put-2): Save list of windows without matching buffer.
2932 (window-state-put): Remove "bufferless" windows if possible.
2934 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
2936 * simple.el (alternatives-define): Remove leftover :group keyword.
2939 2013-07-06 Leo Liu <sdl.web@gmail.com>
2941 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
2942 (ido-enable-virtual-buffers): New variable.
2943 (ido-buffer-internal, ido-toggle-virtual-buffers)
2944 (ido-make-buffer-list): Use it.
2945 (ido-exhibit): Support turning on and off virtual buffers
2948 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
2950 * simple.el (alternatives-define): New macro.
2952 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
2954 * subr.el (read-quoted-char): Use read-key.
2955 (sit-for): Let read-event decode tty input (bug#14782).
2957 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
2959 * calendar/todo-mode.el: Add handling of file deletion, both by
2960 mode command and externally. Fix various related bugs.
2961 Clarify Commentary and improve some documentation strings and code.
2962 (todo-delete-file): New command.
2963 (todo-check-file): New function.
2964 (todo-show): Handle external deletion of the file we're trying to
2965 show (bug#14688). Replace called-interactively-p by an optional
2966 prefix argument to avoid problematic interaction with catch form
2967 when byte compiled (bug#14702).
2968 (todo-quit): Handle external deletion of the archive's todo file.
2969 Make sure the buffer that was visiting the archive file is still
2970 live before trying to bury it.
2971 (todo-category-completions): Handle external deletion of any
2972 category completion files.
2973 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
2974 of todo files, in case of external deletion.
2975 (todo-add-file): Replace unnecessary setq by let-binding.
2976 (todo-find-archive): Check whether there are any archives.
2977 Replace unnecessary setq by let-binding.
2978 (todo-archive-done-item): Use find-file-noselect to get the
2979 archive buffer whether or not the archive already exists.
2980 Remove superfluous code. Use file size instead of buffer-file-name to
2981 check if the archive is new; if it is, update list of archives.
2982 (todo-default-todo-file): Allow nil to be a valid value for when
2983 there are no todo files.
2984 (todo-reevaluate-default-file-defcustom): Use corrected definition
2985 of todo-default-todo-file.
2986 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
2987 (todo-delete-category, todo-show-categories-table)
2988 (todo-category-number): Clarify comment.
2989 (todo-filter-items): Clarify documentation string.
2990 (todo-show-current-file, todo-display-as-todo-file)
2991 (todo-reset-and-enable-done-separator): Tweak documentation string.
2992 (todo-done-separator): Make separator length window-width, since
2993 bug#2749 is now fixed.
2995 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
2997 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2998 Support both "gvfs-monitor-dir" and "inotifywait".
2999 (tramp-sh-file-inotifywait-process-filter): Rename from
3000 `tramp-sh-file-notify-process-filter'.
3001 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3002 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3004 2013-07-05 Leo Liu <sdl.web@gmail.com>
3006 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3008 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3010 * frame.el (display-pixel-height, display-pixel-width)
3011 (display-mm-height, display-mm-width): Mention behavior on
3012 multi-monitor setups in docstrings.
3013 (w32-display-monitor-attributes-list): Declare function.
3014 (display-monitor-attributes-list): Use it.
3016 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
3018 * filenotify.el: New package.
3020 * autorevert.el (top): Require filenotify.el.
3021 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3023 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3024 (auto-revert-notify-handler): Use `file-notify-*' functions.
3026 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3028 * net/tramp.el (tramp-file-name-for-operation):
3029 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
3031 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3032 for `file-notify-add-watch' and `file-notify-rm-watch'.
3033 (tramp-process-sentinel): Improve trace.
3034 (tramp-sh-handle-file-notify-add-watch)
3035 (tramp-sh-file-notify-process-filter)
3036 (tramp-sh-handle-file-notify-rm-watch)
3037 (tramp-get-remote-inotifywait): New defuns.
3039 2013-07-03 Juri Linkov <juri@jurta.org>
3041 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3042 call of `occur-read-primary-args' to interactive spec.
3044 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3045 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3047 2013-07-03 Matthias Meulien <orontee@gmail.com>
3049 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3050 `Buffer-menu-multi-occur'. Add it to the menu.
3051 (Buffer-menu-mode): Document it in docstring.
3052 (Buffer-menu-multi-occur): New command. (Bug#14673)
3054 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3056 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3057 keywords and built-ins.
3059 2013-07-03 Glenn Morris <rgm@gnu.org>
3061 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3063 Make info-xref checks case-sensitive by default
3064 * info.el (Info-find-node, Info-find-in-tag-table)
3065 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3066 Add option for exact case matching of nodes.
3067 * info-xref.el (info-xref): New custom group.
3068 (info-xref-case-fold): New option.
3069 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3071 2013-07-03 Leo Liu <sdl.web@gmail.com>
3073 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3075 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3077 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3078 middle of block statement initially, lower the depth. Remove
3079 FIXME comment, not longer valid. Remove middle of block statement
3080 detection, no need to do that anymore since we've been using
3081 `ruby-parse-region' here.
3083 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3085 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3087 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
3089 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3091 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
3093 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3094 (desktop-restore-in-current-display): New customization option.
3095 (desktop--excluded-frame-parameters): Add `font'.
3096 (desktop--save-frames): Rename from desktop--save-windows.
3097 (desktop--restore-in-this-display-p): New function.
3098 (desktop--make-full-frame): Remove unwanted width/height from
3099 full(width|height) frames.
3100 (desktop--restore-frames): Rename from desktop--restore-windows.
3101 Obey desktop-restore-current-display. Do not delete old frames or
3102 select a new frame unless we were able to restore at least one frame.
3104 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
3106 * files.el (find-file-noselect): Simplify conditional expression.
3108 * remember.el (remember-append-to-file):
3109 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3111 Add `remember-notes' function to store random notes across Emacs
3113 * remember.el (remember-data-file): Add :set callback to affect
3114 notes buffer (if any).
3115 (remember-notes): New command.
3116 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3117 New defcustoms for the `remember-notes' function.
3118 (remember-notes-save-and-bury-buffer): New command.
3119 (remember-notes-mode-map): New variable.
3120 (remember-mode): New minor mode.
3121 (remember-notes--kill-buffer-query): New function.
3122 * startup.el (initial-buffer-choice): Add notes to custom type.
3124 2013-06-30 Eli Zaretskii <eliz@gnu.org>
3126 * bindings.el (right-char, left-char): Don't call sit-for, this is
3127 no longer needed. Use arithmetic comparison only for numerical
3130 * international/mule-cmds.el (select-safe-coding-system):
3131 Handle the case of FROM being a string correctly. (Bug#14755)
3133 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3135 * net/shr.el (shr-make-table-1): Add a sanity check that allows
3136 progression on degenerate tables.
3137 (shr-rescale-image): ImageMagick animated images currently don't work.
3139 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
3141 Some fixes and improvements for desktop frame restoration.
3142 It is still experimental and disabled by default.
3143 * desktop.el (desktop--save-windows): Put the selected frame at
3144 the head of the list.
3145 (desktop--make-full-frame): New function.
3146 (desktop--restore-windows): Try to re-select the frame that was
3147 selected upon saving. Do not abort if some frames fail to restore,
3148 just show an error message and continue. Set up maximized frames
3149 so they have default non-maximized dimensions.
3151 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
3153 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3154 Don't start heredoc inside a string or comment.
3156 2013-06-29 Eli Zaretskii <eliz@gnu.org>
3158 * bindings.el (visual-order-cursor-movement): New defcustom.
3159 (right-char, left-char): Provide visual-order cursor motion by
3160 calling move-point-visually. Update the doc strings.
3162 2013-06-28 Kenichi Handa <handa@gnu.org>
3164 * international/mule.el (define-coding-system): New coding system
3165 properties :inhibit-null-byte-detection,
3166 :inhibit-iso-escape-detection, and :prefer-utf-8.
3167 (set-buffer-file-coding-system): If :charset-list property of
3168 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3169 appropriate for setting.
3171 * international/mule-cmds.el (select-safe-coding-system):
3172 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3173 multibyte characters, return utf-8 (or one of its siblings).
3175 * international/mule-conf.el (prefer-utf-8): New coding system.
3176 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3179 2013-06-28 Ivan Kanis <ivan@kanis.fr>
3181 * net/shr.el (shr-render-region): New function.
3183 * net/eww.el: Autoload `eww-browse-url'.
3185 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3187 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3188 Adapt to `package-desc-version' being a list.
3189 Use `package--ac-desc-version' to retrieve version from a package
3192 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
3194 New experimental feature to save&restore window and frame setup.
3195 * desktop.el (desktop-save-windows): New defcustom.
3196 (desktop--saved-states): New var.
3197 (desktop--excluded-frame-parameters): New defconst.
3198 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3199 (desktop--restore-windows, desktop--save-windows): New functions.
3200 (desktop-save): Call `desktop--save-windows'.
3201 (desktop-read): Call `desktop--restore-windows'.
3203 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3205 * net/shr.el (add-face-text-property): Remove compat definition.
3207 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
3209 * info.el (Info-try-follow-nearest-node): Move search for footnote
3210 above search for node name to prevent missing a footnote (bug#14717).
3212 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
3214 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3216 2013-06-27 Leo Liu <sdl.web@gmail.com>
3218 * net/eww.el (eww-read-bookmarks): Check file size.
3220 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3222 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3223 advice--pending if newdef is nil or an autoload (bug#13820).
3224 (advice-mapc): New function.
3226 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3228 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3230 (eww-mode-map): Add a menu bar.
3231 (eww-add-bookmark): New command.
3232 (eww-bookmark-mode): New mode and commands.
3233 (eww-add-bookmark): Remove newlines from the title.
3234 (eww-bookmark-browse): Don't bug out if it's the only window.
3236 2013-06-26 Glenn Morris <rgm@gnu.org>
3238 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3239 (hfy-size): Handle ttys. (Bug#14668)
3241 * info-xref.el: Update for Texinfo 5 change in *note format.
3242 (info-xref-node-re, info-xref-note-re): New constants.
3243 (info-xref-check-buffer): Use info-xref-note-re.
3245 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3247 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3249 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3250 nil terminate the loop (bug#14718).
3252 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3254 * net/eww.el: Rework history traversal. When going forward/back,
3255 put these actions into the history, too, so that they can be
3257 (eww-render): Move the history reset to the correct buffer.
3259 2013-06-25 Juri Linkov <juri@jurta.org>
3261 * files-x.el (modify-dir-local-variable): Change the header comment
3262 in the file with directory local variables. (Bug#14692)
3264 * files-x.el (read-file-local-variable-value): Add `default'.
3267 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3269 * net/eww.el (eww-make-unique-file-name): Create a unique file
3270 name before saving to entering `y' accidentally asynchronously.
3272 2013-06-25 Ivan Kanis <ivan@kanis.fr>
3274 * net/eww.el (eww-download): New command and keystroke.
3276 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3278 * net/eww.el (eww-copy-page-url): Change name of command.
3280 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
3281 be more consistent with Info and dired.
3283 * net/eww.el (eww-mode-map): Ditto.
3285 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3287 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
3288 packages from archives.
3289 (package-archive-contents): Change format; include obsolete packages.
3290 (package-desc): Use `dir' to mark builtin packages.
3291 (package--from-builtin): Set the `dir' field to `builtin'.
3292 (generated-autoload-file, version-control): Declare.
3293 (package-compute-transaction): Change first arg and return value to be
3294 lists of package-descs. Adjust to new package-archive-contents format.
3295 (package--add-to-archive-contents): Adjust to new
3296 package-archive-contents format.
3297 (package-download-transaction): Arg is now a list of package-descs.
3298 (package-install): If `pkg' is a package name, pass it as
3299 a requirement, so it is subject to the usual (e.g. disabled) checks.
3300 (describe-package): Accept package-desc as well.
3301 (describe-package-1): Describe a specific package-desc. Add links to
3302 other package-descs for the same package name.
3303 (package-menu-describe-package): Pass the actual package-desc.
3304 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
3306 (package-desc-status): New function.
3307 (package-menu--refresh): New function, extracted
3308 from package-menu--generate.
3309 (package-menu--generate): Use it.
3310 (package-delete): Update package-alist.
3311 (package-menu-execute): Don't call package-initialize.
3313 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
3314 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
3315 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
3316 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
3317 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
3318 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
3320 2013-06-25 Martin Rudalics <rudalics@gmx.at>
3322 * window.el (window--state-get-1): Workaround for bug#14527.
3323 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
3325 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3327 * net/eww.el (eww-back-url): Implement the history by stashing all
3328 the data into a list.
3329 (eww-forward-url): Allow going forward in the history, too.
3331 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3333 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
3334 for values and use read--expression for expressions (bug#14710).
3335 (read-file-local-variable): Avoid setq.
3336 (read-file-local-variable-mode): Use minor-mode-list.
3338 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3340 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
3343 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3345 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
3346 Update imenu-support when dialect changes.
3348 2013-06-25 Leo Liu <sdl.web@gmail.com>
3350 * ido.el (ido-read-internal): Allow forward slash on windows.
3352 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3354 * net/eww.el (eww): Start of strings is \\`, not ^.
3356 2013-06-24 Ivan Kanis <ivan@kanis.fr>
3358 * net/shr.el (shr-browse-url): Fix interactive spec.
3360 * net/eww.el (eww): Add a trailing slash to domain names.
3362 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
3364 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
3366 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3368 * net/shr.el (shr-browse-url): Use an external browser if given a
3371 * net/eww.el (eww-external-browser): Move to shr.
3373 2013-06-24 Ivan Kanis <ivan@kanis.fr>
3375 * net/eww.el (eww): Work more correctly for file: URLs.
3376 (eww-detect-charset): Allow quoted charsets.
3377 (eww-yank-page-url): New command and keystroke.
3379 2013-06-24 Daiki Ueno <ueno@gnu.org>
3381 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
3382 file name of gpg executable.
3383 (epg-context-program): New function.
3384 (epg-context-home-directory): New function.
3385 (epg-context-set-program): New function.
3386 (epg-context-set-home-directory): New function.
3387 (epg--start): Use `epg-context-program' instead of
3389 (epg--list-keys-1): Likewise.
3391 2013-06-24 Leo Liu <sdl.web@gmail.com>
3393 * ido.el (ido-read-internal): Fix bug#14620.
3395 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
3397 * faces.el (face-documentation): Simplify.
3398 (read-face-attribute, tty-find-type, x-resolve-font-name):
3399 Use `string-match-p'.
3400 (list-faces-display): Use `string-match-p'. Simplify.
3401 (face-spec-recalc): Check face to avoid face alias loops.
3402 (read-color): Use `string-match-p' and non-capturing parenthesis.
3404 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3406 * net/shr.el (shr-rescale-image): Use the new
3407 :max-width/:max-height functionality.
3409 2013-06-23 Ivan Kanis <ivan@kanis.fr>
3411 * net/eww.el (eww-search-prefix): New variable.
3413 (eww-external-browser): New variable.
3414 (eww-mode-map): New keystroke.
3415 (eww-browse-with-external-browser): New command.
3417 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
3419 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
3421 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3422 Don't skip aligning the next header field when padding is 0;
3423 otherwise, field width is not respected unless the title is as
3426 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3428 * emacs-lisp/package.el (package-el-version): Remove.
3429 (package-process-define-package): Fix inf-loop.
3430 (package-install): Allow symbols as arguments again.
3432 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3434 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
3435 add some more keyword-like methods.
3436 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
3438 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
3440 * bs.el (bs-buffer-show-mark): Make defvar-local.
3441 (bs-mode): Use setq-local.
3443 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
3444 (emacs-lock--try-unlocking): Make defvar-local.
3446 2013-06-22 Glenn Morris <rgm@gnu.org>
3448 * play/cookie1.el (cookie-apropos): Minor simplification.
3450 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
3452 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3454 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
3455 `regexp-opt', it breaks the build during dumping.
3457 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
3459 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3460 Highlight keyword-like methods on Kernel and Module with
3461 font-lock-builtin-face.
3462 (auto-mode-alist): Consolidate different entries into one regexp
3463 and add more *file-s.
3465 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
3467 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
3469 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
3470 (diary-entry): Use it in the action of this button type instead of
3473 * calendar/todo-mode.el: New version.
3474 (todo-add-category): Append new category to end of file and give
3475 it the highest number, instead of putting it at the beginning and
3476 giving it 0. Incorporate noninteractive functionality.
3477 (todo-forward-category): Adapt to 1-based category numbering.
3478 Allow skipping over archived categories.
3479 (todo-backward-category): Derive from todo-forward-category.
3480 (todo-backward-item, todo-forward-item): Make noninteractive and
3481 delegate interactive part to new commands. Make sensitive to done items.
3482 (todo-categories): Make value an alist of category names and
3483 vectors of item counts.
3484 (todo-category-beg): Make a defconst.
3485 (todo-category-number): Use 1 instead of 0 as initial value.
3486 (todo-category-select): Make sensitive to overlays, optional item
3487 highlighting and done items.
3488 (todo-delete-item): Make sensitive to overlays and marked and done items.
3489 (todo-edit-item): Make sensitive to overlays and editing of
3490 date/time header optional. Add format checks.
3491 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
3492 no-op if point is not on an item. Advertise using todo-edit-quit.
3493 (todo-edit-mode): Make sensitive to new format, font-locking, and
3494 multiple todo files.
3495 (todo-insert-item, todo-insert-item-here): Derive from
3496 todo-basic-insert-item and extend functionality.
3497 (todo-item-end, todo-item-start): Make sensitive to done items.
3498 (todo-item-string): Don't return text properties. Restore point.
3499 (todo-jump-to-category): Make sensitive to multiple todo files and
3500 todo archives. Use extended category completion.
3501 (todo-lower-item, todo-raise-item): Rename to *-priority and
3502 derive from todo-set-item-priority.
3503 (todo-mode): Derive from special-mode. Make sensitive to new
3504 format, font-locking and multiple todo files. Make read-only.
3505 (todo-mode-map): Don't suppress digit keys, so they can supply
3506 prefix arguments. Add many new key bindings.
3507 (todo-prefix): Insert as an overlay instead of file text.
3508 Change semantics from diary date expression to purely visual mark.
3509 (todo-print): Rename to todo-print-buffer. Make buffer display
3510 features printable. Remove option to restrict number of items
3511 printed. Add option to print to file.
3512 (todo-print-function): Rename to todo-print-buffer-function.
3513 (todo-quit): Extend to handle exiting new todo modes.
3514 (todo-remove-item): Make sensitive to overlays.
3515 (todo-save): Extend to buffers of filtered items.
3516 (todo-show): Make sensitive to done items, multiple todo files and
3517 new todo modes. Offer to convert legacy todo file before creating
3518 first new todo file.
3519 (todo-show-priorities): Rename to todo-top-priorities.
3520 Change semantics of value 0.
3521 (todo-top-priorities): Rename to todo-filter-top-priorities,
3522 derive from todo-filter-items and extend functionality.
3523 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
3524 and extend functionality to other types of filtered items.
3525 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
3526 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
3527 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
3528 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
3529 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
3530 (todo-edit-mode-hook, todo-entry-prefix-function)
3531 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
3532 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
3533 (todo-initials, todo-insert-threshold, todo-item-string-start)
3534 (todo-line-string, todo-menu, todo-mode-hook)
3535 (todo-more-important-p, todo-previous-answer, todo-previous-line)
3536 (todo-print-priorities, todo-remove-separator)
3537 (todo-save-top-priorities-too, todo-string-count-lines)
3538 (todo-string-multiline-p, todo-time-string-format)
3539 (todo-tmp-buffer-name): Remove.
3540 (todo-add-file, todo-archive-done-item, todo-choose-archive)
3541 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
3542 (todo-edit-category-diary-inclusion)
3543 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
3544 (todo-edit-file, todo-edit-item-date-day)
3545 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
3546 (todo-edit-item-date-month, todo-edit-item-date-to-today)
3547 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
3548 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
3549 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
3550 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
3551 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
3552 (todo-filter-top-priorities-multifile, todo-find-archive)
3553 (todo-find-filtered-items-file, todo-go-to-source-item)
3554 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
3555 (todo-jump-to-archive-category, todo-lower-category)
3556 (todo-mark-category, todo-marked-item-p, todo-merge-category)
3557 (todo-move-category, todo-move-item, todo-next-button)
3558 (todo-next-item, todo-padded-string, todo-powerset)
3559 (todo-previous-button, todo-previous-item)
3560 (todo-print-buffer-to-file, todo-raise-category)
3561 (todo-rename-category, todo-repair-categories-sexp, todo-search)
3562 (todo-set-category-number, todo-set-item-priority)
3563 (todo-set-top-priorities-in-category)
3564 (todo-set-top-priorities-in-file, todo-show-categories-table)
3565 (todo-sort-categories-alphabetically-or-numerically)
3566 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
3567 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
3568 (todo-toggle-item-header, todo-toggle-item-highlighting)
3569 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
3570 (todo-toggle-view-done-items, todo-toggle-view-done-only)
3571 (todo-unarchive-items, todo-unmark-category): New commands.
3572 (todo-absolute-file-name, todo-add-to-buffer-list)
3573 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
3574 (todo-basic-insert-item, todo-category-completions)
3575 (todo-category-number, todo-category-string-matcher-1)
3576 (todo-category-string-matcher-2, todo-check-filtered-items-file)
3577 (todo-check-format, todo-clear-matches)
3578 (todo-comment-string-matcher, todo-convert-legacy-date-time)
3579 (todo-current-category, todo-date-string-matcher)
3580 (todo-define-insertion-command, todo-diary-expired-matcher)
3581 (todo-diary-goto-entry, todo-diary-item-p)
3582 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
3583 (todo-display-categories, todo-display-sorted, todo-done-item-p)
3584 (todo-done-item-section-p, todo-done-separator)
3585 (todo-done-string-matcher, todo-files, todo-filter-items)
3586 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
3587 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
3588 (todo-insert-category-line, todo-insert-item-from-calendar)
3589 (todo-insert-sort-button, todo-insert-with-overlays)
3590 (todo-insertion-command-name, todo-insertion-key-bindings)
3591 (todo-label-to-key, todo-longest-category-name-length)
3592 (todo-make-categories-list, todo-mode-external-set)
3593 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
3594 (todo-modes-set-3, todo-multiple-filter-files)
3595 (todo-nondiary-marker-matcher, todo-prefix-overlays)
3596 (todo-read-category, todo-read-date, todo-read-dayname)
3597 (todo-read-file-name, todo-read-time)
3598 (todo-reevaluate-category-completions-files-defcustom)
3599 (todo-reevaluate-default-file-defcustom)
3600 (todo-reevaluate-filelist-defcustoms)
3601 (todo-reevaluate-filter-files-defcustom)
3602 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
3603 (todo-reset-done-separator, todo-reset-done-separator-string)
3604 (todo-reset-done-string, todo-reset-global-current-todo-file)
3605 (todo-reset-highlight-item, todo-reset-nondiary-marker)
3606 (todo-reset-prefix, todo-set-categories)
3607 (todo-set-date-from-calendar, todo-set-show-current-file)
3608 (todo-set-top-priorities, todo-short-file-name)
3609 (todo-show-current-file, todo-sort, todo-time-string-matcher)
3610 (todo-total-item-counts, todo-update-buffer-list)
3611 (todo-update-categories-display, todo-update-categories-sexp)
3612 (todo-update-count, todo-validate-name, todo-y-or-n-p):
3614 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
3616 (todo-categories, todo-display, todo-edit, todo-faces)
3617 (todo-filtered): New defgroups.
3618 (todo-archived-only, todo-button, todo-category-string, todo-date)
3619 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
3620 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
3621 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
3622 (todo-add-item-if-new-category, todo-always-add-time-string)
3623 (todo-categories-align, todo-categories-archived-label)
3624 (todo-categories-category-label, todo-categories-diary-label)
3625 (todo-categories-done-label, todo-categories-number-separator)
3626 (todo-categories-todo-label, todo-categories-totals-label)
3627 (todo-category-completions-files, todo-completion-ignore-case)
3628 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
3629 (todo-done-separator-string, todo-done-string)
3630 (todo-files-function, todo-filter-done-items, todo-filter-files)
3631 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
3632 (todo-initial-category, todo-initial-file, todo-item-mark)
3633 (todo-legacy-date-time-regexp, todo-mode-line-function)
3634 (todo-nondiary-marker, todo-number-prefix)
3635 (todo-print-buffer-function, todo-show-current-file)
3636 (todo-show-done-only, todo-show-first, todo-show-with-done)
3637 (todo-skip-archived-categories, todo-top-priorities-overrides)
3638 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
3639 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
3641 (todo-category-done, todo-date-pattern, todo-date-string-start)
3642 (todo-diary-items-buffer, todo-done-string-start)
3643 (todo-filtered-items-buffer, todo-item-start)
3644 (todo-month-abbrev-array, todo-month-name-array)
3645 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
3646 (todo-top-priorities-buffer): New defconsts.
3647 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
3648 (todo-categories-with-marks, todo-category-string-face)
3649 (todo-comment-face, todo-comment-string, todo-current-todo-file)
3650 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
3651 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
3652 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
3653 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
3654 (todo-font-lock-keywords, todo-global-current-todo-file)
3655 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
3656 (todo-insertion-commands-args)
3657 (todo-insertion-commands-args-genlist)
3658 (todo-insertion-commands-names, todo-insertion-map)
3659 (todo-key-bindings-t, todo-key-bindings-t+a)
3660 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
3661 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
3662 (todo-nondiary-face, todo-print-buffer, todo-time-face)
3663 (todo-visited): New variables.
3665 2013-06-21 Glenn Morris <rgm@gnu.org>
3667 * play/cookie1.el (cookie-apropos): Add optional display argument.
3668 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
3669 (psychoanalyze-pinhead): Use cookie-doctor.
3671 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3673 * emacs-lisp/package.el (tar-get-file-descriptor)
3674 (tar--extract): Declare.
3676 2013-06-21 Eduard Wiebe <usenet@pusto.de>
3678 Extend flymake's warning predicate to be a function (bug#14217).
3679 * progmodes/flymake.el (flymake-warning-predicate): New.
3680 (flymake-parse-line): Use it.
3681 (flymake-warning-re): Make obsolete alias to
3682 `flymake-warning-predicate'.
3684 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3686 * emacs-lisp/package.el (package-alist): Include obsolete packages.
3687 (package-obsolete-list): Remove.
3688 (package-activate): Remove min-version argument. Add `force' argument.
3689 Adjust to new package-alist format.
3690 (package-mark-obsolete): Remove.
3691 (package-unpack): Force reload of the package's autoloads.
3692 (package-installed-p): Check builtins if the installed package is not
3694 (package-initialize): Don't reset package-obsolete-list.
3695 Don't specify which package version to activate.
3696 (package-process-define-package, describe-package-1)
3697 (package-menu--generate): Adjust to new package-alist format.
3699 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3701 * allout-widgets.el (allout-widgets-mode-off)
3702 (allout-widgets-mode-on, allout-widgets-pre-command-business)
3703 (allout-widgets-post-command-business)
3704 (allout-widgets-after-copy-or-kill-function)
3705 (allout-widgets-after-undo-function, allout-test-range-overlaps)
3706 (allout-decorate-item-and-context)
3707 (allout-graphics-modification-handler): Fix typos in docstrings.
3708 (allout-get-or-create-parent-widget): Use `looking-at-p'.
3710 * cmuscheme.el (scheme-start-file): Doc fix.
3711 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
3712 (scheme-input-filter): Use `string-match-p'.
3714 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
3716 * dired-x.el: Use Dired consistently in docstrings.
3718 * dired.el: Use Dired consistently in docstrings.
3719 (dired-readin, dired-mode): Use `setq-local'.
3720 (dired-switches-alist): Make defvar-local.
3721 (dired-buffers-for-dir): Use `zerop'.
3722 (dired-safe-switches-p, dired-switches-escape-p)
3723 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
3724 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
3725 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
3726 (dired-goto-next-nontrivial-file): Use `string-match-p'.
3727 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
3728 (dired-toggle-marks, dired-mark-files-containing-regexp)
3729 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
3730 (dired-flag-auto-save-files, dired-flag-backup-files):
3732 (dired-mark-files-regexp, dired-build-subdir-alist):
3733 Use `string-match-p', `looking-at-p'.
3735 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
3736 (direct-print-region-helper): Use `string-match-p'.
3738 2013-06-21 Leo Liu <sdl.web@gmail.com>
3740 * comint.el (comint-redirect-results-list-from-process):
3743 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3745 * net/eww.el (eww-update-header-line-format): Quote % characters.
3747 2013-06-21 Glenn Morris <rgm@gnu.org>
3749 * play/cookie1.el (cookie): New custom group.
3750 (cookie-file): New option.
3751 (cookie-check-file): New function.
3752 (cookie): Make it interactive. Make start and end messages optional.
3753 Interactively, display the result. Default to cookie-file.
3754 (cookie-insert): Default to cookie-file.
3755 (cookie-snarf): Make start and end messages optional.
3756 Default to cookie-file. Use with-temp-buffer.
3757 (cookie-read): Rename from read-cookie.
3758 Make start and end messages optional. Default to cookie-file.
3759 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
3761 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
3762 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
3764 2013-06-21 Leo Liu <sdl.web@gmail.com>
3766 * progmodes/octave.el (octave-mode): Backward compatibility fix.
3768 2013-06-21 Glenn Morris <rgm@gnu.org>
3770 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
3772 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3773 Daniel Hackney <dan@haxney.org>
3775 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
3776 Consolidate the single-file vs tarball code.
3777 (package-desc-suffix): New function.
3778 (package-desc-full-name): Don't bother inlining it.
3779 (package-load-descriptor): Return the new package-desc.
3780 (package-mark-obsolete): Remove unused arg `package'.
3781 (package-unpack): Make it work for single files as well.
3782 Make it update package-alist.
3783 (package--make-autoloads-and-stuff): Rename from
3784 package--make-autoloads-and-compile. Don't compile any more.
3785 (package--compile): New function.
3786 (package-generate-description-file): New function, extracted from
3787 package-unpack-single.
3788 (package-unpack-single): Remove.
3789 (package--with-work-buffer): Add indentation and debugging info.
3790 (package-download-single): Remove.
3791 (package-install-from-archive): Rename from package-download-tar, make
3792 it take a pkg-desc, and make it work for single files as well.
3793 (package-download-transaction): Simplify.
3794 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
3795 external tar program.
3796 (package-install-from-buffer): Remove `pkg-desc' argument.
3797 Use package-tar-file-info for tar-mode buffers.
3798 (package-install-file): Simplify accordingly.
3799 (package-archive-base): Change to take a pkg-desc.
3800 * tar-mode.el (tar--check-descriptor): New function, extracted from
3802 (tar-get-descriptor): Use it.
3803 (tar-get-file-descriptor): New function.
3804 (tar--extract): New function, extracted from tar-extract.
3805 (tar--extract): Use it.
3806 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
3807 case the summary uses non-ascii. Adjust to new calling convention of
3808 package-tar-file-info.
3810 2013-06-21 Leo Liu <sdl.web@gmail.com>
3812 * comint.el (comint-redirect-results-list-from-process):
3813 Fix random delay. (Bug#14681)
3815 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3817 * profiler.el (profiler-format-number): Use log, not log10.
3819 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3821 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
3823 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3825 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
3826 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
3828 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
3829 (AUTOGENEL): ... here.
3830 * emacs-lisp/cl-macs.el (cl--sublis): New function.
3831 (cl--defsubst-expand): Use it.
3833 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
3835 * subr.el (log10): Move here from C code, and declare as obsolete.
3836 All uses of (log10 X) replaced with (log X 10).
3838 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3840 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
3841 Declare with `defvar-local'.
3842 (tabulated-list-use-header-line, tabulated-list-entries)
3843 (tabulated-list-padding, tabulated-list-printer)
3844 (tabulated-list-sort-key): Declare with `defvar-local'.
3845 (tabulated-list-init-header, tabulated-list-print-fake-header):
3848 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
3850 * arc-mode.el (archive-mode): Add `archive-write-file' to
3851 `write-contents-functions' also for remote files. (Bug#14652)
3853 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3855 * cus-edit.el (custom-commands): Fix typos.
3856 (custom-display): Fix tooltip text.
3857 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
3858 Fix typos in docstrings.
3859 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
3860 (custom-unlispify-menu-entry, custom-magic-value-create)
3861 (custom-add-see-also, custom-group-value-create): Use ?\s.
3862 (custom-guess-type, customize-apropos, editable-field)
3863 (custom-face-value-create): Use `string-match-p'.
3864 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
3866 * custom.el (custom-load-symbol): Use `string-match-p'.
3868 * ansi-color.el: Convert to lexical binding.
3869 (ansi-colors): Fix URL.
3870 (ansi-color-context, ansi-color-context-region): Use defvar-local.
3871 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
3872 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
3874 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3876 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
3878 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
3880 2013-06-19 Tom Tromey <tromey@redhat.com>
3882 * net/eww.el (eww-top-url): Remove.
3883 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
3884 (eww-render): Set new variables. Don't set eww-top-url.
3885 (eww-handle-link): Handle "prev", "home", and "contents".
3886 Downcase the rel text.
3887 (eww-top-url): Choose best top URL.
3889 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3891 * net/eww.el: Rewrite to implement form elements "by hand" instead of
3892 relying in widget.el. Using widget.el leads to too many
3893 user interface inconsistencies.
3894 (eww-self-insert): Implement entering commands in text fields.
3895 (eww-process-text-input): New function to make text input field editing
3897 (eww-submit): Rewrite to use the new-style form methods.
3898 (eww-select-display): Display the correct selected item.
3899 (eww-change-select): Implement changing the select value.
3900 (eww-toggle-checkbox): Implement radio/checkboxes.
3901 (eww-update-field): Fix compilation error.
3902 (eww-tag-textarea): Implement <textarea>.
3904 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
3905 we don't shadow mode-specific bindings.
3907 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
3910 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
3912 2013-06-19 Glenn Morris <rgm@gnu.org>
3914 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
3916 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
3918 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
3921 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
3923 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3925 * net/browse-url.el (browse-url-browser-function):
3926 `eww-browse-url' has the right calling signature, `eww' does not.
3928 2013-06-19 Glenn Morris <rgm@gnu.org>
3930 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3931 Only eval autoloaded macros.
3932 (byte-compile-autoload): Only give the macro warning for macros.
3934 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
3935 (ps-underlined-faces): Declare.
3937 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
3938 (speedbar-add-supported-extension): Declare.
3940 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
3941 Don't include a date stamp in the header of the generated file;
3942 it leads to needless differences between output files.
3944 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
3946 * net/secrets.el (secrets-struct-secret-content-type):
3947 Replace check of introspection data by a test call of "CreateItem".
3948 Some servers do not offer introspection.
3950 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
3952 * electric.el (electric-pair-mode): Improve interaction with
3953 electric-layout-mode.
3954 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
3955 (electric-pair-syntax): Use text-mode-syntax-table in comments
3957 (electric-pair--insert): New function.
3958 (electric-pair-post-self-insert-function): Use it and
3959 electric--after-char-pos.
3961 2013-06-19 Leo Liu <sdl.web@gmail.com>
3963 * progmodes/octave.el (octave-help): Fix regexp.
3965 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
3967 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
3968 (shr-table-horizontal-line): Allow nil as a value, and change the
3970 (shr-insert-table-ruler): Respect the nil value.
3972 2013-06-18 Tom Tromey <tromey@barimba>
3974 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3976 (eww-open-file): New defun.
3977 (eww-render): Initialize new variables.
3978 (eww-display-html): Handle "link" and "a".
3979 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
3980 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
3981 (eww-back-url): Rename from eww-previous-url.
3982 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
3985 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
3987 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
3988 Distinguish ternary operator tokens from slash symbol and slash
3991 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
3993 Convert symbol prettification into minor mode and global minor mode.
3995 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
3996 `prog-prettify-symbols', and make a local defvar instead of defcustom.
3997 (prettify-symbols--keywords): Rename from
3998 `prog-prettify-symbols-alist' and make a local defvar.
3999 (prettify-symbols--compose-symbol): Rename from
4000 `prog--prettify-font-lock-compose-symbol'.
4001 (prettify-symbols--make-keywords): Rename from
4002 `prog-prettify-font-lock-symbols-keywords' and simplify.
4003 (prog-prettify-install): Remove.
4004 (prettify-symbols-mode): New minor mode, based on
4005 `prog-prettify-install'.
4006 (turn-on-prettify-symbols-mode): New function.
4007 (global-prettify-symbols-mode): New globalized minor mode.
4009 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4010 * progmodes/cfengine.el (cfengine3-mode):
4011 * progmodes/perl-mode.el (perl-mode): Don't call
4012 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4014 2013-06-18 Juri Linkov <juri@jurta.org>
4016 * files-x.el (modify-file-local-variable-message): New function.
4017 (modify-file-local-variable)
4018 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4019 and call `modify-file-local-variable-message' when it's non-nil.
4020 (add-file-local-variable, delete-file-local-variable)
4021 (add-file-local-variable-prop-line)
4022 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4023 and use it. (Bug#9820)
4025 2013-06-18 Juri Linkov <juri@jurta.org>
4027 * emulation/vi.el (vi-shell-op):
4028 * emulation/vip.el (vip-execute-com, ex-command):
4029 * emulation/viper-cmd.el (viper-exec-bang):
4030 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4031 the call of `shell-command-on-region'. (Bug#14637)
4033 * simple.el (shell-command-on-region): Doc fix.
4035 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4037 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4040 2013-06-18 Glenn Morris <rgm@gnu.org>
4042 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4044 * newcomment.el (comment-search-forward, comment-search-backward):
4045 Doc fix. (Bug#14376)
4047 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4049 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4050 (buffer-face-mode-invoke): Doc fix.
4052 2013-06-18 Matthias Meulien <orontee@gmail.com>
4054 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
4055 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
4057 2013-06-18 Glenn Morris <rgm@gnu.org>
4059 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4060 Replace obsolete function generic-make-keywords with its expansion.
4062 * progmodes/python.el (ffap-alist): Declare.
4064 * textmodes/reftex.el (bibtex-mode-map): Declare.
4066 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4068 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4069 (package-unpack, package-unpack-single): Return the pkg-dir.
4070 (package-download-transaction): Use it to update package-alist.
4072 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4074 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4077 2013-06-17 Juri Linkov <juri@jurta.org>
4079 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4081 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4083 * emacs-lisp/package.el (package-load-descriptor):
4084 Remove `with-syntax-table' call, `read' doesn't need it.
4085 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4087 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4089 * startup.el (command-line): Expand package name returned by
4090 `package--description-file' (bug#14639).
4092 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4094 * emacs-lisp/package.el (package-load-descriptor): Do not call
4095 `emacs-lisp-mode', just use its syntax table.
4097 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4099 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4100 `font-lock-extra-managed-props' if any prettifying keyword is added.
4101 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4102 (prog-mode): Use `setq-local'.
4104 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4106 * international/characters.el (standard-case-table): Set syntax of ?»
4107 and ?« to punctuation.
4109 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
4111 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4112 Save relevant match data before calling `syntax-ppss' (bug#14595).
4114 2013-06-15 Juri Linkov <juri@jurta.org>
4116 * files-x.el (modify-file-local-variable-prop-line): Add local
4117 variables to the end of the existing comment on the first line.
4118 Use `file-auto-mode-skip' to skip interpreter magic line,
4119 and also skip XML declaration.
4121 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4123 * startup.el (package--builtin-versions): New var.
4124 (package-subdirectory-regexp): Remove.
4125 (package--description-file): Hard code its value instead.
4127 * emacs-lisp/package.el: Don't activate packages older than builtin.
4128 (package-obsolete-list): Rename from package-obsolete-alist, and make
4129 it into a simple list of package-desc.
4130 (package-strip-version): Remove.
4131 (package-built-in-p): Use package--builtin-versions.
4132 (package-mark-obsolete): Simplify.
4133 (package-process-define-package): Mark it obsolete if older than the
4135 (package-handle-response): Use line-end-position.
4136 (package-read-archive-contents, package--download-one-archive):
4138 (package--add-to-archive-contents): Skip if older than the builtin or
4140 (package-menu-describe-package): Fix last change.
4141 (package-list-unversioned): New var.
4142 (package-menu--generate): Use it.
4144 * emacs-lisp/autoload.el: Manage package--builtin-versions.
4145 (autoload--insert-text, autoload--insert-cookie-text): New functions.
4146 (autoload-builtin-package-versions): New variable.
4147 (autoload-generate-file-autoloads): Use them.
4148 Remove the list of autoloaded functions/macros from the
4149 (autoload...) comments.
4151 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4153 2013-06-15 Eli Zaretskii <eliz@gnu.org>
4155 * simple.el (line-move-partial): Don't jump to the next screen
4156 line as soon as it becomes visible. Instead, continue enlarging
4157 the vscroll until the portion of a tall screen line that's left on
4158 display is about the height of the frame's default font.
4161 2013-06-15 Glenn Morris <rgm@gnu.org>
4163 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4164 compilation-error-regexp-alist void, or local while let-bound.
4166 * progmodes/make-mode.el (makefile-mode-syntax-table):
4167 Treat "=" as punctuation. (Bug#14614)
4169 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
4171 * help-fns.el (describe-variable):
4172 Add extra line for permanent-local variables.
4174 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
4176 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4177 Add export, import, library. (Bug#9164)
4178 (library): Set indent function.
4180 2013-06-14 Glenn Morris <rgm@gnu.org>
4182 * term/xterm.el (xterm--query):
4183 Stop after first matching handler. (Bug#14615)
4185 2013-06-14 Ivan Kanis <ivan@kanis.fr>
4187 Add support for dired in saveplace.
4188 * dired.el (dired-initial-position-hook): New variable.
4189 (dired-initial-position): Call hook to place cursor position.
4190 * saveplace.el (save-place-to-alist): Add dired position.
4191 (save-place-dired-hook): New function.
4193 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4195 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4196 through a symbol rather than letrec.
4198 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4199 (package-desc): Add `dir' field.
4200 (package-desc-full-name): New function.
4201 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4202 (package-maybe-load-descriptor): Remove.
4203 (package-load-all-descriptors): Just call package-load-descriptor.
4204 (package--disabled-p): New function.
4205 (package-desc-vers, package-desc-doc): Remove aliases.
4206 (package--dir): Remove function.
4207 (package-activate): Check if a package is disabled.
4208 (package-process-define-package): New function, extracted from
4210 (define-package): Turn into a place holder.
4211 (package-unpack-single, package-tar-file-info):
4212 Use package--description-file.
4213 (package-compute-transaction): Use package--disabled-p.
4214 (package-download-transaction): Don't call
4215 package-maybe-load-descriptor since they're all loaded anyway.
4216 (package-install): Change argument to be a pkg-desc.
4217 (package-delete): Use a single pkg-desc argument.
4218 (describe-package-1): Use package-desc-dir instead of package--dir.
4219 Use package-desc property instead of package-symbol.
4220 (package-install-button-action): Adjust accordingly.
4221 (package--push): Rewrite.
4222 (package-menu--print-info): Adjust accordingly. Change the ID format
4224 (package-menu-describe-package, package-menu-get-status)
4225 (package-menu--find-upgrades, package-menu-mark-upgrades)
4226 (package-menu-execute, package-menu--name-predicate):
4228 * startup.el (package--description-file): New function.
4229 (command-line): Use it.
4230 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4231 Use package-desc-version.
4233 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4234 (byte-compile-preprocess): Use it.
4235 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4236 can't quite recognize.
4237 (byte-compile-add-to-list): Remove.
4238 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4239 (cconv-closure-convert): Add assertion.
4241 * emacs-lisp/map-ynp.el: Use lexical-binding.
4242 (map-y-or-n-p): Remove unused vars `tail' and `object'.
4243 Factor out some repeated code.
4245 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4247 * subr.el (with-eval-after-load): New macro.
4248 (eval-after-load): Allow form to be a function.
4249 take advantage of lexical-binding.
4250 (do-after-load-evaluation): Use dolist and adjust to new format.
4251 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4253 2013-06-13 Juri Linkov <juri@jurta.org>
4255 * replace.el (perform-replace): Display "symbol " and other search
4256 modes from `isearch-message-prefix' in the *Help* buffer.
4258 * isearch.el (isearch-query-replace): Add " symbol" and other
4259 possible search modes from `isearch-message-prefix' to the prompt.
4260 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4261 when reading a regexp to collect.
4263 2013-06-13 Juri Linkov <juri@jurta.org>
4265 * isearch.el (word-search-regexp): Match whitespace if the search
4266 string begins or ends in whitespace. The LAX arg is applied to
4267 both ends of the search string. Use `regexp-quote' and explicit
4268 \< and \> instead of \b. Use \` and \' instead of ^ and $.
4269 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4270 boundaries are replaced with symbol boundaries, and characters
4271 between symbols match non-word non-symbol syntax. (Bug#14602)
4273 2013-06-13 Juri Linkov <juri@jurta.org>
4275 * isearch.el (isearch-del-char): Don't exceed the length of
4276 `isearch-string' by the prefix arg. (Bug#14563)
4278 2013-06-13 Juri Linkov <juri@jurta.org>
4280 * isearch.el (isearch-yank-word, isearch-yank-line)
4281 (isearch-char-by-name, isearch-quote-char)
4282 (isearch-printing-char, isearch-process-search-char):
4283 Add optional count prefix arg. (Bug#14563)
4285 * international/isearch-x.el
4286 (isearch-process-search-multibyte-characters):
4287 Add optional count prefix arg.
4289 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4291 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
4292 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
4295 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
4297 * subr.el (set-temporary-overlay-map): Add on-exit argument.
4299 2013-06-13 Glenn Morris <rgm@gnu.org>
4301 * startup.el (tty-handle-args):
4302 Don't just discard "--" and anything after. (Bug#14608)
4304 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
4306 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
4308 Implement changes in Secret Service API. Make it backward compatible.
4309 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
4310 (secrets-create-item): Use it. Prefix properties with interface.
4312 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
4314 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
4315 (term-emulate-terminal): Respect term-suppress-hard-newline.
4317 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
4319 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4320 Only remove a `thumb-file' overlay. (Bug#14548)
4322 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
4324 * mail/reporter.el (reporter-submit-bug-report):
4325 Handle missing package-name. (Bug#14600)
4327 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4329 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
4330 (reftex-citation-prompt, reftex-default-bibliography)
4331 (reftex-bib-or-thebib, reftex-get-bibfile-list)
4332 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4333 (reftex-bib-sort-author, reftex-bib-sort-year)
4334 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
4335 (reftex-extract-bib-entries-from-thebibliography)
4336 (reftex-get-bibkey-default, reftex-get-bib-names)
4337 (reftex-parse-bibtex-entry, reftex-get-bib-field)
4338 (reftex-format-bib-entry, reftex-parse-bibitem)
4339 (reftex-format-bibitem, reftex-do-citation)
4340 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
4341 (reftex-restrict-bib-matches, reftex-extract-bib-file)
4342 (reftex-insert-bib-matches, reftex-format-citation)
4343 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
4344 (reftex-create-bibtex-file): Add docstrings, mostly by converting
4345 existing comments into docstrings.
4347 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4349 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
4351 2013-06-12 Andreas Schwab <schwab@suse.de>
4353 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
4354 for auto-save files.
4356 2013-06-12 Glenn Morris <rgm@gnu.org>
4358 * ido.el (ido-delete-ignored-files): Remove.
4359 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
4360 Go back to calling ido-ignore-item-p directly.
4362 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
4364 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
4366 * ido.el (ido-delete-ignored-files): New function,
4367 split from ido-make-file-list-1.
4368 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
4369 (ido-make-file-list-1): Use ido-delete-ignored-files.
4371 2013-06-12 Leo Liu <sdl.web@gmail.com>
4373 * progmodes/octave.el (inferior-octave-startup)
4374 (inferior-octave-completion-table)
4375 (inferior-octave-track-window-width-change)
4376 (octave-eldoc-function-signatures, octave-help)
4377 (octave-find-definition): Use single quoted strings.
4378 (inferior-octave-startup-args): Change default value.
4379 (inferior-octave-startup): Do not hard code "-i" and
4380 "--no-line-editing".
4381 (inferior-octave-resync-dirs): Add optional arg NOERROR.
4382 (inferior-octave-directory-tracker): Use it.
4383 (octave-goto-function-definition): Robustify.
4384 (octave-help): Support highlighting operators in 'See also'.
4385 (octave-find-definition): Find subfunctions only in Octave mode.
4387 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4389 * help-fns.el (help-fns--compiler-macro): If the handler function is
4390 named, then put a link to it.
4391 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
4392 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
4394 (cl-eval-when): Simplify debug spec.
4395 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
4396 compiler-macro function instead of setting `compiler-macro-file'.
4398 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4400 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
4401 * vc/vc-hooks.el (vc-stay-local): Doc fix.
4403 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4404 Daniel Hackney <dan@haxney.org>
4406 First part of Daniel Hackney's patch to package.el.
4407 * emacs-lisp/package.el: Use defstruct.
4408 (package-desc): New, main struct.
4409 (package--bi-desc, package--ac-desc): New structs, used to describe the
4410 format in external files.
4411 (package-desc-vers): Replace with package-desc-version accessor.
4412 (package-desc-doc): Replace with package-desc-summary accessor.
4413 (package-activate-1): Remove `package' arg since the pkg-vec now
4415 (define-package): Use package-desc-from-define.
4416 (package-unpack-single): Change file-name arg to be a symbol.
4417 (package--add-to-archive-contents): Use package-desc-create and new
4418 accessor functions to package--ac-desc.
4419 (package-buffer-info, package-tar-file-info): Return a package-desc.
4420 (package-install-from-buffer): Remove `type' argument. Change pkg-info
4421 arg to be a package-desc.
4422 (package-install-file): Adjust accordingly. Use \' to match EOS.
4423 (package--from-builtin): New function.
4424 (describe-package-1, package-menu--generate): Use it.
4425 (package--make-autoloads-and-compile): Change name arg to be a symbol.
4426 (package-generate-autoloads): Idem and return the name of the file.
4427 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4428 Change pkg-info arg to be a package-desc.
4429 Use package-make-ac-desc.
4430 (package-upload-file): Use \' to match EOS.
4431 * finder.el (finder-compile-keywords): Use package-make-builtin.
4433 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4435 * vc/vc.el (vc-deduce-fileset): Change error message.
4436 (vc-read-backend): New function.
4437 (vc-next-action): Use it.
4439 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
4441 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
4442 (prolog-font-lock-keywords): Use regexp-opt instead.
4443 Don't manually highlight strings.
4444 (prolog-mode-variables): Simplify comment-start-skip.
4445 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
4447 * emacs-lisp/generic.el (generic--normalise-comments)
4448 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
4449 (generic-mode-set-comments): Use them.
4450 (generic-bracket-support): Use setq-local.
4451 (generic-make-keywords-list): Declare obsolete.
4453 2013-06-11 Glenn Morris <rgm@gnu.org>
4455 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4456 Prettify after setting font-lock-defaults. (Bug#14574)
4458 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
4460 * replace.el (query-replace, occur-read-regexp-defaults-function)
4462 * subr.el (declare-function, number-sequence, local-set-key)
4463 (substitute-key-definition, locate-user-emacs-file)
4464 (with-silent-modifications, split-string, eval-after-load):
4465 Fix typos, remove unneeded backslashes and reflow some docstrings.
4467 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4469 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
4470 default for Elisp files.
4472 2013-06-11 Glenn Morris <rgm@gnu.org>
4474 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
4475 although define-derived-mode was doing this anyway. (Bug#14583)
4477 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
4479 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4480 Fix make-variable-buffer-local call to refer to the correct variable.
4482 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
4484 * eshell/em-term.el (eshell-visual-commands)
4485 (eshell-visual-subcommands, eshell-visual-options):
4486 Add summary line to docstrings. Add cross-references.
4488 2013-06-10 Glenn Morris <rgm@gnu.org>
4490 * epa.el (epa-read-file-name): New function. (Bug#14510)
4491 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
4493 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
4495 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
4496 output redirection to be ignored with visual commands.
4498 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
4500 * eshell/em-term.el (eshell-visual-command-p): New function.
4501 (eshell-term-initialize): Move long lambda to separate function
4502 eshell-visual-command-p.
4503 * eshell/em-dirs.el (eshell-dirs-initialise):
4504 * eshell/em-script.el (eshell-script-initialize):
4505 Add missing #' to lambda.
4507 2013-06-08 Leo Liu <sdl.web@gmail.com>
4509 * progmodes/octave.el (octave-add-log-current-defun): New function.
4510 (octave-mode): Set add-log-current-defun-function.
4511 (octave-goto-function-definition): Do not move point if not found.
4512 (octave-find-definition): Enhance to try subfunctions first.
4514 2013-06-08 Glenn Morris <rgm@gnu.org>
4516 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4517 (byte-compile-backward-char, byte-compile-backward-word):
4518 Improve previous change, to handle non-explicit nil.
4520 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4522 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
4523 (smie--opener/closer-at-point): New function.
4524 (smie--matching-block-data): Use it. Don't match from right after an
4525 opener or right before a closer. Obey smie-blink-matching-inners.
4526 Don't signal a mismatch for repeated inners like "switch..case..case".
4528 2013-06-07 Leo Liu <sdl.web@gmail.com>
4530 * progmodes/octave.el (octave-mode): Set comment-use-global-state
4532 (octave-function-header-regexp): Fix. (Bug#14570)
4533 (octave-help-mode-finish-hook, octave-help-mode-finish):
4534 Remove. Just use temp-buffer-show-hook.
4536 * newcomment.el (comment-search-backward): Revert last change.
4539 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
4541 2013-06-07 Eli Zaretskii <eliz@gnu.org>
4543 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
4544 through xargs, to avoid failure due to MS-Windows limitations on
4545 command-line length.
4547 2013-06-06 Glenn Morris <rgm@gnu.org>
4549 * font-lock.el (lisp-font-lock-keywords-2):
4550 Treat user-error like error.
4552 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4553 (byte-compile-backward-char, byte-compile-backward-word):
4554 Handle explicit nil arguments. (Bug#14565)
4556 2013-06-05 Alan Mackenzie <acm@muc.de>
4558 * isearch.el (isearch-allow-prefix): New user option.
4559 (isearch-other-meta-char): Don't exit isearch when a prefix
4560 argument is typed whilst `isearch-allow-prefix' is non-nil.
4563 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4565 * autorevert.el (auto-revert-notify-handler): Use memq.
4566 Hide assertion failure.
4568 * skeleton.el: Use cl-lib.
4569 (skeleton-further-elements): Use defvar-local.
4570 (skeleton-insert): Use cl-progv.
4572 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4574 * progmodes/prog-mode.el (prog-prettify-symbols)
4575 (prog-prettify-install): Update docstrings.
4577 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4579 * simple.el: Move all the prog-mode code to prog-mode.el.
4580 * progmodes/prog-mode.el: New file.
4581 * loadup.el: Add prog-mode.el.
4583 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4585 * simple.el (prog-prettify-symbols): Add version.
4586 (prog-prettify-install): Add convenience function to prettify symbols.
4588 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
4589 (perl--augmented-font-lock-keywords-1)
4590 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
4591 variables and use it.
4593 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4594 (cfengine3-mode): Remove unneeded variable and use it.
4596 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4597 (lisp--augmented-font-lock-keywords-1)
4598 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
4599 Remove unneeded variables and use it.
4601 2013-06-05 João Távora <joaotavora@gmail.com>
4603 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
4604 to point when opening the connection. (Bug#14380)
4606 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4608 * subr.el (load-history-regexp, load-history-filename-element)
4609 (eval-after-load, after-load-functions, do-after-load-evaluation)
4610 (eval-next-after-load, display-delayed-warnings)
4611 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
4612 definition of save-match-data.
4613 (overriding-local-map): Remove accidental obsolescence declaration.
4615 * emacs-lisp/edebug.el (edebug-result): Move before first use.
4617 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4619 Generalize symbol prettify support to prog-mode and implement it
4620 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
4621 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
4622 (prog--prettify-font-lock-compose-symbol)
4623 (prog-prettify-font-lock-symbols-keywords): New variables and
4624 functions to support symbol prettification.
4625 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4626 (lisp--augmented-font-lock-keywords-1)
4627 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
4628 (lisp--prettify-symbols-alist): Implement prettify of lambda.
4629 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4630 (cfengine3--prettify-symbols-alist, cfengine3-mode):
4631 Implement prettify of -> => :: strings.
4632 * progmodes/perl-mode.el (perl-prettify-symbols)
4633 (perl--font-lock-compose-symbol)
4634 (perl--font-lock-symbols-keywords): Move to prog-mode.
4635 (perl--prettify-symbols-alist): Prettify -> => :: strings.
4636 (perl-font-lock-keywords-1)
4637 (perl-font-lock-keywords-2): Remove explicit prettify support.
4638 (perl--augmented-font-lock-keywords)
4639 (perl--augmented-font-lock-keywords-1)
4640 (perl--augmented-font-lock-keywords-2, perl-mode):
4641 Implement prettify support.
4643 2013-06-05 Leo Liu <sdl.web@gmail.com>
4645 Re-implement smie matching block highlight using
4646 show-paren-data-function. (Bug#14395)
4647 * emacs-lisp/smie.el (smie-matching-block-highlight)
4648 (smie--highlight-matching-block-overlay)
4649 (smie--highlight-matching-block-lastpos)
4650 (smie-highlight-matching-block)
4651 (smie-highlight-matching-block-mode): Remove.
4652 (smie--matching-block-data-cache): New variable.
4653 (smie--matching-block-data): New function.
4654 (smie-setup): Use smie--matching-block-data for
4655 show-paren-data-function.
4657 * progmodes/octave.el (octave-mode-menu): Fix.
4658 (octave-find-definition): Skip garbage lines.
4660 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4662 Fix compilation error with simultaneous dynamic+lexical scoping.
4663 Add warning when a defvar appears after the first let-binding.
4664 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
4665 (byte-compile-close-variables): Initialize it.
4666 (byte-compile--declare-var): New function.
4667 (byte-compile-file-form-defvar)
4668 (byte-compile-file-form-define-abbrev-table)
4669 (byte-compile-file-form-custom-declare-variable): Use it.
4670 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
4671 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
4672 (byte-compile-bind): Handle dynamic bindings that shadow
4674 (byte-compile-unbind): Make arg non-optional.
4675 (byte-compile-let): Simplify.
4676 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
4677 (cconv--analyse-function, cconv-analyse-form): Populate it.
4678 Protect byte-compile-bound-variables to limit the scope of defvars.
4679 (cconv-analyse-form): Add missing rule for (defvar <foo>).
4680 Remove unneeded rule for `declare'.
4682 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
4683 so as to avoid depending on cl-adjoin at run-time.
4684 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
4686 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
4687 (macroexp--warn-and-return): Use it.
4689 2013-06-05 Leo Liu <sdl.web@gmail.com>
4691 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
4693 2013-06-04 Leo Liu <sdl.web@gmail.com>
4695 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
4696 (compilation-auto-jump): Suppress the "Mark set" message to give
4697 way to exit message.
4699 2013-06-04 Alan Mackenzie <acm@muc.de>
4701 Remove faulty optimisation from indentation calculation.
4702 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
4703 search limit based on 2000 characters back from indent-point.
4705 2013-06-03 Tassilo Horn <tsdh@gnu.org>
4707 * eshell/em-term.el (cl-lib): Require `cl-lib'.
4709 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4711 * emacs-lisp/lisp.el: Use lexical-binding.
4712 (lisp--local-variables-1, lisp--local-variables): New functions.
4713 (lisp--local-variables-completion-table): New var.
4714 (lisp-completion-at-point): Use it complete let-bound vars.
4716 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
4717 eagerly (bug#14422).
4719 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
4721 * autorevert.el (auto-revert-notify-enabled)
4722 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4723 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
4724 (auto-revert-notify-handler): Handle also gfilenotify.
4726 * subr.el (file-notify-handle-event): New defun. Replacing ...
4727 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
4730 2013-06-03 Juri Linkov <juri@jurta.org>
4732 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
4733 `M-s h .'. (Bug#14427)
4735 * hi-lock.el (highlight-symbol-at-point): New alias for the new
4736 command `hi-lock-face-symbol-at-point'.
4737 (hi-lock-face-symbol-at-point): New command.
4738 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
4739 (hi-lock-menu): Add `highlight-symbol-at-point'.
4740 (hi-lock-mode): Doc fix.
4742 * isearch.el (isearch-forward-symbol-at-point): New command.
4743 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
4744 (isearch-highlight-regexp): Add a regexp which matches
4745 words/symbols for word/symbol mode.
4747 * subr.el (find-tag-default-bounds): New function with the body
4748 mostly moved from `find-tag-default'.
4749 (find-tag-default): Move most code to `find-tag-default-bounds',
4750 call it and apply `buffer-substring-no-properties' afterwards.
4752 2013-06-03 Tassilo Horn <tsdh@gnu.org>
4754 * eshell/em-term.el (eshell-term-initialize):
4755 Use `cl-intersection' rather than `intersection'.
4757 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
4759 * vc/log-view.el: Doc fix.
4760 (log-view-mode-map): Copy keymap from `special-mode-map'.
4762 2013-06-02 Eric Ludlam <zappo@gnu.org>
4764 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
4765 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
4766 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
4767 (eieio-unbound, eieio-default-superclass)
4768 (eieio--define-field-accessors, method-static, method-before)
4769 (method-primary, method-after, method-num-lists)
4770 (method-generic-before, method-generic-primary)
4771 (method-generic-after, method-num-slots)
4772 (eieio-specialized-key-to-generic-key)
4773 (eieio--check-type, class-v, class-p)
4774 (eieio-class-name, define-obsolete-function-alias)
4775 (eieio-class-parents-fast, eieio-class-children-fast)
4776 (same-class-fast-p, class-constructor, generic-p)
4777 (generic-primary-only-p, generic-primary-only-one-p)
4778 (class-option-assoc, class-option, eieio-object-p)
4779 (class-abstract-p, class-method-invocation-order)
4780 (eieio-defclass-autoload-map, eieio-defclass-autoload)
4781 (eieio-class-un-autoload, eieio-defclass)
4782 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
4783 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
4784 (eieio--defgeneric-init-form, eieio-defgeneric-form)
4785 (eieio-defgeneric-reset-generic-form)
4786 (eieio-defgeneric-form-primary-only)
4787 (eieio-defgeneric-reset-generic-form-primary-only)
4788 (eieio-defgeneric-form-primary-only-one)
4789 (eieio-defgeneric-reset-generic-form-primary-only-one)
4790 (eieio-unbind-method-implementations)
4791 (eieio--defmethod, eieio--typep)
4792 (eieio-perform-slot-validation, eieio-validate-slot-value)
4793 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
4794 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
4795 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
4796 (eieio-slot-name-index, eieio-class-slot-name-index)
4797 (eieio-set-defaults, eieio-initarg-to-attribute)
4798 (eieio-attribute-to-initarg, eieio-c3-candidate)
4799 (eieio-c3-merge-lists, eieio-class-precedence-c3)
4800 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
4801 (eieio-class-precedence-list, eieio-generic-call-methodname)
4802 (eieio-generic-call-arglst, eieio-generic-call-key)
4803 (eieio-generic-call-next-method-list)
4804 (eieio-pre-method-execution-functions, eieio-generic-call)
4805 (eieio-generic-call-primary-only, eieiomt-method-list)
4806 (eieiomt-optimizing-obarray, eieiomt-install)
4807 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
4808 (eieio-generic-form, eieio-defmethod, make-obsolete)
4809 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
4810 (defclass): Remove `eval-and-compile' from macro.
4811 (call-next-method, shared-initialize): Instead of using
4812 `scoped-class' variable, use new eieio--scoped-class, and
4813 eieio--with-scoped-class.
4814 (initialize-instance): Rename local variable 'scoped-class' to
4815 'this-class' to remove ambiguitity from old global.
4817 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
4819 (eieio--scoped-class-stack): New variable.
4820 (eieio--scoped-class): New fcn.
4821 (eieio--with-scoped-class): New scoping macro.
4822 (eieio-defclass): Use pushnew instead of add-to-list.
4823 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
4824 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
4825 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
4826 `scoped-class' variable, use new eieio--scoped-class, and
4827 eieio--with-scoped-class.
4829 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
4831 2013-06-02 Tassilo Horn <tsdh@gnu.org>
4833 * eshell/esh-ext.el (eshell-external-command): Pass args to
4834 `eshell-find-interpreter'.
4835 (eshell-find-interpreter): Add new second parameter ARGS.
4837 * eshell/em-script.el (eshell-script-initialize): Add second arg
4838 to the function added as MATCH to `eshell-interpreter-alist'.
4840 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
4841 the function added as MATCH to `eshell-interpreter-alist'.
4843 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
4844 (eshell-visual-options): New defcustom.
4845 (eshell-escape-control-x): Adapt docstring.
4846 (eshell-term-initialize): Test `eshell-visual-subcommands' and
4847 `eshell-visual-options' in addition to `eshell-visual-commands'.
4848 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
4850 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
4852 * progmodes/python.el (python-indent-block-enders): Add break,
4853 continue and raise keywords.
4855 2013-06-01 Glenn Morris <rgm@gnu.org>
4857 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
4859 Plain (f)boundp silences compilation warnings since Emacs 22.1.
4860 * progmodes/cc-cmds.el (delete-forward-p):
4861 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
4862 * progmodes/cc-engine.el (buffer-syntactic-context):
4863 * progmodes/cc-fonts.el (face-property-instance):
4864 * progmodes/cc-mode.el (set-keymap-parents):
4865 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
4866 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
4867 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
4868 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
4869 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
4871 * progmodes/cc-vars.el (other): Emacs has this widget since
4872 at least 21.1, so don't (re)define it.
4874 * eshell/em-cmpl.el (eshell-cmpl-initialize):
4875 Replace the obsolete alias pcomplete-arg-quote-list.
4877 2013-06-01 Leo Liu <sdl.web@gmail.com>
4879 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
4881 (inferior-octave-minimal-columns)
4882 (inferior-octave-last-column-width): New variables.
4883 (inferior-octave-track-window-width-change): New function.
4884 (inferior-octave-mode): Adjust column width so that Octave output,
4885 for example from 'ls', can fit into the window nicely.
4887 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4889 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4890 Highlight expansions inside regexp literals.
4892 2013-05-31 Glenn Morris <rgm@gnu.org>
4894 * obsolete/sym-comp.el (symbol-complete):
4895 Replace obsolete completion-annotate-function.
4897 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
4899 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4901 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4902 New function, checks if point is inside a literal that allows
4903 expression expansion.
4904 (ruby-syntax-propertize-expansion): Use it.
4905 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
4908 2013-05-30 Juri Linkov <juri@jurta.org>
4910 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
4912 (isearch-invisible): New variable.
4913 (isearch-forward): Doc fix.
4914 (isearch-mode): Set `isearch-invisible'
4915 to the value of `search-invisible'.
4916 (isearch-toggle-case-fold): Doc fix.
4917 (isearch-toggle-invisible): New command.
4918 (isearch-query-replace): Let-bind `search-invisible'
4919 to the value of `isearch-invisible'.
4920 (isearch-search): Use `isearch-invisible' instead of
4921 `search-invisible'. Let-bind `search-invisible'
4922 to the value of `isearch-invisible'. (Bug#11378)
4924 2013-05-30 Juri Linkov <juri@jurta.org>
4926 * replace.el (perform-replace): Avoid `isearch-range-invisible'
4927 call when `query-flag' is nil and `search-invisible' is non-nil.
4930 2013-05-30 Glenn Morris <rgm@gnu.org>
4932 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
4934 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
4935 (cc-require): Suppress spurious "noruntime" warnings.
4936 (cc-require-when-compile): Use fboundp, for sake of compiler.
4938 * progmodes/cc-mode.el: Move load of cc-vars before that of
4939 cc-langs (which in turn loads cc-vars), to quieten compiler.
4941 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4943 * paren.el: Simplify the code.
4944 (show-paren-mode): Always start the timer.
4945 (show-paren--idle-timer): Rename from show-paren-idle-timer.
4946 (show-paren--overlay, show-paren--overlay-1): Rename from
4947 show-paren-overlay and show-paren-overlay-1, and initialize to an
4948 overlay rather than to nil.
4949 (show-paren-function): Misc cleanup and simplifications.
4951 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4953 * paren.el (show-paren-data-function): New hook.
4954 (show-paren--default): New function, extracted from show-paren-function.
4955 (show-paren-function): Use show-paren-data-function.
4957 2013-05-30 Glenn Morris <rgm@gnu.org>
4959 * ielm.el (ielm-map, ielm-complete-symbol):
4960 Use completion-at-point rather than obsolete functions.
4961 (inferior-emacs-lisp-mode): Doc fix.
4962 Set completion-at-point-functions, rather than
4963 comint-dynamic-complete-functions.
4965 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
4966 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
4967 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
4969 * image.el (image-animated-p): Tweak definition.
4971 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
4972 (rlogin-process-connection-type): Tweak default. Add set-after.
4973 (rlogin-host): Doc fix.
4974 (rlogin): Tweak prompt.
4975 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
4977 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
4978 * progmodes/tcl.el (inferior-tcl-mode-map):
4979 Use completion-at-point rather than obsolete alias.
4981 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
4983 * minibuffer.el (read-file-name-completion-ignore-case):
4984 Move before completion--in-region, for eager macro expansion.
4986 2013-05-29 Juri Linkov <juri@jurta.org>
4988 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
4989 for total count of matching lines. Add `global-matches' for total
4990 count of matches. Rename `matches' to `lines' for count of
4991 matching lines. Add `matches' for count of matches.
4992 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
4993 to `prev-line' for line number of prev match endpt.
4994 Increment `matches' for every match. Print the number of
4995 matching lines in the header.
4996 (occur-context-lines): Rename `lines' to `curr-line'.
4997 Rename `prev-lines' to `prev-line'. (Bug#14017)
4999 2013-05-29 Juri Linkov <juri@jurta.org>
5001 * replace.el (perform-replace): Add `skip-read-only-count',
5002 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5003 Increment them for corresponding conditions and report the number
5004 of skipped occurrences in the final message. (Bug#11746)
5005 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5006 (replace-string, replace-regexp): Doc fix.
5008 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5010 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5012 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
5013 prog-mode-map (bug#14504).
5015 2013-05-29 Leo Liu <sdl.web@gmail.com>
5017 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5018 (octave-help): Small simplification.
5020 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5021 off the highlight first.
5023 2013-05-29 Glenn Morris <rgm@gnu.org>
5025 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5026 Handle idlwave-last-system-routine-info-cons-cell being nil.
5028 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5029 (idlwave-write-paths): Simplify via with-temp-buffer.
5031 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5032 * emulation/cua-rect.el: Also load cua-base at run time.
5034 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5035 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5036 (cperl-imenu-on-info): Require imenu.
5038 2013-05-28 Alan Mackenzie <acm@muc.de>
5040 Handle "capitalised keywords" correctly.
5041 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
5043 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
5045 * eshell/em-unix.el: Add -r option to cp.
5047 2013-05-28 Glenn Morris <rgm@gnu.org>
5049 * vc/vc-arch.el (vc-exec-after): Declare.
5050 (vc-switches): Autoload.
5051 * vc/vc-bzr.el: No need to require vc when compiling.
5052 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5053 (vc-resynch-buffer, vc-dir-refresh): Declare.
5054 (vc-setup-buffer, vc-switches): Autoload.
5055 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5056 (vc-resynch-buffer): Declare.
5057 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
5058 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
5059 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5060 (grep-read-regexp, grep-read-files, grep-expand-template)
5061 (vc-dir-refresh): Declare.
5062 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5063 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5064 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
5065 * vc/vc-mtn.el (vc-exec-after): Declare.
5066 (vc-switches): Autoload.
5067 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5068 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5069 (vc-file-tree-walk): Declare.
5070 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5071 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5072 (vc-tag-precondition, vc-rename-master): Autoload.
5073 * vc/vc-svn.el (vc-exec-after): Declare.
5074 (vc-switches, vc-setup-buffer): Autoload.
5075 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5077 (vc-resynch-buffer): Declare.
5079 * obsolete/fast-lock.el (byte-compile-warnings):
5080 Don't warn about obsolete features in this obsolete file.
5082 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5083 Move definition before use.
5085 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5086 (dun-unix-verbs): Remove dun-zippy.
5087 (dun-zippy): Remove function.
5089 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5091 2013-05-27 Juri Linkov <juri@jurta.org>
5093 * replace.el (replace-search): New function with code moved out
5094 from `perform-replace'.
5095 (replace-highlight, replace-dehighlight): Move function definitions
5096 up closer to `replace-search'. (Bug#11746)
5098 2013-05-27 Juri Linkov <juri@jurta.org>
5100 * replace.el (perform-replace): Ignore invisible matches.
5101 In addition to checking `query-replace-skip-read-only', also
5102 filter out matches by calling `run-hook-with-args-until-failure'
5103 on `isearch-filter-predicates', and also check `search-invisible'
5104 for t or call `isearch-range-invisible'.
5105 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5107 2013-05-27 Juri Linkov <juri@jurta.org>
5109 * isearch.el (isearch-filter-predicates): Rename from
5110 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5111 (isearch-message-prefix): Display text from the property
5112 `isearch-message-prefix' of the currently active filters.
5113 (isearch-search): Don't compare `isearch-filter-predicate' with
5114 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5115 on `isearch-filter-predicates'. Also check `search-invisible' for t
5116 or call `isearch-range-invisible'.
5117 (isearch-filter-visible): Make obsolete.
5118 (isearch-lazy-highlight-search):
5119 Call `run-hook-with-args-until-failure' on
5120 `isearch-filter-predicates' and use `isearch-range-invisible'.
5122 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5123 `isearch-filter-predicates' instead of `funcall'ing
5124 `isearch-filter-predicate'.
5125 (Info-mode): Set `Info-isearch-filter' to
5126 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5128 * dired-aux.el (dired-isearch-filter-predicate-orig):
5130 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5131 (dired-isearch-filenames-end): Add and remove
5132 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5133 instead of changing the value of `isearch-filter-predicate'.
5134 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5135 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5136 Put property `isearch-message-prefix' to "filename " on
5137 `dired-isearch-filter-filenames'.
5139 * wdired.el (wdired-change-to-wdired-mode):
5140 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5141 locally instead of changing `isearch-filter-predicate'.
5142 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5144 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
5146 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5147 return the commit hash (Bug#14459). Also set the
5148 `vc-git-detached' property.
5149 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5150 (vc-git-mode-line-string): Use the same help-echo format whether
5151 in detached mode or not, because we know the actual revision now.
5152 When in detached mode, shorten the revision to 7 chars.
5154 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5156 * emacs-lisp/easy-mmode.el (define-minor-mode):
5157 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5158 mode hook and provide a docstring.
5160 2013-05-27 Alan Mackenzie <acm@muc.de>
5162 Remove spurious syntax-table text properties inserted by C-y.
5163 * progmodes/cc-mode.el (c-after-change): Also clear hard
5164 syntax-table property with value nil.
5166 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
5168 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5169 when reading the events; the buffer layout shall not be changed.
5171 2013-05-27 Leo Liu <sdl.web@gmail.com>
5173 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5175 (inferior-octave-directory-tracker): Automatically re-sync
5177 (octave-help): Improve handling of 'See also'.
5179 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5181 * doc-view.el: Minor naming convention tweaks.
5182 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5184 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5185 even if there's no `display' property yet (bug#14435).
5187 2013-05-25 Eli Zaretskii <eliz@gnu.org>
5189 * subr.el (unmsys--file-name): Rename from reveal-filename.
5191 * Makefile.in (custom-deps, finder-data, autoloads)
5192 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5193 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5194 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5196 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5198 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5199 error-completion on the first 2 args of condition-case (bug#14446).
5202 2013-05-25 Leo Liu <sdl.web@gmail.com>
5204 * comint.el (comint-previous-matching-input): Do not flood the
5205 *Messages* buffer with trivial messages.
5207 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5209 * progmodes/flymake.el (flymake-nop): Don't return a string.
5210 (flymake-set-at): Fix typo.
5212 * simple.el (read--expression): New function, extracted from
5213 eval-expression. Set completion-at-point-functions (bug#14465).
5214 (eval-expression, eval-minibuffer): Use it.
5216 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5218 * progmodes/flymake.el (flymake-save-buffer-in-file)
5219 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5220 (flymake-selected-frame, flymake-log, flymake-ins-after)
5221 (flymake-set-at, flymake-get-buildfile-from-cache)
5222 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5223 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5224 Refine the doc string.
5225 (flymake-get-file-name-mode-and-masks): Reformat.
5226 (flymake-get-real-file-name-function): Fix a minor bug.
5228 2013-05-24 Juri Linkov <juri@jurta.org>
5230 * progmodes/grep.el (grep-mode-font-lock-keywords):
5231 Support =linenumber= format used by git-grep for lines with
5232 function names. (Bug#13549)
5234 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5236 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5237 0 after a semi-colon; it works better for smie-auto-fill.
5238 (octave--indent-new-comment-line): New function.
5239 (octave-indent-new-comment-line): Use it (indirectly).
5240 (octave-mode): Don't disable smie-auto-fill. Use add-function to
5241 modify comment-line-break-function.
5243 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5244 (smie-setup): Use add-function to set it.
5246 2013-05-24 Sam Steingold <sds@gnu.org>
5248 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5249 argument (before the `interactive' argument).
5251 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5253 * image-mode.el (image-mode-winprops): Add winprops to
5254 image-mode-winprops-alist before running
5255 image-mode-new-window-functions.
5256 * doc-view.el (doc-view-new-window-function): Don't delay
5257 doc-view-goto-page via timers (bug#14435).
5259 2013-05-24 Tassilo Horn <tsdh@gnu.org>
5261 * doc-view.el: Integrate with desktop.el. (Bug#14435)
5262 (doc-view-desktop-save-buffer): New function.
5263 (doc-view-restore-desktop-buffer): New function.
5264 (desktop-buffer-mode-handlers):
5265 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
5267 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5268 `desktop-save-buffer' function.
5270 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
5272 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
5273 (tramp-gvfs-file-name-handler): Raise a user error when
5274 `tramp-gvfs-enabled' is nil.
5275 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
5276 Do not raise a user error when loading package. (Bug#14447)
5278 * net/xesam.el: Move to obsolete/.
5280 2013-05-24 Glenn Morris <rgm@gnu.org>
5282 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
5284 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
5286 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
5287 (Info-find-node, Man-getpage-in-background): Declare.
5289 * mail/unrmail.el (unrmail):
5290 Replace obsolete detect-coding-with-priority.
5292 * net/socks.el (socks-split-string): Use this rather than split-string.
5293 (socks-nslookup-host): Update for above change.
5294 (dynamic-choice, s5-dynamic-choice-match)
5295 (s5-dynamic-choice-match-inline, s5-widget-value-create):
5296 Comment out unused code.
5298 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
5299 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
5300 (gud-tooltip-echo-area): Make obsolete.
5301 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
5303 * progmodes/js.el (js--optimize-arglist): Declare.
5305 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
5307 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
5308 (ediff-window-C): Declare.
5310 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
5311 Tweak requires to silence compiler.
5313 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
5314 (he-search-string, he-tried-table, he-expand-list)
5315 (he-init-string, he-string-member, he-substitute-string)
5316 (he-reset-string): Declare.
5318 * obsolete/options.el (list-options): Use custom-variable-p,
5319 rather than obsolete alias.
5321 2013-05-23 Sam Steingold <sds@gnu.org>
5323 * simple.el (shell-command-on-region): Pass the `replace' argument
5324 down to `call-process-region' to comply with the doc as reported on
5325 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
5327 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5329 * emacs-lisp/smie.el (smie-indent-forward-token)
5330 (smie-indent-backward-token): Handle string tokens (bug#14381).
5332 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5334 * ielm.el (ielm-menu): New menu.
5335 (inferior-emacs-lisp-mode): Set comment-start.
5337 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5339 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
5340 Fix deactivate action.
5342 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
5343 Add cleveref macros.
5345 * lisp/textmodes/reftex-parse.el
5346 (reftex-locate-bibliography-files): Accept options for
5347 bibliography commands.
5348 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
5349 Add addbibresource. Basic Biblatex support.
5351 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
5353 * net/tramp-gvfs.el (top):
5354 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
5355 when loading package. (Bug#14447)
5357 2013-05-23 Glenn Morris <rgm@gnu.org>
5359 * progmodes/js.el: No need to load comint when compiling.
5360 (ring-insert, comint-send-string, comint-send-input)
5361 (comint-last-input-end, ido-chop): Declare.
5363 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
5364 * vc/ediff-mult.el: Adjust requires.
5365 (ediff-directories-internal, ediff-directory-revisions-internal)
5366 (ediff-patch-file-internal): Declare.
5367 * vc/ediff-ptch.el: Adjust requires.
5368 (ediff-use-last-dir, ediff-buffers-internal): Declare.
5369 (ediff-find-file): Autoload.
5370 * vc/ediff-util.el: No need to load ediff when compiling.
5371 (ediff-regions-internal): Declare.
5372 * vc/ediff-wind.el: Adjust requires.
5373 (ediff-compute-toolbar-width): Define when compiling.
5374 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
5375 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
5376 (dired-get-filename, dired-get-marked-files)
5377 (ediff-last-dir-patch, ediff-patch-default-directory)
5378 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
5379 (ediff-patch-buffer-internal): Declare.
5381 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
5382 (ispell-process, ispell-buffer-local-words, lm-summary)
5383 (lm-section-start, lm-section-end): Declare.
5384 (checkdoc-ispell-init): Simplify.
5386 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
5387 (he-string-member, he-reset-string, he-substitute-string): Declare.
5389 * eshell/em-ls.el: Adjust requires.
5390 (eshell-glob-regexp): Declare.
5391 * eshell/em-tramp.el: Adjust requires.
5392 (eshell-parse-command): Autoload.
5393 * eshell/em-xtra.el: Adjust requires.
5394 (eshell-parse-command): Autoload.
5395 * eshell/esh-ext.el: Adjust requires.
5396 (eshell-parse-command, eshell-close-handles): Autoload.
5397 * eshell/esh-io.el: Adjust requires.
5398 (eshell-output-filter): Autoload.
5399 * eshell/esh-util.el: No need to load tramp when compiling.
5400 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
5402 (eshell-parse-ange-ls): Require ange-ftp and tramp.
5403 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5404 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
5405 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
5406 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
5407 * eshell/esh-opt.el, eshell/esh-proc.el:
5408 * eshell/esh-var.el: Adjust requires.
5409 * eshell/eshell.el: Do not require esh-util twice.
5410 (eshell-add-input-to-history): Declare.
5411 (eshell-command): Check history module is active before using it.
5413 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
5415 2013-05-22 Leo Liu <sdl.web@gmail.com>
5417 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
5419 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
5421 * autorevert.el (auto-revert-notify-add-watch)
5422 (auto-revert-notify-handler): Add `attrib' for the inotify case,
5423 it indicates changes in file modification time.
5425 2013-05-22 Glenn Morris <rgm@gnu.org>
5427 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5428 Always delete the autoloaded function from the noruntime and
5429 unresolved functions lists.
5431 * allout.el: No need to load epa, epg, overlay when compiling.
5432 (epg-context-set-passphrase-callback, epg-list-keys)
5433 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
5434 (epg-key-user-id-list): Declare.
5436 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5437 (viper-set-parsing-style-toggling-macro)
5438 (viper-set-emacs-state-searchstyle-macros):
5439 Use called-interactively-p on Emacs.
5440 (viper-looking-back): Make it an obsolete alias. Update callers.
5441 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
5442 Use looking-back rather than viper-looking-back.
5443 (viper-tmp-insert-at-eob, viper-enlarge-region)
5444 (viper-read-string-with-history, viper-register-to-point)
5445 (viper-append-to-register, viper-change-state-to-vi)
5446 (viper-backward-char-carefully, viper-forward-char-carefully)
5447 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
5448 (viper-change-state-to-emacs): Declare.
5449 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
5450 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
5451 * emulation/viper-mous.el: Do not load viper-cmd.
5452 (viper-backward-char-carefully, viper-forward-char-carefully)
5453 (viper-forward-word, viper-adjust-window): Declare.
5455 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
5457 * progmodes/idlw-help.el (idlwave-help-fontify):
5458 Use called-interactively-p.
5460 * term/w32console.el (w32-get-console-codepage)
5461 (w32-get-console-output-codepage): Declare.
5463 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
5464 Remove unnecessary declarations.
5465 (dframe-message): Doc fix.
5467 * info.el (dframe-select-attached-frame, dframe-current-frame):
5470 * speedbar.el (speedbar-message): Make it an obsolete alias.
5472 (speedbar-with-attached-buffer)
5473 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
5474 (speedbar-with-writable): Use backquote.
5475 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
5476 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5477 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
5478 rather than speedbar- aliases.
5479 * mail/rmail.el: Load dframe rather than speedbar when compiling.
5480 (speedbar-make-specialized-keymap, speedbar-insert-button)
5481 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
5482 (speedbar-do-function-pointer): Declare.
5483 (rmail-speedbar-button, rmail-speedbar-find-file)
5484 (rmail-speedbar-move-message):
5485 Use dframe-with-attached-buffer rather than speedbar- alias.
5486 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
5487 (dframe-message, speedbar-make-specialized-keymap)
5488 (speedbar-add-expansion-list, speedbar-mode-functions-list)
5489 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
5490 (speedbar-insert-button, dframe-select-attached-frame)
5491 (dframe-maybee-jump-to-attached-frame)
5492 (speedbar-change-initial-expansion-list)
5493 (speedbar-previously-used-expansion-list-name): Declare.
5494 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
5495 Use dframe-message, dframe-with-attached-buffer rather than
5497 (gud-sentinel): Silence compiler.
5498 * progmodes/vhdl-mode.el (speedbar-refresh)
5499 (speedbar-do-function-pointer, speedbar-add-supported-extension)
5500 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
5501 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
5502 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
5503 (speedbar-file-lists, speedbar-make-tag-line)
5504 (speedbar-line-directory, speedbar-goto-this-file)
5505 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
5506 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
5507 (speedbar-make-button, speedbar-reset-scanners)
5508 (speedbar-files-item-info, speedbar-line-text)
5509 (speedbar-find-file-in-frame, speedbar-set-timer)
5510 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
5511 (speedbar-with-writable): Do not (re)define it.
5512 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
5513 rather than speedbar- alias.
5515 2013-05-21 Leo Liu <sdl.web@gmail.com>
5517 * progmodes/octave.el (octave-mode-menu): Update and re-organize
5519 (octave-mode): Tweak fill-nobreak-predicate.
5520 (inferior-octave-startup): Check process to avoid infinite loop.
5521 (inferior-octave): Pop to buffer first to show abornmal process
5524 2013-05-21 Glenn Morris <rgm@gnu.org>
5526 * printing.el (pr-menu-bar): Define when compiling.
5528 2013-05-21 Leo Liu <sdl.web@gmail.com>
5530 * progmodes/octave.el (octave-auto-fill): Remove.
5531 (octave-indent-new-comment-line): Improve.
5532 (octave-mode): Use auto fill mode through
5533 comment-line-break-function and fill-nobreak-predicate.
5534 (octave-goto-function-definition): Support DEFUN_DLD.
5535 (octave-beginning-of-defun): Small tweak.
5536 (octave-help): Show parent directory.
5538 2013-05-21 Glenn Morris <rgm@gnu.org>
5540 * files.el (dired-unmark):
5541 * progmodes/gud.el (gdb-input): Update declarations.
5543 * calculator.el (electric, ehelp): No need to load when compiling.
5544 (Electric-command-loop, electric-describe-mode): Declare.
5546 * doc-view.el (doc-view-current-converter-processes): Move before use.
5548 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5549 Move MODE-set-explicitly definition before use.
5551 * international/mule-diag.el (mule-diag):
5552 Don't use obsolete window-system-version.
5554 * mail/feedmail.el (smtpmail): No need to load when compiling.
5555 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
5557 * mail/mail-utils.el (rfc822): No need to load when compiling.
5558 (rfc822-addresses): Autoload it.
5559 (mail-strip-quoted-names): Trivial simplification.
5561 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
5562 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
5564 * net/snmp-mode.el (tempo): Don't duplicate requires.
5566 * progmodes/prolog.el (info): No need to load when compiling.
5567 (comint): Require before shell requires it.
5568 (Info-goto-node): Autoload it.
5569 (Info-follow-nearest-node): Declare.
5570 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
5572 * textmodes/artist.el (picture-mode-exit): Declare.
5574 * textmodes/reftex-parse.el (reftex-parse-from-file):
5575 Trivial rewrite so the compiler can parse it better.
5577 2013-05-20 Leo Liu <sdl.web@gmail.com>
5579 * progmodes/octave.el (octave-help-mode-map)
5580 (octave-help-mode-finish-hook): New variables.
5581 (octave-help-mode, octave-help-mode-finish): New functions.
5582 (octave-help): Use octave-help-mode.
5584 2013-05-20 Glenn Morris <rgm@gnu.org>
5586 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
5588 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
5590 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
5591 start at point, so that expansion starting right after opening
5592 slash in a regexp is recognized.
5593 (ruby-syntax-before-regexp-re): New defvar, extracted from
5594 ruby-syntax-propertize-function. Since the value of this regexp
5595 is looked up at runtime now, we should be able to turn
5596 `ruby-syntax-methods-before-regexp' into a defcustom later.
5597 (ruby-syntax-propertize-function): Split regexp matching into two
5598 parts, for opening and closing slashes. That allows us to skip
5599 over string interpolations and support multiline regexps.
5600 Don't call `ruby-syntax-propertize-expansions', instead use another rule
5601 for them, which calls `ruby-syntax-propertize-expansion'.
5602 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
5603 call to `ruby-syntax-propertize-function'.
5604 (ruby-syntax-propertize-expansion): Extracted from
5605 `ruby-syntax-propertize-expansions'. Handles one expansion.
5606 (ruby-syntax-propertize-percent-literal): Leave point right after
5607 the percent symbol, so that the expression expansion rule can
5608 propertize the contents.
5609 (ruby-syntax-propertize-heredoc): Leave point at bol following the
5611 (ruby-syntax-propertize-expansions): Remove.
5613 2013-05-18 Juri Linkov <juri@jurta.org>
5615 * man.el (Man-default-man-entry): Remove `-' from the end
5616 of the default value. (Bug#14400)
5618 2013-05-18 Glenn Morris <rgm@gnu.org>
5620 * comint.el (comint-password-prompt-regexp):
5621 Allow "password for XXX" where XXX contains colons (eg https://...).
5623 2013-05-18 Leo Liu <sdl.web@gmail.com>
5625 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
5626 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5627 (octave-source-directories): Don't check process.
5628 (octave-source-directories, octave-find-definition): Doc fix.
5630 2013-05-18 Glenn Morris <rgm@gnu.org>
5632 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
5633 Remove backspace/delete bindings. (Bug#14392)
5635 * cus-dep.el (custom-make-dependencies): Sort the output.
5636 (custom-versions-load-alist): Convert comment to doc.
5638 2013-05-17 Leo Liu <sdl.web@gmail.com>
5640 * newcomment.el (comment-search-backward): Stricter in finding
5641 comment start. (Bug#14303)
5643 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
5644 (octave-comment-start-skip): Properly anchored.
5646 2013-05-17 Leo Liu <sdl.web@gmail.com>
5648 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
5649 Clean up when turned off. (Bug#14395)
5650 (smie--highlight-matching-block-overlay): No longer buffer-local.
5651 (smie-highlight-matching-block): Adjust.
5653 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
5655 Doc string fix for "nanoseconds" (Bug#14406).
5656 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
5657 Fix doc string typo that had "nanoseconds" instead of "microseconds".
5659 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5661 * calc/calc-units.el (math-extract-units): Preserve powers
5664 2013-05-17 Leo Liu <sdl.web@gmail.com>
5666 * subr.el (delete-consecutive-dups): New function.
5667 * ido.el (ido-set-matches-1): Use it.
5668 * progmodes/octave.el (inferior-octave-completion-table): Use it.
5669 * ido.el (ido-remove-consecutive-dups): Remove.
5671 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5673 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5674 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
5675 regexp-opt's `words'.
5677 2013-05-16 Leo Liu <sdl.web@gmail.com>
5679 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
5680 (smie--highlight-matching-block-overlay)
5681 (smie--highlight-matching-block-lastpos)
5682 (smie--highlight-matching-block-timer): New variables.
5683 (smie-highlight-matching-block): New function.
5684 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
5685 (smie-setup): Conditionally enable smie-blink-matching-open.
5687 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
5689 Sync with upstream verilog-mode r840.
5690 * progmodes/verilog-mode.el (verilog-mode-version)
5691 (verilog-mode-release-date): Update.
5692 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
5693 (verilog-sig-tieoff): Fix string error on
5694 AUTORESET with colon define, bug594. Reported by Andrew Hou.
5695 (verilog-read-decls): Fix parameters confusing
5696 AUTOINST interfaces, bug565. Reported by Leith Johnson.
5698 2013-05-16 Eli Zaretskii <eliz@gnu.org>
5700 * subr.el (reveal-filename): New function.
5702 * loadup.el: Compute Emacs executable versions on MS-Windows,
5703 where executables have the .exe extension. Add a hard link
5704 emacs-XX.YY.ZZ.exe on MS-Windows.
5706 * Makefile.in (XARGS_LIMIT): New variable.
5707 (custom-deps, finder-data, autoloads)
5708 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5709 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5710 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
5711 (compile-main): Limit xargs according to $(XARGS_LIMIT).
5713 2013-05-16 Leo Liu <sdl.web@gmail.com>
5715 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
5716 (octave-mode-menu, octave-mode-map): Remove its uses.
5718 2013-05-16 Reto Zimmermann <reto@gnu.org>
5720 Sync with upstream vhdl mode v3.34.2.
5721 * progmodes/vhdl-mode.el: Use `push' throughout.
5722 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
5723 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
5724 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
5725 (vhdl-actual-generic-name): New option to derive actual generic name.
5726 (vhdl-port-paste-signals): Replace formal by actual generics.
5727 (vhdl-beautify): New name for old group vhdl-align. Update users.
5728 (vhdl-beautify-options): New option.
5729 (vhdl-last-input-event): New compat alias. Use throughout.
5730 (vhdl-goto-line): Replace user level function `goto-line'.
5731 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
5732 vhdl-fix-statement-buffer.
5733 (vhdl-create-mode-menu): Add some entries.
5734 (vhdl-align-region-groups): Respect vhdl-beautify-options.
5735 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
5736 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
5737 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
5738 to force statements on one line.
5739 (vhdl-remove-trailing-spaces-region):
5740 New, split from vhdl-remove-trailing-spaces.
5741 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
5742 Respect vhdl-beautify-options.
5743 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
5744 (vhdl-update-sensitivity-list): Not add with index if exists without.
5745 Not include array index with signal. Ignore keywords in comments.
5746 (vhdl-get-visible-signals): Regexp tweaks.
5747 (vhdl-template-component-inst): Handle empty library.
5748 (vhdl-template-type): Add template for 'enum' type.
5749 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
5750 Use vhdl-replace-string.
5751 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
5752 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
5753 (vhdl-speedbar-initialize): Update for above name change.
5754 (vhdl-compose-wire-components): Fix in handling of constants.
5755 (vhdl-error-regexp-emacs-alist): New variable.
5756 (vhdl-error-regexp-add-emacs): New function;
5757 adds support for new compile.el (Emacs 22+)
5758 (vhdl-generate-makefile-1): Change target order for single lib. units.
5759 Allow use of absolute file names.
5761 2013-05-16 Leo Liu <sdl.web@gmail.com>
5763 * simple.el (prog-indent-sexp): Indent enclosing defun.
5765 2013-05-15 Glenn Morris <rgm@gnu.org>
5767 * cus-start.el (show-trailing-whitespace): Move to editing basics.
5768 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
5769 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
5770 (whitespace-highlight): Move to whitespace group.
5772 * comint.el (comint-source):
5773 * pcmpl-linux.el (pcmpl-linux):
5774 * shell.el (shell-faces):
5775 * eshell/esh-opt.el (eshell-opt):
5776 * international/ccl.el (ccl): Remove empty custom groups.
5778 * completion.el (dynamic-completion-mode):
5779 * jit-lock.el (jit-lock-debug-mode):
5780 * minibuffer.el (completion-in-region-mode):
5781 * type-break.el (type-break-mode-line-message-mode)
5782 (type-break-query-mode):
5783 * emulation/tpu-edt.el (tpu-edt-mode):
5784 * progmodes/subword.el (global-subword-mode, global-superword-mode):
5785 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5786 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
5788 * term/xterm.el (xterm): Change parent group to terminals.
5790 * master.el (master): Remove empty custom group.
5791 (master-mode): Remove unused :group argument.
5792 * textmodes/refill.el (refill): Remove empty custom group.
5793 (refill-mode): Remove unused :group argument.
5795 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
5797 * cus-dep.el: Provide a feature.
5798 (custom-make-dependencies): Ignore dotfiles (dir-locals).
5799 Don't mistakenly ignore files whose basenames match a basename
5800 from preloaded-file-list (eg cedet/ede/simple.el).
5801 Add a fallback method for getting :group.
5803 2013-05-15 Juri Linkov <juri@jurta.org>
5805 * isearch.el (isearch-char-by-name): Rename from
5806 `isearch-insert-char-by-name'. Doc fix.
5807 (isearch-forward): Mention `isearch-char-by-name' in
5808 the docstring. (Bug#13348)
5810 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
5811 `exit-minibuffer' instead of
5812 `isearch-nonincremental-exit-minibuffer'.
5813 (isearch-edit-string): Remove mention of
5814 `isearch-nonincremental-exit-minibuffer' from docstring.
5815 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
5816 (isearch-forward-exit-minibuffer)
5817 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
5819 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5821 * loadup.el: Just use unversioned DOC.
5823 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
5824 literals as extending to EOB.
5825 (nxml-last-fontify-end): Remove unused variable.
5826 (nxml-after-change1): Use with-silent-modifications.
5827 (nxml-extend-after-change-region): Simplify.
5828 (nxml-extend-after-change-region1): Remove function.
5829 (nxml-after-change1): Don't adjust for dependent regions.
5830 (nxml-fontify-matcher): Simplify.
5831 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
5832 (xmltok-add-dependent): Remove function.
5833 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
5834 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
5835 (xmltok-scan-prolog-after-processing-instruction-open): Treat
5836 unclosed <[[, <?, comment, and other literals as extending to EOB.
5837 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
5838 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
5840 (rng-do-some-validation-1): Don't mark dependent regions.
5841 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
5842 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
5843 (nxml-clear-dependent-regions): Remove functions.
5844 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
5845 (nxml-ensure-scan-up-to-date):
5846 Don't clear&mark dependent regions.
5848 2013-05-15 Leo Liu <sdl.web@gmail.com>
5850 * progmodes/octave.el (octave-goto-function-definition):
5851 Improve and fix callers.
5853 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5855 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
5856 the setter (bug#14387).
5858 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
5859 surrounding group (bug#14402).
5861 2013-05-14 Juri Linkov <juri@jurta.org>
5863 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
5866 2013-05-14 Glenn Morris <rgm@gnu.org>
5868 * progmodes/f90.el (f90-imenu-generic-expression):
5869 Fix typo in 2013-05-08 change. (Bug#14402)
5871 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5873 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
5874 Remove signals for which replies are never received.
5876 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5878 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
5879 (gdb-handler-alist, gdb-handler-number): Remove variables.
5880 (gdb-handler-list): New variable.
5881 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
5882 (gdb-pending-handler-p, gdb-handle-reply)
5883 (gdb-remove-all-pending-triggers): New functions.
5884 (gdb-discard-unordered-replies): New defcustom.
5885 (gdb-handler): New defstruct.
5886 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
5887 instead of gdb-pending-triggers. Update docstring.
5888 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
5889 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
5890 (gdb-var-update-handler, def-gdb-auto-update-trigger)
5891 (def-gdb-auto-update-handler, gdb-get-changed-registers)
5892 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
5893 (gdb-frame-handler): Pending triggers are now automatically managed.
5894 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
5896 (gdb-input): Automatically handles pending triggers. Update docstring.
5897 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
5898 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
5900 (gdb-done-or-error): Now use gdb-handle-reply.
5902 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5904 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
5907 2013-05-14 Glenn Morris <rgm@gnu.org>
5909 * subr.el (user-emacs-directory-warning): New option.
5910 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
5912 2013-05-14 Leo Liu <sdl.web@gmail.com>
5914 * progmodes/octave.el (octave-font-lock-keywords): Fix error
5916 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
5917 (octave-font-lock-texinfo-comment): Fix invalid search bound
5918 error: wrong side of point.
5920 2013-05-14 Glenn Morris <rgm@gnu.org>
5922 * progmodes/flymake.el (flymake-xml-program): New option.
5923 (flymake-xml-init): Use it.
5925 * term/xterm.el: Provide a feature.
5927 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
5929 2013-05-13 Glenn Morris <rgm@gnu.org>
5931 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
5932 Add compat aliases as a hack workaround. (Bug#14384)
5934 2013-05-13 Leo Liu <sdl.web@gmail.com>
5936 * progmodes/octave.el (octave-indent-comment): Fix indentation for
5938 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
5940 (octave-comment-start-skip): Include %!.
5941 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
5943 2013-05-12 Leo Liu <sdl.web@gmail.com>
5945 * progmodes/octave.el (inferior-octave-startup): Store the value
5946 of __octave_srcdir__ for octave-source-directories.
5947 (inferior-octave-check-process): New function refactored out of
5948 inferior-octave-send-list-and-digest.
5949 (octave-source-directories)
5950 (octave-find-definition-filename-function): New variables.
5951 (octave-source-directories)
5952 (octave-find-definition-default-filename): New functions.
5953 (octave-find-definition): Improve to find functions implemented in C++.
5955 2013-05-12 Glenn Morris <rgm@gnu.org>
5957 * calendar/diary-lib.el (diary-outlook-format-1):
5958 Don't include dayname in the output. (Bug#14349)
5960 2013-05-11 Glenn Morris <rgm@gnu.org>
5962 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
5964 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
5965 Treat cc-provide like provide.
5967 2013-05-11 Kevin Ryde <user42@zip.com.au>
5969 * cus-dep.el (custom-make-dependencies):
5970 Use generated-autoload-load-name for the sake of files such
5971 such cedet/semantic/bovine/c.el, where the base file name
5972 is not in load-path. (Bug#5277)
5974 2013-05-11 Glenn Morris <rgm@gnu.org>
5976 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
5979 2013-05-11 Leo Liu <sdl.web@gmail.com>
5981 * progmodes/octave.el (octave-indent-comment): Improve.
5982 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5983 (octave-eldoc-function-signatures, octave-eldoc-function):
5985 (octave-mode, inferior-octave-mode): Add eldoc support.
5987 2013-05-11 Richard Stallman <rms@gnu.org>
5989 * epa.el (epa-decrypt-file): Take output file name as argument
5990 and read it using `interactive'.
5992 2013-05-11 Leo Liu <sdl.web@gmail.com>
5994 * progmodes/octave.el (octave-beginning-of-line)
5995 (octave-end-of-line): Check before using up-list because it jumps
5996 out of more syntactic contructs since moving to smie.
5997 (octave-indent-comment): New function.
5998 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
5999 (octave-begin-keywords, octave-end-keywords)
6000 (octave-reserved-words, octave-smie-bnf-table)
6001 (octave-smie-rules): Add new keywords from Octave 3.6.4.
6003 2013-05-11 Glenn Morris <rgm@gnu.org>
6005 * faces.el (internal-face-x-get-resource):
6006 * frame.el (ns-display-monitor-attributes-list):
6007 * calc/calc-aent.el (math-to-radians-2):
6008 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
6011 * calc/calc-menu.el: Make it loadable in isolation.
6013 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6014 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6015 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6016 (eudc-bbdb-query-internal): Require 'bbdb.
6018 * lpr.el (lpr-headers-switches):
6019 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6021 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6023 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6025 * term.el (term-set-escape-char): Make it idempotent.
6027 2013-05-10 Leo Liu <sdl.web@gmail.com>
6029 * progmodes/octave.el (inferior-octave-completion-table):
6030 No longer a function and all uses changed. Use cache to speed up
6031 completion due to bug#11906.
6032 (octave-beginning-of-defun): Re-write to be more general.
6034 2013-05-10 Glenn Morris <rgm@gnu.org>
6036 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6038 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6040 * comint.el (comint-redirect-send-command-to-process): Use :around
6041 rather than :override for comint-redirect-filter.
6042 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6043 Call it instead of comint-redirect-original-filter-function (which
6044 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6046 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6048 * frame.el (display-monitor-attributes-list): Add NS case.
6049 (ns-display-monitor-attributes-list): Declare.
6051 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
6053 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6055 2013-05-09 Glenn Morris <rgm@gnu.org>
6057 * international/fontset.el (vertical-centering-font-regexp):
6060 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6062 * bookmark.el (bookmark-search-delay):
6063 * cus-start.el (vertical-centering-font-regexp):
6064 * ps-mule.el (ps-mule-font-info-database-default):
6065 * ps-print.el (ps-default-fg, ps-default-bg):
6066 * type-break.el (type-break-good-break-interval):
6067 * whitespace.el (whitespace-indentation-regexp)
6068 (whitespace-space-after-tab-regexp):
6069 * emacs-lisp/testcover.el (testcover-1value-functions)
6070 (testcover-noreturn-functions, testcover-progn-functions)
6071 (testcover-prog1-functions):
6072 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6073 * eshell/em-glob.el (eshell-glob-translate-alist):
6074 * play/tetris.el (tetris-tty-colors):
6075 * progmodes/cpp.el (cpp-face-default-list):
6076 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6077 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6078 (idlwave-help-browser-generic-args):
6079 * progmodes/make-mode.el (makefile-special-targets-list):
6080 * progmodes/python.el (python-shell-virtualenv-path):
6081 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6082 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6083 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6084 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6085 * textmodes/reftex-vars.el (reftex-format-label-function):
6086 * textmodes/remember.el (remember-diary-file): Fix custom types.
6088 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6091 2013-05-09 Leo Liu <sdl.web@gmail.com>
6093 * progmodes/octave.el (inferior-octave-completion-at-point):
6094 Restore file completion. (Bug#14300)
6095 (inferior-octave-startup): Fix incorrect highlighting for the
6098 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6100 * progmodes/ruby-mode.el: First cut at SMIE support.
6101 (ruby-use-smie): New var.
6102 (ruby-smie-grammar): New constant.
6103 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6104 (ruby-smie--forward-token, ruby-smie--backward-token)
6105 (ruby-smie-rules): New functions.
6106 (ruby-mode-variables): Setup SMIE if applicable.
6108 2013-05-08 Eli Zaretskii <eliz@gnu.org>
6110 * simple.el (line-move-visual): Signal beginning/end of buffer
6111 only if vertical-motion moved less than it was requested. Avoids
6112 silly incorrect error messages when there are display strings with
6113 multiple newlines at EOL.
6115 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6117 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6118 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6119 (prolog-char-quote-workaround):
6120 * progmodes/cperl-mode.el (cperl-under-as-char):
6121 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
6123 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
6125 (vhdl-mode-syntax-table-init): Remove.
6127 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6130 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6132 (ld-script-font-lock-keywords):
6133 Change regexps to use things like \_< and \_>.
6135 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6136 Change all regexps to use things like \_< and \_>.
6138 * progmodes/autoconf.el (autoconf-definition-regexp)
6139 (autoconf-font-lock-keywords, autoconf-current-defun-function):
6140 Handle a _ with symbol syntax.
6141 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6143 * progmodes/ada-mode.el (ada-mode-abbrev-table):
6144 Consolidate declaration.
6145 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6147 (ada-create-syntax-table): Remove.
6148 (ada-capitalize-word): Don't mess with the syntax of "_" since it
6149 already has the right syntax nowadays.
6150 (ada-goto-next-word): Don't change the syntax of "_".
6152 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6155 2013-05-08 Sam Steingold <sds@gnu.org>
6157 * thingatpt.el (thing-at-point): Accept optional second argument
6158 NO-PROPERTIES to strip the text properties from the return value.
6159 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6160 to `thing-at-point' instead of stripping the properties ourselves.
6161 Also, when `thing-at-point' fails to find a url, prepend "http://"
6162 to the filename at point on the assumption that the user is
6163 pointing at something like gnu.org/gnu.
6165 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
6167 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6168 * faces.el (crm-separator):
6169 Silence byte-compiler.
6171 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6172 (tool-bar-map): Remove unneeded defvars.
6174 2013-05-08 Leo Liu <sdl.web@gmail.com>
6176 Re-work a fix for bug#10994 based on Le Wang's patch.
6177 * ido.el (ido-remove-consecutive-dups): New helper.
6178 (ido-completing-read): Use it.
6179 (ido-chop): Revert fix for bug#10994.
6181 2013-05-08 Adam Spiers <emacs@adamspiers.org>
6183 * cus-edit.el (custom-save-variables):
6184 Pretty-print long values. (Bug#14187)
6186 2013-05-08 Glenn Morris <rgm@gnu.org>
6188 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6189 (m4-mode-syntax-table): Init in the defvar.
6190 (m4-mode-abbrev-table): Let define-derived-mode define it.
6192 2013-05-08 Tom Tromey <tromey@redhat.com>
6194 * progmodes/m4-mode.el (m4-mode-syntax-table):
6195 Do not treat "_" as word constituent. (Bug#14167)
6197 2013-05-07 Glenn Morris <rgm@gnu.org>
6199 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6200 Remove explicit eshell-isearch-cancel-map.
6202 * progmodes/f90.el (f90-smart-end-names): New option.
6203 (f90-smart-end): Doc fix.
6204 (f90-end-block-optional-name): New constant.
6205 (f90-block-match): Respect f90-smart-end-names.
6207 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6209 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6210 about implicit semi-colons (bug#14218).
6212 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6214 * frame.el (display-monitor-attributes-list)
6215 (frame-monitor-attributes): New functions.
6217 2013-05-06 Leo Liu <sdl.web@gmail.com>
6219 * progmodes/octave.el (octave-syntax-propertize-function): Change
6220 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6221 (octave-font-lock-keywords): Use octave-operator-regexp.
6222 (octave-completion-at-point): Rename from
6223 octave-completion-at-point-function.
6224 (inferior-octave-directory-tracker): Robustify.
6225 (octave-text-functions): Remove and fix its uses. No such things
6228 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6230 * emacs-lisp/trace.el (trace--display-buffer): New function.
6231 (trace-make-advice): Use it.
6233 2013-05-06 Juri Linkov <juri@jurta.org>
6235 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6236 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6238 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6239 in the help string. (Bug#12985)
6241 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6243 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
6245 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6247 * progmodes/perl-mode.el: Add support for here documents.
6248 (perl-syntax-propertize-function): Match here-doc markers.
6249 (perl-syntax-propertize-special-constructs): Find their end.
6250 (perl-imenu-generic-expression): Use [:alnum:].
6252 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6253 (advice--add-function): Refresh the advice if already present
6256 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
6258 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
6260 2013-05-06 Glenn Morris <rgm@gnu.org>
6262 * w32-fns.el (w32-charset-info-alist): Declare.
6264 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6265 of its defcustom properties.
6266 (eshell-cmpl-initialize): No need to load pcomplete.
6268 * generic-x.el: No need to require comint when compiling.
6270 * net/eudc-export.el: Make it loadable without bbdb.
6271 (top-level): Use require rather than load-library.
6272 (eudc-create-bbdb-record, eudc-bbdbify-phone)
6273 (eudc-batch-export-records-to-bbdb)
6274 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
6277 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6279 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
6280 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
6281 some tweaks, instead.
6283 2013-05-05 Leo Liu <sdl.web@gmail.com>
6285 * progmodes/octave.el (octave-font-lock-keywords)
6286 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
6287 (inferior-octave-send-list-and-digest): Improve error message.
6288 (octave-mode, inferior-octave-mode): Use setq-local.
6289 (octave-help): Set info-lookup-mode.
6291 2013-05-05 Richard Stallman <rms@gnu.org>
6293 * vc/compare-w.el (compare-windows-whitespace):
6294 Treat no-break space as whitespace.
6296 * mail/rmailsum.el (rmail-summary-rmail-update):
6297 Detect empty summary and don't change selected message.
6298 (rmail-summary-goto-msg): Likewise.
6300 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
6301 Doc fixes, rename args.
6303 2013-05-05 Alan Mackenzie <acm@muc.de>
6305 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
6307 2013-05-05 Juri Linkov <juri@jurta.org>
6309 * info.el (Info-read-subfile): Use (point-min) instead of (point)
6310 to not add the length of the summary segment to the return value.
6313 2013-05-05 Leo Liu <sdl.web@gmail.com>
6315 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
6316 (inferior-octave-output-filter): Remove.
6317 (octave-send-region, inferior-octave-startup): Fix callers.
6318 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
6319 (octave-binary-file-extensions): New user variable.
6320 (octave-find-definition): Confirm if opening binary files.
6321 (octave-help-file): Use octave-find-definition to get the binary
6323 (octave-help): Adjust for octave-help-file change.
6325 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6327 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
6328 Merge the two entries that handle function definitions.
6329 (pascal--syntax-propertize): New const.
6330 (pascal-mode): Use it. Use setq-local.
6332 2013-05-04 Glenn Morris <rgm@gnu.org>
6334 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
6335 (diary-from-outlook): Respect diary-from-outlook-function.
6337 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6339 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
6340 Move the declaration from C.
6341 (read-minibuffer, eval-minibuffer): Move from C.
6342 (completion-setup-function): Avoid minibuffer-completion-contents.
6344 2013-05-03 Leo Liu <sdl.web@gmail.com>
6346 * progmodes/octave.el (octave-font-lock-keywords): Do not
6347 dehighlight 'end' in comments or strings.
6348 (octave-completing-read, octave-goto-function-definition):
6350 (octave-help-buffer): New user variable.
6351 (octave-help-file, octave-help-function): New button types.
6352 (octave-help): New command and bind it to C-h ;.
6353 (octave-find-definition): New command and bind it to M-.
6354 (user-error): Alias to error if not defined.
6356 2013-05-02 Leo Liu <sdl.web@gmail.com>
6358 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
6360 (octave-font-lock-keywords): Include [ and {.
6362 2013-05-02 Leo Liu <sdl.web@gmail.com>
6364 * progmodes/octave.el (inferior-octave-startup-file): Change default.
6365 (inferior-octave): Remove calling comint-mode and return the buffer.
6366 (inferior-octave-startup): Cosmetic changes.
6368 2013-05-02 Leo Liu <sdl.web@gmail.com>
6370 * progmodes/octave.el (octave-syntax-propertize-function):
6371 Include the case when ' is at line beginning. (Bug#14336)
6373 2013-05-02 Glenn Morris <rgm@gnu.org>
6375 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
6376 * desktop.el (vc-dir-mode): Just autoload it here.
6378 2013-05-02 Alan Mackenzie <acm@muc.de>
6380 Eliminate variable c-standard-font-lock-fontify-region-function.
6381 * progmodes/cc-mode.el
6382 (c-standard-font-lock-fontify-region-function): Remove.
6383 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
6385 2013-05-01 Leo Liu <sdl.web@gmail.com>
6387 * progmodes/octave.el: Compatible with older emacs-24 releases.
6388 (inferior-octave-has-built-in-variables): Remove. Built-in
6389 variables were removed from Octave in 2007.
6390 (inferior-octave-startup): Fix uses.
6391 (comint-line-beginning-position): Remove compatibility code for
6394 2013-05-01 Juri Linkov <juri@jurta.org>
6396 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
6398 2013-05-01 Juri Linkov <juri@jurta.org>
6400 * comint.el (comint-previous-matching-input): Don't print message
6401 "History item: %d" when `isearch-mode' is active.
6402 (comint-history-isearch-message): Print message "History item: %d"
6403 when `comint-input-ring-index' is not empty and this function is
6404 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
6406 2013-05-01 Leo Liu <sdl.web@gmail.com>
6408 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
6409 definitions. Use completion-at-point to insert keywords.
6410 (octave-abbrev-start): Remove.
6411 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
6413 2013-04-30 Leo Liu <sdl.web@gmail.com>
6415 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
6418 2013-04-30 Alan Mackenzie <acm@muc.de>
6420 Handle arbitrarily long C++ member initialisation lists.
6421 * progmodes/cc-engine.el (c-back-over-member-initializers):
6423 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
6424 (most) member init lists.
6426 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6428 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
6431 2013-04-30 Leo Liu <sdl.web@gmail.com>
6433 * progmodes/octave.el (octave-variables): Remove. No builtin
6434 variables any more. All converted to functions.
6435 (octave-font-lock-keywords, octave-completion-at-point-function):
6437 (octave-font-lock-texinfo-comment): New user variable.
6438 (octave-texinfo-font-lock-keywords): New variable for texinfo
6440 (octave-function-comment-block): New face.
6441 (octave-font-lock-texinfo-comment): New function.
6442 (octave-mode): Font lock texinfo comment block.
6444 2013-04-29 Leo Liu <sdl.web@gmail.com>
6446 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
6447 indexing expression.
6448 (octave-continuation-string): Do not use \.
6449 (inferior-octave-complete-impossible): Remove.
6450 (inferior-octave-completion-table)
6451 (inferior-octave-completion-at-point): Remove its uses.
6452 (inferior-octave-startup): completion_matches was introduced to
6453 Octave in 1996 so safe to assume it.
6454 (octave-function-file-comment): Improve to follow how Octave does it.
6455 (octave-update-function-file-comment): Tweak.
6457 2013-04-29 Leo Liu <sdl.web@gmail.com>
6459 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
6460 (inferior-octave-startup): Remove inferior-octave-startup-hook.
6461 (octave-function-file-comment): Fix typo.
6462 (octave-sync-function-file-names): Use read-char-choice.
6464 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
6466 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
6467 to t for the less important warnings.
6469 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
6471 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
6473 2013-04-27 Glenn Morris <rgm@gnu.org>
6475 * vc/log-view.el (log-view-current-entry):
6476 Treat "---" separator lines as part of the following rev. (Bug#14169)
6478 2013-04-27 Juri Linkov <juri@jurta.org>
6480 * subr.el (read-number): Doc fix about using it by interactive
6481 code letter `n'. (Bug#14254)
6483 2013-04-27 Juri Linkov <juri@jurta.org>
6485 * desktop.el (desktop-auto-save-timeout): New option.
6486 (desktop-file-checksum): New variable.
6487 (desktop-save): Add optional arg `auto-save' and don't auto-save
6489 (desktop-auto-save-timer): New variable.
6490 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
6491 (after-init-hook): Call `desktop-auto-save-set-timer'.
6492 Suggested by Reuben Thomas <rrt@sc3d.org> in
6493 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
6495 2013-04-27 Leo Liu <sdl.web@gmail.com>
6497 * progmodes/octave.el (octave-function-file-p)
6498 (octave-skip-comment-forward, octave-function-file-comment)
6499 (octave-update-function-file-comment): New functions.
6500 (octave-mode-map): Bind C-c ; to
6501 octave-update-function-file-comment.
6502 (octave-mode-menu): Add octave-update-function-file-comment.
6503 (octave-mode, inferior-octave-mode): Fix doc-string.
6504 (octave-insert-defun): Conform to Octave's coding convention.
6507 * files.el (basic-save-buffer): Don't let errors in
6508 before-save-hook prevent saving buffer.
6510 2013-04-20 Roland Winkler <winkler@gnu.org>
6512 * faces.el (read-face-name): Use completing-read if arg multiple
6515 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
6517 * ls-lisp.el (ls-lisp-insert-directory): If no files are
6518 displayed, move point to after the totals line.
6519 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
6522 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6524 * emacs-lisp/package.el (package-autoload-ensure-default-file):
6525 Add current dir to the load-path.
6526 (package-generate-autoloads): Don't rely on
6527 autoload-ensure-default-file.
6529 2013-04-26 Reuben Thomas <rrt@sc3d.org>
6531 * textmodes/remember.el (remember-store-in-files): Document that
6532 the file name format is passed to `format-time-string'.
6534 2013-04-26 Leo Liu <sdl.web@gmail.com>
6536 * progmodes/octave.el (octave-sync-function-file-names): New function.
6537 (octave-mode): Use it in before-save-hook.
6539 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6541 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
6544 * progmodes/octave.el (octave-smie-forward-token): Properly skip
6545 \n and comment, even if it's not an implicit ; (bug#14218).
6547 2013-04-26 Glenn Morris <rgm@gnu.org>
6549 * subr.el (read-number): Once more use `read' rather than
6550 `string-to-number', to trap non-numeric input. (Bug#14254)
6552 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
6554 * emacs-lisp/syntax.el (syntax-propertize-multiline):
6555 Use `syntax-multiline' text property consistently instead of
6556 `font-lock-multiline'. (Bug#14237)
6558 2013-04-26 Glenn Morris <rgm@gnu.org>
6560 * emacs-lisp/shadow.el (list-load-path-shadows):
6561 No longer necessary to check for duplicate simple.el, since
6562 2012-07-07 change to init_lread to not include installation lisp
6563 directories in load-path when running uninstalled. (Bug#14270)
6565 2013-04-26 Leo Liu <sdl.web@gmail.com>
6567 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
6568 (octave-mode, inferior-octave-mode): Use setq-local.
6569 (octave-not-in-string-or-comment-p): Rename to
6570 octave-in-string-or-comment-p.
6571 (octave-in-comment-p, octave-in-string-p)
6572 (octave-in-string-or-comment-p): Replace defsubst with defun.
6574 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
6576 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
6578 2013-04-25 Bastien Guerry <bzg@gnu.org>
6580 * textmodes/remember.el (remember-data-directory)
6581 (remember-directory-file-name-format): Fix custom types.
6583 2013-04-25 Leo Liu <sdl.web@gmail.com>
6585 * progmodes/octave.el (octave-completion-at-point-function):
6586 Make use of inferior octave process.
6587 (octave-initialize-completions): Remove.
6588 (inferior-octave-completion-table): New function.
6589 (inferior-octave-completion-at-point): Use it.
6590 (octave-completion-alist): Remove.
6592 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6594 * progmodes/opascal.el: Use font-lock and syntax-propertize.
6595 (opascal-mode-syntax-table): New var.
6596 (opascal-literal-kind, opascal-is-literal-end)
6597 (opascal-literal-token-at): Rewrite.
6598 (opascal--literal-start-re, opascal-font-lock-keywords)
6599 (opascal--syntax-propertize): New constants.
6600 (opascal-font-lock-defaults): Adjust.
6601 (opascal-mode): Use them. Set comment-<foo> variables as well.
6602 (delphi-comment-face, opascal-comment-face, delphi-string-face)
6603 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
6604 (delphi-other-face, opascal-other-face): Remove face variables.
6605 (opascal-save-state): Remove macro.
6606 (opascal-fontifying-progress-step): Remove constant.
6607 (opascal--ignore-changes): Remove var.
6608 (opascal-set-token-property, opascal-parse-next-literal)
6609 (opascal-is-stable-literal, opascal-complete-literal)
6610 (opascal-is-literal-start, opascal-face-of)
6611 (opascal-parse-region, opascal-parse-region-until-stable)
6612 (opascal-fontify-region, opascal-after-change)
6613 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
6614 (opascal-debug-parse-region, opascal-debug-parse-window)
6615 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
6616 (opascal-debug-fontify-buffer): Remove.
6617 (opascal-debug-mode-map): Adjust accordingly.
6619 2013-04-25 Leo Liu <sdl.web@gmail.com>
6621 Merge octave-mod.el and octave-inf.el into octave.el with some
6623 * progmodes/octave.el: New file renamed from octave-mod.el.
6624 * progmodes/octave-inf.el: Merged into octave.el.
6625 * progmodes/octave-mod.el: Renamed to octave.el.
6627 2013-04-25 Tassilo Horn <tsdh@gnu.org>
6629 * textmodes/reftex-vars.el
6630 (reftex-label-ignored-macros-and-environments): New defcustom.
6632 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
6634 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6636 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
6637 (smie-indent-keyword): Improve the check to ensure that the next
6638 comment is really on the same line.
6639 (smie-indent-comment): Don't align with a subsequent closer (or eob).
6641 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
6642 semi-colons if the line is not otherwise empty (bug#14218).
6644 2013-04-25 Glenn Morris <rgm@gnu.org>
6646 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
6648 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6650 * progmodes/opascal.el (opascal-set-token-property): Rename from
6651 opascal-set-text-properties and only set `token' (bug#14134).
6652 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
6653 (opascal-literal-text-properties): Remove.
6654 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
6657 2013-04-24 Reuben Thomas <rrt@sc3d.org>
6659 * textmodes/remember.el (remember-handler-functions): Add an
6660 option for a new handler `remember-store-in-files'.
6661 (remember-data-directory, remember-directory-file-name-format):
6663 (remember-store-in-files): New function to store remember notes
6664 as separate files within a directory.
6666 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
6668 * progmodes/compile.el (compilation-next-error-function):
6669 Pass "formats" to compilation-find-file (bug#11777).
6671 2013-04-24 Glenn Morris <rgm@gnu.org>
6673 * vc/vc-bzr.el (vc-bzr-print-log):
6674 * vc/vc-hg.el (vc-hg-print-log):
6675 * vc/vc-svn.el (vc-svn-print-log):
6676 Fix START-REVISION with LIMIT != 1. (Bug#14168)
6678 * vc/vc-bzr.el (vc-bzr-print-log):
6679 * vc/vc-cvs.el (vc-cvs-print-log):
6680 * vc/vc-git.el (vc-git-print-log):
6681 * vc/vc-hg.el (vc-hg-print-log):
6682 * vc/vc-mtn.el (vc-mtn-print-log):
6683 * vc/vc-rcs.el (vc-rcs-print-log):
6684 * vc/vc-sccs.el (vc-sccs-print-log):
6685 * vc/vc-svn.el (vc-svn-print-log):
6686 * vc/vc.el (vc-print-log-internal): Doc fixes.
6688 2013-04-23 Glenn Morris <rgm@gnu.org>
6690 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
6691 Remove venerable code attempting to avoid substitute-command-keys.
6693 2013-04-23 Tassilo Horn <tsdh@gnu.org>
6695 * textmodes/reftex-vars.el (reftex-label-regexps):
6696 Call `reftex-compile-variables' after changes to this variable.
6698 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6700 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
6701 Use lexical-binding.
6702 (jit-lock-force-redisplay): Use markers, check buffer's continued
6703 existence and beware narrowed buffers.
6704 (jit-lock-fontify-now): Adjust call accordingly.
6706 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6708 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
6709 to avoid misleading the user.
6711 2013-04-22 Leo Liu <sdl.web@gmail.com>
6713 * info-look.el: Prefer latex2e.info. (Bug#14240)
6715 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
6717 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
6719 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
6720 * net/tramp.el (tramp-call-process): ... here.
6721 (tramp-set-completion-function, tramp-parse-putty):
6722 * net/tramp-adb.el (tramp-adb-execute-adb-command):
6723 * net/tramp-gvfs.el (tramp-gvfs-send-command):
6724 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6725 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
6726 (tramp-call-local-coding-command): Use `tramp-call-process'
6727 instead of `tramp-compat-call-process'.
6729 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
6730 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
6731 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
6732 (tramp-find-inline-compress): Improve traces.
6733 (tramp-maybe-send-script): Check for Perl binary.
6734 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
6736 2013-04-22 Daiki Ueno <ueno@gnu.org>
6738 * epg.el (epg-context-pinentry-mode): New function.
6739 (epg-context-set-pinentry-mode): New function.
6740 (epg--start): Pass --pinentry-mode option to gpg command.
6742 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
6744 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
6745 `comint-dynamic-complete' is obsolete since 24.1, replaced by
6746 `completion-at-point'. (Bug#13774)
6748 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
6749 default key binding for `describe-distribution' has been moved to
6750 `C-h C-o'. (Bug#13970)
6752 2013-04-21 Glenn Morris <rgm@gnu.org>
6754 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
6756 (vc-print-log): Clarify interactive prompt.
6758 2013-04-20 Glenn Morris <rgm@gnu.org>
6760 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6761 No longer include timestamp etc information.
6763 2013-04-20 Roland Winkler <winkler@gnu.org>
6765 * faces.el (read-face-name): Bug fix, return just one face if arg
6766 multiple is nil. (Bug#14209)
6768 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6770 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
6771 (remove-function): Autoload.
6773 * comint.el (comint-redirect-original-filter-function): Remove.
6774 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
6775 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
6776 (vc-cvs-annotate-command):
6777 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
6778 * progmodes/prolog.el (prolog-consult-compile):
6779 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
6780 Use add/remove-function instead.
6781 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
6782 (gud-tooltip-process-output, gud-tooltip-tips):
6783 Use add/remove-function instead.
6784 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
6785 (scheme-interaction-mode, exit-scheme-interaction-mode):
6786 Use add/remove-function instead.
6788 * vc/vc-dispatcher.el: Use lexical-binding.
6789 (vc--process-sentinel): Rename from vc-process-sentinel.
6790 Change last arg to be the code to run. Don't use vc-previous-sentinel
6791 and vc-sentinel-commands any more.
6792 (vc-exec-after): Allow code to be a function. Use add/remove-function.
6793 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
6795 2013-04-19 Masatake YAMATO <yamato@redhat.com>
6797 * progmodes/sh-script.el (sh-imenu-generic-expression):
6798 Handle function names with a single character. (Bug#14111)
6800 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
6802 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
6803 for subroutines defined in an eval (bug#14182).
6805 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6807 * bookmark.el (bookmark-completing-read): Improve handling of empty
6810 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6812 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
6814 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
6816 New faster Imenu implementation (bug#14058).
6817 * progmodes/python.el:
6818 (python-imenu-prev-index-position):
6819 (python-imenu-format-item-label-function)
6820 (python-imenu-format-parent-item-label-function)
6821 (python-imenu-format-parent-item-jump-label-function):
6823 (python-imenu-format-item-label)
6824 (python-imenu-format-parent-item-label)
6825 (python-imenu-format-parent-item-jump-label)
6826 (python-imenu--put-parent, python-imenu--build-tree)
6827 (python-imenu-create-index, python-imenu-create-flat-index)
6828 (python-util-popn): New functions.
6829 (python-mode): Set imenu-create-index-function to
6830 python-imenu-create-index.
6832 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6834 * winner.el (winner-active-region): Use region-active-p, activate-mark
6835 and deactivate-mark (bug#14225).
6837 * simple.el (deactivate-mark): Don't inline it.
6839 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
6841 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
6843 2013-04-18 Tassilo Horn <tsdh@gnu.org>
6845 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
6846 file extensions from the archive-mode entry in order to prefer
6847 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
6849 2013-04-18 Leo Liu <sdl.web@gmail.com>
6851 * bindings.el (help-event-list): Add ?\?.
6853 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6855 * subr.el (with-wrapper-hook): Declare obsolete.
6856 * simple.el (filter-buffer-substring-function): New hook.
6857 (filter-buffer-substring): Use it.
6858 (filter-buffer-substring-functions): Mark obsolete.
6859 * minibuffer.el (completion-in-region-function): New hook.
6860 (completion-in-region): Use it.
6861 (completion-in-region-functions): Mark obsolete.
6862 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
6863 * abbrev.el (abbrev-expand-function): New hook.
6864 (expand-abbrev): Use it.
6865 (abbrev-expand-functions): Mark obsolete.
6866 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
6869 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6871 * progmodes/python.el (python-nav--syntactically): Fix cornercases
6872 and do not care about match data.
6874 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6876 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
6877 completion tables when completing error conditions and
6878 `declare' arguments.
6879 (lisp-complete-symbol, field-complete): Mark as obsolete.
6880 (check-parens): Unmatched parens are user errors.
6881 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
6883 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
6885 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
6886 command changed buffer (ie. `flyspell-pre-buffer' is not current
6887 buffer), which prevents making decisions based on invalid value of
6888 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
6889 cause an error when `flyspell-pre-point' was nil after switching
6891 (flyspell-post-command-hook): No longer needs to change buffers when
6892 checking pre-word. While at it remove unnecessary progn.
6894 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
6896 * textmodes/ispell.el (ispell-add-per-file-word-list):
6897 Fix `flyspell-correct-word-before-point' error when accepting
6898 words and `coment-padding' is an integer by using
6899 `comment-normalize-vars' (Bug #14214).
6901 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6903 New defun movement commands.
6904 * progmodes/python.el (python-nav--syntactically)
6905 (python-nav--forward-defun, python-nav-backward-defun)
6906 (python-nav-forward-defun): New functions.
6908 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6910 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
6911 (python-syntax-context): Use named compiler-macro for backwards
6912 compatibility with Emacs 24.x.
6914 2013-04-17 Leo Liu <sdl.web@gmail.com>
6916 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
6917 octave-hide-process-buffer.
6919 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6921 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
6924 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
6926 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
6927 Fix adjustment of offset when receiving incomplete responses from GDB
6930 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6932 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
6933 python-mode-abbrev-table.
6934 (python-skeleton-define): Adjust accordingly.
6935 (python-mode-abbrev-table): New table that inherits from it so that
6936 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
6938 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
6939 (abbrev-symbol): Use it.
6940 (abbrev--before-point): Use it since we already handle inheritance.
6942 2013-04-16 Leo Liu <sdl.web@gmail.com>
6944 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
6945 binding to info-lookup-symbol.
6947 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
6949 * minibuffer.el (completion--twq-all):
6950 * term/ns-win.el (ns-initialize-window-system):
6951 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
6953 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6955 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
6958 * doc-view.el (doc-view-start-process): Handle url-handler directories.
6960 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
6962 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
6963 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
6965 (ruby-end-of-defun): Remove the unused arg, change the docstring
6966 to reflect that this function is only used as the value of
6967 `end-of-defun-function'.
6968 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
6969 to reflect an earlier change that beginning/end-of-defun functions
6970 jump between methods in a class definition, as well as top-level
6973 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6975 * minibuffer.el (minibuffer-complete): Don't just scroll
6976 a *Completions* that's been iconified.
6977 (minibuffer-force-complete): Make sure repetitions do cycle when going
6978 through completion-in-region -> minibuffer-complete.
6980 2013-04-15 Alan Mackenzie <acm@muc.de>
6982 Correct the placement of c-cpp-delimiters when there're #s not at
6985 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
6986 place a submatch around the #.
6987 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
6988 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
6991 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6993 * emacs-lisp/nadvice.el: Properly test names when adding advice.
6994 (advice--member-p): New arg `name'.
6995 (advice--add-function, advice-member-p): Use it (bug#14202).
6997 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
6999 Reformulate java imenu-generic-expression.
7000 The old expression contained ill formed regexps.
7002 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7003 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7004 (cc-imenu-java-method-arg-regexp): New defconsts.
7005 (cc-imenu-java-build-type-args-regex): New defun.
7006 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
7007 handling of spaces in the regexp.
7009 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7011 * textmodes/ispell.el (ispell-command-loop): Remove
7012 flyspell highlight of a word when ispell accepts it (bug #14178).
7014 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
7016 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7017 uses code from the previous `ange-ftp-run-real-handler'.
7018 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7019 only in case that function exist. This is needed for proper
7022 2013-04-15 Tassilo Horn <tsdh@gnu.org>
7024 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7026 * textmodes/reftex.el (reftex-compile-variables): Use it.
7028 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7030 * files.el (normal-mode): Only use default major-mode if no other mode
7033 * emacs-lisp/trace.el (trace-values): New function.
7035 * files.el: Allow : in local variables (bug#14089).
7036 (hack-local-variable-regexp): New var.
7037 (hack-local-variables-prop-line, hack-local-variables): Use it.
7039 2013-04-13 Roland Winkler <winkler@gnu.org>
7041 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7042 data before it gets modified by bibtex-beginning-of-entry.
7044 2013-04-13 Roland Winkler <winkler@gnu.org>
7046 * textmodes/bibtex.el (bibtex-url): Doc fix.
7048 2013-04-13 Roland Winkler <winkler@gnu.org>
7050 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7051 does not visit a BibTeX file, exclude it from the list of buffers
7052 returned by bibtex-initialize.
7054 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
7056 * window.el (split-window): Remove interactive form, since as a
7057 command this function is a special case of split-window-below.
7060 2013-04-12 Roland Winkler <winkler@gnu.org>
7062 * faces.el (read-face-name): Do not override value of arg default.
7063 Allow single faces and strings as default values. Remove those
7064 elements from return value that are not faces.
7065 (describe-face): Simplify.
7066 (face-at-point): New optional args thing and multiple so that this
7067 function can provide the same functionality previously provided by
7069 (make-face-bold, make-face-unbold, make-face-italic)
7070 (make-face-unitalic, make-face-bold-italic, invert-face)
7071 (modify-face, read-face-and-attribute): Use face-at-point.
7073 * cus-edit.el (customize-face, customize-face-other-window)
7074 * cus-theme.el (custom-theme-add-face)
7075 * face-remap.el (buffer-face-set)
7076 * facemenu.el (facemenu-set-face): Use face-at-point.
7078 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
7080 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7082 2013-04-10 Tassilo Horn <tsdh@gnu.org>
7084 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7085 off leading { and trailing } from field values.
7087 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7089 * emacs-lisp/timer.el (timer--check): New function.
7090 (timer--time, timer-set-function, timer-event-handler): Use it.
7091 (timer-set-idle-time): Simplify.
7092 (timer--activate): CSE.
7093 (timer-event-handler): Give more info in error message.
7094 (internal-timer-start-idle): New function, moved from C.
7096 * mpc.el (mpc-proc): Add `restart' argument.
7097 (mpc-proc-cmd): Use it.
7098 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7099 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7102 2013-04-10 Masatake YAMATO <yamato@redhat.com>
7104 * progmodes/sh-script.el: Implement `sh-mode' own
7105 `add-log-current-defun-function' (bug#14112).
7106 (sh-current-defun-name): New function.
7107 (sh-mode): Use the function.
7109 2013-04-09 Bastien Guerry <bzg@gnu.org>
7111 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7113 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7115 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7117 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7120 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7122 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7125 2013-04-07 Leo Liu <sdl.web@gmail.com>
7127 * pcmpl-x.el: New file.
7129 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7131 Do not set x-display-name until X connection is established.
7132 This is needed to prevent from weird situation described at
7133 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7134 * frame.el (make-frame): Set x-display-name after call to
7135 window system initialization function, not before.
7136 * term/x-win.el (x-initialize-window-system): Add optional
7137 display argument and use it.
7138 * term/w32-win.el (w32-initialize-window-system):
7139 * term/ns-win.el (ns-initialize-window-system):
7140 * term/pc-win.el (msdos-initialize-window-system):
7141 Add compatible optional display argument.
7143 2013-04-06 Eli Zaretskii <eliz@gnu.org>
7145 * files.el (normal-backup-enable-predicate): On MS-Windows and
7146 MS-DOS compare truenames of temporary-file-directory and of the
7147 file, so that 8+3 aliases (usually found in $TEMP on Windows)
7148 don't fail comparison by compare-strings. Also, compare file
7149 names case-insensitively on MS-Windows and MS-DOS.
7151 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7153 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7154 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7156 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
7158 * whitespace.el (whitespace-color-on, whitespace-color-off):
7159 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
7161 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7163 * ispell.el (ispell-set-spellchecker-params):
7164 Really set `ispell-args' for all equivs.
7166 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7168 * ido.el (ido-completions): Use extra elements of ido-decorations
7170 (ido-decorations): Update docstring.
7172 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
7174 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7175 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7176 nil during initialization, in order not to miss changes since the
7177 file was opened. (Bug#14140)
7179 2013-04-05 Leo Liu <sdl.web@gmail.com>
7181 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7183 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7185 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7187 2013-04-04 Glenn Morris <rgm@gnu.org>
7189 * electric.el (electric-pair-inhibit-predicate): Add :version.
7191 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7193 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7194 when a package is required several times (bug#14082).
7196 2013-04-04 Roland Winkler <winkler@gnu.org>
7198 * faces.el (read-face-name): Behave as promised by the docstring.
7199 Assume that arg default is a list of faces.
7200 (describe-face): Call read-face-name with list of default faces.
7202 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7204 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7205 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7206 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7208 (bookmark-exit-hook-internal): Save even if list is empty.
7210 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7212 * emacs-lisp/package.el (package-pinned-packages): New var.
7213 (package--add-to-archive-contents): Obey it (bug#14118).
7215 2013-04-03 Alan Mackenzie <acm@muc.de>
7217 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7218 Also adapt to the new values of element 7 of a parse state.
7220 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7221 parameter `not-in-delimiter'. Handle being inside comment opener.
7222 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7223 character in case we're typing a '*' after a '/'.
7224 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7225 instead by passing the parameter to c-state-pp-to-literal.
7227 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7228 for elt. 7 of a parse state.
7230 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7232 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7233 * international/latin1-disp.el, international/mule-util.el:
7234 * language/cyril-util.el, language/european.el, language/ind-util.el:
7235 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7236 * language/tibetan.el, language/viet-util.el:
7237 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7239 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7241 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7242 (electric-pair-post-self-insert-function): Use it.
7243 (electric-pair-default-inhibit): New function, extracted from
7244 electric-pair-post-self-insert-function.
7246 2013-03-31 Roland Winkler <winkler@gnu.org>
7248 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7250 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7252 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7254 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
7256 Un-indent after "pass" and "return" statements (Bug#13888)
7257 * progmodes/python.el (python-indent-block-enders): New var.
7258 (python-indent-calculate-indentation): Use it.
7260 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
7262 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7263 defun. Defining it as defalias could introduce too eager
7264 byte-compiler optimization. (Bug#14030)
7266 2013-03-30 Chong Yidong <cyd@gnu.org>
7268 * iswitchb.el (iswitchb-read-buffer): Fix typo.
7270 2013-03-30 Leo Liu <sdl.web@gmail.com>
7272 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
7273 (kmacro-execute-from-register): Pass the keyboard macro to
7274 kmacro-call-macro or repeating won't work correctly.
7276 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
7278 * progmodes/subword.el: Back to using `forward-symbol'.
7280 * subr.el (forward-whitespace, forward-symbol)
7281 (forward-same-syntax): Move from thingatpt.el.
7283 2013-03-29 Leo Liu <sdl.web@gmail.com>
7285 * kmacro.el (kmacro-to-register): New command.
7286 (kmacro-execute-from-register): New function.
7287 (kmacro-keymap): Bind to 'x'. (Bug#14071)
7289 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7291 * mpc.el: Use defvar-local and setq-local.
7292 (mpc--proc-connect): Connection failures are not bugs.
7293 (mpc-mode-map): `follow-link' only applies to the buffer's content.
7294 (mpc-volume-map): Bind to the up-events.
7296 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
7298 * progmodes/subword.el (superword-mode): Use `forward-sexp'
7299 instead of `forward-symbol'.
7301 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
7303 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
7304 (edebug--recursive-edit): Use it.
7305 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
7306 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
7308 2013-03-28 Leo Liu <sdl.web@gmail.com>
7310 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
7312 2013-03-27 Eli Zaretskii <eliz@gnu.org>
7314 * facemenu.el (list-colors-callback): New defvar.
7315 (list-colors-redisplay): New function.
7316 (list-colors-display): Install list-colors-redisplay as the
7317 revert-buffer-function. (Bug#14063)
7319 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7321 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
7322 and suffixes don't overlap (bug#14061).
7324 * case-table.el: Use lexical-binding.
7325 (case-table-get-table): New function.
7326 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
7328 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
7330 * progmodes/subword.el: Add `superword-mode' to do word motion
7331 over symbol_words (parallels and leverages `subword-mode' which
7332 does word motion inside MixedCaseWords).
7334 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
7336 * eshell/em-unix.el: Move su and sudo to...
7337 * eshell/em-tramp.el: ...Eshell tramp module.
7339 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7341 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
7342 Change return value to be a sexp. Delay `get-buffer' to after
7343 restoring the desktop (bug#13951).
7345 2013-03-26 Leo Liu <sdl.web@gmail.com>
7347 * register.el: Move semantic tag handling back to
7348 cedet/semantic/senator.el. (Bug#14052)
7350 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7352 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
7353 into the prompt either (bug#13963).
7355 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7357 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
7358 part of "(error-foo)".
7360 2013-03-24 Juri Linkov <juri@jurta.org>
7362 * replace.el (list-matching-lines-prefix-face): New defcustom.
7363 (occur-1): Pass `list-matching-lines-prefix-face' to the function
7364 `occur-engine' if `face-differs-from-default-p' returns t.
7365 (occur-engine): Add `,' inside backquote construct to evaluate
7366 `prefix-face'. Propertize the prefix with the `prefix-face' face.
7367 Pass `prefix-face' to the functions `occur-context-lines' and
7368 `occur-engine-add-prefix'.
7369 (occur-engine-add-prefix, occur-context-lines): Add optional arg
7370 `prefix-face' and propertize the prefix with `prefix-face'.
7373 2013-03-24 Leo Liu <sdl.web@gmail.com>
7375 * nxml/rng-valid.el (rng-validate-while-idle)
7376 (rng-validate-quick-while-idle): Guard against deleted buffer.
7379 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
7380 is the last entry in kill-buffer-hook.
7382 * files.el (kill-buffer-hook): Doc fix.
7384 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
7386 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
7389 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
7391 2013-03-23 Leo Liu <sdl.web@gmail.com>
7393 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
7396 * nxml/rng-valid.el (rng-validate-mode)
7397 (rng-after-change-function, rng-do-some-validation):
7398 * nxml/rng-maint.el (rng-validate-buffer):
7399 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
7400 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
7401 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
7402 (nxml-extend-after-change-region): Use with-silent-modifications.
7404 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
7407 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
7408 (rng-next-error-1, rng-previous-error-1): Do not let-bind
7409 timer-idle-list. (Bug#13999)
7411 2013-03-23 Juri Linkov <juri@jurta.org>
7413 * info.el (info-index-match): New face.
7414 (Info-index, Info-apropos-matches): Add a nested subgroup to the
7415 main pattern and add text properties with the new face to matches
7416 in index entries relative to the beginning of the index entry.
7419 2013-03-21 Eric Ludlam <zappo@gnu.org>
7421 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
7422 Inhibit read only while inserting objects.
7424 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
7426 * progmodes/cfengine.el: Update docs to mention
7427 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
7428 symbol motion. Remove "_" from the word syntax.
7430 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
7432 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
7433 syntax for both `cfengine2-mode' and `cfengine3-mode'.
7435 2013-03-20 Juri Linkov <juri@jurta.org>
7437 * info.el (Info-next-reference-or-link)
7438 (Info-prev-reference-or-link): New functions.
7439 (Info-next-reference, Info-prev-reference): Use them.
7440 (Info-try-follow-nearest-node): Handle footnote navigation.
7441 (Info-fontify-node): Fontify footnotes. (Bug#13989)
7443 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7445 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
7446 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
7448 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
7450 Suppress unnecessary non-ASCII chatter during build process.
7451 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
7452 (batch-skkdic-convert): Suppress most of the chatter.
7453 It's not needed so much now that machines are faster,
7454 and its non-ASCII component was confusing; see Dmitry Gutov in
7455 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
7457 2013-03-20 Leo Liu <sdl.web@gmail.com>
7459 * ido.el (ido-chop): Fix bug#10994.
7461 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7463 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
7465 (whitespace-color-on, whitespace-color-off):
7466 Use `font-lock-fontify-buffer' (Bug#13817).
7468 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7470 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
7471 remapping in mode-line.
7472 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
7474 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7476 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
7477 value for `whitespace-line' face (Bug#13875).
7478 (whitespace-font-lock-keywords): Change description.
7479 (whitespace-color-on): Don't save `font-lock-keywords' value, save
7480 the constructed keywords instead.
7481 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
7483 2013-03-19 Leo Liu <sdl.web@gmail.com>
7485 * progmodes/compile.el (compilation-display-error): New command.
7486 (compilation-mode-map, compilation-minor-mode-map): Bind it to
7489 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7491 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
7493 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
7495 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
7497 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
7499 * net/tramp-compat.el (tramp-compat-user-error): New defun.
7501 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7502 * net/tramp-gvfs.el (top):
7503 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
7504 (tramp-handle-shell-command): Use it.
7505 (tramp-dissect-file-name): Raise an error when hostname is a
7506 method name, and neither method nor user is specified.
7508 * net/trampver.el: Update release number.
7510 2013-03-18 Leo Liu <sdl.web@gmail.com>
7512 Make sure eldoc can be turned off properly.
7513 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
7515 (eldoc-display-message-p): Revert last change.
7516 (eldoc-display-message-no-interference-p)
7517 (eldoc-print-current-symbol-info): Tweak.
7519 2013-03-18 Tassilo Horn <tsdh@gnu.org>
7521 * doc-view.el (doc-view-new-window-function): Check the new window
7522 overlay's display property instead the char property of the
7523 buffer's first char. Use `with-selected-window' instead of
7524 `save-window-excursion' with `select-window'.
7525 (doc-view-document->bitmap): Check the current doc-view overlay's
7526 display property instead the char property of the buffer's first char.
7528 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7530 Automate the build of ja-dic.el (Bug#13984).
7531 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
7532 from the input, rather than assume that it's been done for us by the
7533 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
7534 the current date into a ja-dic.el comment, as that complicates
7537 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
7539 * whitespace.el: Fix double evaluation.
7540 (whitespace-space, whitespace-hspace, whitespace-tab)
7541 (whitespace-newline, whitespace-trailing, whitespace-line)
7542 (whitespace-space-before-tab, whitespace-indentation)
7543 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
7545 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
7546 (whitespace-color-on): Use a single font-lock-add-keywords call.
7547 Fix double-evaluation of face variables.
7549 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
7551 * net/tramp-adb.el (tramp-adb-parse-device-names):
7552 Use `start-process' instead of `call-process'. Otherwise, the
7553 function might be blocked under MS Windows. (Bug#13299)
7555 2013-03-17 Leo Liu <sdl.web@gmail.com>
7557 Extend eldoc to display info in the mode-line. (Bug#13978)
7558 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
7559 (eldoc-mode-line-string): New variable.
7560 (eldoc-minibuffer-message): New function.
7561 (eldoc-message-function): New variable.
7562 (eldoc-message): Use it.
7563 (eldoc-display-message-p)
7564 (eldoc-display-message-no-interference-p):
7565 Support eldoc-post-insert-mode.
7567 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
7568 (eval-expression): Run it.
7570 2013-03-17 Roland Winkler <winkler@gnu.org>
7572 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
7573 strings in the list of return values.
7575 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
7577 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
7578 radix before checking for HMS forms.
7580 2013-03-16 Leo Liu <sdl.web@gmail.com>
7582 * progmodes/scheme.el: Add indentation and font-locking for λ.
7585 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
7587 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
7588 token before point (bug#13942).
7590 2013-03-16 Leo Liu <sdl.web@gmail.com>
7592 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
7594 2013-03-16 Eli Zaretskii <eliz@gnu.org>
7596 * startup.el (command-line-normalize-file-name): Fix handling of
7597 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
7598 <xfq.free@gmail.com> in
7599 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
7601 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
7603 Sync with Tramp 2.2.7.
7605 * net/trampver.el: Update release number.
7607 2013-03-14 Tassilo Horn <tsdh@gnu.org>
7609 * doc-view.el Fix bug#13887.
7610 (doc-view-insert-image): Don't modify overlay associated to
7611 non-live windows, and implement horizontal centering of image in
7612 case it's smaller than the window.
7613 (doc-view-new-window-function): Force redisplay of new windows on
7616 2013-03-13 Karl Fogel <kfogel@red-bean.com>
7618 * saveplace.el (save-place-alist-to-file): Don't sort
7619 `save-place-alist', just pretty-print it (bug#13882).
7621 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
7623 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7624 Check whether `default-file-name-coding-system' is bound.
7627 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
7629 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
7630 backquotes for `obsolete' (bug#13929).
7632 * international/mule.el (find-auto-coding): Include file name in
7633 obsolescence warning (bug#13922).
7635 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
7637 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
7638 for CFEngine 3-specific indentation.
7639 (cfengine3-indent-line): Use it. Fix up category regex.
7640 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
7642 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7644 * type-break.el (type-break-file-name):
7645 * textmodes/remember.el (remember-data-file):
7646 * strokes.el (strokes-file):
7647 * shadowfile.el (shadow-initialize):
7648 * saveplace.el (save-place-file):
7649 * ps-bdf.el (bdf-cache-file):
7650 * progmodes/idlwave.el (idlwave-config-directory):
7651 * net/quickurl.el (quickurl-url-file):
7652 * international/kkc.el (kkc-init-file-name):
7653 * ido.el (ido-save-directory-list-file):
7654 * emulation/viper.el (viper-custom-file-name):
7655 * emulation/vip.el (vip-startup-file):
7656 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
7657 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
7659 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
7661 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
7662 * language/thai-word.el: Switch to UTF-8.
7664 See ChangeLog.16 for earlier changes.
7670 Copyright (C) 2011-2013 Free Software Foundation, Inc.
7672 This file is part of GNU Emacs.
7674 GNU Emacs is free software: you can redistribute it and/or modify
7675 it under the terms of the GNU General Public License as published by
7676 the Free Software Foundation, either version 3 of the License, or
7677 (at your option) any later version.
7679 GNU Emacs is distributed in the hope that it will be useful,
7680 but WITHOUT ANY WARRANTY; without even the implied warranty of
7681 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7682 GNU General Public License for more details.
7684 You should have received a copy of the GNU General Public License
7685 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.