1 2013-09-19 Glenn Morris <rgm@gnu.org>
3 * eshell/em-hist.el (eshell-hist-parse-arguments):
4 Remove unused arg `silent'. Update callers.
6 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9 * eshell/em-smart.el (eshell-smart-scroll-window)
10 (eshell-disable-after-change):
11 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
13 2013-09-18 Alan Mackenzie <acm@muc.de>
15 Fix fontification of type when followed by "const".
16 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
17 "known" types from fontification.
19 2013-09-18 Glenn Morris <rgm@gnu.org>
21 * emacs-lisp/chart.el (x-display-color-cells): Declare.
22 (chart-face-list): Drop Emacsen without display-color-p.
24 * net/eww.el (libxml-parse-html-region): Declare.
25 (eww-display-html): Explicit error if no libxml2 support.
27 * doc-view.el (doc-view-mode): Silence --without-x compilation.
29 * image.el (image-type-from-buffer, image-multi-frame-p):
30 Remove --without-x warning/error.
32 * mouse.el (mouse-yank-primary):
33 * term.el (term-mouse-paste):
34 Reorder to silence --without-x compilation.
36 * mpc.el (doc-view-mode): Silence --without-x compilation.
38 * mail/rmailmm.el (rmail-mime-set-bulk-data):
39 Silence --without-x compilation.
41 * progmodes/gud.el (gud-find-file, gud-mode):
42 Silence --without-x compilation.
43 (tooltip-mode): Declare.
45 * wdired.el (dired-backup-overwrite): Remove declaration.
46 (wdired-mode-map): Add doc string.
48 * custom.el (x-get-resource): Declare.
50 * eshell/em-glob.el (ange-cache):
51 * eshell/em-unix.el (ange-cache): Declare.
53 * faces.el (x-display-list, x-open-connection, x-get-resource):
56 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
57 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
60 * frame.el (x-display-grayscale-p, x-display-name): Declare.
62 * net/gnutls.el (gnutls-log-level): Declare.
64 * net/shr.el (image-size, image-animate): Declare.
66 * simple.el (font-info): Declare.
68 * subr.el (x-popup-dialog): Declare.
70 * term/common-win.el (x-select-enable-primary)
71 (x-last-selected-text-primary, x-last-selected-text-clipboard):
74 * term/ns-win.el (x-handle-args): Declare.
76 * term/x-win.el (x-select-enable-clipboard): Declare.
78 * term/w32-win.el (create-default-fontset): Declare.
80 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
83 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
84 (fit-frame-to-buffer): Explicit error if --without-x.
85 (mouse-autoselect-window-select): Silence compiler.
87 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
89 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
90 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
91 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
92 * eshell/esh-util.el (eshell-sublist):
93 Remove unused local variables.
95 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
97 * textmodes/two-column.el: Make 2C-split work for --without-x.
98 (scroll-bar-columns): Autoload.
99 (top-level): Require fringe when compiling.
101 2013-09-18 Leo Liu <sdl.web@gmail.com>
103 * subr.el (add-hook): Robustify to handle closure as well.
105 2013-09-17 Glenn Morris <rgm@gnu.org>
107 * simple.el (messages-buffer-mode-map): Unbind "g".
109 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
111 * help-mode.el (help-mode-finish): Use derived-mode-p.
112 Remove obsolete highlighting.
114 * play/life.el (life-mode): Use define-derived-mode. Derive from
116 (life): Let-bind inhibit-read-only.
117 (life-setup): Avoid `setq'. Use `life-mode'.
119 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
120 which should not be needed any more.
121 (package-menu-refresh, package-menu-describe-package): Use user-error.
123 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
124 (eshell-post-rewrite-command-hook): Make obsolete.
125 (eshell-parse-command): Simplify.
126 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
127 (eshell--cmd): Declare.
128 (eshell-parse-pipeline): Remove unused var `final-p'.
129 Pass a dynvar to eshell-post-rewrite-command-hook.
130 Implement the new eshell-post-rewrite-command-function.
131 (eshell-invoke-directly): Remove unused arg `input'.
132 * eshell/esh-io.el (eshell-io-initialize):
133 Use eshell-post-rewrite-command-function (bug#15399).
134 (eshell--apply-redirections): Rename from eshell-apply-redirections;
135 adjust to new calling convention.
136 (eshell-create-handles): Rename args to avoid clashing with dynvar
139 2013-09-17 Glenn Morris <rgm@gnu.org>
141 * simple.el (messages-buffer-mode): New major mode.
142 (messages-buffer): New function.
143 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
144 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
145 (ert-run-test): Use `messages-buffer' function.
146 (ert--force-message-log-buffer-truncation): Ignore read-only.
147 * help.el (view-echo-area-messages): Use `messages-buffer' function.
148 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
150 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
152 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
154 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
156 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
158 * icomplete.el (icomplete-in-buffer): New var.
159 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
160 vars and replace them with functions.
161 (icomplete-minibuffer-setup): Adjust accordingly.
162 (icomplete--completion-table, icomplete--completion-predicate)
163 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
165 (icomplete-forward-completions, icomplete-backward-completions)
166 (icomplete-simple-completing-p, icomplete-exhibit)
167 (icomplete-completions): Use them.
168 (icomplete--in-region-buffer): New var.
169 (icomplete--in-region-setup): New function.
170 (icomplete-mode): Use it.
172 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
174 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
175 return args and options.
176 (eshell-eval-using-options): Use the new return value of
177 eshell--do-opts to set the options's vars in their scope.
178 (eshell--set-option): Rename from eshell-set-option.
180 (eshell--process-option): Rename from eshell-process-option.
182 (eshell--process-args): Use an `opt-vals' alist to store the options's
183 values during their processing and return them additionally to the
186 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
188 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
189 continuation character an operator, as far as indentation is
190 concerned (Bug#15369).
192 2013-09-15 Martin Rudalics <rudalics@gmx.at>
194 * window.el (window--state-put-2): Don't process buffer state
195 when buffer doesn't exist any more (Bug#15382).
197 2013-09-15 Glenn Morris <rgm@gnu.org>
199 * eshell/em-unix.el (eshell/rm):
200 Make -f ignore missing files. (Bug#15373)
202 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
203 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
204 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
206 2013-09-14 Glenn Morris <rgm@gnu.org>
208 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
210 2013-09-13 Glenn Morris <rgm@gnu.org>
212 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
213 (dired-guess-default): Make `file' available in the env. (Bug#15363)
215 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
217 * frame.el (x-focus-frame): Mark as declared in frame.c.
219 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
221 * ls-lisp.el: Use advice-add.
222 (original-insert-directory): Remove.
223 (ls-lisp--insert-directory): Rename from insert-directory; add
225 (insert-directory): Advise.
227 2013-09-13 Eli Zaretskii <eliz@gnu.org>
229 * term.el (term-emulate-terminal): Decode the command string
230 before passing it to term-command-hook. (Bug#15337)
232 2013-09-13 Glenn Morris <rgm@gnu.org>
234 * eshell/esh-util.el (ange-cache): Move declaration earlier.
236 * eshell/esh-ext.el (eshell-search-path): Declare.
238 * eshell/em-prompt.el (eshell/pwd): Autoload it.
239 Otherwise an error occurs if eshell-dirs module not loaded.
241 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
243 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
245 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
246 `tramp-check-proper-host'. Check for a valid method name.
248 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
249 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
250 * net/tramp-sh.el (tramp-maybe-open-connection):
251 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
253 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
254 also for hash values.
256 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
258 * term/ns-win.el (parameters): Don't declare as dynamic.
259 (before-make-frame-hook): Don't add ineffective function.
261 * eshell/*.el: Use lexical-binding (bug#15231).
263 2013-09-12 Kenichi Handa <handa@gnu.org>
265 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
267 2013-09-12 Glenn Morris <rgm@gnu.org>
269 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
270 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
272 * subr.el (do-after-load-evaluation): Also give compiler warnings
273 when obsolete files are used (except by obsolete files).
275 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
276 in the status output, assume `filename' is the first. (Bug#15322)
278 * vc/vc.el (vc-deduce-fileset): Doc fix.
280 * calc/calc-help.el (Info-goto-node):
281 * progmodes/cperl-mode.el (Info-find-node):
282 * vc/ediff.el (Info-goto-node): Update declarations.
284 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
286 * vc/vc-bzr.el (vc-compilation-mode): Declare.
287 (vc-bzr-pull): Require vc-dispatcher.
288 * vc/vc-git.el (vc-compilation-mode): Declare.
289 (vc-git-pull): Require vc-dispatcher.
291 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
293 * progmodes/octave.el (help-button-action): Declare.
295 * shell.el (shell-directory-tracker): Output error as a message
296 rather than just returning it as a string.
297 (shell-process-pushd): Remove useless use of message.
299 * dframe.el (dframe-timer-fn):
300 * files.el (dir-locals-read-from-file):
301 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
303 * reveal.el (reveal-post-command):
304 * saveplace.el (load-save-place-alist-from-file):
305 * shell.el (shell-resync-dirs):
306 * w32-common-fns.el (x-get-selection-value):
307 * emacs-lisp/copyright.el (copyright-find-copyright):
308 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
309 * emulation/tpu-edt.el (tpu-copy-keyfile):
310 * play/bubbles.el (bubbles--mark-neighbourhood):
311 * progmodes/executable.el
312 (executable-make-buffer-file-executable-if-script-p):
313 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
315 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
317 Cleanup Eshell to rely less on dynamic scoping.
318 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
319 last-value, and ext-command here. Bind `args' closer to `body'.
320 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
321 (eshell--args): Declare new dynamic var.
322 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
323 last-value, and ext-command. Pass `args' to `body'.
324 (eshell-process-args): Bind eshell--args.
325 (eshell-set-option): Use eshell--args.
326 * eshell/eshell.el (eshell): Use derived-mode-p.
327 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
328 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
329 (eshell-glob-function): Declare.
330 * eshell/esh-util.el: Require cl-lib.
331 (eshell-read-hosts-file): Avoid add-to-list.
332 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
334 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
336 (eshell/diff): Remove unused var `err'.
337 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
339 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
340 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
342 * eshell/em-glob.el (eshell-glob-matches, message-shown):
343 Move declaration before first use.
344 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
345 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
348 2013-09-12 Glenn Morris <rgm@gnu.org>
350 * term/ns-win.el (global-map): Remove binding for ispell-next,
351 deleted 1999-05-29. (Bug#15357)
353 2013-09-11 Glenn Morris <rgm@gnu.org>
355 * echistory.el (electric-command-history): Remove call to deleted func.
357 * play/landmark.el (landmark-mode): Fix typos.
359 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
360 Check cvs-sort-ignore-file is bound.
362 * savehist.el: No need for cl when compiling on Emacs.
364 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
366 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
368 (eshell-self-insert-command, eshell-send-invisible):
369 Remove unused argument.
370 (eshell-handle-control-codes): Remove unused var `orig'.
371 Avoid delete-backward-char.
373 * files.el (set-auto-mode): Simplify a bit further.
375 2013-09-11 Glenn Morris <rgm@gnu.org>
377 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
378 (set-auto-mode): Don't regexp-quote elements.
379 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
380 * progmodes/cc-mode.el (interpreter-mode-alist):
381 * progmodes/ruby-mode.el (interpreter-mode-alist):
382 Revert previous change.
384 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
386 * play/snake.el (snake-mode):
387 * play/mpuz.el (mpuz-mode):
388 * play/landmark.el (lm-mode):
389 * play/blackbox.el (blackbox-mode):
390 * play/5x5.el (5x5-mode):
391 * obsolete/options.el (Edit-options-mode):
392 * net/quickurl.el (quickurl-list-mode):
393 * net/newst-treeview.el (newsticker-treeview-mode):
394 * mail/rmailsum.el (rmail-summary-mode):
395 * mail/mspools.el (mspools-mode):
396 * locate.el (locate-mode):
397 * ibuffer.el (ibuffer-mode):
398 * emulation/ws-mode.el (wordstar-mode):
399 * emacs-lisp/debug.el (debugger-mode):
400 * array.el (array-mode):
401 * net/eudc.el (eudc-mode): Use define-derived-mode.
402 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
403 Move initialization into declaration.
404 (mairix-searches-mode): Use define-derived-mode.
405 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
406 (eudc-edit-hotlist): Use dolist.
407 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
408 (Man-mode): Use define-derived-mode.
409 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
410 (Info-edit-mode): Use define-derived-mode.
411 (Info-cease-edit): Use Info-mode.
412 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
414 (eshell-mode): Use define-derived-mode.
415 * chistory.el (command-history-mode-map): Rename from
417 (command-history-mode): Use define-derived-mode.
418 (Command-history-setup): Remove function.
419 * calc/calc.el (calc-trail-mode-map): New var.
420 (calc-trail-mode): Use define-derived-mode.
421 (calc-trail-buffer): Set calc-main-buffer manually.
422 * bookmark.el (bookmark-insert-annotation): New function.
423 (bookmark-edit-annotation): Use it.
424 (bookmark-edit-annotation-mode): Make it a proper major mode.
425 (bookmark-send-edited-annotation): Use derived-mode-p.
426 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
427 closer to its ideal place. Use \' to match EOS.
429 * profiler.el (profiler-calltree-find): Use function-equal.
431 2013-09-10 Glenn Morris <rgm@gnu.org>
433 * files.el (interpreter-mode-alist): Convert to regexps.
434 (set-auto-mode): Adapt for this. (Bug#15306)
435 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
436 Comment out unused variable.
437 * progmodes/cc-mode.el (interpreter-mode-alist):
438 * progmodes/python.el (interpreter-mode-alist):
439 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
440 * progmodes/sh-script.el (sh-set-shell):
441 No longer use interpreter-mode-alist to get list of shells.
443 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
445 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
447 * simple.el: Use set-temporary-overlay-map for universal-argument.
448 (universal-argument-map): Don't use default-bindings (bug#15317).
449 Bind switch-frame explicitly. Replace universal-argument-minus with
450 a conditional binding.
451 (universal-argument-num-events, saved-overriding-map): Remove.
452 (restore-overriding-map): Remove.
453 (universal-argument--mode): Rename from save&set-overriding-map,
455 (universal-argument, universal-argument-more, negative-argument)
456 (digit-argument): Adjust accordingly.
457 (universal-argument-minus): Remove.
458 (universal-argument-other-key): Remove.
460 * subr.el (with-demoted-errors): Add `format' argument.
462 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
464 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
465 `tramp-cleanup-connection'.
467 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
468 parameters KEEP-DEBUG and KEEP-PASSWORD.
470 * net/tramp.el (tramp-file-name-handler):
471 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
472 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
473 (tramp-maybe-open-connection):
474 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
475 Use `tramp-cleanup-connection'.
477 * net/tramp-sh.el (tramp-maybe-open-connection):
478 Catch 'uname-changed inside the progress reporter.
480 2013-09-10 Glenn Morris <rgm@gnu.org>
482 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
484 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
485 returns "alternate access method" in mode (eg "-rw-r--r--.").
487 2013-09-08 Glenn Morris <rgm@gnu.org>
489 * saveplace.el (load-save-place-alist-from-file):
490 Demote errors. (Bug#15305)
492 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
494 Improve compatibility with older Emacsen, and XEmacs.
496 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
497 only if it is bound. It isn't for XEmacs.
498 (with-tramp-progress-reporter): Do not let-bind `result'.
499 This yields to scoping errors in XEmacs.
500 (tramp-handle-make-auto-save-file-name): New function, moved from
503 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
504 for `make-auto-save-file-name'.
505 (tramp-adb--gnu-switches-to-ash):
506 Use `tramp-compat-replace-regexp-in-string'.
508 * net/tramp-cache.el (tramp-cache-print): Call
509 `substring-no-properties' only if it is bound. It isn't for XEmacs.
511 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
512 bound. It isn't for XEmacs.
514 * net/tramp-compat.el (tramp-compat-copy-file):
515 Catch `wrong-number-of-arguments' error.
516 (tramp-compat-replace-regexp-in-string): New defun.
518 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
519 for `make-auto-save-file-name'.
520 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
522 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
523 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
524 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
526 * net/tramp-gw.el (tramp-gw-open-network-stream):
527 Use `tramp-compat-replace-regexp-in-string'.
529 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
530 Call `tramp-handle-make-auto-save-file-name'.
531 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
532 (tramp-sh-file-gvfs-monitor-dir-process-filter)
533 (tramp-sh-file-inotifywait-process-filter):
534 Use `tramp-compat-replace-regexp-in-string'.
535 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
537 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
538 for `make-auto-save-file-name'.
539 (tramp-smb-handle-copy-directory):
540 Call `tramp-compat-replace-regexp-in-string'.
541 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
542 (tramp-smb-handle-copy-file): Improve error message.
543 (tramp-smb-handle-rename-file): Rename directly only in case
544 `newname' does not exist yet. This is a restriction of smbclient.
545 (tramp-smb-maybe-open-connection): Rerun the function only when
546 `auth-sources' is non-nil.
548 2013-09-08 Kenichi Handa <handa@gnu.org>
550 * international/characters.el: Set category "^" (Combining) for
553 2013-09-07 Alan Mackenzie <acm@muc.de>
555 Correctly fontify Java class constructors.
556 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
558 (c-recognize-typeless-decls): Set the Java value to t.
559 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
560 While handling a "(", add a check for, effectively, Java, and handle a
561 "typeless" declaration there.
563 2013-09-07 Roland Winkler <winkler@gnu.org>
565 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
566 field subtitle for entry type book.
568 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
570 * minibuffer.el: Make minibuffer-complete call completion-in-region
571 rather than other way around.
572 (completion--some, completion-pcm--find-all-completions):
573 Don't delay signals when debugging.
574 (minibuffer-completion-contents): Beware fields within the
576 (completion-all-sorted-completions): Use defvar-local.
577 (completion--do-completion, completion--cache-all-sorted-completions)
578 (completion-all-sorted-completions, minibuffer-force-complete):
579 Add args `beg' and `end'.
580 (completion--in-region-1): New fun, extracted from minibuffer-complete.
581 (minibuffer-complete): Use completion-in-region.
582 (completion-complete-and-exit): New fun, extracted from
583 minibuffer-complete-and-exit.
584 (minibuffer-complete-and-exit): Use it.
585 (completion--complete-and-exit): Rename from
586 minibuffer--complete-and-exit.
587 (completion-in-region--single-word): New function, extracted from
588 minibuffer-complete-word.
589 (minibuffer-complete-word): Use it.
590 (display-completion-list): Make `common-substring' argument obsolete.
591 (completion--in-region): Call completion--in-region-1 instead of
593 (completion-help-at-point): Pass boundaries to
594 minibuffer-completion-help as args rather than via an overlay.
595 (completion-pcm--string->pattern): Use `any-delim'.
596 (completion-pcm--optimize-pattern): New function.
597 (completion-pcm--pattern->regex): Handle `any-delim'.
598 * icomplete.el (icomplete-forward-completions)
599 (icomplete-backward-completions, icomplete-completions):
600 Adjust calls to completion-all-sorted-completions and
601 completion--cache-all-sorted-completions.
602 (icomplete-with-completion-tables): Default to t.
603 * emacs-lisp/crm.el (crm--current-element): Rename from
604 crm--select-current-element. Don't put an overlay but return the
606 (crm--completion-command): Take two new args to bind to the boundaries.
607 (crm-completion-help): Adjust accordingly.
608 (crm-complete): Use completion-in-region.
609 (crm-complete-word): Use completion-in-region--single-word.
610 (crm-complete-and-exit): Use completion-complete-and-exit.
612 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
614 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
617 2013-09-06 Juri Linkov <juri@jurta.org>
619 * info.el (Info-display-images-node): When image file doesn't exist
620 display text version of the image if it's provided in the Info file.
621 Otherwise, display the location of missing image from SRC attribute.
622 Add help-echo text property from ALT attribute. (Bug#15279)
624 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
626 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
627 (edit-abbrevs-mode): Use define-derived-mode.
629 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
630 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
632 (epa-key-list-mode, epa-key-mode, epa-info-mode):
633 Use define-derived-mode.
635 * epg.el (epg-start-encrypt): Minor CSE simplification.
637 2013-09-06 William Xu <william.xwl@gmail.com>
639 * arc-mode.el: Add support for 7za (bug#15264).
640 (archive-7z-program): New var.
641 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
642 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
643 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
645 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
649 * net/tramp.el (tramp-syntax, tramp-prefix-format)
650 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
651 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
652 (tramp-postfix-host-format, tramp-file-name-regexp)
653 (tramp-completion-file-name-regexp)
654 (tramp-completion-dissect-file-name)
655 (tramp-handle-substitute-in-file-name): Remove 'url case.
656 (tramp-file-name-regexp-url)
657 (tramp-completion-file-name-regexp-url): Remove constants.
659 2013-09-06 Glenn Morris <rgm@gnu.org>
661 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
663 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
665 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
666 keywords" below "here-doc beginnings" (Bug#15270).
668 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
670 * subr.el (pop): Use `car-safe'.
671 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
672 to detect unused `pop' return value.
674 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
676 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
677 (python-fill-string): Remove unused var `marker'.
678 (python-skeleton-add-menu-items): Remove unused var `items'.
680 * international/mule-cmds.el: Require CL.
681 (find-coding-systems-for-charsets): Avoid add-to-list.
682 (sanitize-coding-system-list): New function, extracted from
683 select-safe-coding-system-interactively.
684 (select-safe-coding-system-interactively): Use it.
685 (read-input-method-name): Accept symbols for `default'.
687 * emacs-lisp/advice.el (defadvice): Add indent rule.
689 2013-09-05 Daniel Hackney <dan@haxney.org>
709 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
710 byte compiler. Remove some unused let-bound variables.
712 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
714 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
715 a "ref-cell", since it gets better optimized (bug#14883).
717 2013-09-05 Glenn Morris <rgm@gnu.org>
719 * progmodes/cc-awk.el (c-forward-sws): Declare.
721 2013-09-04 Glenn Morris <rgm@gnu.org>
723 * generic-x.el [rul-generic-mode]: Require cc-mode.
724 (c++-mode-syntax-table): Declare.
725 (rul-generic-mode-syntax-table): Init in the defvar.
727 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
729 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
730 (vc-do-command, vc-set-async-update):
731 * vc/vc-mtn.el (vc-mtn-dir-status):
732 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
733 (vc-hg-pull, vc-hg-merge-branch):
734 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
735 (vc-git-merge-branch):
736 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
737 (vc-cvs-dir-status-files):
738 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
739 (vc-bzr-dir-status-files):
740 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
741 * vc/vc-annotate.el: Use lexical-binding.
742 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
743 (vc-sentinel-movepoint): Declare.
744 (vc-annotate): Don't use `goto-line'.
745 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
746 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
747 (vc-sentinel-movepoint): Declare.
748 * vc/vc-svn.el: Use lexical-binding.
749 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
751 * vc/vc-rcs.el: Use lexical-binding.
753 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
754 `deleted'. Don't drop errors silently.
756 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
758 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
760 * vc/vc.el (vc-ignore): Rewrite.
761 (vc-default-ignore): New function.
762 (vc-default-ignore-completion-table): Use find-ignore-file.
764 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
765 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
766 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
767 Remove. Most code moved to vc.el.
769 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
771 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
772 * net/tramp-smb.el (tramp-smb-get-file-entries):
773 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
774 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
776 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
778 (eww-change-select): Remove unused var `properties'.
779 (eww-make-unique-file-name): Remove unused var `base'.
781 * finder.el (finder-compile-keywords): Don't mess with windows.
783 * calculator.el (calculator-funcall): Fix typo in last change.
785 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
787 * emacs-lisp/package.el (package-activate-1): Don't let a missing
788 <pkg>-autoloads.el file stop us.
790 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
791 warnings, and factor out common code.
793 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
795 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
796 two-character operators and whether the character preceding them
797 changes their meaning (Bug#15208).
799 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
801 Format code sent to Python shell for robustness.
802 * progmodes/python.el (python-shell-buffer-substring):
804 (python-shell-send-region, python-shell-send-buffer): Use it.
806 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
808 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
809 * net/tramp.el (tramp-user-error): ... here.
810 (tramp-find-method, tramp-check-proper-host)
811 (tramp-dissect-file-name, tramp-debug-message)
812 (tramp-handle-shell-command):
813 * net/tramp-adb.el (tramp-adb-handle-shell-command):
814 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
816 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
818 2013-09-02 Martin Rudalics <rudalics@gmx.at>
820 * avoid.el (mouse-avoidance-point-position)
821 (mouse-avoidance-too-close-p): Handle case where posn-at-point
824 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
826 * progmodes/python.el (python-shell-completion-get-completions):
827 Drop use of deleted `comint-last-prompt-overlay'.
828 (python-nav-if-name-main): New command.
830 2013-09-01 Glenn Morris <rgm@gnu.org>
832 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
833 Avoid leading space in $wins. Otherwise the sed command used by
834 eg compile-main ends up containing "/*.el". (Bug#15170)
836 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
838 2013-08-30 Glenn Morris <rgm@gnu.org>
840 * emacs-lisp/bytecomp.el (byte-recompile-directory):
841 Fix is-this-a-directory logic. (Bug#15220)
843 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
845 * textmodes/css-mode.el: Use SMIE.
846 (css-smie-grammar): New var.
847 (css-smie--forward-token, css-smie--backward-token)
848 (css-smie-rules): New functions.
849 (css-mode): Use them.
850 (css-navigation-syntax-table): Remove var.
851 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
852 (css-indent-calculate, css-indent-line): Remove functions.
854 Misc changes to reduce use of `(lambda...); and other cleanups.
855 * cus-edit.el: Use lexical-binding.
856 (customize-push-and-save, customize-apropos)
857 (custom-buffer-create-internal): Use closures.
858 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
859 * progmodes/ada-xref.el: Use setq.
860 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
861 * dframe.el: Use lexical-binding.
862 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
863 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
864 * descr-text.el: Use lexical-binding.
865 (describe-text-widget, describe-text-sexp, describe-property-list):
867 * comint.el (comint-history-isearch-push-state): Use a closure.
868 * calculator.el: Use lexical-binding.
869 (calculator-number-to-string): Make it work with lexical-binding.
870 (calculator-funcall): Same and use cl-letf.
872 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
873 (lisp--company-doc-string, lisp--company-location): New functions.
874 (lisp-completion-at-point): Use them to improve Company support.
876 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
877 params of lambda expressions.
878 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
879 (ruby-smie--opening-pipe-p): New function.
880 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
881 symbols and matched |...| for formal params.
882 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
883 from being treated as hanging. Handle "rescue".
885 2013-08-29 Glenn Morris <rgm@gnu.org>
887 * progmodes/cc-engine.el (c-pull-open-brace):
888 Move definition before use.
890 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
892 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
893 are immutable. Don't use `unsafe' any more.
894 (cl--defsubst-expand): Don't substitute at the same time as keeping
895 a residual unused let-binding. Don't use `unsafe' any more.
897 2013-08-29 Glenn Morris <rgm@gnu.org>
899 * calendar/cal-china.el (calendar-chinese-year-cache):
902 * nxml/nxml-util.el (nxml-debug-clear-inside):
903 Use cl-loop rather than loop.
905 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
907 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
909 2013-08-28 Glenn Morris <rgm@gnu.org>
911 * progmodes/antlr-mode.el: No need to require cc-mode twice.
913 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
915 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
917 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
919 * simple.el (repeat-complex-command--called-interactively-skip):
921 (repeat-complex-command): Use it (bug#14136).
923 * progmodes/cc-mode.el: Minor cleanup of var declarations.
924 (c-define-abbrev-table): Add `doc' argument.
925 (c-mode-abbrev-table, c++-mode-abbrev-table)
926 (objc-mode-abbrev-table, java-mode-abbrev-table)
927 (idl-mode-abbrev-table, pike-mode-abbrev-table)
928 (awk-mode-abbrev-table): Use it.
929 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
930 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
931 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
932 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
933 Move initialization into the declaration; and remove any
936 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
937 and dynamic let binding.
939 * vc/smerge-mode.el: Remove redundant :group args.
941 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
944 2013-08-28 Juri Linkov <juri@jurta.org>
946 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
947 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
948 (isearch-other-meta-char): Handle an undefined shifted printing
949 character by downshifting it. (Bug#15200)
951 2013-08-28 Juri Linkov <juri@jurta.org>
953 * isearch.el (isearch-search): Change regexp error message for
954 non-regexp searches. (Bug#15166)
956 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
958 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
959 for portability to hosts where /bin/sh has problems.
961 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
963 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
965 2013-08-27 Juri Linkov <juri@jurta.org>
967 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
968 in the keyboard macro. (Bug#15126)
970 2013-08-27 Juri Linkov <juri@jurta.org>
972 * isearch.el (isearch-quote-char): Comment out converting unibyte
973 to multibyte, thus syncing with its `quoted-insert' counterpart.
976 2013-08-27 Martin Rudalics <rudalics@gmx.at>
978 * window.el (display-buffer-use-some-window): Add missing
979 argument in call of get-largest-window (Bug#15185).
980 Reported by Stephen Leake.
982 2013-08-27 Glenn Morris <rgm@gnu.org>
984 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
986 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
988 * progmodes/python.el (python-font-lock-keywords): Don't return nil
989 from a matcher-function unless there's no more matches (bug#15161).
991 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
993 * minibuffer.el: Revert change from 2013-08-20.
995 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
996 with text property `tramp-default', if appropriate.
997 (tramp-check-proper-host): New defun.
998 (tramp-dissect-file-name): Do not check hostname. Revert change
1000 (tramp-backtrace): Make VEC-OR-PROC optional.
1002 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1003 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1004 * net/tramp-sh.el (tramp-maybe-open-connection):
1005 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1006 Apply `tramp-check-proper-host'.
1008 2013-08-26 Tassilo Horn <tsdh@gnu.org>
1010 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
1011 lambda expression in order to have `describe-variable' display it.
1013 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
1015 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
1016 BUF can be optional. (Bug#15186)
1018 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
1020 * progmodes/flymake.el (flymake-get-real-file-name-function):
1021 Fix broken customization. (Bug#15184)
1023 2013-08-25 Alan Mackenzie <acm@muc.de>
1025 Improve indentation of bracelists defined by macros (without "=").
1027 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
1028 expansion begins with "{", regard it as bracelist when it doesn't
1031 Parse C++ inher-intro when there's a template split over 2 lines.
1033 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
1034 rigorously the search for "class" etc. followed by ":".
1036 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
1037 random languages a regexp which never matches rather than nil.
1039 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
1041 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
1042 (c-awk-regexp-one-line-possibly-open-char-list-re)
1043 (c-awk-one-line-possibly-open-regexp-re)
1044 (c-awk-one-line-non-syn-ws*-re): Remove.
1045 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
1046 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
1047 (c-awk-space*-unclosed-regexp-/-re): New constants.
1048 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
1049 aren't regexp delimiters.
1051 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
1052 handling for a rare situation in AWK Mode involving unterminated
1055 2013-08-23 Glenn Morris <rgm@gnu.org>
1057 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
1059 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
1061 * files.el (create-file-buffer): If the result would begin with
1062 spaces, prepend a "|" instead of removing them. (Bug#15162)
1064 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
1066 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
1067 text-properties (bug#15155).
1069 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1071 (calc-keypad-redraw): Remove unused var `pad'.
1072 (calc-keypad-press): Remove unused var `menu'.
1074 2013-08-23 Martin Rudalics <rudalics@gmx.at>
1076 * window.el (display-buffer-pop-up-frame):
1077 Call pop-up-frame-function with BUFFER current so `make-frame' will
1078 use it as the new frame's buffer (Bug#15133).
1080 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1082 * calendar/timeclock.el: Minor cleanups.
1083 (timeclock-ask-before-exiting, timeclock-use-display-time):
1085 (timeclock-modeline-display): Define as alias before the
1087 (timeclock-mode-line-display): Use define-minor-mode.
1088 (timeclock-day-list-template): Make it a function, add an argument.
1089 (timeclock-day-list-required, timeclock-day-list-length)
1090 (timeclock-day-list-debt, timeclock-day-list-span)
1091 (timeclock-day-list-break): Adjust calls accordingly.
1093 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1095 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1096 Use read--expression so that completion works again.
1098 2013-08-21 Sam Steingold <sds@gnu.org>
1100 Add rudimentary inferior shell interaction
1101 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1102 (sh-set-shell): Reset it.
1103 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1104 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
1106 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1108 * align.el: Use lexical-binding.
1109 (align-region): Simplify accordingly.
1111 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
1113 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1115 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1118 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
1122 * net/tramp-cmds.el:
1124 * net/tramp-gvfs.el:
1126 * net/tramp-sh.el: Don't wrap external variable declarations by
1127 `eval-when-compile'.
1129 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1131 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1132 now that Emacs supports ImageMagick animations.
1134 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
1136 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1137 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1139 2013-08-16 Martin Rudalics <rudalics@gmx.at>
1141 * window.el (mouse-autoselect-window-select): Do autoselect when
1142 mouse pointer is on margin.
1144 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1146 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1148 2013-08-16 Glenn Morris <rgm@gnu.org>
1150 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1151 Handle "Remote Directory" response of some clients. (Bug#15058)
1153 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1154 Tweak warning. (Bug#14926)
1156 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1157 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1159 * image-mode.el (image-mode-map): Add menu items to reverse,
1160 increase, decrease, reset animation speed.
1161 (image--set-speed, image-increase-speed, image-decrease-speed)
1162 (image-reverse-speed, image-reset-speed): New functions.
1163 (image-mode-map): Add bindings for speed commands.
1165 * image.el (image-animate-get-speed, image-animate-set-speed):
1167 (image-animate-timeout): Respect image :speed property.
1169 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1171 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1172 previous line (bug#15101).
1173 (debugger-eval-expression, debugger-record-expression):
1174 Use read--expression (bug#15102).
1176 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
1178 Remove byte compiler warnings, visible when compiling with
1179 `byte-compile-force-lexical-warnings' set to t.
1181 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1182 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1183 (tramp-handle-unhandled-file-name-directory)
1184 (tramp-handle-file-notify-add-watch, tramp-action-login)
1185 (tramp-action-succeed, tramp-action-permission-denied)
1186 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1189 * net/tramp-adb.el (tramp-adb-parse-device-names)
1190 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1191 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1192 (tramp-adb-handle-file-truename): Remove unused arguments.
1194 * net/tramp-cache.el (tramp-flush-directory-property)
1195 (tramp-flush-connection-property, tramp-list-connections)
1196 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1198 * net/tramp-compat.el (tramp-compat-make-temp-file):
1199 Rename FILENAME to F.
1201 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1202 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1203 (tramp-zeroconf-parse-workstation-device-names)
1204 (tramp-zeroconf-parse-webdav-device-names)
1205 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1207 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1208 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1210 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1212 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1213 (tramp-sh-handle-insert-file-contents-literally)
1214 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1216 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1217 Remove unused variables.
1219 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1220 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1221 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1223 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1224 Make them a defconst.
1225 (tramp-uuencode-region): Remove unused variable.
1227 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
1229 * frameset.el (frameset--prop-setter): New function.
1230 (frameset-prop): Add gv-setter declaration.
1231 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1232 parameter was already set in FILTERED. Doc fix.
1233 (frameset--record-minibuffer-relationships): Allow saving a
1234 minibufferless frame without its corresponding minibuffer frame.
1235 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1236 frame, if the frame id matches.
1237 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1238 frames before orphaned ones.
1239 (frameset-restore): Warn about orphaned windows, instead of error out.
1241 2013-08-14 Martin Rudalics <rudalics@gmx.at>
1243 * window.el (window-make-atom): Don't overwrite parameter
1245 (display-buffer-in-atom-window): Handle special case where we
1246 split an already atomic window.
1247 (window--major-non-side-window, display-buffer-in-side-window)
1248 (window--side-check): Ignore minibuffer window when walking
1250 (window-deletable-p): Return 'frame only if no other frame uses
1251 our minibuffer window.
1252 (record-window-buffer): Run buffer-list-update-hook.
1253 (split-window): Make sure window--check-frame won't destroy an
1254 existing atomic window in case the new window gets nested
1256 (display-buffer-at-bottom): Ignore minibuffer window when
1257 walking window tree. Don't split a side window.
1258 (pop-to-buffer): Don't set-buffer here, the select-window call
1260 (mouse-autoselect-window-select): Autoselect only if we are in the
1261 text portion of the window.
1263 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1265 * net/shr.el (shr-parse-image-data): New function to grab both the
1266 data itself and the Content-Type.
1267 (shr-put-image): Use it.
1269 * net/eww.el (eww-display-image): Ditto.
1271 * image.el (image-content-type-suffixes): New variable.
1273 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1275 * progmodes/python.el (python-imenu--build-tree)
1276 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1278 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
1280 * simple.el (backward-word): Mention the optional argument.
1282 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1284 * frameset.el (frameset--make): Rename constructor from make-frameset.
1285 (frameset-p, frameset-valid-p): Don't autoload.
1286 (frameset-valid-p): Use normal accessors.
1288 2013-08-13 Glenn Morris <rgm@gnu.org>
1290 * progmodes/compile.el (compile-command): Tweak example in doc.
1291 * obsolete/scribe.el (scribe-mode):
1292 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1294 * mail/feedmail.el (feedmail-confirm-outgoing)
1295 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1297 * cus-start.el (truncate-partial-width-windows): Fix type.
1299 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1301 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1303 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1305 * emacs-lisp/timer.el (timer--time-setter): New function.
1306 (timer--time): Use it as gv-setter.
1308 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1309 setter is not a symbol.
1311 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
1313 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1314 if sending fails. This makes debugging easier.
1316 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
1318 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1319 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1320 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1322 2013-08-12 Eli Zaretskii <eliz@gnu.org>
1324 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1326 2013-08-12 Glenn Morris <rgm@gnu.org>
1328 * format.el (format-annotate-function):
1329 Handle read-only text properties in the source. (Bug#14887)
1331 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1333 * net/eww.el (eww-display-html): Ignore coding system errors.
1334 One web site uses "utf-8lias" as the coding system.
1336 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
1338 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1340 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
1342 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1343 (tutorial--detailed-help): Remove unused local variables.
1344 (tutorial--save-tutorial-to): Use ignore-errors.
1345 (help-with-tutorial): Use looking-at-p.
1347 * view.el (view-buffer-other-window, view-buffer-other-frame):
1348 Mark unused arguments.
1350 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1351 (woman-select-symbol-fonts, woman, woman-find-file)
1352 (woman-insert-file-contents, woman-non-underline-faces):
1354 (woman1-unquote): Move declaration.
1356 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1357 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
1358 argument. Remove unused local variable.
1359 (xml-parse-elem-type): Use string-match-p.
1360 (xml-substitute-numeric-entities): Use ignore-errors.
1362 * calculator.el (calculator): Mark unused argument.
1363 (calculator-paste, calculator-quit, calculator-integer-p):
1365 (calculator-string-to-number, calculator-decimal, calculator-exp)
1366 (calculator-op-or-exp): Use string-match-p.
1368 * dired.el (dired-buffer-more-recently-used-p): Declare.
1369 (dired-insert-set-properties, dired-insert-old-subdirs):
1372 * dired-aux.el (dired-compress): Use ignore-errors.
1373 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1374 (dired-do-async-shell-command, dired-do-shell-command)
1375 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1376 (dired-insert-subdir-validate): Use string-match-p.
1377 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1378 (dired-add-entry): Use string-match-p, looking-at-p.
1379 (dired-insert-subdir-newpos): Remove unused local variable.
1381 * filenotify.el (file-notify-callback): Remove unused local variable.
1383 * filesets.el (filesets-error): Mark unused argument.
1384 (filesets-which-command-p, filesets-filter-dir-names)
1385 (filesets-directory-files, filesets-get-external-viewer)
1386 (filesets-ingroup-get-data): Use string-match-p.
1388 * find-file.el (ff-other-file-name, ff-other-file-name)
1389 (ff-find-the-other-file, ff-cc-hh-converter):
1390 Remove unused local variables.
1391 (ff-get-file-name): Use string-match-p.
1392 (ff-all-dirs-under): Use ignore-errors.
1394 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
1395 (follow-select-if-visible): Remove unused local variable.
1397 * forms.el (read-file-filter): Move declaration.
1398 (forms--make-format, forms--make-parser, forms-insert-record):
1399 Quote function with #'.
1400 (forms--update): Use string-match-p. Quote function with #'.
1402 * help-mode.el (help-dir-local-var-def): Mark unused argument.
1403 (help-make-xrefs): Use looking-at-p.
1404 (help-xref-on-pp): Use looking-at-p, ignore-errors.
1406 * ibuffer.el (ibuffer-ext-visible-p): Declare.
1407 (ibuffer-confirm-operation-on): Use string-match-p.
1409 * msb.el (msb-item-handler, msb-dired-item-handler):
1410 Mark unused arguments.
1412 * ses.el (ses-decode-cell-symbol)
1413 (ses-kill-override): Remove unused local variable.
1414 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
1415 (ses-load): Use ignore-errors, looking-at-p.
1416 (ses-jump-safe): Use ignore-errors.
1417 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
1419 * tabify.el (untabify, tabify): Mark unused arguments.
1421 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
1422 Mark unused argument.
1423 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
1424 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
1426 * emacs-lisp/timer.el (timer--time): Define setter with
1427 gv-define-setter to avoid deprecation warning.
1429 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
1430 (*record-cmpl-statistics-p*): Remove (was commented out).
1431 (cmpl-statistics-block): Remove (body was commented out).
1432 All callers changed.
1433 (add-completions-from-buffer, load-completions-from-file):
1434 Remove unused variables.
1436 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
1438 * filecache.el (file-cache-delete-file-list):
1439 Print message only when told so.
1440 (file-cache-files-matching): Use #' in mapconcat argument.
1442 * ffap.el (ffap-url-at-point): Fix reference to variable
1443 thing-at-point-default-mail-uri-scheme.
1445 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1447 * subr.el (define-error): New function.
1448 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
1449 error-file-not-found and define with define-error.
1450 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
1451 and define with define-error.
1452 * userlock.el (file-locked, file-supersession):
1453 * simple.el (mark-inactive):
1454 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
1455 * progmodes/ada-mode.el (ada-mode-errors):
1456 * play/life.el (life-extinct):
1457 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
1458 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
1459 * nxml/rng-util.el (rng-error):
1460 * nxml/rng-uri.el (rng-uri-error):
1461 * nxml/rng-match.el (rng-compile-error):
1462 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
1463 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
1464 * nxml/nxml-rap.el (nxml-scan-error):
1465 * nxml/nxml-outln.el (nxml-outline-error):
1466 * net/soap-client.el (soap-error):
1467 * net/gnutls.el (gnutls-error):
1468 * net/ange-ftp.el (ftp-error):
1469 * mpc.el (mpc-proc-error):
1470 * json.el (json-error, json-readtable-error, json-unknown-keyword)
1471 (json-number-format, json-string-escape, json-string-format)
1472 (json-key-format, json-object-format):
1473 * jka-compr.el (compression-error):
1474 * international/quail.el (quail-error):
1475 * international/kkc.el (kkc-error):
1476 * emacs-lisp/ert.el (ert-test-failed):
1477 * calc/calc.el (calc-error, inexact-result, math-overflow)
1479 * bookmark.el (bookmark-error-no-filename):
1480 * epg.el (epg-error): Define with define-error.
1482 * time.el (display-time-event-handler)
1483 (display-time-next-load-average): Don't call sit-for since it seems
1484 unnecessary (bug#15045).
1486 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
1487 Use #' instead of ' to quote functions.
1488 (checkdoc-output-mode): Use setq-local.
1489 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
1490 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
1491 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
1492 (checkdoc-ispell, checkdoc-ispell-current-buffer)
1493 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
1494 (checkdoc-ispell-message-text, checkdoc-ispell-start)
1495 (checkdoc-ispell-continue, checkdoc-ispell-comments)
1496 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
1498 * ido.el (ido-completion-help): Fix up compiler warning.
1500 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
1502 * frameset.el (frameset-p): Add autoload cookie.
1503 (frameset--jump-to-register): New function, based on code moved from
1505 (frameset-to-register): Move from register.el. Adapt to `registerv'.
1507 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
1508 (frameset-restore, frameset-save, frameset-session-filter-alist):
1509 Remove declarations.
1510 (register-alist): Doc fix.
1511 (frameset-to-register): Move to frameset.el.
1512 (jump-to-register, describe-register-1): Remove frameset-specific code.
1514 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1516 * allout-widgets.el (allout-widgets-pre-command-business)
1517 (allout-widgets-post-command-business)
1518 (allout-widgets-after-change-handler)
1519 (allout-decorate-item-and-context, allout-set-boundary-marker)
1520 (allout-body-modification-handler)
1521 (allout-graphics-modification-handler): Mark ignored arguments.
1522 (allout-widgets-post-command-business)
1523 (allout-widgets-exposure-change-processor)
1524 (allout-widgets-exposure-undo-processor)
1525 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
1526 (allout-parse-item-at-point, allout-decorate-item-guides)
1527 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
1528 * allout.el (epa-passphrase-callback-function): Declare.
1529 (allout-overlay-insert-in-front-handler)
1530 (allout-overlay-interior-modification-handler)
1531 (allout-isearch-end-handler, allout-chart-siblings)
1532 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
1533 (allout-yank-processing, allout-process-exposed)
1534 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
1535 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
1536 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
1537 (lisp-indent-defform): Mark ignored arguments.
1538 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
1539 (calculate-lisp-indent): Remove unused variables.
1540 * international/characters.el (indian-2-column, arabic-2-column)
1541 (tibetan): Mark ignored arguments.
1542 (use-cjk-char-width-table): Mark ignored arguments.
1543 Remove unused variables.
1544 * international/fontset.el (build-default-fontset-data)
1545 (x-compose-font-name, create-fontset-from-fontset-spec):
1546 Mark ignored arguments.
1547 (fontset-plain-name): Remove unused variables.
1548 * international/mule.el (charset-id, charset-bytes, generic-char-p)
1549 (keyboard-coding-system): Mark ignored arguments.
1550 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
1551 * help.el (resize-temp-buffer-window):
1552 * window.el (display-buffer-in-major-side-window)
1553 (display-buffer-in-side-window, display-buffer-in-previous-window):
1554 Remove unused variables.
1555 * isearch.el (isearch-forward-symbol):
1556 * version.el (emacs-bzr-version-bzr):
1557 * international/mule-cmds.el (current-language-environment):
1558 * term/common-win.el (x-handle-iconic, x-handle-geometry)
1560 * term/pc-win.el (x-list-fonts, x-display-planes)
1561 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
1562 (x-server-version, x-display-screens, x-display-mm-height)
1563 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
1564 (x-selection-owner-p, x-own-selection-internal)
1565 (x-disown-selection-internal, x-get-selection-internal)
1566 (msdos-initialize-window-system):
1567 * term/tty-colors.el (tty-color-alist, tty-color-clear):
1568 * term/x-win.el (x-handle-no-bitmap-icon):
1569 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
1570 (vc-default-find-file-hook, vc-default-extra-menu):
1571 Mark ignored arguments.
1573 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1575 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
1576 break-condition in the context of the debugged code (bug#12685).
1578 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
1581 Do not use an overlay to highlight the last prompt. (Bug#14744)
1582 (comint-mode): Make comint-last-prompt buffer local.
1583 (comint-last-prompt): New variable.
1584 (comint-last-prompt-overlay): Remove. Superseded by
1586 (comint-snapshot-last-prompt, comint-output-filter):
1587 Use comint-last-prompt.
1589 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1591 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
1592 (frameset-save): Check validity of the resulting frameset.
1594 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
1596 * ido.el (ido-record-command): Add doc string.
1598 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1600 * frameset.el (frameset): Do not disable creation of the default
1601 frameset-p predicate. Doc fix.
1602 (frameset-valid-p): New function, copied from the old predicate-p.
1603 Add additional checks.
1604 (frameset-restore): Check with frameset-valid-p.
1605 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
1606 (frameset-name, frameset-description, frameset-properties)
1607 (frameset-states): Add docstring.
1608 (frameset-session-filter-alist, frameset-persistent-filter-alist)
1609 (frameset-filter-alist): Doc fixes.
1611 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1613 * frameset.el (frameset-p, frameset-prop): Doc fixes.
1615 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1617 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
1618 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
1619 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
1620 (byte-compile-normal-call): Remove obsolescence check.
1622 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1624 * frameset.el (frameset-restore): Doc fix.
1626 * register.el (frameset-frame-id, frameset-frame-with-id)
1627 (frameset-p, frameset-restore, frameset-save): Declare.
1628 (register-alist): Document framesets.
1629 (frameset-session-filter-alist): Declare.
1630 (frameset-to-register): New function.
1631 (jump-to-register): Implement jumping to framesets. Doc fix.
1632 (describe-register-1): Describe framesets.
1634 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
1636 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
1638 * desktop.el (desktop-save-frameset): Use new frameset-save args.
1639 Use lexical-binding.
1641 * frameset.el (frameset): Use type vector, not list (incompatible
1642 change). Do not declare a new constructor, use the default one.
1643 Upgrade suggested properties `app', `name' and `desc' to slots `app',
1644 `name' and `description', respectively, and add read-only slot
1645 `timestamp'. Doc fixes.
1646 (frameset-copy, frameset-persistent-filter-alist)
1647 (frameset-filter-alist, frameset-switch-to-gui-p)
1648 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
1649 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
1650 (frameset-filter-iconified, frameset-keep-original-display-p):
1652 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
1653 Rename from frameset-filter-(save|restore)-param. All callers changed.
1655 (frameset-p): Adapt to change to vector and be more thorough.
1656 Change arg name to OBJECT. Doc fix.
1657 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
1658 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
1659 All callers changed.
1660 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
1661 All callers changed.
1662 (frameset--record-minibuffer-relationships): Rename from
1663 frameset--process-minibuffer-frames. All callers changed.
1664 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
1665 Use new default constructor (again). Doc fix.
1666 (frameset--find-frame-if): Rename from `frameset--find-frame.
1667 All callers changed.
1668 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
1669 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
1671 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
1672 PARAMETERS and WINDOW-STATE, respectively.
1673 (frameset-restore): Add new keyword argument PREDICATE.
1674 Reset frameset--target-display to nil. Doc fix.
1676 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1678 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
1680 (bat-mode-syntax-table): Mark \n as end-of-comment.
1681 (bat-font-lock-keywords): Remove comment rule.
1683 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
1684 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
1686 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
1687 (byte-compile-callargs-warn): Use `push'.
1688 (byte-compile-arglist-warn): Ignore higher-order "calls".
1689 (byte-compile-file-form-autoload): Use `pcase'.
1690 (byte-compile-function-form): If quoting a symbol, check that it exists.
1692 2013-08-07 Eli Zaretskii <eliz@gnu.org>
1694 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
1695 and add a few popular commands found in batch files.
1696 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
1697 (dos-mode): Doc fixes.
1699 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1701 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
1702 (dos-mode): Use setq-local. Add space after "rem".
1703 (dos-mode-syntax-table): Don't use "w" for symbol chars.
1704 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
1706 2013-08-07 Arni Magnusson <arnima@hafro.is>
1708 * progmodes/dos.el: New file.
1709 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
1712 2013-08-06 Glenn Morris <rgm@gnu.org>
1714 * calendar/calendar.el: Add new faces, and day-header-array.
1715 (calendar-weekday-header, calendar-weekend-header)
1716 (calendar-month-header): New faces.
1717 (calendar-day-header-construct): New function.
1718 (calendar-day-header-width): Also :set calendar-day-header-array.
1719 (calendar-american-month-header, calendar-european-month-header)
1720 (calendar-iso-month-header): Use calendar- faces.
1721 (calendar-generate-month):
1722 Use calendar-day-header-array for day headers; apply faces to them.
1723 (calendar-mode): Check calendar-font-lock-keywords non-nil.
1724 (calendar-abbrev-construct): Add optional maxlen argument.
1725 (calendar-day-name-array): Doc fix.
1726 (calendar-day-name-array, calendar-abbrev-length)
1727 (calendar-day-abbrev-array):
1728 Also :set calendar-day-header-array, and maybe redraw.
1729 (calendar-day-header-array): New option. (Bug#15007)
1730 (calendar-font-lock-keywords): Set to nil and make obsolete.
1731 (calendar-day-name): Add option to use header array.
1733 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1735 * net/shr.el (shr-render-td): Remove debugging.
1736 (shr-render-td): Make width computation consistent by defaulting
1737 all zero-width columns to 10 characters. This may not be optimal,
1738 but it's at least consistent.
1739 (shr-make-table-1): Redo last change to fix the real problem in
1742 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1744 * files.el (cache-long-line-scans):
1745 Make obsolete alias to `cache-long-scans'.
1747 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
1749 * frameset.el (frameset, frameset-filter-alist)
1750 (frameset-filter-params, frameset-save, frameset--reuse-frame)
1751 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
1752 (frameset-compute-pos): Rename from frameset--compute-pos,
1754 (frameset-move-onscreen): Use frameset-compute-pos.
1755 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1757 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
1758 Fix typos in docstrings.
1760 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1762 * frame.el (get-other-frame): Tiny cleanup.
1764 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
1766 * vc/vc.el (vc-default-ignore-completion-table):
1767 Silence byte-compiler warning.
1769 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
1770 slot , which can indeed be nil.
1771 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1772 Move entry for `left' from persistent to live filter alist.
1773 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
1775 (frameset-filter-params): When restoring a frame, copy items added to
1776 `filtered', to avoid unwittingly modifying the original parameters.
1777 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
1778 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
1780 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
1781 to use looking-at-p instead of looking-at. (Bug#15028)
1783 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1785 Revert introduction of isearch-filter-predicates (bug#14714).
1786 Rely on add-function instead.
1787 * isearch.el (isearch-filter-predicates): Rename it back to
1788 isearch-filter-predicate.
1789 (isearch-message-prefix): Use advice-function-mapc and advice
1790 properties to get the isearch-message-prefix.
1791 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
1792 instead of run-hook-with-args-until-failure.
1793 (isearch-filter-visible): Not obsolete any more.
1794 * loadup.el: Preload nadvice.
1795 * replace.el (perform-replace): Revert to funcall
1796 instead of run-hook-with-args-until-failure.
1797 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
1798 * dired-aux.el (dired-isearch-filenames-mode): Rename from
1799 dired-isearch-filenames-toggle; make it into a proper minor mode.
1800 Use add/remove-function.
1801 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
1802 Call the minor-mode rather than add/remove-hook.
1803 (dired-isearch-filter-filenames):
1804 Remove isearch-message-prefix property.
1805 * info.el (Info--search-loop): New function, extracted from Info-search.
1806 Funcall isearch-filter-predicate instead of
1807 run-hook-with-args-until-failure isearch-filter-predicates.
1808 (Info-search): Use it.
1809 (Info-mode): Use isearch-filter-predicate instead of
1810 isearch-filter-predicates.
1812 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1814 Do not call to `selected-window' where it is assumed by default.
1815 Affected functions are `window-minibuffer-p', `window-dedicated-p',
1816 `window-hscroll', `window-width', `window-height', `window-buffer',
1817 `window-frame', `window-start', `window-point', `next-window'
1818 and `window-display-table'.
1819 * abbrev.el (abbrev--default-expand):
1820 * bs.el (bs--show-with-configuration):
1821 * buff-menu.el (Buffer-menu-mouse-select):
1822 * calc/calc.el (calc):
1823 * calendar/calendar.el (calendar-generate-window):
1824 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
1826 * comint.el (send-invisible, comint-dynamic-complete-filename)
1827 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
1828 * completion.el (complete):
1829 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
1830 * disp-table.el (describe-current-display-table):
1831 * doc-view.el (doc-view-insert-image):
1832 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
1833 * ehelp.el (with-electric-help):
1834 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1835 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
1836 * emacs-lisp/helper.el (Helper-help-scroller):
1837 * emulation/cua-base.el (cua--post-command-handler-1):
1838 * eshell/esh-mode.el (eshell-output-filter):
1839 * ffap.el (ffap-gnus-wrapper):
1840 * help-macro.el (make-help-screen):
1841 * hilit-chg.el (highlight-compare-buffers):
1842 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
1843 * hl-line.el (global-hl-line-highlight):
1844 * icomplete.el (icomplete-simple-completing-p):
1845 * isearch.el (isearch-done):
1846 * jit-lock.el (jit-lock-stealth-fontify):
1847 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
1848 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
1849 * mpc.el (mpc-tagbrowser, mpc):
1850 * net/rcirc.el (rcirc-any-buffer):
1851 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
1852 * play/landmark.el (landmark-max-width, landmark-max-height):
1853 * play/zone.el (zone):
1854 * progmodes/compile.el (compilation-goto-locus):
1855 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
1856 * progmodes/etags.el (find-tag-other-window):
1857 * progmodes/fortran.el (fortran-column-ruler):
1858 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
1859 * progmodes/verilog-mode.el (verilog-point-text):
1860 * reposition.el (reposition-window):
1861 * rot13.el (toggle-rot13-mode):
1862 * server.el (server-switch-buffer):
1863 * shell.el (shell-dynamic-complete-command)
1864 (shell-dynamic-complete-environment-variable):
1865 * simple.el (insert-buffer, set-selective-display)
1866 (delete-completion-window):
1867 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
1868 (speedbar-recenter):
1869 * startup.el (fancy-splash-head):
1870 * textmodes/ispell.el (ispell-command-loop):
1871 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
1872 * tutorial.el (help-with-tutorial):
1873 * vc/add-log.el (add-change-log-entry):
1874 * vc/compare-w.el (compare-windows):
1875 * vc/ediff-help.el (ediff-indent-help-message):
1876 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
1877 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
1878 (ediff-setup-control-frame):
1879 * vc/emerge.el (emerge-position-region):
1880 * vc/pcvs-util.el (cvs-bury-buffer):
1881 * window.el (walk-windows, mouse-autoselect-window-select):
1882 * winner.el (winner-set-conf, winner-undo): Related users changed.
1884 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1886 * frameset.el (frameset--set-id): Doc fix.
1887 (frameset-frame-id, frameset-frame-id-equal-p)
1888 (frameset-locate-frame-id): New functions.
1889 (frameset--process-minibuffer-frames, frameset--reuse-frame)
1890 (frameset-restore): Use them.
1892 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1894 Do not call to `selected-frame' where it is assumed by default.
1895 Affected functions are `raise-frame', `redraw-frame',
1896 `frame-first-window', `frame-terminal' and `delete-frame'.
1897 * calendar/appt.el (appt-disp-window):
1898 * epg.el (epg-wait-for-completion):
1899 * follow.el (follow-delete-other-windows-and-split)
1900 (follow-avoid-tail-recenter):
1901 * international/mule.el (set-terminal-coding-system):
1902 * mail/rmail.el (rmail-mail-return):
1903 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
1904 * progmodes/f90.el (f90-add-imenu-menu):
1905 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
1906 * server.el (server-switch-buffer):
1907 * simple.el (delete-completion-window):
1909 * term/xterm.el (terminal-init-xterm-modify-other-keys)
1910 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
1911 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
1912 * vc/ediff.el (ediff-documentation): Related users changed.
1913 * frame.el (selected-terminal): Remove the leftover.
1915 2013-08-05 Glenn Morris <rgm@gnu.org>
1917 * calendar/calendar.el (calendar-generate-month):
1918 Fix for calendar-column-width != 1 + calendar-day-digit-width.
1919 (calendar-generate-month, calendar-font-lock-keywords):
1920 Fix for calendar-day-header-width > length of any day name.
1922 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1924 * desktop.el (desktop-clear): Use new name of sort predicate.
1926 * frameset.el (frameset): Add docstring. Move :version property to its
1928 (frameset-copy): Rename from copy-frameset.
1929 (frameset-p): Check more thoroughly.
1930 (frameset-prop): Do not check for :version, which is no longer a prop.
1931 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1932 Use new :never value instead of t.
1933 (frameset-filter-alist): Expand and clarify docstring.
1934 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
1935 (frameset-filter-minibuffer, frameset-filter-save-param)
1936 (frameset-filter-restore-param, frameset-filter-iconified):
1937 Add pointer to docstring of frameset-filter-alist.
1938 (frameset-filter-params): Rename filter values to be more meaningful:
1939 :never instead of t, and reverse the meanings of :save and :restore.
1940 (frameset--process-minibuffer-frames): Clarify error message.
1941 (frameset-save): Avoid unnecessary and confusing call to framep.
1942 Use new BOA constructor for framesets.
1943 (frameset--reuse-list): Doc fix.
1944 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
1945 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
1946 (frameset-minibufferless-first-p): Doc fix.
1947 Rename from frameset-sort-frames-for-deletion.
1948 (frameset-restore): Doc fixes. Use new function names.
1949 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1951 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
1953 * desktop.el (desktop-restore-forces-onscreen)
1954 (desktop-restore-reuses-frames): Document :keyword constant values.
1955 (desktop-filter-parameters-alist): Remove, now identical to
1956 frameset-filter-alist.
1957 (desktop--filter-tty*): Remove, moved to frameset.el.
1958 (desktop-save-frameset, desktop-restore-frameset):
1959 Do not pass :filters argument.
1961 * frameset.el (frameset-live-filter-alist)
1962 (frameset-persistent-filter-alist): New variables.
1963 (frameset-filter-alist): Use them. Add autoload cookie.
1964 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
1965 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
1966 `frameset--id' (it's supposed to be internal to frameset.el).
1967 (frameset--process-minibuffer-frames): Ditto. Doc fix.
1968 (frameset--initial-params): New function.
1969 (frameset--get-frame): Use it. Doc fix.
1970 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
1971 Accept :all, not 'all.
1972 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
1973 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
1974 with fbound symbols. Fix frame id matching, and remove matching ids if
1975 the frame being restored is deleted. Obey :delete.
1977 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1979 * subr.el (macrop): New function.
1980 (text-clone--maintaining): New var.
1981 (text-clone--maintain): Rename from text-clone-maintain. Use it
1982 instead of inhibit-modification-hooks.
1984 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
1985 a proxy, so as handle autoloads and redefinitions of the target.
1986 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
1988 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
1989 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
1990 (pcase--mutually-exclusive-p): New function.
1991 (pcase--split-consp): Use it.
1992 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
1993 mutually exclusive with the current predicate.
1995 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
1996 (edebug-macrop): Remove. Use `macrop' instead.
1997 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
1999 * eshell/esh-cmd.el (eshell-macrop):
2000 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
2002 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
2004 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
2005 (advice-mapc): New function, using it.
2006 (advice-function-member-p): New function.
2007 (advice--normalize): Store the cdr in advice--saved-rewrite since
2008 that's the part that will be changed.
2009 (advice--symbol-function): New function.
2010 (advice-remove): Handle removal before the function is defined.
2011 Adjust to new advice--saved-rewrite.
2012 (advice-member-p): Use advice-function-member-p and
2013 advice--symbol-function.
2015 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
2017 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
2018 (frameset-filter-minibuffer): Doc fix.
2019 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
2020 (frameset--set-id, frameset--process-minibuffer-frames)
2021 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
2022 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
2024 * desktop.el (desktop-clear): Only delete frames when called
2025 interactively and desktop-restore-frames is non-nil. Doc fix.
2026 (desktop-read): Set desktop-saved-frameset to nil.
2028 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
2030 * vc/vc.el (vc-ignore): Rewrite.
2031 (vc-default-ignore-completion-table):
2033 (vc--add-line, vc--remove-regexp): New functions.
2035 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
2036 (vc-svn-ignore-completion-table): New function.
2038 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
2039 (vc-hg-ignore-completion-table):
2040 (vc-hg-find-ignore-file): New functions.
2042 * vc/vc-git.el (vc-git-ignore): Rewrite.
2043 (vc-git-ignore-completion-table):
2044 (vc-git-find-ignore-file): New functions.
2046 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
2048 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
2049 (vc-bzr-ignore-completion-table):
2050 (vc-bzr-find-ignore-file): New functions.
2052 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
2054 * frameset.el (frameset-prop): New function and setter.
2055 (frameset-save): Do not modify frame list passed by the caller.
2057 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2059 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
2061 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
2063 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
2064 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
2066 * custom.el (custom-initialize-default, custom-initialize-set)
2067 (custom-initialize-reset, custom-initialize-changed): Affect the
2068 toplevel-default-value (bug#6275, bug#14586).
2069 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2072 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2074 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2075 Add cl-def* expressions.
2077 * frameset.el (frameset-filter-params): Fix order of arguments.
2079 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2081 Move code related to saving frames to frameset.el.
2082 * desktop.el: Require frameset.
2083 (desktop-restore-frames): Doc fix.
2084 (desktop-restore-reuses-frames): Rename from
2085 desktop-restoring-reuses-frames.
2086 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2087 (desktop-clear): Clear frames too.
2088 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2089 (desktop--filter-tty*, desktop-save, desktop-read):
2090 Use frameset functions.
2091 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2092 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2093 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2094 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2095 (desktop--process-minibuffer-frames, desktop-save-frames)
2096 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2097 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2098 (desktop--sort-states, desktop-restoring-frames-p)
2099 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2100 (desktop-restoring-frameset-p, desktop-restore-frameset)
2101 (desktop--check-dont-save, desktop-save-frameset): New functions.
2102 (desktop--app-id): New constant.
2103 (desktop-first-buffer, desktop-buffer-ok-count)
2104 (desktop-buffer-fail-count): Move before first use.
2105 * frameset.el: New file.
2107 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2109 * files.el: Use lexical-binding.
2110 (dir-locals-read-from-file): Remove unused `err' variable.
2111 (hack-dir-local-variables--warned-coding): New var.
2112 (hack-dir-local-variables): Use it to avoid repeated warnings.
2113 (make-backup-file-name--default-function): New function.
2114 (make-backup-file-name-function): Use it as default.
2115 (buffer-stale--default-function): New function.
2116 (buffer-stale-function): Use it as default.
2117 (revert-buffer-insert-file-contents--default-function): New function.
2118 (revert-buffer-insert-file-contents-function): Use it as default.
2119 (insert-directory): Avoid add-to-list.
2121 * autorevert.el (auto-revert-handler): Simplify.
2122 Use buffer-stale--default-function.
2124 2013-08-01 Tassilo Horn <tsdh@gnu.org>
2126 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2128 * whitespace.el (whitespace-ensure-local-variables): New function.
2129 (whitespace-cleanup-region): Call it.
2130 (whitespace-turn-on): Call it.
2132 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
2134 Complete file name handlers.
2136 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2137 (tramp-handle-verify-visited-file-modtime)
2138 (tramp-handle-file-notify-rm-watch): New functions.
2139 (tramp-call-process): Do not bind `default-directory'.
2141 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2142 Order alphabetically.
2143 [access-file, add-name-to-file, dired-call-process]:
2144 [dired-compress-file, file-acl, file-notify-rm-watch]:
2145 [file-ownership-preserved-p, file-selinux-context]:
2146 [make-directory-internal, make-symbolic-link, set-file-acl]:
2147 [set-file-selinux-context, set-visited-file-modtime]:
2148 [verify-visited-file-modtime]: Add handler.
2149 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2151 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2152 [file-notify-add-watch, file-notify-rm-watch]:
2153 [set-file-times, set-visited-file-modtime]:
2154 [verify-visited-file-modtime]: Add handler.
2155 (with-tramp-gvfs-error-message)
2156 (tramp-gvfs-handle-set-visited-file-modtime)
2157 (tramp-gvfs-fuse-file-name): Remove.
2158 (tramp-gvfs-handle-file-notify-add-watch)
2159 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2160 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2162 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2163 Order alphabetically.
2164 [file-notify-rm-watch ]: Use default Tramp handler.
2165 [executable-find]: Remove private handler.
2166 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2167 `default-directory'.
2168 (tramp-sh-handle-executable-find)
2169 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2170 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2171 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2172 Do not use `format' in `tramp-message'.
2174 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2175 [file-notify-rm-watch, set-visited-file-modtime]:
2176 [verify-visited-file-modtime]: Add handler.
2177 (tramp-smb-call-winexe): Do not bind `default-directory'.
2179 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2181 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2183 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2185 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2187 (log-view-diff-changeset): Same.
2188 (log-view-diff-common): Call backend command `previous-revision'
2189 to find out the previous revision, in both cases. Swap the
2190 variables `to' and `fr', so that `fr' usually refers to the
2191 earlier revision (Bug#14989).
2193 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
2195 * ibuf-ext.el (ibuffer-filter-by-filename):
2196 Make it work with dired buffers too.
2198 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
2200 * emacs-lisp/re-builder.el (reb-color-display-p):
2201 * files.el (save-buffers-kill-terminal):
2202 * net/browse-url.el (browse-url):
2203 * server.el (server-save-buffers-kill-terminal):
2204 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2205 Prefer nil to selected-frame for the first arg of frame-parameter.
2207 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2209 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2211 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
2213 * minibuffer.el (completion--twq-all): Try and preserve each
2214 completion's case choice (bug#14907).
2216 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2218 * net/network-stream.el (open-network-stream): Mention the new
2219 :nogreeting parameter.
2220 (network-stream-open-starttls): Use the :nogreeting parameter
2223 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2225 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2226 more natural than popping.
2228 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
2229 (shr-urlify): Highlight under mouse.
2231 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2233 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2235 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2237 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2240 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2241 point-min==1. Fix search string. Fix parentheses missing.
2243 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
2244 assume point-min==1. Fix search string. Fix parentheses missing.
2246 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2248 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
2251 2013-07-29 Eli Zaretskii <eliz@gnu.org>
2253 * frame.el (frame-notice-user-settings): Avoid inflooping when the
2254 initial frame is minibuffer-less. (Bug#14841)
2256 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
2258 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2261 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2262 (tramp-maybe-open-connection): Use it.
2264 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
2266 * desktop.el (desktop--make-frame): Include `minibuffer' in the
2267 minimal set of parameters passed when creating a frame, because
2268 the minibuffer status of a frame cannot be changed later.
2270 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
2272 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2273 replace-regexp-in-string and inadvertent omissions in previous change.
2274 (todo-filter-items): Ensure only file names are comma-separated in
2275 name of filtered items buffer.
2277 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
2279 * desktop.el: Optionally force offscreen frames back onscreen.
2280 (desktop-restoring-reuses-frames): New option.
2281 (desktop--compute-pos, desktop--move-onscreen): New functions.
2282 (desktop--make-frame): Use desktop--move-onscreen.
2284 2013-07-27 Alan Mackenzie <acm@muc.de>
2286 Fontify a Java generic method as a function.
2287 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2290 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
2292 * calendar/todo-mode.el: Add command to rename todo files.
2293 (todo-rename-file): New command.
2294 (todo-key-bindings-t): Add key binding for it. Change the
2295 bindings of todo-filter-regexp-items(-multifile) to use `x'
2296 instead of `r', since the latter is better suited to the new
2299 2013-07-27 Alan Mackenzie <acm@muc.de>
2301 Make Java try-with-resources statement parse properly.
2302 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2303 (c-block-stmt-1-2-key): New language constants/variables.
2304 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2305 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2306 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
2307 with c-block-stmt-1-2-key.
2309 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
2311 * desktop.el (desktop--make-frame): Apply most frame parameters after
2312 creating the frame to force (partially or totally) offscreen frames to
2313 be restored as such.
2315 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2317 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
2320 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2322 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2323 `base' arg of backtrace-frame.
2325 2013-07-26 Eli Zaretskii <eliz@gnu.org>
2327 * simple.el (list-processes): Doc fix.
2329 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
2331 * desktop.el (desktop--select-frame):
2332 Try harder to reuse existing frames.
2334 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2336 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2337 (edebug-eval): Use backtrace-eval.
2338 (edebug--display, edebug--recursive-edit): Don't let-bind the
2339 edebug-outer-* vars that keep track of variables we locally let-bind.
2340 (edebug-outside-excursion): Don't restore outside values of locally
2342 (edebug--display): Use user-error.
2343 (cl-lexical-debug, cl-debug-env): Remove.
2345 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
2347 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2348 are restored to be sure that they are visible before deleting any
2351 2013-07-26 Matthias Meulien <orontee@gmail.com>
2353 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2354 vc-print-root-log. (Bug#14948)
2356 2013-07-26 Richard Stallman <rms@gnu.org>
2358 Add aliases for encrypting mail.
2359 * epa.el (epa-mail-aliases): New option.
2360 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2361 Bind inhibit-read-only so read-only text doesn't ruin everything.
2362 (epa-mail-default-recipients): New subroutine broken out.
2363 Handle epa-mail-aliases.
2365 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2367 Add support for lexical variables to the debugger's `e' command.
2368 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2369 vars, except for debugger-outer-match-data.
2370 (debugger-frame-number): Move check for "on a function call" from
2371 callers into it. Add `skip-base' argument.
2372 (debugger-frame, debugger-frame-clear): Simplify accordingly.
2373 (debugger-env-macro): Only reset the state stored in non-variables,
2374 i.e. current-buffer and match-data.
2375 (debugger-eval-expression): Rewrite using backtrace-eval.
2376 * subr.el (internal--called-interactively-p--get-frame): Remove.
2377 (called-interactively-p):
2378 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2379 `base' arg of backtrace-frame instead.
2381 2013-07-26 Glenn Morris <rgm@gnu.org>
2383 * align.el (align-regexp): Doc fix. (Bug#14857)
2384 (align-region): Explicit error if subexpression missing/does not match.
2386 * simple.el (global-visual-line-mode):
2387 Do not duplicate the mode lighter. (Bug#14858)
2389 2013-07-25 Martin Rudalics <rudalics@gmx.at>
2391 * window.el (display-buffer): In display-buffer bind
2392 split-window-keep-point to t, bug#14829.
2394 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
2396 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
2397 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
2398 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
2399 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2401 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2402 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
2404 2013-07-25 Glenn Morris <rgm@gnu.org>
2406 * dired-x.el (dired-mark-extension): Convert comment to doc string.
2408 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
2410 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
2411 parameter to modify-frame-parameters if the value has not changed;
2412 this is a workaround for bug#14949.
2413 (desktop--make-frame): On cl-delete-if call, check parameter name,
2416 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2418 * vc/vc.el (vc-ignore): New function.
2420 * vc/vc-svn.el (vc-svn-ignore): New function.
2422 * vc/vc-hg.el (vc-hg-ignore): New function.
2424 * vc/vc-git.el (vc-git-ignore): New function.
2426 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
2427 (vc-dir-ignore): New function.
2429 * vc/vc-cvs.el (vc-cvs-ignore): New function.
2430 (cvs-append-to-ignore): Move here from pcvs.el.
2432 * vc/vc-bzr.el (vc-bzr-ignore): New function.
2434 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
2436 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
2438 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
2439 (desktop-restore-frames): Warn when deleting an existing frame failed.
2441 2013-07-24 Glenn Morris <rgm@gnu.org>
2443 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
2445 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
2447 * filenotify.el (file-notify-supported-p):
2448 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2451 * autorevert.el (auto-revert-use-notify):
2452 (auto-revert-notify-add-watch):
2453 * net/tramp.el (tramp-file-name-for-operation):
2454 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2455 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2456 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2457 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2458 Remove `file-notify-supported-p' entry.
2460 2013-07-24 Glenn Morris <rgm@gnu.org>
2462 * printing.el: Replace all uses of deleted ps-windows-system,
2463 ps-lp-system, ps-flatten-list with lpr- versions.
2465 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2467 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
2468 checked with memq (bug#14935).
2470 * files.el (revert-buffer-function): Use a non-nil default.
2471 (revert-buffer-preserve-modes): Declare var to
2472 provide access to the `preserve-modes' argument.
2473 (revert-buffer): Let-bind it.
2474 (revert-buffer--default): New function, extracted from revert-buffer.
2476 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2478 * lpr.el: Signal print errors more prominently.
2479 (print-region-function): Don't default to nil.
2480 (lpr-print-region): New function, extracted from print-region-1.
2481 Check lpr's return value and signal an error in case of problem.
2482 (print-region-1): Use it.
2483 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
2485 (ps-printer-name): Default to nil.
2486 (ps-printer-name-option): Default to lpr-printer-switch.
2487 (ps-print-region-function): Don't default to nil.
2488 (ps-postscript-code-directory): Simplify default.
2489 (ps-do-despool): Use lpr-print-region to properly check the outcome.
2490 (ps-string-list, ps-eval-switch, ps-flatten-list)
2491 (ps-flatten-list-1): Remove.
2492 (ps-multibyte-buffer): Avoid setq.
2493 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
2494 (print-region-function, ps-print-region-function): Don't set them here.
2496 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
2498 * ido.el (ido-fractionp):
2499 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
2500 (ido-max-file-prompt-width, ido-unc-hosts-cache)
2501 (ido-max-directory-size, ido-max-dir-file-cache)
2502 (ido-decorations): Doc fix.
2504 * ansi-color.el: Fix old URL.
2506 2013-07-23 Michael R. Mauger <michael@mauger.com>
2508 * progmodes/sql.el Version 3.3
2509 (sql-product-alist): Improve oracle :prompt-cont-regexp.
2510 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
2511 (sql-interactive-remove-continuation-prompt): Rewrite, use
2512 functions above. Fix continuation prompt and complete output line
2514 (sql-redirect-one, sql-execute): Use `read-only-mode' on
2515 redirected output buffer.
2516 (sql-mode): Restore deleted code (Bug#13591).
2518 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
2520 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
2522 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
2524 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
2526 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2527 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2528 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
2530 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
2532 * desktop.el (desktop-clear): Simplify; remove useless checks
2533 against invalid buffer names.
2534 (desktop-list*): Use cl-list*.
2535 (desktop-buffer-info, desktop-create-buffer): Simplify.
2537 2013-07-23 Leo Liu <sdl.web@gmail.com>
2539 * bookmark.el (bookmark-make-record): Restore NAME as a default
2542 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2544 * emacs-lisp/autoload.el (autoload--setup-output): New function,
2545 extracted from autoload--insert-text.
2546 (autoload--insert-text): Remove.
2547 (autoload--print-cookie-text): New function, extracted from
2548 autoload--insert-cookie-text.
2549 (autoload--insert-cookie-text): Remove.
2550 (autoload-generate-file-autoloads): Adjust calls accordingly.
2552 * winner.el (winner-hook-installed-p): Remove.
2553 (winner-mode): Simplify accordingly.
2555 * subr.el (add-to-list): Fix compiler-macro when `append' is
2556 not constant. Don't use `cl-member' for the base case.
2558 * progmodes/subword.el: Fix boundary case (bug#13758).
2559 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
2561 (subword-backward-regexp): Make it a constant.
2562 (subword-forward-internal): Don't treat a trailing capital as the
2563 beginning of a word.
2565 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
2567 * emacs-lisp/package.el (package-menu-mode): Don't modify the
2568 global value of tabulated-list-revert-hook (bug#14930).
2570 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
2572 * desktop.el: Require 'cl-lib.
2573 (desktop-before-saving-frames-functions): New hook.
2574 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
2575 for frames being saved. Rename from desktop--save-minibuffer-frames.
2576 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
2577 Do not save frames with non-nil `desktop-dont-save' parameter.
2578 Filter out deleted frames.
2579 (desktop--find-frame): Use cl-find-if.
2580 (desktop--select-frame): Use cl-(first|second|third) to access values
2582 (desktop--make-frame): Use cl-delete-if.
2583 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
2584 (desktop-restore-frames): Use cl-(first|second|third) to access values
2585 of desktop-mini. Look for visible frame at the end, not while
2588 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
2589 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
2590 Use string-match-p, looking-at-p (bug#14927).
2592 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
2594 * desktop.el (desktop-saved-frame-states):
2595 Rename from desktop--saved-states; all users changed.
2596 (desktop-save-frames): Rename from desktop--save-frames.
2597 Do not save state to desktop file.
2598 (desktop-save): Save desktop-saved-frame-states to desktop file
2600 (desktop-restoring-frames-p): New function.
2601 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
2602 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
2603 buffer-lists when restoring frames. Suggested by Martin Rudalics.
2605 * desktop.el: Correctly restore iconified frames.
2606 (desktop--filter-iconified-position): New function.
2607 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
2609 2013-07-20 Glenn Morris <rgm@gnu.org>
2611 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
2612 Let `message' do the formatting.
2613 (def-gdb-preempt-display-buffer): Add explicit format.
2615 * image-dired.el (image-dired-track-original-file):
2616 Use with-current-buffer.
2617 (image-dired-track-thumbnail): Use with-current-buffer.
2618 Avoid changing point of wrong window.
2620 * image-dired.el (image-dired-track-original-file):
2621 Avoid changing point of wrong window. (Bug#14909)
2623 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
2625 * progmodes/gdb-mi.el (gdb-done-or-error):
2626 Guard against "%" in gdb output. (Bug#14127)
2628 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
2630 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
2633 * international/mule.el (coding-system-iso-2022-flags): Fix last
2636 2013-07-20 Kenichi Handa <handa@gnu.org>
2638 * international/mule.el (coding-system-iso-2022-flags):
2639 Add `8-bit-level-4'. (Bug#8522)
2641 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2643 * net/shr.el (shr-mouse-browse-url): New command and keystroke
2646 * net/eww.el (eww-process-text-input): Allow inputting when the
2647 point is at the start of the line, as the properties aren't
2650 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
2653 2013-07-19 Richard Stallman <rms@gnu.org>
2655 * epa.el (epa-popup-info-window): Doc fix.
2657 * subr.el (split-string): New arg TRIM.
2659 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
2661 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
2662 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
2664 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
2666 * filenotify.el (file-notify--library): Rename from
2667 `file-notify-support'. Do not autoload. Adapt all uses.
2668 (file-notify-supported-p): New defun.
2670 * autorevert.el (auto-revert-use-notify):
2671 Use `file-notify-supported-p' instead of `file-notify-support'.
2673 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
2675 * net/tramp.el (tramp-file-name-for-operation):
2676 Add `file-notify-supported-p'.
2678 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2680 (tramp-sh-file-name-handler-alist): Add it as handler for
2681 `file-notify-supported-p '.
2683 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2684 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2685 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2686 Add `ignore' as handler for `file-notify-*' functions.
2688 2013-07-17 Eli Zaretskii <eliz@gnu.org>
2690 * simple.el (line-move-partial, line-move): Don't start vscroll or
2691 scroll-up if the current line is not taller than the window.
2694 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
2696 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
2697 highlight question marks in the method names as strings.
2698 (ruby-block-beg-keywords): Inline.
2699 (ruby-font-lock-keyword-beg-re): Extract from
2700 `ruby-font-lock-keywords'.
2702 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
2704 * frame.el (blink-cursor-blinks): New defcustom.
2705 (blink-cursor-blinks-done): New defvar.
2706 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
2707 (blink-cursor-timer-function): Check if number of blinks has been
2709 (blink-cursor-suspend, blink-cursor-check): New defuns.
2711 2013-07-15 Glenn Morris <rgm@gnu.org>
2713 * edmacro.el (edmacro-format-keys): Fix previous change.
2715 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
2717 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
2718 The hack didn't work outside English locales anyway.
2720 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
2722 * simple.el (define-alternatives): Rename from alternatives-define,
2723 per RMS' suggestion.
2725 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
2727 * desktop.el (desktop-restore-frames): Change default to t.
2728 (desktop-restore-in-current-display): Now offer more options.
2729 (desktop-restoring-reuses-frames): New customization option.
2730 (desktop--saved-states): Doc fix.
2731 (desktop-filter-parameters-alist): New variable, renamed and expanded
2732 from desktop--excluded-frame-parameters.
2733 (desktop--target-display): New variable.
2734 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
2735 (desktop--filter-tty*, desktop--filter-*-color)
2736 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2737 (desktop--filter-save-desktop-parm)
2738 (desktop-restore-in-original-display-p): New functions.
2739 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
2740 (desktop--save-minibuffer-frames): New function, inspired by a similar
2741 function from Martin Rudalics.
2742 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
2743 (desktop--restore-in-this-display-p): Remove.
2744 (desktop--find-frame): Rename from desktop--find-frame-in-display
2745 and add predicate argument.
2746 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
2747 (desktop--reuse-list): New variable.
2748 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
2750 (desktop--restore-frames): Add support for "minibuffer-special" frames.
2752 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
2754 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
2756 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
2758 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2759 Highlight conversion methods on Kernel.
2761 2013-07-13 Alan Mackenzie <acm@muc.de>
2763 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
2764 and comment it out. This out-commenting enables certain C++
2765 declarations to be parsed correctly.
2767 2013-07-13 Eli Zaretskii <eliz@gnu.org>
2769 * international/mule.el (define-coding-system): Doc fix.
2771 * simple.el (default-font-height): Don't call font-info if the
2772 frame's default font didn't change since the frame was created.
2775 2013-07-13 Leo Liu <sdl.web@gmail.com>
2777 * ido.el (ido-read-file-name): Guard against non-symbol value.
2779 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2781 * progmodes/python.el (python-imenu--build-tree): Fix corner case
2784 2013-07-13 Leo Liu <sdl.web@gmail.com>
2786 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
2787 ido-set-matches call. (Bug#6852)
2789 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
2791 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
2792 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
2794 (ruby-font-lock-keywords): Distinguish calls to functions with
2795 module-like names from module references. Highlight character
2798 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2800 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
2801 (gdb-send): Handle continued commands. (Bug#14847)
2803 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
2805 * desktop.el (desktop--v2s): Remove unused local variable.
2806 (desktop-save-buffer): Make defvar-local; adjust docstring.
2807 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
2808 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
2810 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
2812 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
2814 2013-07-12 Eli Zaretskii <eliz@gnu.org>
2816 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
2819 2013-07-12 Glenn Morris <rgm@gnu.org>
2821 * doc-view.el: Require cl-lib at runtime too.
2822 (doc-view-remove-if): Remove.
2823 (doc-view-search-next-match, doc-view-search-previous-match):
2826 * edmacro.el: Require cl-lib at runtime too.
2827 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
2828 (edmacro-mismatch, edmacro-subseq): Remove.
2830 * shadowfile.el: Require cl-lib.
2831 (shadow-remove-if): Remove.
2832 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
2835 * wid-edit.el: Require cl-lib.
2836 (widget-choose): Use cl-remove-if.
2837 (widget-remove-if): Remove.
2839 * progmodes/ebrowse.el: Require cl-lib at runtime too.
2840 (ebrowse-delete-if-not): Remove.
2841 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
2842 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
2843 Use cl-delete-if-not.
2845 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
2847 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
2848 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
2850 2013-07-12 Leo Liu <sdl.web@gmail.com>
2852 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
2854 2013-07-11 Glenn Morris <rgm@gnu.org>
2856 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
2857 (edebug-gensym-index, edebug-gensym):
2858 Remove reimplementation of cl-gensym.
2859 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
2861 * thumbs.el: Require cl-lib at run-time too.
2862 (thumbs-gensym-counter, thumbs-gensym):
2863 Remove reimplementation of cl-gensym.
2864 (thumbs-temp-file): Use cl-gensym.
2866 * emacs-lisp/ert.el: Require cl-lib at runtime too.
2867 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
2868 (ert--intersection, ert--set-difference, ert--set-difference-eq)
2869 (ert--union, ert--gensym-counter, ert--gensym-counter)
2870 (ert--coerce-to-vector, ert--remove*, ert--string-position)
2871 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
2872 (ert-make-test-unbound, ert--expand-should-1)
2873 (ert--expand-should, ert--should-error-handle-error)
2874 (should-error, ert--explain-equal-rec)
2875 (ert--plist-difference-explanation, ert-select-tests)
2876 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
2877 Use cl-lib functions rather than reimplementations.
2879 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
2881 * net/tramp.el (tramp-methods): Extend docstring.
2882 (tramp-connection-timeout): New defcustom.
2883 (tramp-error-with-buffer): Reset timestamp only when appropriate.
2884 (with-tramp-progress-reporter): Simplify.
2885 (tramp-process-actions): Improve messages.
2887 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2888 * net/tramp-sh.el (tramp-maybe-open-connection):
2889 Use `tramp-connection-timeout'.
2890 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
2893 2013-07-11 Leo Liu <sdl.web@gmail.com>
2895 * ido.el (ido-read-file-name): Conform to the requirements of
2896 read-file-name. (Bug#11861)
2897 (ido-read-directory-name): Conform to the requirements of
2898 read-directory-name.
2900 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
2902 * subr.el (delay-warning): New function.
2904 2013-07-10 Eli Zaretskii <eliz@gnu.org>
2906 * simple.el (default-line-height): New function.
2907 (line-move-partial, line-move): Use it instead of computing the
2909 (line-move-partial): Always compute ROWH. If the last line is
2910 partially-visible, but its text is completely visible, allow
2911 cursor to enter such a partially-visible line.
2913 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
2915 Improve error messages. (Bug#14808)
2917 * net/tramp.el (tramp-current-connection): New defvar, moved from
2919 (tramp-message-show-progress-reporter-message): Remove, not
2921 (tramp-error-with-buffer): Show message in minibuffer.
2922 Discard input before waiting. Reset connection timestamp.
2923 (with-tramp-progress-reporter): Improve messages.
2924 (tramp-process-actions): Use progress reporter. Delete process in
2925 case of error. Improve messages.
2927 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
2928 Call `tramp-error-with-buffer' with vector and buffer.
2929 (tramp-current-connection): Remove.
2930 (tramp-maybe-open-connection): The car of
2931 `tramp-current-connection' are the first 3 slots of the vector.
2933 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
2935 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
2936 inside continued strings.
2938 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
2940 Timestamp fixes for undo (Bug#14824).
2941 * files.el (clear-visited-file-modtime): Move here from fileio.c.
2943 2013-07-10 Leo Liu <sdl.web@gmail.com>
2945 * files.el (require-final-newline): Allow safe local value.
2948 2013-07-09 Leo Liu <sdl.web@gmail.com>
2950 * ido.el (ido-read-directory-name): Handle fallback.
2951 (ido-read-file-name): Update DIR to ido-current-directory.
2953 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
2955 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
2957 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
2958 "autoload". Remove "warn lower camel case" section, previously
2959 commented out. Highlight negation char. Do not highlight the
2960 target in singleton method definitions.
2962 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2964 * faces.el (tty-setup-hook): Declare the hook.
2966 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
2967 and detect when a guard/pred depends on local vars (bug#14773).
2968 (pcase--u1): Adjust caller.
2970 2013-07-08 Eli Zaretskii <eliz@gnu.org>
2972 * simple.el (line-move-partial, line-move): Account for
2974 (line-move-partial): Avoid setting vscroll when the last
2975 partially-visible line in window is of default height.
2977 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2979 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
2982 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
2984 * subr.el (read-quoted-char): Remove unused local variable `char'.
2986 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
2988 * ediff.el (ediff-version): Version update.
2989 (ediff-files-command, ediff3-files-command, ediff-merge-command)
2990 (ediff-merge-with-ancestor-command, ediff-directories-command)
2991 (ediff-directories3-command, ediff-merge-directories-command)
2992 (ediff-merge-directories-with-ancestor-command): New functions.
2993 All are command-line interfaces to ediff: to facilitate calling
2994 Emacs with the appropriate ediff functions invoked.
2996 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
2997 (viper-save-kill-buffer): Check if buffer is modified.
2999 * viper.el (viper-version): Version update.
3000 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
3002 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
3004 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
3005 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
3006 (viper-intercept-ESC-key): Simplify.
3007 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
3008 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
3009 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
3010 (viper-setup-ESC-to-escape): New functions.
3011 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
3012 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
3014 2013-07-07 Eli Zaretskii <eliz@gnu.org>
3016 * simple.el (default-font-height, window-screen-lines):
3018 (line-move, line-move-partial): Use them instead of
3019 frame-char-height and window-text-height. This makes scrolling
3020 text smoother when the buffer's default face uses a font that is
3021 different from the frame's default font.
3023 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
3025 * files.el (write-file): Do not display confirm dialog for NS,
3026 it does its own dialog, which can't be cancelled (Bug#14578).
3028 2013-07-06 Eli Zaretskii <eliz@gnu.org>
3030 * simple.el (line-move-partial): Adjust the row returned by
3031 posn-at-point for the current window-vscroll. (Bug#14567)
3033 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
3035 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
3036 (tramp-sh-file-inotifywait-process-filter): Handle file names with
3039 2013-07-06 Martin Rudalics <rudalics@gmx.at>
3041 * window.el (window-state-put-stale-windows): New variable.
3042 (window--state-put-2): Save list of windows without matching buffer.
3043 (window-state-put): Remove "bufferless" windows if possible.
3045 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
3047 * simple.el (alternatives-define): Remove leftover :group keyword.
3050 2013-07-06 Leo Liu <sdl.web@gmail.com>
3052 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
3053 (ido-enable-virtual-buffers): New variable.
3054 (ido-buffer-internal, ido-toggle-virtual-buffers)
3055 (ido-make-buffer-list): Use it.
3056 (ido-exhibit): Support turning on and off virtual buffers
3059 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
3061 * simple.el (alternatives-define): New macro.
3063 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
3065 * subr.el (read-quoted-char): Use read-key.
3066 (sit-for): Let read-event decode tty input (bug#14782).
3068 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
3070 * calendar/todo-mode.el: Add handling of file deletion, both by
3071 mode command and externally. Fix various related bugs.
3072 Clarify Commentary and improve some documentation strings and code.
3073 (todo-delete-file): New command.
3074 (todo-check-file): New function.
3075 (todo-show): Handle external deletion of the file we're trying to
3076 show (bug#14688). Replace called-interactively-p by an optional
3077 prefix argument to avoid problematic interaction with catch form
3078 when byte compiled (bug#14702).
3079 (todo-quit): Handle external deletion of the archive's todo file.
3080 Make sure the buffer that was visiting the archive file is still
3081 live before trying to bury it.
3082 (todo-category-completions): Handle external deletion of any
3083 category completion files.
3084 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3085 of todo files, in case of external deletion.
3086 (todo-add-file): Replace unnecessary setq by let-binding.
3087 (todo-find-archive): Check whether there are any archives.
3088 Replace unnecessary setq by let-binding.
3089 (todo-archive-done-item): Use find-file-noselect to get the
3090 archive buffer whether or not the archive already exists.
3091 Remove superfluous code. Use file size instead of buffer-file-name to
3092 check if the archive is new; if it is, update list of archives.
3093 (todo-default-todo-file): Allow nil to be a valid value for when
3094 there are no todo files.
3095 (todo-reevaluate-default-file-defcustom): Use corrected definition
3096 of todo-default-todo-file.
3097 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3098 (todo-delete-category, todo-show-categories-table)
3099 (todo-category-number): Clarify comment.
3100 (todo-filter-items): Clarify documentation string.
3101 (todo-show-current-file, todo-display-as-todo-file)
3102 (todo-reset-and-enable-done-separator): Tweak documentation string.
3103 (todo-done-separator): Make separator length window-width, since
3104 bug#2749 is now fixed.
3106 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
3108 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3109 Support both "gvfs-monitor-dir" and "inotifywait".
3110 (tramp-sh-file-inotifywait-process-filter): Rename from
3111 `tramp-sh-file-notify-process-filter'.
3112 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3113 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3115 2013-07-05 Leo Liu <sdl.web@gmail.com>
3117 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3119 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3121 * frame.el (display-pixel-height, display-pixel-width)
3122 (display-mm-height, display-mm-width): Mention behavior on
3123 multi-monitor setups in docstrings.
3124 (w32-display-monitor-attributes-list): Declare function.
3125 (display-monitor-attributes-list): Use it.
3127 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
3129 * filenotify.el: New package.
3131 * autorevert.el (top): Require filenotify.el.
3132 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3134 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3135 (auto-revert-notify-handler): Use `file-notify-*' functions.
3137 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3139 * net/tramp.el (tramp-file-name-for-operation):
3140 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
3142 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3143 for `file-notify-add-watch' and `file-notify-rm-watch'.
3144 (tramp-process-sentinel): Improve trace.
3145 (tramp-sh-handle-file-notify-add-watch)
3146 (tramp-sh-file-notify-process-filter)
3147 (tramp-sh-handle-file-notify-rm-watch)
3148 (tramp-get-remote-inotifywait): New defuns.
3150 2013-07-03 Juri Linkov <juri@jurta.org>
3152 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3153 call of `occur-read-primary-args' to interactive spec.
3155 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3156 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3158 2013-07-03 Matthias Meulien <orontee@gmail.com>
3160 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3161 `Buffer-menu-multi-occur'. Add it to the menu.
3162 (Buffer-menu-mode): Document it in docstring.
3163 (Buffer-menu-multi-occur): New command. (Bug#14673)
3165 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3167 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3168 keywords and built-ins.
3170 2013-07-03 Glenn Morris <rgm@gnu.org>
3172 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3174 Make info-xref checks case-sensitive by default
3175 * info.el (Info-find-node, Info-find-in-tag-table)
3176 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3177 Add option for exact case matching of nodes.
3178 * info-xref.el (info-xref): New custom group.
3179 (info-xref-case-fold): New option.
3180 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3182 2013-07-03 Leo Liu <sdl.web@gmail.com>
3184 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3186 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3188 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3189 middle of block statement initially, lower the depth. Remove
3190 FIXME comment, not longer valid. Remove middle of block statement
3191 detection, no need to do that anymore since we've been using
3192 `ruby-parse-region' here.
3194 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3196 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3198 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
3200 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3202 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
3204 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3205 (desktop-restore-in-current-display): New customization option.
3206 (desktop--excluded-frame-parameters): Add `font'.
3207 (desktop--save-frames): Rename from desktop--save-windows.
3208 (desktop--restore-in-this-display-p): New function.
3209 (desktop--make-full-frame): Remove unwanted width/height from
3210 full(width|height) frames.
3211 (desktop--restore-frames): Rename from desktop--restore-windows.
3212 Obey desktop-restore-current-display. Do not delete old frames or
3213 select a new frame unless we were able to restore at least one frame.
3215 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
3217 * files.el (find-file-noselect): Simplify conditional expression.
3219 * remember.el (remember-append-to-file):
3220 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3222 Add `remember-notes' function to store random notes across Emacs
3224 * remember.el (remember-data-file): Add :set callback to affect
3225 notes buffer (if any).
3226 (remember-notes): New command.
3227 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3228 New defcustoms for the `remember-notes' function.
3229 (remember-notes-save-and-bury-buffer): New command.
3230 (remember-notes-mode-map): New variable.
3231 (remember-mode): New minor mode.
3232 (remember-notes--kill-buffer-query): New function.
3233 * startup.el (initial-buffer-choice): Add notes to custom type.
3235 2013-06-30 Eli Zaretskii <eliz@gnu.org>
3237 * bindings.el (right-char, left-char): Don't call sit-for, this is
3238 no longer needed. Use arithmetic comparison only for numerical
3241 * international/mule-cmds.el (select-safe-coding-system):
3242 Handle the case of FROM being a string correctly. (Bug#14755)
3244 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3246 * net/shr.el (shr-make-table-1): Add a sanity check that allows
3247 progression on degenerate tables.
3248 (shr-rescale-image): ImageMagick animated images currently don't work.
3250 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
3252 Some fixes and improvements for desktop frame restoration.
3253 It is still experimental and disabled by default.
3254 * desktop.el (desktop--save-windows): Put the selected frame at
3255 the head of the list.
3256 (desktop--make-full-frame): New function.
3257 (desktop--restore-windows): Try to re-select the frame that was
3258 selected upon saving. Do not abort if some frames fail to restore,
3259 just show an error message and continue. Set up maximized frames
3260 so they have default non-maximized dimensions.
3262 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
3264 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3265 Don't start heredoc inside a string or comment.
3267 2013-06-29 Eli Zaretskii <eliz@gnu.org>
3269 * bindings.el (visual-order-cursor-movement): New defcustom.
3270 (right-char, left-char): Provide visual-order cursor motion by
3271 calling move-point-visually. Update the doc strings.
3273 2013-06-28 Kenichi Handa <handa@gnu.org>
3275 * international/mule.el (define-coding-system): New coding system
3276 properties :inhibit-null-byte-detection,
3277 :inhibit-iso-escape-detection, and :prefer-utf-8.
3278 (set-buffer-file-coding-system): If :charset-list property of
3279 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3280 appropriate for setting.
3282 * international/mule-cmds.el (select-safe-coding-system):
3283 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3284 multibyte characters, return utf-8 (or one of its siblings).
3286 * international/mule-conf.el (prefer-utf-8): New coding system.
3287 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3290 2013-06-28 Ivan Kanis <ivan@kanis.fr>
3292 * net/shr.el (shr-render-region): New function.
3294 * net/eww.el: Autoload `eww-browse-url'.
3296 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3298 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3299 Adapt to `package-desc-version' being a list.
3300 Use `package--ac-desc-version' to retrieve version from a package
3303 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
3305 New experimental feature to save&restore window and frame setup.
3306 * desktop.el (desktop-save-windows): New defcustom.
3307 (desktop--saved-states): New var.
3308 (desktop--excluded-frame-parameters): New defconst.
3309 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3310 (desktop--restore-windows, desktop--save-windows): New functions.
3311 (desktop-save): Call `desktop--save-windows'.
3312 (desktop-read): Call `desktop--restore-windows'.
3314 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3316 * net/shr.el (add-face-text-property): Remove compat definition.
3318 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
3320 * info.el (Info-try-follow-nearest-node): Move search for footnote
3321 above search for node name to prevent missing a footnote (bug#14717).
3323 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
3325 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3327 2013-06-27 Leo Liu <sdl.web@gmail.com>
3329 * net/eww.el (eww-read-bookmarks): Check file size.
3331 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3333 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3334 advice--pending if newdef is nil or an autoload (bug#13820).
3335 (advice-mapc): New function.
3337 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3339 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3341 (eww-mode-map): Add a menu bar.
3342 (eww-add-bookmark): New command.
3343 (eww-bookmark-mode): New mode and commands.
3344 (eww-add-bookmark): Remove newlines from the title.
3345 (eww-bookmark-browse): Don't bug out if it's the only window.
3347 2013-06-26 Glenn Morris <rgm@gnu.org>
3349 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3350 (hfy-size): Handle ttys. (Bug#14668)
3352 * info-xref.el: Update for Texinfo 5 change in *note format.
3353 (info-xref-node-re, info-xref-note-re): New constants.
3354 (info-xref-check-buffer): Use info-xref-note-re.
3356 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3358 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3360 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3361 nil terminate the loop (bug#14718).
3363 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3365 * net/eww.el: Rework history traversal. When going forward/back,
3366 put these actions into the history, too, so that they can be
3368 (eww-render): Move the history reset to the correct buffer.
3370 2013-06-25 Juri Linkov <juri@jurta.org>
3372 * files-x.el (modify-dir-local-variable): Change the header comment
3373 in the file with directory local variables. (Bug#14692)
3375 * files-x.el (read-file-local-variable-value): Add `default'.
3378 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3380 * net/eww.el (eww-make-unique-file-name): Create a unique file
3381 name before saving to entering `y' accidentally asynchronously.
3383 2013-06-25 Ivan Kanis <ivan@kanis.fr>
3385 * net/eww.el (eww-download): New command and keystroke.
3387 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3389 * net/eww.el (eww-copy-page-url): Change name of command.
3391 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
3392 be more consistent with Info and dired.
3394 * net/eww.el (eww-mode-map): Ditto.
3396 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3398 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
3399 packages from archives.
3400 (package-archive-contents): Change format; include obsolete packages.
3401 (package-desc): Use `dir' to mark builtin packages.
3402 (package--from-builtin): Set the `dir' field to `builtin'.
3403 (generated-autoload-file, version-control): Declare.
3404 (package-compute-transaction): Change first arg and return value to be
3405 lists of package-descs. Adjust to new package-archive-contents format.
3406 (package--add-to-archive-contents): Adjust to new
3407 package-archive-contents format.
3408 (package-download-transaction): Arg is now a list of package-descs.
3409 (package-install): If `pkg' is a package name, pass it as
3410 a requirement, so it is subject to the usual (e.g. disabled) checks.
3411 (describe-package): Accept package-desc as well.
3412 (describe-package-1): Describe a specific package-desc. Add links to
3413 other package-descs for the same package name.
3414 (package-menu-describe-package): Pass the actual package-desc.
3415 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
3417 (package-desc-status): New function.
3418 (package-menu--refresh): New function, extracted
3419 from package-menu--generate.
3420 (package-menu--generate): Use it.
3421 (package-delete): Update package-alist.
3422 (package-menu-execute): Don't call package-initialize.
3424 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
3425 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
3426 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
3427 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
3428 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
3429 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
3431 2013-06-25 Martin Rudalics <rudalics@gmx.at>
3433 * window.el (window--state-get-1): Workaround for bug#14527.
3434 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
3436 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3438 * net/eww.el (eww-back-url): Implement the history by stashing all
3439 the data into a list.
3440 (eww-forward-url): Allow going forward in the history, too.
3442 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3444 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
3445 for values and use read--expression for expressions (bug#14710).
3446 (read-file-local-variable): Avoid setq.
3447 (read-file-local-variable-mode): Use minor-mode-list.
3449 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3451 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
3454 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3456 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
3457 Update imenu-support when dialect changes.
3459 2013-06-25 Leo Liu <sdl.web@gmail.com>
3461 * ido.el (ido-read-internal): Allow forward slash on windows.
3463 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3465 * net/eww.el (eww): Start of strings is \\`, not ^.
3467 2013-06-24 Ivan Kanis <ivan@kanis.fr>
3469 * net/shr.el (shr-browse-url): Fix interactive spec.
3471 * net/eww.el (eww): Add a trailing slash to domain names.
3473 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
3475 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
3477 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3479 * net/shr.el (shr-browse-url): Use an external browser if given a
3482 * net/eww.el (eww-external-browser): Move to shr.
3484 2013-06-24 Ivan Kanis <ivan@kanis.fr>
3486 * net/eww.el (eww): Work more correctly for file: URLs.
3487 (eww-detect-charset): Allow quoted charsets.
3488 (eww-yank-page-url): New command and keystroke.
3490 2013-06-24 Daiki Ueno <ueno@gnu.org>
3492 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
3493 file name of gpg executable.
3494 (epg-context-program): New function.
3495 (epg-context-home-directory): New function.
3496 (epg-context-set-program): New function.
3497 (epg-context-set-home-directory): New function.
3498 (epg--start): Use `epg-context-program' instead of
3500 (epg--list-keys-1): Likewise.
3502 2013-06-24 Leo Liu <sdl.web@gmail.com>
3504 * ido.el (ido-read-internal): Fix bug#14620.
3506 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
3508 * faces.el (face-documentation): Simplify.
3509 (read-face-attribute, tty-find-type, x-resolve-font-name):
3510 Use `string-match-p'.
3511 (list-faces-display): Use `string-match-p'. Simplify.
3512 (face-spec-recalc): Check face to avoid face alias loops.
3513 (read-color): Use `string-match-p' and non-capturing parenthesis.
3515 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3517 * net/shr.el (shr-rescale-image): Use the new
3518 :max-width/:max-height functionality.
3520 2013-06-23 Ivan Kanis <ivan@kanis.fr>
3522 * net/eww.el (eww-search-prefix): New variable.
3524 (eww-external-browser): New variable.
3525 (eww-mode-map): New keystroke.
3526 (eww-browse-with-external-browser): New command.
3528 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
3530 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
3532 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3533 Don't skip aligning the next header field when padding is 0;
3534 otherwise, field width is not respected unless the title is as
3537 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3539 * emacs-lisp/package.el (package-el-version): Remove.
3540 (package-process-define-package): Fix inf-loop.
3541 (package-install): Allow symbols as arguments again.
3543 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3545 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
3546 add some more keyword-like methods.
3547 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
3549 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
3551 * bs.el (bs-buffer-show-mark): Make defvar-local.
3552 (bs-mode): Use setq-local.
3554 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
3555 (emacs-lock--try-unlocking): Make defvar-local.
3557 2013-06-22 Glenn Morris <rgm@gnu.org>
3559 * play/cookie1.el (cookie-apropos): Minor simplification.
3561 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
3563 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3565 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
3566 `regexp-opt', it breaks the build during dumping.
3568 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
3570 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3571 Highlight keyword-like methods on Kernel and Module with
3572 font-lock-builtin-face.
3573 (auto-mode-alist): Consolidate different entries into one regexp
3574 and add more *file-s.
3576 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
3578 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
3580 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
3581 (diary-entry): Use it in the action of this button type instead of
3584 * calendar/todo-mode.el: New version.
3585 (todo-add-category): Append new category to end of file and give
3586 it the highest number, instead of putting it at the beginning and
3587 giving it 0. Incorporate noninteractive functionality.
3588 (todo-forward-category): Adapt to 1-based category numbering.
3589 Allow skipping over archived categories.
3590 (todo-backward-category): Derive from todo-forward-category.
3591 (todo-backward-item, todo-forward-item): Make noninteractive and
3592 delegate interactive part to new commands. Make sensitive to done items.
3593 (todo-categories): Make value an alist of category names and
3594 vectors of item counts.
3595 (todo-category-beg): Make a defconst.
3596 (todo-category-number): Use 1 instead of 0 as initial value.
3597 (todo-category-select): Make sensitive to overlays, optional item
3598 highlighting and done items.
3599 (todo-delete-item): Make sensitive to overlays and marked and done items.
3600 (todo-edit-item): Make sensitive to overlays and editing of
3601 date/time header optional. Add format checks.
3602 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
3603 no-op if point is not on an item. Advertise using todo-edit-quit.
3604 (todo-edit-mode): Make sensitive to new format, font-locking, and
3605 multiple todo files.
3606 (todo-insert-item, todo-insert-item-here): Derive from
3607 todo-basic-insert-item and extend functionality.
3608 (todo-item-end, todo-item-start): Make sensitive to done items.
3609 (todo-item-string): Don't return text properties. Restore point.
3610 (todo-jump-to-category): Make sensitive to multiple todo files and
3611 todo archives. Use extended category completion.
3612 (todo-lower-item, todo-raise-item): Rename to *-priority and
3613 derive from todo-set-item-priority.
3614 (todo-mode): Derive from special-mode. Make sensitive to new
3615 format, font-locking and multiple todo files. Make read-only.
3616 (todo-mode-map): Don't suppress digit keys, so they can supply
3617 prefix arguments. Add many new key bindings.
3618 (todo-prefix): Insert as an overlay instead of file text.
3619 Change semantics from diary date expression to purely visual mark.
3620 (todo-print): Rename to todo-print-buffer. Make buffer display
3621 features printable. Remove option to restrict number of items
3622 printed. Add option to print to file.
3623 (todo-print-function): Rename to todo-print-buffer-function.
3624 (todo-quit): Extend to handle exiting new todo modes.
3625 (todo-remove-item): Make sensitive to overlays.
3626 (todo-save): Extend to buffers of filtered items.
3627 (todo-show): Make sensitive to done items, multiple todo files and
3628 new todo modes. Offer to convert legacy todo file before creating
3629 first new todo file.
3630 (todo-show-priorities): Rename to todo-top-priorities.
3631 Change semantics of value 0.
3632 (todo-top-priorities): Rename to todo-filter-top-priorities,
3633 derive from todo-filter-items and extend functionality.
3634 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
3635 and extend functionality to other types of filtered items.
3636 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
3637 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
3638 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
3639 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
3640 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
3641 (todo-edit-mode-hook, todo-entry-prefix-function)
3642 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
3643 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
3644 (todo-initials, todo-insert-threshold, todo-item-string-start)
3645 (todo-line-string, todo-menu, todo-mode-hook)
3646 (todo-more-important-p, todo-previous-answer, todo-previous-line)
3647 (todo-print-priorities, todo-remove-separator)
3648 (todo-save-top-priorities-too, todo-string-count-lines)
3649 (todo-string-multiline-p, todo-time-string-format)
3650 (todo-tmp-buffer-name): Remove.
3651 (todo-add-file, todo-archive-done-item, todo-choose-archive)
3652 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
3653 (todo-edit-category-diary-inclusion)
3654 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
3655 (todo-edit-file, todo-edit-item-date-day)
3656 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
3657 (todo-edit-item-date-month, todo-edit-item-date-to-today)
3658 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
3659 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
3660 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
3661 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
3662 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
3663 (todo-filter-top-priorities-multifile, todo-find-archive)
3664 (todo-find-filtered-items-file, todo-go-to-source-item)
3665 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
3666 (todo-jump-to-archive-category, todo-lower-category)
3667 (todo-mark-category, todo-marked-item-p, todo-merge-category)
3668 (todo-move-category, todo-move-item, todo-next-button)
3669 (todo-next-item, todo-padded-string, todo-powerset)
3670 (todo-previous-button, todo-previous-item)
3671 (todo-print-buffer-to-file, todo-raise-category)
3672 (todo-rename-category, todo-repair-categories-sexp, todo-search)
3673 (todo-set-category-number, todo-set-item-priority)
3674 (todo-set-top-priorities-in-category)
3675 (todo-set-top-priorities-in-file, todo-show-categories-table)
3676 (todo-sort-categories-alphabetically-or-numerically)
3677 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
3678 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
3679 (todo-toggle-item-header, todo-toggle-item-highlighting)
3680 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
3681 (todo-toggle-view-done-items, todo-toggle-view-done-only)
3682 (todo-unarchive-items, todo-unmark-category): New commands.
3683 (todo-absolute-file-name, todo-add-to-buffer-list)
3684 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
3685 (todo-basic-insert-item, todo-category-completions)
3686 (todo-category-number, todo-category-string-matcher-1)
3687 (todo-category-string-matcher-2, todo-check-filtered-items-file)
3688 (todo-check-format, todo-clear-matches)
3689 (todo-comment-string-matcher, todo-convert-legacy-date-time)
3690 (todo-current-category, todo-date-string-matcher)
3691 (todo-define-insertion-command, todo-diary-expired-matcher)
3692 (todo-diary-goto-entry, todo-diary-item-p)
3693 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
3694 (todo-display-categories, todo-display-sorted, todo-done-item-p)
3695 (todo-done-item-section-p, todo-done-separator)
3696 (todo-done-string-matcher, todo-files, todo-filter-items)
3697 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
3698 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
3699 (todo-insert-category-line, todo-insert-item-from-calendar)
3700 (todo-insert-sort-button, todo-insert-with-overlays)
3701 (todo-insertion-command-name, todo-insertion-key-bindings)
3702 (todo-label-to-key, todo-longest-category-name-length)
3703 (todo-make-categories-list, todo-mode-external-set)
3704 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
3705 (todo-modes-set-3, todo-multiple-filter-files)
3706 (todo-nondiary-marker-matcher, todo-prefix-overlays)
3707 (todo-read-category, todo-read-date, todo-read-dayname)
3708 (todo-read-file-name, todo-read-time)
3709 (todo-reevaluate-category-completions-files-defcustom)
3710 (todo-reevaluate-default-file-defcustom)
3711 (todo-reevaluate-filelist-defcustoms)
3712 (todo-reevaluate-filter-files-defcustom)
3713 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
3714 (todo-reset-done-separator, todo-reset-done-separator-string)
3715 (todo-reset-done-string, todo-reset-global-current-todo-file)
3716 (todo-reset-highlight-item, todo-reset-nondiary-marker)
3717 (todo-reset-prefix, todo-set-categories)
3718 (todo-set-date-from-calendar, todo-set-show-current-file)
3719 (todo-set-top-priorities, todo-short-file-name)
3720 (todo-show-current-file, todo-sort, todo-time-string-matcher)
3721 (todo-total-item-counts, todo-update-buffer-list)
3722 (todo-update-categories-display, todo-update-categories-sexp)
3723 (todo-update-count, todo-validate-name, todo-y-or-n-p):
3725 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
3727 (todo-categories, todo-display, todo-edit, todo-faces)
3728 (todo-filtered): New defgroups.
3729 (todo-archived-only, todo-button, todo-category-string, todo-date)
3730 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
3731 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
3732 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
3733 (todo-add-item-if-new-category, todo-always-add-time-string)
3734 (todo-categories-align, todo-categories-archived-label)
3735 (todo-categories-category-label, todo-categories-diary-label)
3736 (todo-categories-done-label, todo-categories-number-separator)
3737 (todo-categories-todo-label, todo-categories-totals-label)
3738 (todo-category-completions-files, todo-completion-ignore-case)
3739 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
3740 (todo-done-separator-string, todo-done-string)
3741 (todo-files-function, todo-filter-done-items, todo-filter-files)
3742 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
3743 (todo-initial-category, todo-initial-file, todo-item-mark)
3744 (todo-legacy-date-time-regexp, todo-mode-line-function)
3745 (todo-nondiary-marker, todo-number-prefix)
3746 (todo-print-buffer-function, todo-show-current-file)
3747 (todo-show-done-only, todo-show-first, todo-show-with-done)
3748 (todo-skip-archived-categories, todo-top-priorities-overrides)
3749 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
3750 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
3752 (todo-category-done, todo-date-pattern, todo-date-string-start)
3753 (todo-diary-items-buffer, todo-done-string-start)
3754 (todo-filtered-items-buffer, todo-item-start)
3755 (todo-month-abbrev-array, todo-month-name-array)
3756 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
3757 (todo-top-priorities-buffer): New defconsts.
3758 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
3759 (todo-categories-with-marks, todo-category-string-face)
3760 (todo-comment-face, todo-comment-string, todo-current-todo-file)
3761 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
3762 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
3763 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
3764 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
3765 (todo-font-lock-keywords, todo-global-current-todo-file)
3766 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
3767 (todo-insertion-commands-args)
3768 (todo-insertion-commands-args-genlist)
3769 (todo-insertion-commands-names, todo-insertion-map)
3770 (todo-key-bindings-t, todo-key-bindings-t+a)
3771 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
3772 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
3773 (todo-nondiary-face, todo-print-buffer, todo-time-face)
3774 (todo-visited): New variables.
3776 2013-06-21 Glenn Morris <rgm@gnu.org>
3778 * play/cookie1.el (cookie-apropos): Add optional display argument.
3779 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
3780 (psychoanalyze-pinhead): Use cookie-doctor.
3782 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3784 * emacs-lisp/package.el (tar-get-file-descriptor)
3785 (tar--extract): Declare.
3787 2013-06-21 Eduard Wiebe <usenet@pusto.de>
3789 Extend flymake's warning predicate to be a function (bug#14217).
3790 * progmodes/flymake.el (flymake-warning-predicate): New.
3791 (flymake-parse-line): Use it.
3792 (flymake-warning-re): Make obsolete alias to
3793 `flymake-warning-predicate'.
3795 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3797 * emacs-lisp/package.el (package-alist): Include obsolete packages.
3798 (package-obsolete-list): Remove.
3799 (package-activate): Remove min-version argument. Add `force' argument.
3800 Adjust to new package-alist format.
3801 (package-mark-obsolete): Remove.
3802 (package-unpack): Force reload of the package's autoloads.
3803 (package-installed-p): Check builtins if the installed package is not
3805 (package-initialize): Don't reset package-obsolete-list.
3806 Don't specify which package version to activate.
3807 (package-process-define-package, describe-package-1)
3808 (package-menu--generate): Adjust to new package-alist format.
3810 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3812 * allout-widgets.el (allout-widgets-mode-off)
3813 (allout-widgets-mode-on, allout-widgets-pre-command-business)
3814 (allout-widgets-post-command-business)
3815 (allout-widgets-after-copy-or-kill-function)
3816 (allout-widgets-after-undo-function, allout-test-range-overlaps)
3817 (allout-decorate-item-and-context)
3818 (allout-graphics-modification-handler): Fix typos in docstrings.
3819 (allout-get-or-create-parent-widget): Use `looking-at-p'.
3821 * cmuscheme.el (scheme-start-file): Doc fix.
3822 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
3823 (scheme-input-filter): Use `string-match-p'.
3825 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
3827 * dired-x.el: Use Dired consistently in docstrings.
3829 * dired.el: Use Dired consistently in docstrings.
3830 (dired-readin, dired-mode): Use `setq-local'.
3831 (dired-switches-alist): Make defvar-local.
3832 (dired-buffers-for-dir): Use `zerop'.
3833 (dired-safe-switches-p, dired-switches-escape-p)
3834 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
3835 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
3836 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
3837 (dired-goto-next-nontrivial-file): Use `string-match-p'.
3838 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
3839 (dired-toggle-marks, dired-mark-files-containing-regexp)
3840 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
3841 (dired-flag-auto-save-files, dired-flag-backup-files):
3843 (dired-mark-files-regexp, dired-build-subdir-alist):
3844 Use `string-match-p', `looking-at-p'.
3846 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
3847 (direct-print-region-helper): Use `string-match-p'.
3849 2013-06-21 Leo Liu <sdl.web@gmail.com>
3851 * comint.el (comint-redirect-results-list-from-process):
3854 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3856 * net/eww.el (eww-update-header-line-format): Quote % characters.
3858 2013-06-21 Glenn Morris <rgm@gnu.org>
3860 * play/cookie1.el (cookie): New custom group.
3861 (cookie-file): New option.
3862 (cookie-check-file): New function.
3863 (cookie): Make it interactive. Make start and end messages optional.
3864 Interactively, display the result. Default to cookie-file.
3865 (cookie-insert): Default to cookie-file.
3866 (cookie-snarf): Make start and end messages optional.
3867 Default to cookie-file. Use with-temp-buffer.
3868 (cookie-read): Rename from read-cookie.
3869 Make start and end messages optional. Default to cookie-file.
3870 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
3872 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
3873 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
3875 2013-06-21 Leo Liu <sdl.web@gmail.com>
3877 * progmodes/octave.el (octave-mode): Backward compatibility fix.
3879 2013-06-21 Glenn Morris <rgm@gnu.org>
3881 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
3883 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3884 Daniel Hackney <dan@haxney.org>
3886 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
3887 Consolidate the single-file vs tarball code.
3888 (package-desc-suffix): New function.
3889 (package-desc-full-name): Don't bother inlining it.
3890 (package-load-descriptor): Return the new package-desc.
3891 (package-mark-obsolete): Remove unused arg `package'.
3892 (package-unpack): Make it work for single files as well.
3893 Make it update package-alist.
3894 (package--make-autoloads-and-stuff): Rename from
3895 package--make-autoloads-and-compile. Don't compile any more.
3896 (package--compile): New function.
3897 (package-generate-description-file): New function, extracted from
3898 package-unpack-single.
3899 (package-unpack-single): Remove.
3900 (package--with-work-buffer): Add indentation and debugging info.
3901 (package-download-single): Remove.
3902 (package-install-from-archive): Rename from package-download-tar, make
3903 it take a pkg-desc, and make it work for single files as well.
3904 (package-download-transaction): Simplify.
3905 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
3906 external tar program.
3907 (package-install-from-buffer): Remove `pkg-desc' argument.
3908 Use package-tar-file-info for tar-mode buffers.
3909 (package-install-file): Simplify accordingly.
3910 (package-archive-base): Change to take a pkg-desc.
3911 * tar-mode.el (tar--check-descriptor): New function, extracted from
3913 (tar-get-descriptor): Use it.
3914 (tar-get-file-descriptor): New function.
3915 (tar--extract): New function, extracted from tar-extract.
3916 (tar--extract): Use it.
3917 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
3918 case the summary uses non-ascii. Adjust to new calling convention of
3919 package-tar-file-info.
3921 2013-06-21 Leo Liu <sdl.web@gmail.com>
3923 * comint.el (comint-redirect-results-list-from-process):
3924 Fix random delay. (Bug#14681)
3926 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3928 * profiler.el (profiler-format-number): Use log, not log10.
3930 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3932 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
3934 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3936 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
3937 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
3939 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
3940 (AUTOGENEL): ... here.
3941 * emacs-lisp/cl-macs.el (cl--sublis): New function.
3942 (cl--defsubst-expand): Use it.
3944 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
3946 * subr.el (log10): Move here from C code, and declare as obsolete.
3947 All uses of (log10 X) replaced with (log X 10).
3949 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3951 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
3952 Declare with `defvar-local'.
3953 (tabulated-list-use-header-line, tabulated-list-entries)
3954 (tabulated-list-padding, tabulated-list-printer)
3955 (tabulated-list-sort-key): Declare with `defvar-local'.
3956 (tabulated-list-init-header, tabulated-list-print-fake-header):
3959 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
3961 * arc-mode.el (archive-mode): Add `archive-write-file' to
3962 `write-contents-functions' also for remote files. (Bug#14652)
3964 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3966 * cus-edit.el (custom-commands): Fix typos.
3967 (custom-display): Fix tooltip text.
3968 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
3969 Fix typos in docstrings.
3970 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
3971 (custom-unlispify-menu-entry, custom-magic-value-create)
3972 (custom-add-see-also, custom-group-value-create): Use ?\s.
3973 (custom-guess-type, customize-apropos, editable-field)
3974 (custom-face-value-create): Use `string-match-p'.
3975 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
3977 * custom.el (custom-load-symbol): Use `string-match-p'.
3979 * ansi-color.el: Convert to lexical binding.
3980 (ansi-colors): Fix URL.
3981 (ansi-color-context, ansi-color-context-region): Use defvar-local.
3982 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
3983 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
3985 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3987 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
3989 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
3991 2013-06-19 Tom Tromey <tromey@redhat.com>
3993 * net/eww.el (eww-top-url): Remove.
3994 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
3995 (eww-render): Set new variables. Don't set eww-top-url.
3996 (eww-handle-link): Handle "prev", "home", and "contents".
3997 Downcase the rel text.
3998 (eww-top-url): Choose best top URL.
4000 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4002 * net/eww.el: Rewrite to implement form elements "by hand" instead of
4003 relying in widget.el. Using widget.el leads to too many
4004 user interface inconsistencies.
4005 (eww-self-insert): Implement entering commands in text fields.
4006 (eww-process-text-input): New function to make text input field editing
4008 (eww-submit): Rewrite to use the new-style form methods.
4009 (eww-select-display): Display the correct selected item.
4010 (eww-change-select): Implement changing the select value.
4011 (eww-toggle-checkbox): Implement radio/checkboxes.
4012 (eww-update-field): Fix compilation error.
4013 (eww-tag-textarea): Implement <textarea>.
4015 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
4016 we don't shadow mode-specific bindings.
4018 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
4021 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
4023 2013-06-19 Glenn Morris <rgm@gnu.org>
4025 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
4027 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
4029 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
4032 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
4034 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4036 * net/browse-url.el (browse-url-browser-function):
4037 `eww-browse-url' has the right calling signature, `eww' does not.
4039 2013-06-19 Glenn Morris <rgm@gnu.org>
4041 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
4042 Only eval autoloaded macros.
4043 (byte-compile-autoload): Only give the macro warning for macros.
4045 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
4046 (ps-underlined-faces): Declare.
4048 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
4049 (speedbar-add-supported-extension): Declare.
4051 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
4052 Don't include a date stamp in the header of the generated file;
4053 it leads to needless differences between output files.
4055 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
4057 * net/secrets.el (secrets-struct-secret-content-type):
4058 Replace check of introspection data by a test call of "CreateItem".
4059 Some servers do not offer introspection.
4061 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
4063 * electric.el (electric-pair-mode): Improve interaction with
4064 electric-layout-mode.
4065 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
4066 (electric-pair-syntax): Use text-mode-syntax-table in comments
4068 (electric-pair--insert): New function.
4069 (electric-pair-post-self-insert-function): Use it and
4070 electric--after-char-pos.
4072 2013-06-19 Leo Liu <sdl.web@gmail.com>
4074 * progmodes/octave.el (octave-help): Fix regexp.
4076 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4078 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4079 (shr-table-horizontal-line): Allow nil as a value, and change the
4081 (shr-insert-table-ruler): Respect the nil value.
4083 2013-06-18 Tom Tromey <tromey@barimba>
4085 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4087 (eww-open-file): New defun.
4088 (eww-render): Initialize new variables.
4089 (eww-display-html): Handle "link" and "a".
4090 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4091 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4092 (eww-back-url): Rename from eww-previous-url.
4093 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4096 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4098 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4099 Distinguish ternary operator tokens from slash symbol and slash
4102 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4104 Convert symbol prettification into minor mode and global minor mode.
4106 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4107 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4108 (prettify-symbols--keywords): Rename from
4109 `prog-prettify-symbols-alist' and make a local defvar.
4110 (prettify-symbols--compose-symbol): Rename from
4111 `prog--prettify-font-lock-compose-symbol'.
4112 (prettify-symbols--make-keywords): Rename from
4113 `prog-prettify-font-lock-symbols-keywords' and simplify.
4114 (prog-prettify-install): Remove.
4115 (prettify-symbols-mode): New minor mode, based on
4116 `prog-prettify-install'.
4117 (turn-on-prettify-symbols-mode): New function.
4118 (global-prettify-symbols-mode): New globalized minor mode.
4120 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4121 * progmodes/cfengine.el (cfengine3-mode):
4122 * progmodes/perl-mode.el (perl-mode): Don't call
4123 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4125 2013-06-18 Juri Linkov <juri@jurta.org>
4127 * files-x.el (modify-file-local-variable-message): New function.
4128 (modify-file-local-variable)
4129 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4130 and call `modify-file-local-variable-message' when it's non-nil.
4131 (add-file-local-variable, delete-file-local-variable)
4132 (add-file-local-variable-prop-line)
4133 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4134 and use it. (Bug#9820)
4136 2013-06-18 Juri Linkov <juri@jurta.org>
4138 * emulation/vi.el (vi-shell-op):
4139 * emulation/vip.el (vip-execute-com, ex-command):
4140 * emulation/viper-cmd.el (viper-exec-bang):
4141 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4142 the call of `shell-command-on-region'. (Bug#14637)
4144 * simple.el (shell-command-on-region): Doc fix.
4146 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4148 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4151 2013-06-18 Glenn Morris <rgm@gnu.org>
4153 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4155 * newcomment.el (comment-search-forward, comment-search-backward):
4156 Doc fix. (Bug#14376)
4158 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4160 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4161 (buffer-face-mode-invoke): Doc fix.
4163 2013-06-18 Matthias Meulien <orontee@gmail.com>
4165 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
4166 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
4168 2013-06-18 Glenn Morris <rgm@gnu.org>
4170 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4171 Replace obsolete function generic-make-keywords with its expansion.
4173 * progmodes/python.el (ffap-alist): Declare.
4175 * textmodes/reftex.el (bibtex-mode-map): Declare.
4177 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4179 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4180 (package-unpack, package-unpack-single): Return the pkg-dir.
4181 (package-download-transaction): Use it to update package-alist.
4183 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4185 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4188 2013-06-17 Juri Linkov <juri@jurta.org>
4190 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4192 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4194 * emacs-lisp/package.el (package-load-descriptor):
4195 Remove `with-syntax-table' call, `read' doesn't need it.
4196 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4198 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4200 * startup.el (command-line): Expand package name returned by
4201 `package--description-file' (bug#14639).
4203 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4205 * emacs-lisp/package.el (package-load-descriptor): Do not call
4206 `emacs-lisp-mode', just use its syntax table.
4208 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4210 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4211 `font-lock-extra-managed-props' if any prettifying keyword is added.
4212 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4213 (prog-mode): Use `setq-local'.
4215 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4217 * international/characters.el (standard-case-table): Set syntax of ?»
4218 and ?« to punctuation.
4220 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
4222 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4223 Save relevant match data before calling `syntax-ppss' (bug#14595).
4225 2013-06-15 Juri Linkov <juri@jurta.org>
4227 * files-x.el (modify-file-local-variable-prop-line): Add local
4228 variables to the end of the existing comment on the first line.
4229 Use `file-auto-mode-skip' to skip interpreter magic line,
4230 and also skip XML declaration.
4232 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4234 * startup.el (package--builtin-versions): New var.
4235 (package-subdirectory-regexp): Remove.
4236 (package--description-file): Hard code its value instead.
4238 * emacs-lisp/package.el: Don't activate packages older than builtin.
4239 (package-obsolete-list): Rename from package-obsolete-alist, and make
4240 it into a simple list of package-desc.
4241 (package-strip-version): Remove.
4242 (package-built-in-p): Use package--builtin-versions.
4243 (package-mark-obsolete): Simplify.
4244 (package-process-define-package): Mark it obsolete if older than the
4246 (package-handle-response): Use line-end-position.
4247 (package-read-archive-contents, package--download-one-archive):
4249 (package--add-to-archive-contents): Skip if older than the builtin or
4251 (package-menu-describe-package): Fix last change.
4252 (package-list-unversioned): New var.
4253 (package-menu--generate): Use it.
4255 * emacs-lisp/autoload.el: Manage package--builtin-versions.
4256 (autoload--insert-text, autoload--insert-cookie-text): New functions.
4257 (autoload-builtin-package-versions): New variable.
4258 (autoload-generate-file-autoloads): Use them.
4259 Remove the list of autoloaded functions/macros from the
4260 (autoload...) comments.
4262 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4264 2013-06-15 Eli Zaretskii <eliz@gnu.org>
4266 * simple.el (line-move-partial): Don't jump to the next screen
4267 line as soon as it becomes visible. Instead, continue enlarging
4268 the vscroll until the portion of a tall screen line that's left on
4269 display is about the height of the frame's default font.
4272 2013-06-15 Glenn Morris <rgm@gnu.org>
4274 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4275 compilation-error-regexp-alist void, or local while let-bound.
4277 * progmodes/make-mode.el (makefile-mode-syntax-table):
4278 Treat "=" as punctuation. (Bug#14614)
4280 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
4282 * help-fns.el (describe-variable):
4283 Add extra line for permanent-local variables.
4285 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
4287 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4288 Add export, import, library. (Bug#9164)
4289 (library): Set indent function.
4291 2013-06-14 Glenn Morris <rgm@gnu.org>
4293 * term/xterm.el (xterm--query):
4294 Stop after first matching handler. (Bug#14615)
4296 2013-06-14 Ivan Kanis <ivan@kanis.fr>
4298 Add support for dired in saveplace.
4299 * dired.el (dired-initial-position-hook): New variable.
4300 (dired-initial-position): Call hook to place cursor position.
4301 * saveplace.el (save-place-to-alist): Add dired position.
4302 (save-place-dired-hook): New function.
4304 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4306 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4307 through a symbol rather than letrec.
4309 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4310 (package-desc): Add `dir' field.
4311 (package-desc-full-name): New function.
4312 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4313 (package-maybe-load-descriptor): Remove.
4314 (package-load-all-descriptors): Just call package-load-descriptor.
4315 (package--disabled-p): New function.
4316 (package-desc-vers, package-desc-doc): Remove aliases.
4317 (package--dir): Remove function.
4318 (package-activate): Check if a package is disabled.
4319 (package-process-define-package): New function, extracted from
4321 (define-package): Turn into a place holder.
4322 (package-unpack-single, package-tar-file-info):
4323 Use package--description-file.
4324 (package-compute-transaction): Use package--disabled-p.
4325 (package-download-transaction): Don't call
4326 package-maybe-load-descriptor since they're all loaded anyway.
4327 (package-install): Change argument to be a pkg-desc.
4328 (package-delete): Use a single pkg-desc argument.
4329 (describe-package-1): Use package-desc-dir instead of package--dir.
4330 Use package-desc property instead of package-symbol.
4331 (package-install-button-action): Adjust accordingly.
4332 (package--push): Rewrite.
4333 (package-menu--print-info): Adjust accordingly. Change the ID format
4335 (package-menu-describe-package, package-menu-get-status)
4336 (package-menu--find-upgrades, package-menu-mark-upgrades)
4337 (package-menu-execute, package-menu--name-predicate):
4339 * startup.el (package--description-file): New function.
4340 (command-line): Use it.
4341 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4342 Use package-desc-version.
4344 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4345 (byte-compile-preprocess): Use it.
4346 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4347 can't quite recognize.
4348 (byte-compile-add-to-list): Remove.
4349 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4350 (cconv-closure-convert): Add assertion.
4352 * emacs-lisp/map-ynp.el: Use lexical-binding.
4353 (map-y-or-n-p): Remove unused vars `tail' and `object'.
4354 Factor out some repeated code.
4356 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4358 * subr.el (with-eval-after-load): New macro.
4359 (eval-after-load): Allow form to be a function.
4360 take advantage of lexical-binding.
4361 (do-after-load-evaluation): Use dolist and adjust to new format.
4362 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4364 2013-06-13 Juri Linkov <juri@jurta.org>
4366 * replace.el (perform-replace): Display "symbol " and other search
4367 modes from `isearch-message-prefix' in the *Help* buffer.
4369 * isearch.el (isearch-query-replace): Add " symbol" and other
4370 possible search modes from `isearch-message-prefix' to the prompt.
4371 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4372 when reading a regexp to collect.
4374 2013-06-13 Juri Linkov <juri@jurta.org>
4376 * isearch.el (word-search-regexp): Match whitespace if the search
4377 string begins or ends in whitespace. The LAX arg is applied to
4378 both ends of the search string. Use `regexp-quote' and explicit
4379 \< and \> instead of \b. Use \` and \' instead of ^ and $.
4380 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4381 boundaries are replaced with symbol boundaries, and characters
4382 between symbols match non-word non-symbol syntax. (Bug#14602)
4384 2013-06-13 Juri Linkov <juri@jurta.org>
4386 * isearch.el (isearch-del-char): Don't exceed the length of
4387 `isearch-string' by the prefix arg. (Bug#14563)
4389 2013-06-13 Juri Linkov <juri@jurta.org>
4391 * isearch.el (isearch-yank-word, isearch-yank-line)
4392 (isearch-char-by-name, isearch-quote-char)
4393 (isearch-printing-char, isearch-process-search-char):
4394 Add optional count prefix arg. (Bug#14563)
4396 * international/isearch-x.el
4397 (isearch-process-search-multibyte-characters):
4398 Add optional count prefix arg.
4400 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4402 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
4403 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
4406 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
4408 * subr.el (set-temporary-overlay-map): Add on-exit argument.
4410 2013-06-13 Glenn Morris <rgm@gnu.org>
4412 * startup.el (tty-handle-args):
4413 Don't just discard "--" and anything after. (Bug#14608)
4415 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
4417 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
4419 Implement changes in Secret Service API. Make it backward compatible.
4420 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
4421 (secrets-create-item): Use it. Prefix properties with interface.
4423 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
4425 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
4426 (term-emulate-terminal): Respect term-suppress-hard-newline.
4428 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
4430 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4431 Only remove a `thumb-file' overlay. (Bug#14548)
4433 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
4435 * mail/reporter.el (reporter-submit-bug-report):
4436 Handle missing package-name. (Bug#14600)
4438 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4440 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
4441 (reftex-citation-prompt, reftex-default-bibliography)
4442 (reftex-bib-or-thebib, reftex-get-bibfile-list)
4443 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4444 (reftex-bib-sort-author, reftex-bib-sort-year)
4445 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
4446 (reftex-extract-bib-entries-from-thebibliography)
4447 (reftex-get-bibkey-default, reftex-get-bib-names)
4448 (reftex-parse-bibtex-entry, reftex-get-bib-field)
4449 (reftex-format-bib-entry, reftex-parse-bibitem)
4450 (reftex-format-bibitem, reftex-do-citation)
4451 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
4452 (reftex-restrict-bib-matches, reftex-extract-bib-file)
4453 (reftex-insert-bib-matches, reftex-format-citation)
4454 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
4455 (reftex-create-bibtex-file): Add docstrings, mostly by converting
4456 existing comments into docstrings.
4458 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4460 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
4462 2013-06-12 Andreas Schwab <schwab@suse.de>
4464 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
4465 for auto-save files.
4467 2013-06-12 Glenn Morris <rgm@gnu.org>
4469 * ido.el (ido-delete-ignored-files): Remove.
4470 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
4471 Go back to calling ido-ignore-item-p directly.
4473 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
4475 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
4477 * ido.el (ido-delete-ignored-files): New function,
4478 split from ido-make-file-list-1.
4479 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
4480 (ido-make-file-list-1): Use ido-delete-ignored-files.
4482 2013-06-12 Leo Liu <sdl.web@gmail.com>
4484 * progmodes/octave.el (inferior-octave-startup)
4485 (inferior-octave-completion-table)
4486 (inferior-octave-track-window-width-change)
4487 (octave-eldoc-function-signatures, octave-help)
4488 (octave-find-definition): Use single quoted strings.
4489 (inferior-octave-startup-args): Change default value.
4490 (inferior-octave-startup): Do not hard code "-i" and
4491 "--no-line-editing".
4492 (inferior-octave-resync-dirs): Add optional arg NOERROR.
4493 (inferior-octave-directory-tracker): Use it.
4494 (octave-goto-function-definition): Robustify.
4495 (octave-help): Support highlighting operators in 'See also'.
4496 (octave-find-definition): Find subfunctions only in Octave mode.
4498 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4500 * help-fns.el (help-fns--compiler-macro): If the handler function is
4501 named, then put a link to it.
4502 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
4503 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
4505 (cl-eval-when): Simplify debug spec.
4506 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
4507 compiler-macro function instead of setting `compiler-macro-file'.
4509 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4511 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
4512 * vc/vc-hooks.el (vc-stay-local): Doc fix.
4514 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4515 Daniel Hackney <dan@haxney.org>
4517 First part of Daniel Hackney's patch to package.el.
4518 * emacs-lisp/package.el: Use defstruct.
4519 (package-desc): New, main struct.
4520 (package--bi-desc, package--ac-desc): New structs, used to describe the
4521 format in external files.
4522 (package-desc-vers): Replace with package-desc-version accessor.
4523 (package-desc-doc): Replace with package-desc-summary accessor.
4524 (package-activate-1): Remove `package' arg since the pkg-vec now
4526 (define-package): Use package-desc-from-define.
4527 (package-unpack-single): Change file-name arg to be a symbol.
4528 (package--add-to-archive-contents): Use package-desc-create and new
4529 accessor functions to package--ac-desc.
4530 (package-buffer-info, package-tar-file-info): Return a package-desc.
4531 (package-install-from-buffer): Remove `type' argument. Change pkg-info
4532 arg to be a package-desc.
4533 (package-install-file): Adjust accordingly. Use \' to match EOS.
4534 (package--from-builtin): New function.
4535 (describe-package-1, package-menu--generate): Use it.
4536 (package--make-autoloads-and-compile): Change name arg to be a symbol.
4537 (package-generate-autoloads): Idem and return the name of the file.
4538 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4539 Change pkg-info arg to be a package-desc.
4540 Use package-make-ac-desc.
4541 (package-upload-file): Use \' to match EOS.
4542 * finder.el (finder-compile-keywords): Use package-make-builtin.
4544 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4546 * vc/vc.el (vc-deduce-fileset): Change error message.
4547 (vc-read-backend): New function.
4548 (vc-next-action): Use it.
4550 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
4552 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
4553 (prolog-font-lock-keywords): Use regexp-opt instead.
4554 Don't manually highlight strings.
4555 (prolog-mode-variables): Simplify comment-start-skip.
4556 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
4558 * emacs-lisp/generic.el (generic--normalise-comments)
4559 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
4560 (generic-mode-set-comments): Use them.
4561 (generic-bracket-support): Use setq-local.
4562 (generic-make-keywords-list): Declare obsolete.
4564 2013-06-11 Glenn Morris <rgm@gnu.org>
4566 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4567 Prettify after setting font-lock-defaults. (Bug#14574)
4569 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
4571 * replace.el (query-replace, occur-read-regexp-defaults-function)
4573 * subr.el (declare-function, number-sequence, local-set-key)
4574 (substitute-key-definition, locate-user-emacs-file)
4575 (with-silent-modifications, split-string, eval-after-load):
4576 Fix typos, remove unneeded backslashes and reflow some docstrings.
4578 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4580 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
4581 default for Elisp files.
4583 2013-06-11 Glenn Morris <rgm@gnu.org>
4585 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
4586 although define-derived-mode was doing this anyway. (Bug#14583)
4588 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
4590 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4591 Fix make-variable-buffer-local call to refer to the correct variable.
4593 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
4595 * eshell/em-term.el (eshell-visual-commands)
4596 (eshell-visual-subcommands, eshell-visual-options):
4597 Add summary line to docstrings. Add cross-references.
4599 2013-06-10 Glenn Morris <rgm@gnu.org>
4601 * epa.el (epa-read-file-name): New function. (Bug#14510)
4602 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
4604 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
4606 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
4607 output redirection to be ignored with visual commands.
4609 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
4611 * eshell/em-term.el (eshell-visual-command-p): New function.
4612 (eshell-term-initialize): Move long lambda to separate function
4613 eshell-visual-command-p.
4614 * eshell/em-dirs.el (eshell-dirs-initialise):
4615 * eshell/em-script.el (eshell-script-initialize):
4616 Add missing #' to lambda.
4618 2013-06-08 Leo Liu <sdl.web@gmail.com>
4620 * progmodes/octave.el (octave-add-log-current-defun): New function.
4621 (octave-mode): Set add-log-current-defun-function.
4622 (octave-goto-function-definition): Do not move point if not found.
4623 (octave-find-definition): Enhance to try subfunctions first.
4625 2013-06-08 Glenn Morris <rgm@gnu.org>
4627 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4628 (byte-compile-backward-char, byte-compile-backward-word):
4629 Improve previous change, to handle non-explicit nil.
4631 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4633 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
4634 (smie--opener/closer-at-point): New function.
4635 (smie--matching-block-data): Use it. Don't match from right after an
4636 opener or right before a closer. Obey smie-blink-matching-inners.
4637 Don't signal a mismatch for repeated inners like "switch..case..case".
4639 2013-06-07 Leo Liu <sdl.web@gmail.com>
4641 * progmodes/octave.el (octave-mode): Set comment-use-global-state
4643 (octave-function-header-regexp): Fix. (Bug#14570)
4644 (octave-help-mode-finish-hook, octave-help-mode-finish):
4645 Remove. Just use temp-buffer-show-hook.
4647 * newcomment.el (comment-search-backward): Revert last change.
4650 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
4652 2013-06-07 Eli Zaretskii <eliz@gnu.org>
4654 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
4655 through xargs, to avoid failure due to MS-Windows limitations on
4656 command-line length.
4658 2013-06-06 Glenn Morris <rgm@gnu.org>
4660 * font-lock.el (lisp-font-lock-keywords-2):
4661 Treat user-error like error.
4663 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4664 (byte-compile-backward-char, byte-compile-backward-word):
4665 Handle explicit nil arguments. (Bug#14565)
4667 2013-06-05 Alan Mackenzie <acm@muc.de>
4669 * isearch.el (isearch-allow-prefix): New user option.
4670 (isearch-other-meta-char): Don't exit isearch when a prefix
4671 argument is typed whilst `isearch-allow-prefix' is non-nil.
4674 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4676 * autorevert.el (auto-revert-notify-handler): Use memq.
4677 Hide assertion failure.
4679 * skeleton.el: Use cl-lib.
4680 (skeleton-further-elements): Use defvar-local.
4681 (skeleton-insert): Use cl-progv.
4683 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4685 * progmodes/prog-mode.el (prog-prettify-symbols)
4686 (prog-prettify-install): Update docstrings.
4688 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4690 * simple.el: Move all the prog-mode code to prog-mode.el.
4691 * progmodes/prog-mode.el: New file.
4692 * loadup.el: Add prog-mode.el.
4694 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4696 * simple.el (prog-prettify-symbols): Add version.
4697 (prog-prettify-install): Add convenience function to prettify symbols.
4699 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
4700 (perl--augmented-font-lock-keywords-1)
4701 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
4702 variables and use it.
4704 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4705 (cfengine3-mode): Remove unneeded variable and use it.
4707 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4708 (lisp--augmented-font-lock-keywords-1)
4709 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
4710 Remove unneeded variables and use it.
4712 2013-06-05 João Távora <joaotavora@gmail.com>
4714 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
4715 to point when opening the connection. (Bug#14380)
4717 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4719 * subr.el (load-history-regexp, load-history-filename-element)
4720 (eval-after-load, after-load-functions, do-after-load-evaluation)
4721 (eval-next-after-load, display-delayed-warnings)
4722 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
4723 definition of save-match-data.
4724 (overriding-local-map): Remove accidental obsolescence declaration.
4726 * emacs-lisp/edebug.el (edebug-result): Move before first use.
4728 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4730 Generalize symbol prettify support to prog-mode and implement it
4731 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
4732 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
4733 (prog--prettify-font-lock-compose-symbol)
4734 (prog-prettify-font-lock-symbols-keywords): New variables and
4735 functions to support symbol prettification.
4736 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4737 (lisp--augmented-font-lock-keywords-1)
4738 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
4739 (lisp--prettify-symbols-alist): Implement prettify of lambda.
4740 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4741 (cfengine3--prettify-symbols-alist, cfengine3-mode):
4742 Implement prettify of -> => :: strings.
4743 * progmodes/perl-mode.el (perl-prettify-symbols)
4744 (perl--font-lock-compose-symbol)
4745 (perl--font-lock-symbols-keywords): Move to prog-mode.
4746 (perl--prettify-symbols-alist): Prettify -> => :: strings.
4747 (perl-font-lock-keywords-1)
4748 (perl-font-lock-keywords-2): Remove explicit prettify support.
4749 (perl--augmented-font-lock-keywords)
4750 (perl--augmented-font-lock-keywords-1)
4751 (perl--augmented-font-lock-keywords-2, perl-mode):
4752 Implement prettify support.
4754 2013-06-05 Leo Liu <sdl.web@gmail.com>
4756 Re-implement smie matching block highlight using
4757 show-paren-data-function. (Bug#14395)
4758 * emacs-lisp/smie.el (smie-matching-block-highlight)
4759 (smie--highlight-matching-block-overlay)
4760 (smie--highlight-matching-block-lastpos)
4761 (smie-highlight-matching-block)
4762 (smie-highlight-matching-block-mode): Remove.
4763 (smie--matching-block-data-cache): New variable.
4764 (smie--matching-block-data): New function.
4765 (smie-setup): Use smie--matching-block-data for
4766 show-paren-data-function.
4768 * progmodes/octave.el (octave-mode-menu): Fix.
4769 (octave-find-definition): Skip garbage lines.
4771 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4773 Fix compilation error with simultaneous dynamic+lexical scoping.
4774 Add warning when a defvar appears after the first let-binding.
4775 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
4776 (byte-compile-close-variables): Initialize it.
4777 (byte-compile--declare-var): New function.
4778 (byte-compile-file-form-defvar)
4779 (byte-compile-file-form-define-abbrev-table)
4780 (byte-compile-file-form-custom-declare-variable): Use it.
4781 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
4782 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
4783 (byte-compile-bind): Handle dynamic bindings that shadow
4785 (byte-compile-unbind): Make arg non-optional.
4786 (byte-compile-let): Simplify.
4787 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
4788 (cconv--analyse-function, cconv-analyse-form): Populate it.
4789 Protect byte-compile-bound-variables to limit the scope of defvars.
4790 (cconv-analyse-form): Add missing rule for (defvar <foo>).
4791 Remove unneeded rule for `declare'.
4793 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
4794 so as to avoid depending on cl-adjoin at run-time.
4795 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
4797 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
4798 (macroexp--warn-and-return): Use it.
4800 2013-06-05 Leo Liu <sdl.web@gmail.com>
4802 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
4804 2013-06-04 Leo Liu <sdl.web@gmail.com>
4806 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
4807 (compilation-auto-jump): Suppress the "Mark set" message to give
4808 way to exit message.
4810 2013-06-04 Alan Mackenzie <acm@muc.de>
4812 Remove faulty optimisation from indentation calculation.
4813 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
4814 search limit based on 2000 characters back from indent-point.
4816 2013-06-03 Tassilo Horn <tsdh@gnu.org>
4818 * eshell/em-term.el (cl-lib): Require `cl-lib'.
4820 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4822 * emacs-lisp/lisp.el: Use lexical-binding.
4823 (lisp--local-variables-1, lisp--local-variables): New functions.
4824 (lisp--local-variables-completion-table): New var.
4825 (lisp-completion-at-point): Use it complete let-bound vars.
4827 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
4828 eagerly (bug#14422).
4830 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
4832 * autorevert.el (auto-revert-notify-enabled)
4833 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4834 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
4835 (auto-revert-notify-handler): Handle also gfilenotify.
4837 * subr.el (file-notify-handle-event): New defun. Replacing ...
4838 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
4841 2013-06-03 Juri Linkov <juri@jurta.org>
4843 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
4844 `M-s h .'. (Bug#14427)
4846 * hi-lock.el (highlight-symbol-at-point): New alias for the new
4847 command `hi-lock-face-symbol-at-point'.
4848 (hi-lock-face-symbol-at-point): New command.
4849 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
4850 (hi-lock-menu): Add `highlight-symbol-at-point'.
4851 (hi-lock-mode): Doc fix.
4853 * isearch.el (isearch-forward-symbol-at-point): New command.
4854 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
4855 (isearch-highlight-regexp): Add a regexp which matches
4856 words/symbols for word/symbol mode.
4858 * subr.el (find-tag-default-bounds): New function with the body
4859 mostly moved from `find-tag-default'.
4860 (find-tag-default): Move most code to `find-tag-default-bounds',
4861 call it and apply `buffer-substring-no-properties' afterwards.
4863 2013-06-03 Tassilo Horn <tsdh@gnu.org>
4865 * eshell/em-term.el (eshell-term-initialize):
4866 Use `cl-intersection' rather than `intersection'.
4868 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
4870 * vc/log-view.el: Doc fix.
4871 (log-view-mode-map): Copy keymap from `special-mode-map'.
4873 2013-06-02 Eric Ludlam <zappo@gnu.org>
4875 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
4876 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
4877 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
4878 (eieio-unbound, eieio-default-superclass)
4879 (eieio--define-field-accessors, method-static, method-before)
4880 (method-primary, method-after, method-num-lists)
4881 (method-generic-before, method-generic-primary)
4882 (method-generic-after, method-num-slots)
4883 (eieio-specialized-key-to-generic-key)
4884 (eieio--check-type, class-v, class-p)
4885 (eieio-class-name, define-obsolete-function-alias)
4886 (eieio-class-parents-fast, eieio-class-children-fast)
4887 (same-class-fast-p, class-constructor, generic-p)
4888 (generic-primary-only-p, generic-primary-only-one-p)
4889 (class-option-assoc, class-option, eieio-object-p)
4890 (class-abstract-p, class-method-invocation-order)
4891 (eieio-defclass-autoload-map, eieio-defclass-autoload)
4892 (eieio-class-un-autoload, eieio-defclass)
4893 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
4894 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
4895 (eieio--defgeneric-init-form, eieio-defgeneric-form)
4896 (eieio-defgeneric-reset-generic-form)
4897 (eieio-defgeneric-form-primary-only)
4898 (eieio-defgeneric-reset-generic-form-primary-only)
4899 (eieio-defgeneric-form-primary-only-one)
4900 (eieio-defgeneric-reset-generic-form-primary-only-one)
4901 (eieio-unbind-method-implementations)
4902 (eieio--defmethod, eieio--typep)
4903 (eieio-perform-slot-validation, eieio-validate-slot-value)
4904 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
4905 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
4906 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
4907 (eieio-slot-name-index, eieio-class-slot-name-index)
4908 (eieio-set-defaults, eieio-initarg-to-attribute)
4909 (eieio-attribute-to-initarg, eieio-c3-candidate)
4910 (eieio-c3-merge-lists, eieio-class-precedence-c3)
4911 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
4912 (eieio-class-precedence-list, eieio-generic-call-methodname)
4913 (eieio-generic-call-arglst, eieio-generic-call-key)
4914 (eieio-generic-call-next-method-list)
4915 (eieio-pre-method-execution-functions, eieio-generic-call)
4916 (eieio-generic-call-primary-only, eieiomt-method-list)
4917 (eieiomt-optimizing-obarray, eieiomt-install)
4918 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
4919 (eieio-generic-form, eieio-defmethod, make-obsolete)
4920 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
4921 (defclass): Remove `eval-and-compile' from macro.
4922 (call-next-method, shared-initialize): Instead of using
4923 `scoped-class' variable, use new eieio--scoped-class, and
4924 eieio--with-scoped-class.
4925 (initialize-instance): Rename local variable 'scoped-class' to
4926 'this-class' to remove ambiguitity from old global.
4928 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
4930 (eieio--scoped-class-stack): New variable.
4931 (eieio--scoped-class): New fcn.
4932 (eieio--with-scoped-class): New scoping macro.
4933 (eieio-defclass): Use pushnew instead of add-to-list.
4934 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
4935 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
4936 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
4937 `scoped-class' variable, use new eieio--scoped-class, and
4938 eieio--with-scoped-class.
4940 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
4942 2013-06-02 Tassilo Horn <tsdh@gnu.org>
4944 * eshell/esh-ext.el (eshell-external-command): Pass args to
4945 `eshell-find-interpreter'.
4946 (eshell-find-interpreter): Add new second parameter ARGS.
4948 * eshell/em-script.el (eshell-script-initialize): Add second arg
4949 to the function added as MATCH to `eshell-interpreter-alist'.
4951 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
4952 the function added as MATCH to `eshell-interpreter-alist'.
4954 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
4955 (eshell-visual-options): New defcustom.
4956 (eshell-escape-control-x): Adapt docstring.
4957 (eshell-term-initialize): Test `eshell-visual-subcommands' and
4958 `eshell-visual-options' in addition to `eshell-visual-commands'.
4959 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
4961 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
4963 * progmodes/python.el (python-indent-block-enders): Add break,
4964 continue and raise keywords.
4966 2013-06-01 Glenn Morris <rgm@gnu.org>
4968 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
4970 Plain (f)boundp silences compilation warnings since Emacs 22.1.
4971 * progmodes/cc-cmds.el (delete-forward-p):
4972 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
4973 * progmodes/cc-engine.el (buffer-syntactic-context):
4974 * progmodes/cc-fonts.el (face-property-instance):
4975 * progmodes/cc-mode.el (set-keymap-parents):
4976 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
4977 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
4978 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
4979 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
4980 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
4982 * progmodes/cc-vars.el (other): Emacs has this widget since
4983 at least 21.1, so don't (re)define it.
4985 * eshell/em-cmpl.el (eshell-cmpl-initialize):
4986 Replace the obsolete alias pcomplete-arg-quote-list.
4988 2013-06-01 Leo Liu <sdl.web@gmail.com>
4990 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
4992 (inferior-octave-minimal-columns)
4993 (inferior-octave-last-column-width): New variables.
4994 (inferior-octave-track-window-width-change): New function.
4995 (inferior-octave-mode): Adjust column width so that Octave output,
4996 for example from 'ls', can fit into the window nicely.
4998 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5000 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5001 Highlight expansions inside regexp literals.
5003 2013-05-31 Glenn Morris <rgm@gnu.org>
5005 * obsolete/sym-comp.el (symbol-complete):
5006 Replace obsolete completion-annotate-function.
5008 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
5010 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
5012 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
5013 New function, checks if point is inside a literal that allows
5014 expression expansion.
5015 (ruby-syntax-propertize-expansion): Use it.
5016 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
5019 2013-05-30 Juri Linkov <juri@jurta.org>
5021 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
5023 (isearch-invisible): New variable.
5024 (isearch-forward): Doc fix.
5025 (isearch-mode): Set `isearch-invisible'
5026 to the value of `search-invisible'.
5027 (isearch-toggle-case-fold): Doc fix.
5028 (isearch-toggle-invisible): New command.
5029 (isearch-query-replace): Let-bind `search-invisible'
5030 to the value of `isearch-invisible'.
5031 (isearch-search): Use `isearch-invisible' instead of
5032 `search-invisible'. Let-bind `search-invisible'
5033 to the value of `isearch-invisible'. (Bug#11378)
5035 2013-05-30 Juri Linkov <juri@jurta.org>
5037 * replace.el (perform-replace): Avoid `isearch-range-invisible'
5038 call when `query-flag' is nil and `search-invisible' is non-nil.
5041 2013-05-30 Glenn Morris <rgm@gnu.org>
5043 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
5045 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
5046 (cc-require): Suppress spurious "noruntime" warnings.
5047 (cc-require-when-compile): Use fboundp, for sake of compiler.
5049 * progmodes/cc-mode.el: Move load of cc-vars before that of
5050 cc-langs (which in turn loads cc-vars), to quieten compiler.
5052 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5054 * paren.el: Simplify the code.
5055 (show-paren-mode): Always start the timer.
5056 (show-paren--idle-timer): Rename from show-paren-idle-timer.
5057 (show-paren--overlay, show-paren--overlay-1): Rename from
5058 show-paren-overlay and show-paren-overlay-1, and initialize to an
5059 overlay rather than to nil.
5060 (show-paren-function): Misc cleanup and simplifications.
5062 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5064 * paren.el (show-paren-data-function): New hook.
5065 (show-paren--default): New function, extracted from show-paren-function.
5066 (show-paren-function): Use show-paren-data-function.
5068 2013-05-30 Glenn Morris <rgm@gnu.org>
5070 * ielm.el (ielm-map, ielm-complete-symbol):
5071 Use completion-at-point rather than obsolete functions.
5072 (inferior-emacs-lisp-mode): Doc fix.
5073 Set completion-at-point-functions, rather than
5074 comint-dynamic-complete-functions.
5076 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5077 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5078 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5080 * image.el (image-animated-p): Tweak definition.
5082 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5083 (rlogin-process-connection-type): Tweak default. Add set-after.
5084 (rlogin-host): Doc fix.
5085 (rlogin): Tweak prompt.
5086 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5088 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5089 * progmodes/tcl.el (inferior-tcl-mode-map):
5090 Use completion-at-point rather than obsolete alias.
5092 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5094 * minibuffer.el (read-file-name-completion-ignore-case):
5095 Move before completion--in-region, for eager macro expansion.
5097 2013-05-29 Juri Linkov <juri@jurta.org>
5099 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5100 for total count of matching lines. Add `global-matches' for total
5101 count of matches. Rename `matches' to `lines' for count of
5102 matching lines. Add `matches' for count of matches.
5103 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5104 to `prev-line' for line number of prev match endpt.
5105 Increment `matches' for every match. Print the number of
5106 matching lines in the header.
5107 (occur-context-lines): Rename `lines' to `curr-line'.
5108 Rename `prev-lines' to `prev-line'. (Bug#14017)
5110 2013-05-29 Juri Linkov <juri@jurta.org>
5112 * replace.el (perform-replace): Add `skip-read-only-count',
5113 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5114 Increment them for corresponding conditions and report the number
5115 of skipped occurrences in the final message. (Bug#11746)
5116 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5117 (replace-string, replace-regexp): Doc fix.
5119 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5121 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5123 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
5124 prog-mode-map (bug#14504).
5126 2013-05-29 Leo Liu <sdl.web@gmail.com>
5128 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5129 (octave-help): Small simplification.
5131 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5132 off the highlight first.
5134 2013-05-29 Glenn Morris <rgm@gnu.org>
5136 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5137 Handle idlwave-last-system-routine-info-cons-cell being nil.
5139 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5140 (idlwave-write-paths): Simplify via with-temp-buffer.
5142 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5143 * emulation/cua-rect.el: Also load cua-base at run time.
5145 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5146 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5147 (cperl-imenu-on-info): Require imenu.
5149 2013-05-28 Alan Mackenzie <acm@muc.de>
5151 Handle "capitalised keywords" correctly.
5152 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
5154 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
5156 * eshell/em-unix.el: Add -r option to cp.
5158 2013-05-28 Glenn Morris <rgm@gnu.org>
5160 * vc/vc-arch.el (vc-exec-after): Declare.
5161 (vc-switches): Autoload.
5162 * vc/vc-bzr.el: No need to require vc when compiling.
5163 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5164 (vc-resynch-buffer, vc-dir-refresh): Declare.
5165 (vc-setup-buffer, vc-switches): Autoload.
5166 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5167 (vc-resynch-buffer): Declare.
5168 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
5169 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
5170 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5171 (grep-read-regexp, grep-read-files, grep-expand-template)
5172 (vc-dir-refresh): Declare.
5173 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5174 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5175 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
5176 * vc/vc-mtn.el (vc-exec-after): Declare.
5177 (vc-switches): Autoload.
5178 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5179 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5180 (vc-file-tree-walk): Declare.
5181 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5182 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5183 (vc-tag-precondition, vc-rename-master): Autoload.
5184 * vc/vc-svn.el (vc-exec-after): Declare.
5185 (vc-switches, vc-setup-buffer): Autoload.
5186 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5188 (vc-resynch-buffer): Declare.
5190 * obsolete/fast-lock.el (byte-compile-warnings):
5191 Don't warn about obsolete features in this obsolete file.
5193 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5194 Move definition before use.
5196 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5197 (dun-unix-verbs): Remove dun-zippy.
5198 (dun-zippy): Remove function.
5200 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5202 2013-05-27 Juri Linkov <juri@jurta.org>
5204 * replace.el (replace-search): New function with code moved out
5205 from `perform-replace'.
5206 (replace-highlight, replace-dehighlight): Move function definitions
5207 up closer to `replace-search'. (Bug#11746)
5209 2013-05-27 Juri Linkov <juri@jurta.org>
5211 * replace.el (perform-replace): Ignore invisible matches.
5212 In addition to checking `query-replace-skip-read-only', also
5213 filter out matches by calling `run-hook-with-args-until-failure'
5214 on `isearch-filter-predicates', and also check `search-invisible'
5215 for t or call `isearch-range-invisible'.
5216 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5218 2013-05-27 Juri Linkov <juri@jurta.org>
5220 * isearch.el (isearch-filter-predicates): Rename from
5221 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5222 (isearch-message-prefix): Display text from the property
5223 `isearch-message-prefix' of the currently active filters.
5224 (isearch-search): Don't compare `isearch-filter-predicate' with
5225 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5226 on `isearch-filter-predicates'. Also check `search-invisible' for t
5227 or call `isearch-range-invisible'.
5228 (isearch-filter-visible): Make obsolete.
5229 (isearch-lazy-highlight-search):
5230 Call `run-hook-with-args-until-failure' on
5231 `isearch-filter-predicates' and use `isearch-range-invisible'.
5233 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5234 `isearch-filter-predicates' instead of `funcall'ing
5235 `isearch-filter-predicate'.
5236 (Info-mode): Set `Info-isearch-filter' to
5237 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5239 * dired-aux.el (dired-isearch-filter-predicate-orig):
5241 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5242 (dired-isearch-filenames-end): Add and remove
5243 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5244 instead of changing the value of `isearch-filter-predicate'.
5245 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5246 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5247 Put property `isearch-message-prefix' to "filename " on
5248 `dired-isearch-filter-filenames'.
5250 * wdired.el (wdired-change-to-wdired-mode):
5251 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5252 locally instead of changing `isearch-filter-predicate'.
5253 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5255 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
5257 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5258 return the commit hash (Bug#14459). Also set the
5259 `vc-git-detached' property.
5260 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5261 (vc-git-mode-line-string): Use the same help-echo format whether
5262 in detached mode or not, because we know the actual revision now.
5263 When in detached mode, shorten the revision to 7 chars.
5265 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5267 * emacs-lisp/easy-mmode.el (define-minor-mode):
5268 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5269 mode hook and provide a docstring.
5271 2013-05-27 Alan Mackenzie <acm@muc.de>
5273 Remove spurious syntax-table text properties inserted by C-y.
5274 * progmodes/cc-mode.el (c-after-change): Also clear hard
5275 syntax-table property with value nil.
5277 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
5279 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5280 when reading the events; the buffer layout shall not be changed.
5282 2013-05-27 Leo Liu <sdl.web@gmail.com>
5284 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5286 (inferior-octave-directory-tracker): Automatically re-sync
5288 (octave-help): Improve handling of 'See also'.
5290 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5292 * doc-view.el: Minor naming convention tweaks.
5293 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5295 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5296 even if there's no `display' property yet (bug#14435).
5298 2013-05-25 Eli Zaretskii <eliz@gnu.org>
5300 * subr.el (unmsys--file-name): Rename from reveal-filename.
5302 * Makefile.in (custom-deps, finder-data, autoloads)
5303 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5304 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5305 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5307 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5309 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5310 error-completion on the first 2 args of condition-case (bug#14446).
5313 2013-05-25 Leo Liu <sdl.web@gmail.com>
5315 * comint.el (comint-previous-matching-input): Do not flood the
5316 *Messages* buffer with trivial messages.
5318 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5320 * progmodes/flymake.el (flymake-nop): Don't return a string.
5321 (flymake-set-at): Fix typo.
5323 * simple.el (read--expression): New function, extracted from
5324 eval-expression. Set completion-at-point-functions (bug#14465).
5325 (eval-expression, eval-minibuffer): Use it.
5327 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5329 * progmodes/flymake.el (flymake-save-buffer-in-file)
5330 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5331 (flymake-selected-frame, flymake-log, flymake-ins-after)
5332 (flymake-set-at, flymake-get-buildfile-from-cache)
5333 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5334 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5335 Refine the doc string.
5336 (flymake-get-file-name-mode-and-masks): Reformat.
5337 (flymake-get-real-file-name-function): Fix a minor bug.
5339 2013-05-24 Juri Linkov <juri@jurta.org>
5341 * progmodes/grep.el (grep-mode-font-lock-keywords):
5342 Support =linenumber= format used by git-grep for lines with
5343 function names. (Bug#13549)
5345 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5347 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5348 0 after a semi-colon; it works better for smie-auto-fill.
5349 (octave--indent-new-comment-line): New function.
5350 (octave-indent-new-comment-line): Use it (indirectly).
5351 (octave-mode): Don't disable smie-auto-fill. Use add-function to
5352 modify comment-line-break-function.
5354 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5355 (smie-setup): Use add-function to set it.
5357 2013-05-24 Sam Steingold <sds@gnu.org>
5359 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5360 argument (before the `interactive' argument).
5362 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5364 * image-mode.el (image-mode-winprops): Add winprops to
5365 image-mode-winprops-alist before running
5366 image-mode-new-window-functions.
5367 * doc-view.el (doc-view-new-window-function): Don't delay
5368 doc-view-goto-page via timers (bug#14435).
5370 2013-05-24 Tassilo Horn <tsdh@gnu.org>
5372 * doc-view.el: Integrate with desktop.el. (Bug#14435)
5373 (doc-view-desktop-save-buffer): New function.
5374 (doc-view-restore-desktop-buffer): New function.
5375 (desktop-buffer-mode-handlers):
5376 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
5378 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5379 `desktop-save-buffer' function.
5381 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
5383 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
5384 (tramp-gvfs-file-name-handler): Raise a user error when
5385 `tramp-gvfs-enabled' is nil.
5386 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
5387 Do not raise a user error when loading package. (Bug#14447)
5389 * net/xesam.el: Move to obsolete/.
5391 2013-05-24 Glenn Morris <rgm@gnu.org>
5393 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
5395 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
5397 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
5398 (Info-find-node, Man-getpage-in-background): Declare.
5400 * mail/unrmail.el (unrmail):
5401 Replace obsolete detect-coding-with-priority.
5403 * net/socks.el (socks-split-string): Use this rather than split-string.
5404 (socks-nslookup-host): Update for above change.
5405 (dynamic-choice, s5-dynamic-choice-match)
5406 (s5-dynamic-choice-match-inline, s5-widget-value-create):
5407 Comment out unused code.
5409 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
5410 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
5411 (gud-tooltip-echo-area): Make obsolete.
5412 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
5414 * progmodes/js.el (js--optimize-arglist): Declare.
5416 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
5418 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
5419 (ediff-window-C): Declare.
5421 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
5422 Tweak requires to silence compiler.
5424 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
5425 (he-search-string, he-tried-table, he-expand-list)
5426 (he-init-string, he-string-member, he-substitute-string)
5427 (he-reset-string): Declare.
5429 * obsolete/options.el (list-options): Use custom-variable-p,
5430 rather than obsolete alias.
5432 2013-05-23 Sam Steingold <sds@gnu.org>
5434 * simple.el (shell-command-on-region): Pass the `replace' argument
5435 down to `call-process-region' to comply with the doc as reported on
5436 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
5438 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5440 * emacs-lisp/smie.el (smie-indent-forward-token)
5441 (smie-indent-backward-token): Handle string tokens (bug#14381).
5443 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5445 * ielm.el (ielm-menu): New menu.
5446 (inferior-emacs-lisp-mode): Set comment-start.
5448 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5450 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
5451 Fix deactivate action.
5453 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
5454 Add cleveref macros.
5456 * lisp/textmodes/reftex-parse.el
5457 (reftex-locate-bibliography-files): Accept options for
5458 bibliography commands.
5459 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
5460 Add addbibresource. Basic Biblatex support.
5462 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
5464 * net/tramp-gvfs.el (top):
5465 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
5466 when loading package. (Bug#14447)
5468 2013-05-23 Glenn Morris <rgm@gnu.org>
5470 * progmodes/js.el: No need to load comint when compiling.
5471 (ring-insert, comint-send-string, comint-send-input)
5472 (comint-last-input-end, ido-chop): Declare.
5474 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
5475 * vc/ediff-mult.el: Adjust requires.
5476 (ediff-directories-internal, ediff-directory-revisions-internal)
5477 (ediff-patch-file-internal): Declare.
5478 * vc/ediff-ptch.el: Adjust requires.
5479 (ediff-use-last-dir, ediff-buffers-internal): Declare.
5480 (ediff-find-file): Autoload.
5481 * vc/ediff-util.el: No need to load ediff when compiling.
5482 (ediff-regions-internal): Declare.
5483 * vc/ediff-wind.el: Adjust requires.
5484 (ediff-compute-toolbar-width): Define when compiling.
5485 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
5486 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
5487 (dired-get-filename, dired-get-marked-files)
5488 (ediff-last-dir-patch, ediff-patch-default-directory)
5489 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
5490 (ediff-patch-buffer-internal): Declare.
5492 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
5493 (ispell-process, ispell-buffer-local-words, lm-summary)
5494 (lm-section-start, lm-section-end): Declare.
5495 (checkdoc-ispell-init): Simplify.
5497 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
5498 (he-string-member, he-reset-string, he-substitute-string): Declare.
5500 * eshell/em-ls.el: Adjust requires.
5501 (eshell-glob-regexp): Declare.
5502 * eshell/em-tramp.el: Adjust requires.
5503 (eshell-parse-command): Autoload.
5504 * eshell/em-xtra.el: Adjust requires.
5505 (eshell-parse-command): Autoload.
5506 * eshell/esh-ext.el: Adjust requires.
5507 (eshell-parse-command, eshell-close-handles): Autoload.
5508 * eshell/esh-io.el: Adjust requires.
5509 (eshell-output-filter): Autoload.
5510 * eshell/esh-util.el: No need to load tramp when compiling.
5511 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
5513 (eshell-parse-ange-ls): Require ange-ftp and tramp.
5514 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5515 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
5516 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
5517 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
5518 * eshell/esh-opt.el, eshell/esh-proc.el:
5519 * eshell/esh-var.el: Adjust requires.
5520 * eshell/eshell.el: Do not require esh-util twice.
5521 (eshell-add-input-to-history): Declare.
5522 (eshell-command): Check history module is active before using it.
5524 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
5526 2013-05-22 Leo Liu <sdl.web@gmail.com>
5528 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
5530 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
5532 * autorevert.el (auto-revert-notify-add-watch)
5533 (auto-revert-notify-handler): Add `attrib' for the inotify case,
5534 it indicates changes in file modification time.
5536 2013-05-22 Glenn Morris <rgm@gnu.org>
5538 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5539 Always delete the autoloaded function from the noruntime and
5540 unresolved functions lists.
5542 * allout.el: No need to load epa, epg, overlay when compiling.
5543 (epg-context-set-passphrase-callback, epg-list-keys)
5544 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
5545 (epg-key-user-id-list): Declare.
5547 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5548 (viper-set-parsing-style-toggling-macro)
5549 (viper-set-emacs-state-searchstyle-macros):
5550 Use called-interactively-p on Emacs.
5551 (viper-looking-back): Make it an obsolete alias. Update callers.
5552 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
5553 Use looking-back rather than viper-looking-back.
5554 (viper-tmp-insert-at-eob, viper-enlarge-region)
5555 (viper-read-string-with-history, viper-register-to-point)
5556 (viper-append-to-register, viper-change-state-to-vi)
5557 (viper-backward-char-carefully, viper-forward-char-carefully)
5558 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
5559 (viper-change-state-to-emacs): Declare.
5560 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
5561 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
5562 * emulation/viper-mous.el: Do not load viper-cmd.
5563 (viper-backward-char-carefully, viper-forward-char-carefully)
5564 (viper-forward-word, viper-adjust-window): Declare.
5566 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
5568 * progmodes/idlw-help.el (idlwave-help-fontify):
5569 Use called-interactively-p.
5571 * term/w32console.el (w32-get-console-codepage)
5572 (w32-get-console-output-codepage): Declare.
5574 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
5575 Remove unnecessary declarations.
5576 (dframe-message): Doc fix.
5578 * info.el (dframe-select-attached-frame, dframe-current-frame):
5581 * speedbar.el (speedbar-message): Make it an obsolete alias.
5583 (speedbar-with-attached-buffer)
5584 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
5585 (speedbar-with-writable): Use backquote.
5586 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
5587 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5588 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
5589 rather than speedbar- aliases.
5590 * mail/rmail.el: Load dframe rather than speedbar when compiling.
5591 (speedbar-make-specialized-keymap, speedbar-insert-button)
5592 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
5593 (speedbar-do-function-pointer): Declare.
5594 (rmail-speedbar-button, rmail-speedbar-find-file)
5595 (rmail-speedbar-move-message):
5596 Use dframe-with-attached-buffer rather than speedbar- alias.
5597 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
5598 (dframe-message, speedbar-make-specialized-keymap)
5599 (speedbar-add-expansion-list, speedbar-mode-functions-list)
5600 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
5601 (speedbar-insert-button, dframe-select-attached-frame)
5602 (dframe-maybee-jump-to-attached-frame)
5603 (speedbar-change-initial-expansion-list)
5604 (speedbar-previously-used-expansion-list-name): Declare.
5605 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
5606 Use dframe-message, dframe-with-attached-buffer rather than
5608 (gud-sentinel): Silence compiler.
5609 * progmodes/vhdl-mode.el (speedbar-refresh)
5610 (speedbar-do-function-pointer, speedbar-add-supported-extension)
5611 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
5612 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
5613 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
5614 (speedbar-file-lists, speedbar-make-tag-line)
5615 (speedbar-line-directory, speedbar-goto-this-file)
5616 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
5617 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
5618 (speedbar-make-button, speedbar-reset-scanners)
5619 (speedbar-files-item-info, speedbar-line-text)
5620 (speedbar-find-file-in-frame, speedbar-set-timer)
5621 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
5622 (speedbar-with-writable): Do not (re)define it.
5623 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
5624 rather than speedbar- alias.
5626 2013-05-21 Leo Liu <sdl.web@gmail.com>
5628 * progmodes/octave.el (octave-mode-menu): Update and re-organize
5630 (octave-mode): Tweak fill-nobreak-predicate.
5631 (inferior-octave-startup): Check process to avoid infinite loop.
5632 (inferior-octave): Pop to buffer first to show abornmal process
5635 2013-05-21 Glenn Morris <rgm@gnu.org>
5637 * printing.el (pr-menu-bar): Define when compiling.
5639 2013-05-21 Leo Liu <sdl.web@gmail.com>
5641 * progmodes/octave.el (octave-auto-fill): Remove.
5642 (octave-indent-new-comment-line): Improve.
5643 (octave-mode): Use auto fill mode through
5644 comment-line-break-function and fill-nobreak-predicate.
5645 (octave-goto-function-definition): Support DEFUN_DLD.
5646 (octave-beginning-of-defun): Small tweak.
5647 (octave-help): Show parent directory.
5649 2013-05-21 Glenn Morris <rgm@gnu.org>
5651 * files.el (dired-unmark):
5652 * progmodes/gud.el (gdb-input): Update declarations.
5654 * calculator.el (electric, ehelp): No need to load when compiling.
5655 (Electric-command-loop, electric-describe-mode): Declare.
5657 * doc-view.el (doc-view-current-converter-processes): Move before use.
5659 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5660 Move MODE-set-explicitly definition before use.
5662 * international/mule-diag.el (mule-diag):
5663 Don't use obsolete window-system-version.
5665 * mail/feedmail.el (smtpmail): No need to load when compiling.
5666 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
5668 * mail/mail-utils.el (rfc822): No need to load when compiling.
5669 (rfc822-addresses): Autoload it.
5670 (mail-strip-quoted-names): Trivial simplification.
5672 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
5673 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
5675 * net/snmp-mode.el (tempo): Don't duplicate requires.
5677 * progmodes/prolog.el (info): No need to load when compiling.
5678 (comint): Require before shell requires it.
5679 (Info-goto-node): Autoload it.
5680 (Info-follow-nearest-node): Declare.
5681 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
5683 * textmodes/artist.el (picture-mode-exit): Declare.
5685 * textmodes/reftex-parse.el (reftex-parse-from-file):
5686 Trivial rewrite so the compiler can parse it better.
5688 2013-05-20 Leo Liu <sdl.web@gmail.com>
5690 * progmodes/octave.el (octave-help-mode-map)
5691 (octave-help-mode-finish-hook): New variables.
5692 (octave-help-mode, octave-help-mode-finish): New functions.
5693 (octave-help): Use octave-help-mode.
5695 2013-05-20 Glenn Morris <rgm@gnu.org>
5697 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
5699 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
5701 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
5702 start at point, so that expansion starting right after opening
5703 slash in a regexp is recognized.
5704 (ruby-syntax-before-regexp-re): New defvar, extracted from
5705 ruby-syntax-propertize-function. Since the value of this regexp
5706 is looked up at runtime now, we should be able to turn
5707 `ruby-syntax-methods-before-regexp' into a defcustom later.
5708 (ruby-syntax-propertize-function): Split regexp matching into two
5709 parts, for opening and closing slashes. That allows us to skip
5710 over string interpolations and support multiline regexps.
5711 Don't call `ruby-syntax-propertize-expansions', instead use another rule
5712 for them, which calls `ruby-syntax-propertize-expansion'.
5713 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
5714 call to `ruby-syntax-propertize-function'.
5715 (ruby-syntax-propertize-expansion): Extracted from
5716 `ruby-syntax-propertize-expansions'. Handles one expansion.
5717 (ruby-syntax-propertize-percent-literal): Leave point right after
5718 the percent symbol, so that the expression expansion rule can
5719 propertize the contents.
5720 (ruby-syntax-propertize-heredoc): Leave point at bol following the
5722 (ruby-syntax-propertize-expansions): Remove.
5724 2013-05-18 Juri Linkov <juri@jurta.org>
5726 * man.el (Man-default-man-entry): Remove `-' from the end
5727 of the default value. (Bug#14400)
5729 2013-05-18 Glenn Morris <rgm@gnu.org>
5731 * comint.el (comint-password-prompt-regexp):
5732 Allow "password for XXX" where XXX contains colons (eg https://...).
5734 2013-05-18 Leo Liu <sdl.web@gmail.com>
5736 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
5737 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5738 (octave-source-directories): Don't check process.
5739 (octave-source-directories, octave-find-definition): Doc fix.
5741 2013-05-18 Glenn Morris <rgm@gnu.org>
5743 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
5744 Remove backspace/delete bindings. (Bug#14392)
5746 * cus-dep.el (custom-make-dependencies): Sort the output.
5747 (custom-versions-load-alist): Convert comment to doc.
5749 2013-05-17 Leo Liu <sdl.web@gmail.com>
5751 * newcomment.el (comment-search-backward): Stricter in finding
5752 comment start. (Bug#14303)
5754 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
5755 (octave-comment-start-skip): Properly anchored.
5757 2013-05-17 Leo Liu <sdl.web@gmail.com>
5759 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
5760 Clean up when turned off. (Bug#14395)
5761 (smie--highlight-matching-block-overlay): No longer buffer-local.
5762 (smie-highlight-matching-block): Adjust.
5764 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
5766 Doc string fix for "nanoseconds" (Bug#14406).
5767 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
5768 Fix doc string typo that had "nanoseconds" instead of "microseconds".
5770 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5772 * calc/calc-units.el (math-extract-units): Preserve powers
5775 2013-05-17 Leo Liu <sdl.web@gmail.com>
5777 * subr.el (delete-consecutive-dups): New function.
5778 * ido.el (ido-set-matches-1): Use it.
5779 * progmodes/octave.el (inferior-octave-completion-table): Use it.
5780 * ido.el (ido-remove-consecutive-dups): Remove.
5782 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5784 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5785 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
5786 regexp-opt's `words'.
5788 2013-05-16 Leo Liu <sdl.web@gmail.com>
5790 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
5791 (smie--highlight-matching-block-overlay)
5792 (smie--highlight-matching-block-lastpos)
5793 (smie--highlight-matching-block-timer): New variables.
5794 (smie-highlight-matching-block): New function.
5795 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
5796 (smie-setup): Conditionally enable smie-blink-matching-open.
5798 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
5800 Sync with upstream verilog-mode r840.
5801 * progmodes/verilog-mode.el (verilog-mode-version)
5802 (verilog-mode-release-date): Update.
5803 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
5804 (verilog-sig-tieoff): Fix string error on
5805 AUTORESET with colon define, bug594. Reported by Andrew Hou.
5806 (verilog-read-decls): Fix parameters confusing
5807 AUTOINST interfaces, bug565. Reported by Leith Johnson.
5809 2013-05-16 Eli Zaretskii <eliz@gnu.org>
5811 * subr.el (reveal-filename): New function.
5813 * loadup.el: Compute Emacs executable versions on MS-Windows,
5814 where executables have the .exe extension. Add a hard link
5815 emacs-XX.YY.ZZ.exe on MS-Windows.
5817 * Makefile.in (XARGS_LIMIT): New variable.
5818 (custom-deps, finder-data, autoloads)
5819 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5820 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5821 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
5822 (compile-main): Limit xargs according to $(XARGS_LIMIT).
5824 2013-05-16 Leo Liu <sdl.web@gmail.com>
5826 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
5827 (octave-mode-menu, octave-mode-map): Remove its uses.
5829 2013-05-16 Reto Zimmermann <reto@gnu.org>
5831 Sync with upstream vhdl mode v3.34.2.
5832 * progmodes/vhdl-mode.el: Use `push' throughout.
5833 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
5834 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
5835 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
5836 (vhdl-actual-generic-name): New option to derive actual generic name.
5837 (vhdl-port-paste-signals): Replace formal by actual generics.
5838 (vhdl-beautify): New name for old group vhdl-align. Update users.
5839 (vhdl-beautify-options): New option.
5840 (vhdl-last-input-event): New compat alias. Use throughout.
5841 (vhdl-goto-line): Replace user level function `goto-line'.
5842 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
5843 vhdl-fix-statement-buffer.
5844 (vhdl-create-mode-menu): Add some entries.
5845 (vhdl-align-region-groups): Respect vhdl-beautify-options.
5846 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
5847 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
5848 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
5849 to force statements on one line.
5850 (vhdl-remove-trailing-spaces-region):
5851 New, split from vhdl-remove-trailing-spaces.
5852 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
5853 Respect vhdl-beautify-options.
5854 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
5855 (vhdl-update-sensitivity-list): Not add with index if exists without.
5856 Not include array index with signal. Ignore keywords in comments.
5857 (vhdl-get-visible-signals): Regexp tweaks.
5858 (vhdl-template-component-inst): Handle empty library.
5859 (vhdl-template-type): Add template for 'enum' type.
5860 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
5861 Use vhdl-replace-string.
5862 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
5863 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
5864 (vhdl-speedbar-initialize): Update for above name change.
5865 (vhdl-compose-wire-components): Fix in handling of constants.
5866 (vhdl-error-regexp-emacs-alist): New variable.
5867 (vhdl-error-regexp-add-emacs): New function;
5868 adds support for new compile.el (Emacs 22+)
5869 (vhdl-generate-makefile-1): Change target order for single lib. units.
5870 Allow use of absolute file names.
5872 2013-05-16 Leo Liu <sdl.web@gmail.com>
5874 * simple.el (prog-indent-sexp): Indent enclosing defun.
5876 2013-05-15 Glenn Morris <rgm@gnu.org>
5878 * cus-start.el (show-trailing-whitespace): Move to editing basics.
5879 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
5880 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
5881 (whitespace-highlight): Move to whitespace group.
5883 * comint.el (comint-source):
5884 * pcmpl-linux.el (pcmpl-linux):
5885 * shell.el (shell-faces):
5886 * eshell/esh-opt.el (eshell-opt):
5887 * international/ccl.el (ccl): Remove empty custom groups.
5889 * completion.el (dynamic-completion-mode):
5890 * jit-lock.el (jit-lock-debug-mode):
5891 * minibuffer.el (completion-in-region-mode):
5892 * type-break.el (type-break-mode-line-message-mode)
5893 (type-break-query-mode):
5894 * emulation/tpu-edt.el (tpu-edt-mode):
5895 * progmodes/subword.el (global-subword-mode, global-superword-mode):
5896 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5897 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
5899 * term/xterm.el (xterm): Change parent group to terminals.
5901 * master.el (master): Remove empty custom group.
5902 (master-mode): Remove unused :group argument.
5903 * textmodes/refill.el (refill): Remove empty custom group.
5904 (refill-mode): Remove unused :group argument.
5906 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
5908 * cus-dep.el: Provide a feature.
5909 (custom-make-dependencies): Ignore dotfiles (dir-locals).
5910 Don't mistakenly ignore files whose basenames match a basename
5911 from preloaded-file-list (eg cedet/ede/simple.el).
5912 Add a fallback method for getting :group.
5914 2013-05-15 Juri Linkov <juri@jurta.org>
5916 * isearch.el (isearch-char-by-name): Rename from
5917 `isearch-insert-char-by-name'. Doc fix.
5918 (isearch-forward): Mention `isearch-char-by-name' in
5919 the docstring. (Bug#13348)
5921 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
5922 `exit-minibuffer' instead of
5923 `isearch-nonincremental-exit-minibuffer'.
5924 (isearch-edit-string): Remove mention of
5925 `isearch-nonincremental-exit-minibuffer' from docstring.
5926 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
5927 (isearch-forward-exit-minibuffer)
5928 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
5930 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5932 * loadup.el: Just use unversioned DOC.
5934 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
5935 literals as extending to EOB.
5936 (nxml-last-fontify-end): Remove unused variable.
5937 (nxml-after-change1): Use with-silent-modifications.
5938 (nxml-extend-after-change-region): Simplify.
5939 (nxml-extend-after-change-region1): Remove function.
5940 (nxml-after-change1): Don't adjust for dependent regions.
5941 (nxml-fontify-matcher): Simplify.
5942 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
5943 (xmltok-add-dependent): Remove function.
5944 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
5945 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
5946 (xmltok-scan-prolog-after-processing-instruction-open): Treat
5947 unclosed <[[, <?, comment, and other literals as extending to EOB.
5948 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
5949 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
5951 (rng-do-some-validation-1): Don't mark dependent regions.
5952 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
5953 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
5954 (nxml-clear-dependent-regions): Remove functions.
5955 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
5956 (nxml-ensure-scan-up-to-date):
5957 Don't clear&mark dependent regions.
5959 2013-05-15 Leo Liu <sdl.web@gmail.com>
5961 * progmodes/octave.el (octave-goto-function-definition):
5962 Improve and fix callers.
5964 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5966 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
5967 the setter (bug#14387).
5969 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
5970 surrounding group (bug#14402).
5972 2013-05-14 Juri Linkov <juri@jurta.org>
5974 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
5977 2013-05-14 Glenn Morris <rgm@gnu.org>
5979 * progmodes/f90.el (f90-imenu-generic-expression):
5980 Fix typo in 2013-05-08 change. (Bug#14402)
5982 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5984 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
5985 Remove signals for which replies are never received.
5987 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5989 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
5990 (gdb-handler-alist, gdb-handler-number): Remove variables.
5991 (gdb-handler-list): New variable.
5992 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
5993 (gdb-pending-handler-p, gdb-handle-reply)
5994 (gdb-remove-all-pending-triggers): New functions.
5995 (gdb-discard-unordered-replies): New defcustom.
5996 (gdb-handler): New defstruct.
5997 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
5998 instead of gdb-pending-triggers. Update docstring.
5999 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
6000 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
6001 (gdb-var-update-handler, def-gdb-auto-update-trigger)
6002 (def-gdb-auto-update-handler, gdb-get-changed-registers)
6003 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
6004 (gdb-frame-handler): Pending triggers are now automatically managed.
6005 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
6007 (gdb-input): Automatically handles pending triggers. Update docstring.
6008 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
6009 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
6011 (gdb-done-or-error): Now use gdb-handle-reply.
6013 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
6015 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
6018 2013-05-14 Glenn Morris <rgm@gnu.org>
6020 * subr.el (user-emacs-directory-warning): New option.
6021 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
6023 2013-05-14 Leo Liu <sdl.web@gmail.com>
6025 * progmodes/octave.el (octave-font-lock-keywords): Fix error
6027 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6028 (octave-font-lock-texinfo-comment): Fix invalid search bound
6029 error: wrong side of point.
6031 2013-05-14 Glenn Morris <rgm@gnu.org>
6033 * progmodes/flymake.el (flymake-xml-program): New option.
6034 (flymake-xml-init): Use it.
6036 * term/xterm.el: Provide a feature.
6038 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
6040 2013-05-13 Glenn Morris <rgm@gnu.org>
6042 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
6043 Add compat aliases as a hack workaround. (Bug#14384)
6045 2013-05-13 Leo Liu <sdl.web@gmail.com>
6047 * progmodes/octave.el (octave-indent-comment): Fix indentation for
6049 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
6051 (octave-comment-start-skip): Include %!.
6052 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
6054 2013-05-12 Leo Liu <sdl.web@gmail.com>
6056 * progmodes/octave.el (inferior-octave-startup): Store the value
6057 of __octave_srcdir__ for octave-source-directories.
6058 (inferior-octave-check-process): New function refactored out of
6059 inferior-octave-send-list-and-digest.
6060 (octave-source-directories)
6061 (octave-find-definition-filename-function): New variables.
6062 (octave-source-directories)
6063 (octave-find-definition-default-filename): New functions.
6064 (octave-find-definition): Improve to find functions implemented in C++.
6066 2013-05-12 Glenn Morris <rgm@gnu.org>
6068 * calendar/diary-lib.el (diary-outlook-format-1):
6069 Don't include dayname in the output. (Bug#14349)
6071 2013-05-11 Glenn Morris <rgm@gnu.org>
6073 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6075 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6076 Treat cc-provide like provide.
6078 2013-05-11 Kevin Ryde <user42@zip.com.au>
6080 * cus-dep.el (custom-make-dependencies):
6081 Use generated-autoload-load-name for the sake of files such
6082 such cedet/semantic/bovine/c.el, where the base file name
6083 is not in load-path. (Bug#5277)
6085 2013-05-11 Glenn Morris <rgm@gnu.org>
6087 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6090 2013-05-11 Leo Liu <sdl.web@gmail.com>
6092 * progmodes/octave.el (octave-indent-comment): Improve.
6093 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
6094 (octave-eldoc-function-signatures, octave-eldoc-function):
6096 (octave-mode, inferior-octave-mode): Add eldoc support.
6098 2013-05-11 Richard Stallman <rms@gnu.org>
6100 * epa.el (epa-decrypt-file): Take output file name as argument
6101 and read it using `interactive'.
6103 2013-05-11 Leo Liu <sdl.web@gmail.com>
6105 * progmodes/octave.el (octave-beginning-of-line)
6106 (octave-end-of-line): Check before using up-list because it jumps
6107 out of more syntactic contructs since moving to smie.
6108 (octave-indent-comment): New function.
6109 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6110 (octave-begin-keywords, octave-end-keywords)
6111 (octave-reserved-words, octave-smie-bnf-table)
6112 (octave-smie-rules): Add new keywords from Octave 3.6.4.
6114 2013-05-11 Glenn Morris <rgm@gnu.org>
6116 * faces.el (internal-face-x-get-resource):
6117 * frame.el (ns-display-monitor-attributes-list):
6118 * calc/calc-aent.el (math-to-radians-2):
6119 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
6122 * calc/calc-menu.el: Make it loadable in isolation.
6124 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6125 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6126 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6127 (eudc-bbdb-query-internal): Require 'bbdb.
6129 * lpr.el (lpr-headers-switches):
6130 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6132 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6134 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6136 * term.el (term-set-escape-char): Make it idempotent.
6138 2013-05-10 Leo Liu <sdl.web@gmail.com>
6140 * progmodes/octave.el (inferior-octave-completion-table):
6141 No longer a function and all uses changed. Use cache to speed up
6142 completion due to bug#11906.
6143 (octave-beginning-of-defun): Re-write to be more general.
6145 2013-05-10 Glenn Morris <rgm@gnu.org>
6147 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6149 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6151 * comint.el (comint-redirect-send-command-to-process): Use :around
6152 rather than :override for comint-redirect-filter.
6153 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6154 Call it instead of comint-redirect-original-filter-function (which
6155 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6157 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6159 * frame.el (display-monitor-attributes-list): Add NS case.
6160 (ns-display-monitor-attributes-list): Declare.
6162 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
6164 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6166 2013-05-09 Glenn Morris <rgm@gnu.org>
6168 * international/fontset.el (vertical-centering-font-regexp):
6171 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6173 * bookmark.el (bookmark-search-delay):
6174 * cus-start.el (vertical-centering-font-regexp):
6175 * ps-mule.el (ps-mule-font-info-database-default):
6176 * ps-print.el (ps-default-fg, ps-default-bg):
6177 * type-break.el (type-break-good-break-interval):
6178 * whitespace.el (whitespace-indentation-regexp)
6179 (whitespace-space-after-tab-regexp):
6180 * emacs-lisp/testcover.el (testcover-1value-functions)
6181 (testcover-noreturn-functions, testcover-progn-functions)
6182 (testcover-prog1-functions):
6183 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6184 * eshell/em-glob.el (eshell-glob-translate-alist):
6185 * play/tetris.el (tetris-tty-colors):
6186 * progmodes/cpp.el (cpp-face-default-list):
6187 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6188 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6189 (idlwave-help-browser-generic-args):
6190 * progmodes/make-mode.el (makefile-special-targets-list):
6191 * progmodes/python.el (python-shell-virtualenv-path):
6192 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6193 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6194 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6195 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6196 * textmodes/reftex-vars.el (reftex-format-label-function):
6197 * textmodes/remember.el (remember-diary-file): Fix custom types.
6199 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6202 2013-05-09 Leo Liu <sdl.web@gmail.com>
6204 * progmodes/octave.el (inferior-octave-completion-at-point):
6205 Restore file completion. (Bug#14300)
6206 (inferior-octave-startup): Fix incorrect highlighting for the
6209 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6211 * progmodes/ruby-mode.el: First cut at SMIE support.
6212 (ruby-use-smie): New var.
6213 (ruby-smie-grammar): New constant.
6214 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6215 (ruby-smie--forward-token, ruby-smie--backward-token)
6216 (ruby-smie-rules): New functions.
6217 (ruby-mode-variables): Setup SMIE if applicable.
6219 2013-05-08 Eli Zaretskii <eliz@gnu.org>
6221 * simple.el (line-move-visual): Signal beginning/end of buffer
6222 only if vertical-motion moved less than it was requested. Avoids
6223 silly incorrect error messages when there are display strings with
6224 multiple newlines at EOL.
6226 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6228 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6229 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6230 (prolog-char-quote-workaround):
6231 * progmodes/cperl-mode.el (cperl-under-as-char):
6232 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
6234 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
6236 (vhdl-mode-syntax-table-init): Remove.
6238 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6241 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6243 (ld-script-font-lock-keywords):
6244 Change regexps to use things like \_< and \_>.
6246 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6247 Change all regexps to use things like \_< and \_>.
6249 * progmodes/autoconf.el (autoconf-definition-regexp)
6250 (autoconf-font-lock-keywords, autoconf-current-defun-function):
6251 Handle a _ with symbol syntax.
6252 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6254 * progmodes/ada-mode.el (ada-mode-abbrev-table):
6255 Consolidate declaration.
6256 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6258 (ada-create-syntax-table): Remove.
6259 (ada-capitalize-word): Don't mess with the syntax of "_" since it
6260 already has the right syntax nowadays.
6261 (ada-goto-next-word): Don't change the syntax of "_".
6263 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6266 2013-05-08 Sam Steingold <sds@gnu.org>
6268 * thingatpt.el (thing-at-point): Accept optional second argument
6269 NO-PROPERTIES to strip the text properties from the return value.
6270 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6271 to `thing-at-point' instead of stripping the properties ourselves.
6272 Also, when `thing-at-point' fails to find a url, prepend "http://"
6273 to the filename at point on the assumption that the user is
6274 pointing at something like gnu.org/gnu.
6276 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
6278 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6279 * faces.el (crm-separator):
6280 Silence byte-compiler.
6282 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6283 (tool-bar-map): Remove unneeded defvars.
6285 2013-05-08 Leo Liu <sdl.web@gmail.com>
6287 Re-work a fix for bug#10994 based on Le Wang's patch.
6288 * ido.el (ido-remove-consecutive-dups): New helper.
6289 (ido-completing-read): Use it.
6290 (ido-chop): Revert fix for bug#10994.
6292 2013-05-08 Adam Spiers <emacs@adamspiers.org>
6294 * cus-edit.el (custom-save-variables):
6295 Pretty-print long values. (Bug#14187)
6297 2013-05-08 Glenn Morris <rgm@gnu.org>
6299 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6300 (m4-mode-syntax-table): Init in the defvar.
6301 (m4-mode-abbrev-table): Let define-derived-mode define it.
6303 2013-05-08 Tom Tromey <tromey@redhat.com>
6305 * progmodes/m4-mode.el (m4-mode-syntax-table):
6306 Do not treat "_" as word constituent. (Bug#14167)
6308 2013-05-07 Glenn Morris <rgm@gnu.org>
6310 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6311 Remove explicit eshell-isearch-cancel-map.
6313 * progmodes/f90.el (f90-smart-end-names): New option.
6314 (f90-smart-end): Doc fix.
6315 (f90-end-block-optional-name): New constant.
6316 (f90-block-match): Respect f90-smart-end-names.
6318 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6320 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6321 about implicit semi-colons (bug#14218).
6323 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6325 * frame.el (display-monitor-attributes-list)
6326 (frame-monitor-attributes): New functions.
6328 2013-05-06 Leo Liu <sdl.web@gmail.com>
6330 * progmodes/octave.el (octave-syntax-propertize-function): Change
6331 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6332 (octave-font-lock-keywords): Use octave-operator-regexp.
6333 (octave-completion-at-point): Rename from
6334 octave-completion-at-point-function.
6335 (inferior-octave-directory-tracker): Robustify.
6336 (octave-text-functions): Remove and fix its uses. No such things
6339 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6341 * emacs-lisp/trace.el (trace--display-buffer): New function.
6342 (trace-make-advice): Use it.
6344 2013-05-06 Juri Linkov <juri@jurta.org>
6346 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6347 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6349 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6350 in the help string. (Bug#12985)
6352 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6354 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
6356 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6358 * progmodes/perl-mode.el: Add support for here documents.
6359 (perl-syntax-propertize-function): Match here-doc markers.
6360 (perl-syntax-propertize-special-constructs): Find their end.
6361 (perl-imenu-generic-expression): Use [:alnum:].
6363 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6364 (advice--add-function): Refresh the advice if already present
6367 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
6369 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
6371 2013-05-06 Glenn Morris <rgm@gnu.org>
6373 * w32-fns.el (w32-charset-info-alist): Declare.
6375 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6376 of its defcustom properties.
6377 (eshell-cmpl-initialize): No need to load pcomplete.
6379 * generic-x.el: No need to require comint when compiling.
6381 * net/eudc-export.el: Make it loadable without bbdb.
6382 (top-level): Use require rather than load-library.
6383 (eudc-create-bbdb-record, eudc-bbdbify-phone)
6384 (eudc-batch-export-records-to-bbdb)
6385 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
6388 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6390 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
6391 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
6392 some tweaks, instead.
6394 2013-05-05 Leo Liu <sdl.web@gmail.com>
6396 * progmodes/octave.el (octave-font-lock-keywords)
6397 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
6398 (inferior-octave-send-list-and-digest): Improve error message.
6399 (octave-mode, inferior-octave-mode): Use setq-local.
6400 (octave-help): Set info-lookup-mode.
6402 2013-05-05 Richard Stallman <rms@gnu.org>
6404 * vc/compare-w.el (compare-windows-whitespace):
6405 Treat no-break space as whitespace.
6407 * mail/rmailsum.el (rmail-summary-rmail-update):
6408 Detect empty summary and don't change selected message.
6409 (rmail-summary-goto-msg): Likewise.
6411 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
6412 Doc fixes, rename args.
6414 2013-05-05 Alan Mackenzie <acm@muc.de>
6416 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
6418 2013-05-05 Juri Linkov <juri@jurta.org>
6420 * info.el (Info-read-subfile): Use (point-min) instead of (point)
6421 to not add the length of the summary segment to the return value.
6424 2013-05-05 Leo Liu <sdl.web@gmail.com>
6426 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
6427 (inferior-octave-output-filter): Remove.
6428 (octave-send-region, inferior-octave-startup): Fix callers.
6429 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
6430 (octave-binary-file-extensions): New user variable.
6431 (octave-find-definition): Confirm if opening binary files.
6432 (octave-help-file): Use octave-find-definition to get the binary
6434 (octave-help): Adjust for octave-help-file change.
6436 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6438 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
6439 Merge the two entries that handle function definitions.
6440 (pascal--syntax-propertize): New const.
6441 (pascal-mode): Use it. Use setq-local.
6443 2013-05-04 Glenn Morris <rgm@gnu.org>
6445 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
6446 (diary-from-outlook): Respect diary-from-outlook-function.
6448 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6450 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
6451 Move the declaration from C.
6452 (read-minibuffer, eval-minibuffer): Move from C.
6453 (completion-setup-function): Avoid minibuffer-completion-contents.
6455 2013-05-03 Leo Liu <sdl.web@gmail.com>
6457 * progmodes/octave.el (octave-font-lock-keywords): Do not
6458 dehighlight 'end' in comments or strings.
6459 (octave-completing-read, octave-goto-function-definition):
6461 (octave-help-buffer): New user variable.
6462 (octave-help-file, octave-help-function): New button types.
6463 (octave-help): New command and bind it to C-h ;.
6464 (octave-find-definition): New command and bind it to M-.
6465 (user-error): Alias to error if not defined.
6467 2013-05-02 Leo Liu <sdl.web@gmail.com>
6469 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
6471 (octave-font-lock-keywords): Include [ and {.
6473 2013-05-02 Leo Liu <sdl.web@gmail.com>
6475 * progmodes/octave.el (inferior-octave-startup-file): Change default.
6476 (inferior-octave): Remove calling comint-mode and return the buffer.
6477 (inferior-octave-startup): Cosmetic changes.
6479 2013-05-02 Leo Liu <sdl.web@gmail.com>
6481 * progmodes/octave.el (octave-syntax-propertize-function):
6482 Include the case when ' is at line beginning. (Bug#14336)
6484 2013-05-02 Glenn Morris <rgm@gnu.org>
6486 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
6487 * desktop.el (vc-dir-mode): Just autoload it here.
6489 2013-05-02 Alan Mackenzie <acm@muc.de>
6491 Eliminate variable c-standard-font-lock-fontify-region-function.
6492 * progmodes/cc-mode.el
6493 (c-standard-font-lock-fontify-region-function): Remove.
6494 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
6496 2013-05-01 Leo Liu <sdl.web@gmail.com>
6498 * progmodes/octave.el: Compatible with older emacs-24 releases.
6499 (inferior-octave-has-built-in-variables): Remove. Built-in
6500 variables were removed from Octave in 2007.
6501 (inferior-octave-startup): Fix uses.
6502 (comint-line-beginning-position): Remove compatibility code for
6505 2013-05-01 Juri Linkov <juri@jurta.org>
6507 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
6509 2013-05-01 Juri Linkov <juri@jurta.org>
6511 * comint.el (comint-previous-matching-input): Don't print message
6512 "History item: %d" when `isearch-mode' is active.
6513 (comint-history-isearch-message): Print message "History item: %d"
6514 when `comint-input-ring-index' is not empty and this function is
6515 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
6517 2013-05-01 Leo Liu <sdl.web@gmail.com>
6519 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
6520 definitions. Use completion-at-point to insert keywords.
6521 (octave-abbrev-start): Remove.
6522 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
6524 2013-04-30 Leo Liu <sdl.web@gmail.com>
6526 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
6529 2013-04-30 Alan Mackenzie <acm@muc.de>
6531 Handle arbitrarily long C++ member initialisation lists.
6532 * progmodes/cc-engine.el (c-back-over-member-initializers):
6534 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
6535 (most) member init lists.
6537 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6539 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
6542 2013-04-30 Leo Liu <sdl.web@gmail.com>
6544 * progmodes/octave.el (octave-variables): Remove. No builtin
6545 variables any more. All converted to functions.
6546 (octave-font-lock-keywords, octave-completion-at-point-function):
6548 (octave-font-lock-texinfo-comment): New user variable.
6549 (octave-texinfo-font-lock-keywords): New variable for texinfo
6551 (octave-function-comment-block): New face.
6552 (octave-font-lock-texinfo-comment): New function.
6553 (octave-mode): Font lock texinfo comment block.
6555 2013-04-29 Leo Liu <sdl.web@gmail.com>
6557 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
6558 indexing expression.
6559 (octave-continuation-string): Do not use \.
6560 (inferior-octave-complete-impossible): Remove.
6561 (inferior-octave-completion-table)
6562 (inferior-octave-completion-at-point): Remove its uses.
6563 (inferior-octave-startup): completion_matches was introduced to
6564 Octave in 1996 so safe to assume it.
6565 (octave-function-file-comment): Improve to follow how Octave does it.
6566 (octave-update-function-file-comment): Tweak.
6568 2013-04-29 Leo Liu <sdl.web@gmail.com>
6570 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
6571 (inferior-octave-startup): Remove inferior-octave-startup-hook.
6572 (octave-function-file-comment): Fix typo.
6573 (octave-sync-function-file-names): Use read-char-choice.
6575 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
6577 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
6578 to t for the less important warnings.
6580 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
6582 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
6584 2013-04-27 Glenn Morris <rgm@gnu.org>
6586 * vc/log-view.el (log-view-current-entry):
6587 Treat "---" separator lines as part of the following rev. (Bug#14169)
6589 2013-04-27 Juri Linkov <juri@jurta.org>
6591 * subr.el (read-number): Doc fix about using it by interactive
6592 code letter `n'. (Bug#14254)
6594 2013-04-27 Juri Linkov <juri@jurta.org>
6596 * desktop.el (desktop-auto-save-timeout): New option.
6597 (desktop-file-checksum): New variable.
6598 (desktop-save): Add optional arg `auto-save' and don't auto-save
6600 (desktop-auto-save-timer): New variable.
6601 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
6602 (after-init-hook): Call `desktop-auto-save-set-timer'.
6603 Suggested by Reuben Thomas <rrt@sc3d.org> in
6604 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
6606 2013-04-27 Leo Liu <sdl.web@gmail.com>
6608 * progmodes/octave.el (octave-function-file-p)
6609 (octave-skip-comment-forward, octave-function-file-comment)
6610 (octave-update-function-file-comment): New functions.
6611 (octave-mode-map): Bind C-c ; to
6612 octave-update-function-file-comment.
6613 (octave-mode-menu): Add octave-update-function-file-comment.
6614 (octave-mode, inferior-octave-mode): Fix doc-string.
6615 (octave-insert-defun): Conform to Octave's coding convention.
6618 * files.el (basic-save-buffer): Don't let errors in
6619 before-save-hook prevent saving buffer.
6621 2013-04-20 Roland Winkler <winkler@gnu.org>
6623 * faces.el (read-face-name): Use completing-read if arg multiple
6626 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
6628 * ls-lisp.el (ls-lisp-insert-directory): If no files are
6629 displayed, move point to after the totals line.
6630 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
6633 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6635 * emacs-lisp/package.el (package-autoload-ensure-default-file):
6636 Add current dir to the load-path.
6637 (package-generate-autoloads): Don't rely on
6638 autoload-ensure-default-file.
6640 2013-04-26 Reuben Thomas <rrt@sc3d.org>
6642 * textmodes/remember.el (remember-store-in-files): Document that
6643 the file name format is passed to `format-time-string'.
6645 2013-04-26 Leo Liu <sdl.web@gmail.com>
6647 * progmodes/octave.el (octave-sync-function-file-names): New function.
6648 (octave-mode): Use it in before-save-hook.
6650 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6652 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
6655 * progmodes/octave.el (octave-smie-forward-token): Properly skip
6656 \n and comment, even if it's not an implicit ; (bug#14218).
6658 2013-04-26 Glenn Morris <rgm@gnu.org>
6660 * subr.el (read-number): Once more use `read' rather than
6661 `string-to-number', to trap non-numeric input. (Bug#14254)
6663 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
6665 * emacs-lisp/syntax.el (syntax-propertize-multiline):
6666 Use `syntax-multiline' text property consistently instead of
6667 `font-lock-multiline'. (Bug#14237)
6669 2013-04-26 Glenn Morris <rgm@gnu.org>
6671 * emacs-lisp/shadow.el (list-load-path-shadows):
6672 No longer necessary to check for duplicate simple.el, since
6673 2012-07-07 change to init_lread to not include installation lisp
6674 directories in load-path when running uninstalled. (Bug#14270)
6676 2013-04-26 Leo Liu <sdl.web@gmail.com>
6678 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
6679 (octave-mode, inferior-octave-mode): Use setq-local.
6680 (octave-not-in-string-or-comment-p): Rename to
6681 octave-in-string-or-comment-p.
6682 (octave-in-comment-p, octave-in-string-p)
6683 (octave-in-string-or-comment-p): Replace defsubst with defun.
6685 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
6687 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
6689 2013-04-25 Bastien Guerry <bzg@gnu.org>
6691 * textmodes/remember.el (remember-data-directory)
6692 (remember-directory-file-name-format): Fix custom types.
6694 2013-04-25 Leo Liu <sdl.web@gmail.com>
6696 * progmodes/octave.el (octave-completion-at-point-function):
6697 Make use of inferior octave process.
6698 (octave-initialize-completions): Remove.
6699 (inferior-octave-completion-table): New function.
6700 (inferior-octave-completion-at-point): Use it.
6701 (octave-completion-alist): Remove.
6703 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6705 * progmodes/opascal.el: Use font-lock and syntax-propertize.
6706 (opascal-mode-syntax-table): New var.
6707 (opascal-literal-kind, opascal-is-literal-end)
6708 (opascal-literal-token-at): Rewrite.
6709 (opascal--literal-start-re, opascal-font-lock-keywords)
6710 (opascal--syntax-propertize): New constants.
6711 (opascal-font-lock-defaults): Adjust.
6712 (opascal-mode): Use them. Set comment-<foo> variables as well.
6713 (delphi-comment-face, opascal-comment-face, delphi-string-face)
6714 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
6715 (delphi-other-face, opascal-other-face): Remove face variables.
6716 (opascal-save-state): Remove macro.
6717 (opascal-fontifying-progress-step): Remove constant.
6718 (opascal--ignore-changes): Remove var.
6719 (opascal-set-token-property, opascal-parse-next-literal)
6720 (opascal-is-stable-literal, opascal-complete-literal)
6721 (opascal-is-literal-start, opascal-face-of)
6722 (opascal-parse-region, opascal-parse-region-until-stable)
6723 (opascal-fontify-region, opascal-after-change)
6724 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
6725 (opascal-debug-parse-region, opascal-debug-parse-window)
6726 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
6727 (opascal-debug-fontify-buffer): Remove.
6728 (opascal-debug-mode-map): Adjust accordingly.
6730 2013-04-25 Leo Liu <sdl.web@gmail.com>
6732 Merge octave-mod.el and octave-inf.el into octave.el with some
6734 * progmodes/octave.el: New file renamed from octave-mod.el.
6735 * progmodes/octave-inf.el: Merged into octave.el.
6736 * progmodes/octave-mod.el: Renamed to octave.el.
6738 2013-04-25 Tassilo Horn <tsdh@gnu.org>
6740 * textmodes/reftex-vars.el
6741 (reftex-label-ignored-macros-and-environments): New defcustom.
6743 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
6745 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6747 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
6748 (smie-indent-keyword): Improve the check to ensure that the next
6749 comment is really on the same line.
6750 (smie-indent-comment): Don't align with a subsequent closer (or eob).
6752 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
6753 semi-colons if the line is not otherwise empty (bug#14218).
6755 2013-04-25 Glenn Morris <rgm@gnu.org>
6757 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
6759 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6761 * progmodes/opascal.el (opascal-set-token-property): Rename from
6762 opascal-set-text-properties and only set `token' (bug#14134).
6763 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
6764 (opascal-literal-text-properties): Remove.
6765 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
6768 2013-04-24 Reuben Thomas <rrt@sc3d.org>
6770 * textmodes/remember.el (remember-handler-functions): Add an
6771 option for a new handler `remember-store-in-files'.
6772 (remember-data-directory, remember-directory-file-name-format):
6774 (remember-store-in-files): New function to store remember notes
6775 as separate files within a directory.
6777 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
6779 * progmodes/compile.el (compilation-next-error-function):
6780 Pass "formats" to compilation-find-file (bug#11777).
6782 2013-04-24 Glenn Morris <rgm@gnu.org>
6784 * vc/vc-bzr.el (vc-bzr-print-log):
6785 * vc/vc-hg.el (vc-hg-print-log):
6786 * vc/vc-svn.el (vc-svn-print-log):
6787 Fix START-REVISION with LIMIT != 1. (Bug#14168)
6789 * vc/vc-bzr.el (vc-bzr-print-log):
6790 * vc/vc-cvs.el (vc-cvs-print-log):
6791 * vc/vc-git.el (vc-git-print-log):
6792 * vc/vc-hg.el (vc-hg-print-log):
6793 * vc/vc-mtn.el (vc-mtn-print-log):
6794 * vc/vc-rcs.el (vc-rcs-print-log):
6795 * vc/vc-sccs.el (vc-sccs-print-log):
6796 * vc/vc-svn.el (vc-svn-print-log):
6797 * vc/vc.el (vc-print-log-internal): Doc fixes.
6799 2013-04-23 Glenn Morris <rgm@gnu.org>
6801 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
6802 Remove venerable code attempting to avoid substitute-command-keys.
6804 2013-04-23 Tassilo Horn <tsdh@gnu.org>
6806 * textmodes/reftex-vars.el (reftex-label-regexps):
6807 Call `reftex-compile-variables' after changes to this variable.
6809 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6811 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
6812 Use lexical-binding.
6813 (jit-lock-force-redisplay): Use markers, check buffer's continued
6814 existence and beware narrowed buffers.
6815 (jit-lock-fontify-now): Adjust call accordingly.
6817 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6819 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
6820 to avoid misleading the user.
6822 2013-04-22 Leo Liu <sdl.web@gmail.com>
6824 * info-look.el: Prefer latex2e.info. (Bug#14240)
6826 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
6828 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
6830 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
6831 * net/tramp.el (tramp-call-process): ... here.
6832 (tramp-set-completion-function, tramp-parse-putty):
6833 * net/tramp-adb.el (tramp-adb-execute-adb-command):
6834 * net/tramp-gvfs.el (tramp-gvfs-send-command):
6835 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6836 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
6837 (tramp-call-local-coding-command): Use `tramp-call-process'
6838 instead of `tramp-compat-call-process'.
6840 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
6841 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
6842 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
6843 (tramp-find-inline-compress): Improve traces.
6844 (tramp-maybe-send-script): Check for Perl binary.
6845 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
6847 2013-04-22 Daiki Ueno <ueno@gnu.org>
6849 * epg.el (epg-context-pinentry-mode): New function.
6850 (epg-context-set-pinentry-mode): New function.
6851 (epg--start): Pass --pinentry-mode option to gpg command.
6853 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
6855 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
6856 `comint-dynamic-complete' is obsolete since 24.1, replaced by
6857 `completion-at-point'. (Bug#13774)
6859 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
6860 default key binding for `describe-distribution' has been moved to
6861 `C-h C-o'. (Bug#13970)
6863 2013-04-21 Glenn Morris <rgm@gnu.org>
6865 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
6867 (vc-print-log): Clarify interactive prompt.
6869 2013-04-20 Glenn Morris <rgm@gnu.org>
6871 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6872 No longer include timestamp etc information.
6874 2013-04-20 Roland Winkler <winkler@gnu.org>
6876 * faces.el (read-face-name): Bug fix, return just one face if arg
6877 multiple is nil. (Bug#14209)
6879 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6881 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
6882 (remove-function): Autoload.
6884 * comint.el (comint-redirect-original-filter-function): Remove.
6885 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
6886 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
6887 (vc-cvs-annotate-command):
6888 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
6889 * progmodes/prolog.el (prolog-consult-compile):
6890 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
6891 Use add/remove-function instead.
6892 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
6893 (gud-tooltip-process-output, gud-tooltip-tips):
6894 Use add/remove-function instead.
6895 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
6896 (scheme-interaction-mode, exit-scheme-interaction-mode):
6897 Use add/remove-function instead.
6899 * vc/vc-dispatcher.el: Use lexical-binding.
6900 (vc--process-sentinel): Rename from vc-process-sentinel.
6901 Change last arg to be the code to run. Don't use vc-previous-sentinel
6902 and vc-sentinel-commands any more.
6903 (vc-exec-after): Allow code to be a function. Use add/remove-function.
6904 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
6906 2013-04-19 Masatake YAMATO <yamato@redhat.com>
6908 * progmodes/sh-script.el (sh-imenu-generic-expression):
6909 Handle function names with a single character. (Bug#14111)
6911 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
6913 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
6914 for subroutines defined in an eval (bug#14182).
6916 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6918 * bookmark.el (bookmark-completing-read): Improve handling of empty
6921 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6923 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
6925 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
6927 New faster Imenu implementation (bug#14058).
6928 * progmodes/python.el:
6929 (python-imenu-prev-index-position):
6930 (python-imenu-format-item-label-function)
6931 (python-imenu-format-parent-item-label-function)
6932 (python-imenu-format-parent-item-jump-label-function):
6934 (python-imenu-format-item-label)
6935 (python-imenu-format-parent-item-label)
6936 (python-imenu-format-parent-item-jump-label)
6937 (python-imenu--put-parent, python-imenu--build-tree)
6938 (python-imenu-create-index, python-imenu-create-flat-index)
6939 (python-util-popn): New functions.
6940 (python-mode): Set imenu-create-index-function to
6941 python-imenu-create-index.
6943 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6945 * winner.el (winner-active-region): Use region-active-p, activate-mark
6946 and deactivate-mark (bug#14225).
6948 * simple.el (deactivate-mark): Don't inline it.
6950 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
6952 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
6954 2013-04-18 Tassilo Horn <tsdh@gnu.org>
6956 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
6957 file extensions from the archive-mode entry in order to prefer
6958 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
6960 2013-04-18 Leo Liu <sdl.web@gmail.com>
6962 * bindings.el (help-event-list): Add ?\?.
6964 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6966 * subr.el (with-wrapper-hook): Declare obsolete.
6967 * simple.el (filter-buffer-substring-function): New hook.
6968 (filter-buffer-substring): Use it.
6969 (filter-buffer-substring-functions): Mark obsolete.
6970 * minibuffer.el (completion-in-region-function): New hook.
6971 (completion-in-region): Use it.
6972 (completion-in-region-functions): Mark obsolete.
6973 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
6974 * abbrev.el (abbrev-expand-function): New hook.
6975 (expand-abbrev): Use it.
6976 (abbrev-expand-functions): Mark obsolete.
6977 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
6980 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6982 * progmodes/python.el (python-nav--syntactically): Fix cornercases
6983 and do not care about match data.
6985 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6987 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
6988 completion tables when completing error conditions and
6989 `declare' arguments.
6990 (lisp-complete-symbol, field-complete): Mark as obsolete.
6991 (check-parens): Unmatched parens are user errors.
6992 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
6994 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
6996 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
6997 command changed buffer (ie. `flyspell-pre-buffer' is not current
6998 buffer), which prevents making decisions based on invalid value of
6999 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7000 cause an error when `flyspell-pre-point' was nil after switching
7002 (flyspell-post-command-hook): No longer needs to change buffers when
7003 checking pre-word. While at it remove unnecessary progn.
7005 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
7007 * textmodes/ispell.el (ispell-add-per-file-word-list):
7008 Fix `flyspell-correct-word-before-point' error when accepting
7009 words and `coment-padding' is an integer by using
7010 `comment-normalize-vars' (Bug #14214).
7012 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7014 New defun movement commands.
7015 * progmodes/python.el (python-nav--syntactically)
7016 (python-nav--forward-defun, python-nav-backward-defun)
7017 (python-nav-forward-defun): New functions.
7019 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
7021 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
7022 (python-syntax-context): Use named compiler-macro for backwards
7023 compatibility with Emacs 24.x.
7025 2013-04-17 Leo Liu <sdl.web@gmail.com>
7027 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
7028 octave-hide-process-buffer.
7030 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
7032 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
7035 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
7037 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
7038 Fix adjustment of offset when receiving incomplete responses from GDB
7041 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7043 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
7044 python-mode-abbrev-table.
7045 (python-skeleton-define): Adjust accordingly.
7046 (python-mode-abbrev-table): New table that inherits from it so that
7047 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
7049 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
7050 (abbrev-symbol): Use it.
7051 (abbrev--before-point): Use it since we already handle inheritance.
7053 2013-04-16 Leo Liu <sdl.web@gmail.com>
7055 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
7056 binding to info-lookup-symbol.
7058 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
7060 * minibuffer.el (completion--twq-all):
7061 * term/ns-win.el (ns-initialize-window-system):
7062 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
7064 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
7066 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7069 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7071 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7073 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7074 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7076 (ruby-end-of-defun): Remove the unused arg, change the docstring
7077 to reflect that this function is only used as the value of
7078 `end-of-defun-function'.
7079 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7080 to reflect an earlier change that beginning/end-of-defun functions
7081 jump between methods in a class definition, as well as top-level
7084 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7086 * minibuffer.el (minibuffer-complete): Don't just scroll
7087 a *Completions* that's been iconified.
7088 (minibuffer-force-complete): Make sure repetitions do cycle when going
7089 through completion-in-region -> minibuffer-complete.
7091 2013-04-15 Alan Mackenzie <acm@muc.de>
7093 Correct the placement of c-cpp-delimiters when there're #s not at
7096 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7097 place a submatch around the #.
7098 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7099 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
7102 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7104 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7105 (advice--member-p): New arg `name'.
7106 (advice--add-function, advice-member-p): Use it (bug#14202).
7108 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7110 Reformulate java imenu-generic-expression.
7111 The old expression contained ill formed regexps.
7113 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7114 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7115 (cc-imenu-java-method-arg-regexp): New defconsts.
7116 (cc-imenu-java-build-type-args-regex): New defun.
7117 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
7118 handling of spaces in the regexp.
7120 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7122 * textmodes/ispell.el (ispell-command-loop): Remove
7123 flyspell highlight of a word when ispell accepts it (bug #14178).
7125 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
7127 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7128 uses code from the previous `ange-ftp-run-real-handler'.
7129 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7130 only in case that function exist. This is needed for proper
7133 2013-04-15 Tassilo Horn <tsdh@gnu.org>
7135 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7137 * textmodes/reftex.el (reftex-compile-variables): Use it.
7139 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7141 * files.el (normal-mode): Only use default major-mode if no other mode
7144 * emacs-lisp/trace.el (trace-values): New function.
7146 * files.el: Allow : in local variables (bug#14089).
7147 (hack-local-variable-regexp): New var.
7148 (hack-local-variables-prop-line, hack-local-variables): Use it.
7150 2013-04-13 Roland Winkler <winkler@gnu.org>
7152 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7153 data before it gets modified by bibtex-beginning-of-entry.
7155 2013-04-13 Roland Winkler <winkler@gnu.org>
7157 * textmodes/bibtex.el (bibtex-url): Doc fix.
7159 2013-04-13 Roland Winkler <winkler@gnu.org>
7161 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7162 does not visit a BibTeX file, exclude it from the list of buffers
7163 returned by bibtex-initialize.
7165 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
7167 * window.el (split-window): Remove interactive form, since as a
7168 command this function is a special case of split-window-below.
7171 2013-04-12 Roland Winkler <winkler@gnu.org>
7173 * faces.el (read-face-name): Do not override value of arg default.
7174 Allow single faces and strings as default values. Remove those
7175 elements from return value that are not faces.
7176 (describe-face): Simplify.
7177 (face-at-point): New optional args thing and multiple so that this
7178 function can provide the same functionality previously provided by
7180 (make-face-bold, make-face-unbold, make-face-italic)
7181 (make-face-unitalic, make-face-bold-italic, invert-face)
7182 (modify-face, read-face-and-attribute): Use face-at-point.
7184 * cus-edit.el (customize-face, customize-face-other-window)
7185 * cus-theme.el (custom-theme-add-face)
7186 * face-remap.el (buffer-face-set)
7187 * facemenu.el (facemenu-set-face): Use face-at-point.
7189 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
7191 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7193 2013-04-10 Tassilo Horn <tsdh@gnu.org>
7195 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7196 off leading { and trailing } from field values.
7198 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7200 * emacs-lisp/timer.el (timer--check): New function.
7201 (timer--time, timer-set-function, timer-event-handler): Use it.
7202 (timer-set-idle-time): Simplify.
7203 (timer--activate): CSE.
7204 (timer-event-handler): Give more info in error message.
7205 (internal-timer-start-idle): New function, moved from C.
7207 * mpc.el (mpc-proc): Add `restart' argument.
7208 (mpc-proc-cmd): Use it.
7209 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7210 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7213 2013-04-10 Masatake YAMATO <yamato@redhat.com>
7215 * progmodes/sh-script.el: Implement `sh-mode' own
7216 `add-log-current-defun-function' (bug#14112).
7217 (sh-current-defun-name): New function.
7218 (sh-mode): Use the function.
7220 2013-04-09 Bastien Guerry <bzg@gnu.org>
7222 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7224 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7226 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7228 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7231 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7233 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7236 2013-04-07 Leo Liu <sdl.web@gmail.com>
7238 * pcmpl-x.el: New file.
7240 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7242 Do not set x-display-name until X connection is established.
7243 This is needed to prevent from weird situation described at
7244 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7245 * frame.el (make-frame): Set x-display-name after call to
7246 window system initialization function, not before.
7247 * term/x-win.el (x-initialize-window-system): Add optional
7248 display argument and use it.
7249 * term/w32-win.el (w32-initialize-window-system):
7250 * term/ns-win.el (ns-initialize-window-system):
7251 * term/pc-win.el (msdos-initialize-window-system):
7252 Add compatible optional display argument.
7254 2013-04-06 Eli Zaretskii <eliz@gnu.org>
7256 * files.el (normal-backup-enable-predicate): On MS-Windows and
7257 MS-DOS compare truenames of temporary-file-directory and of the
7258 file, so that 8+3 aliases (usually found in $TEMP on Windows)
7259 don't fail comparison by compare-strings. Also, compare file
7260 names case-insensitively on MS-Windows and MS-DOS.
7262 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7264 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7265 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7267 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
7269 * whitespace.el (whitespace-color-on, whitespace-color-off):
7270 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
7272 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7274 * ispell.el (ispell-set-spellchecker-params):
7275 Really set `ispell-args' for all equivs.
7277 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7279 * ido.el (ido-completions): Use extra elements of ido-decorations
7281 (ido-decorations): Update docstring.
7283 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
7285 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7286 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7287 nil during initialization, in order not to miss changes since the
7288 file was opened. (Bug#14140)
7290 2013-04-05 Leo Liu <sdl.web@gmail.com>
7292 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7294 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7296 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7298 2013-04-04 Glenn Morris <rgm@gnu.org>
7300 * electric.el (electric-pair-inhibit-predicate): Add :version.
7302 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7304 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7305 when a package is required several times (bug#14082).
7307 2013-04-04 Roland Winkler <winkler@gnu.org>
7309 * faces.el (read-face-name): Behave as promised by the docstring.
7310 Assume that arg default is a list of faces.
7311 (describe-face): Call read-face-name with list of default faces.
7313 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7315 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7316 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7317 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7319 (bookmark-exit-hook-internal): Save even if list is empty.
7321 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7323 * emacs-lisp/package.el (package-pinned-packages): New var.
7324 (package--add-to-archive-contents): Obey it (bug#14118).
7326 2013-04-03 Alan Mackenzie <acm@muc.de>
7328 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7329 Also adapt to the new values of element 7 of a parse state.
7331 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7332 parameter `not-in-delimiter'. Handle being inside comment opener.
7333 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7334 character in case we're typing a '*' after a '/'.
7335 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7336 instead by passing the parameter to c-state-pp-to-literal.
7338 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7339 for elt. 7 of a parse state.
7341 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7343 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7344 * international/latin1-disp.el, international/mule-util.el:
7345 * language/cyril-util.el, language/european.el, language/ind-util.el:
7346 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7347 * language/tibetan.el, language/viet-util.el:
7348 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7350 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7352 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7353 (electric-pair-post-self-insert-function): Use it.
7354 (electric-pair-default-inhibit): New function, extracted from
7355 electric-pair-post-self-insert-function.
7357 2013-03-31 Roland Winkler <winkler@gnu.org>
7359 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7361 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7363 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7365 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
7367 Un-indent after "pass" and "return" statements (Bug#13888)
7368 * progmodes/python.el (python-indent-block-enders): New var.
7369 (python-indent-calculate-indentation): Use it.
7371 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
7373 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7374 defun. Defining it as defalias could introduce too eager
7375 byte-compiler optimization. (Bug#14030)
7377 2013-03-30 Chong Yidong <cyd@gnu.org>
7379 * iswitchb.el (iswitchb-read-buffer): Fix typo.
7381 2013-03-30 Leo Liu <sdl.web@gmail.com>
7383 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
7384 (kmacro-execute-from-register): Pass the keyboard macro to
7385 kmacro-call-macro or repeating won't work correctly.
7387 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
7389 * progmodes/subword.el: Back to using `forward-symbol'.
7391 * subr.el (forward-whitespace, forward-symbol)
7392 (forward-same-syntax): Move from thingatpt.el.
7394 2013-03-29 Leo Liu <sdl.web@gmail.com>
7396 * kmacro.el (kmacro-to-register): New command.
7397 (kmacro-execute-from-register): New function.
7398 (kmacro-keymap): Bind to 'x'. (Bug#14071)
7400 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7402 * mpc.el: Use defvar-local and setq-local.
7403 (mpc--proc-connect): Connection failures are not bugs.
7404 (mpc-mode-map): `follow-link' only applies to the buffer's content.
7405 (mpc-volume-map): Bind to the up-events.
7407 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
7409 * progmodes/subword.el (superword-mode): Use `forward-sexp'
7410 instead of `forward-symbol'.
7412 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
7414 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
7415 (edebug--recursive-edit): Use it.
7416 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
7417 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
7419 2013-03-28 Leo Liu <sdl.web@gmail.com>
7421 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
7423 2013-03-27 Eli Zaretskii <eliz@gnu.org>
7425 * facemenu.el (list-colors-callback): New defvar.
7426 (list-colors-redisplay): New function.
7427 (list-colors-display): Install list-colors-redisplay as the
7428 revert-buffer-function. (Bug#14063)
7430 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7432 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
7433 and suffixes don't overlap (bug#14061).
7435 * case-table.el: Use lexical-binding.
7436 (case-table-get-table): New function.
7437 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
7439 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
7441 * progmodes/subword.el: Add `superword-mode' to do word motion
7442 over symbol_words (parallels and leverages `subword-mode' which
7443 does word motion inside MixedCaseWords).
7445 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
7447 * eshell/em-unix.el: Move su and sudo to...
7448 * eshell/em-tramp.el: ...Eshell tramp module.
7450 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7452 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
7453 Change return value to be a sexp. Delay `get-buffer' to after
7454 restoring the desktop (bug#13951).
7456 2013-03-26 Leo Liu <sdl.web@gmail.com>
7458 * register.el: Move semantic tag handling back to
7459 cedet/semantic/senator.el. (Bug#14052)
7461 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7463 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
7464 into the prompt either (bug#13963).
7466 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7468 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
7469 part of "(error-foo)".
7471 2013-03-24 Juri Linkov <juri@jurta.org>
7473 * replace.el (list-matching-lines-prefix-face): New defcustom.
7474 (occur-1): Pass `list-matching-lines-prefix-face' to the function
7475 `occur-engine' if `face-differs-from-default-p' returns t.
7476 (occur-engine): Add `,' inside backquote construct to evaluate
7477 `prefix-face'. Propertize the prefix with the `prefix-face' face.
7478 Pass `prefix-face' to the functions `occur-context-lines' and
7479 `occur-engine-add-prefix'.
7480 (occur-engine-add-prefix, occur-context-lines): Add optional arg
7481 `prefix-face' and propertize the prefix with `prefix-face'.
7484 2013-03-24 Leo Liu <sdl.web@gmail.com>
7486 * nxml/rng-valid.el (rng-validate-while-idle)
7487 (rng-validate-quick-while-idle): Guard against deleted buffer.
7490 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
7491 is the last entry in kill-buffer-hook.
7493 * files.el (kill-buffer-hook): Doc fix.
7495 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
7497 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
7500 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
7502 2013-03-23 Leo Liu <sdl.web@gmail.com>
7504 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
7507 * nxml/rng-valid.el (rng-validate-mode)
7508 (rng-after-change-function, rng-do-some-validation):
7509 * nxml/rng-maint.el (rng-validate-buffer):
7510 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
7511 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
7512 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
7513 (nxml-extend-after-change-region): Use with-silent-modifications.
7515 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
7518 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
7519 (rng-next-error-1, rng-previous-error-1): Do not let-bind
7520 timer-idle-list. (Bug#13999)
7522 2013-03-23 Juri Linkov <juri@jurta.org>
7524 * info.el (info-index-match): New face.
7525 (Info-index, Info-apropos-matches): Add a nested subgroup to the
7526 main pattern and add text properties with the new face to matches
7527 in index entries relative to the beginning of the index entry.
7530 2013-03-21 Eric Ludlam <zappo@gnu.org>
7532 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
7533 Inhibit read only while inserting objects.
7535 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
7537 * progmodes/cfengine.el: Update docs to mention
7538 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
7539 symbol motion. Remove "_" from the word syntax.
7541 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
7543 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
7544 syntax for both `cfengine2-mode' and `cfengine3-mode'.
7546 2013-03-20 Juri Linkov <juri@jurta.org>
7548 * info.el (Info-next-reference-or-link)
7549 (Info-prev-reference-or-link): New functions.
7550 (Info-next-reference, Info-prev-reference): Use them.
7551 (Info-try-follow-nearest-node): Handle footnote navigation.
7552 (Info-fontify-node): Fontify footnotes. (Bug#13989)
7554 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7556 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
7557 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
7559 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
7561 Suppress unnecessary non-ASCII chatter during build process.
7562 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
7563 (batch-skkdic-convert): Suppress most of the chatter.
7564 It's not needed so much now that machines are faster,
7565 and its non-ASCII component was confusing; see Dmitry Gutov in
7566 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
7568 2013-03-20 Leo Liu <sdl.web@gmail.com>
7570 * ido.el (ido-chop): Fix bug#10994.
7572 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7574 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
7576 (whitespace-color-on, whitespace-color-off):
7577 Use `font-lock-fontify-buffer' (Bug#13817).
7579 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7581 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
7582 remapping in mode-line.
7583 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
7585 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7587 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
7588 value for `whitespace-line' face (Bug#13875).
7589 (whitespace-font-lock-keywords): Change description.
7590 (whitespace-color-on): Don't save `font-lock-keywords' value, save
7591 the constructed keywords instead.
7592 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
7594 2013-03-19 Leo Liu <sdl.web@gmail.com>
7596 * progmodes/compile.el (compilation-display-error): New command.
7597 (compilation-mode-map, compilation-minor-mode-map): Bind it to
7600 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7602 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
7604 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
7606 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
7608 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
7610 * net/tramp-compat.el (tramp-compat-user-error): New defun.
7612 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7613 * net/tramp-gvfs.el (top):
7614 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
7615 (tramp-handle-shell-command): Use it.
7616 (tramp-dissect-file-name): Raise an error when hostname is a
7617 method name, and neither method nor user is specified.
7619 * net/trampver.el: Update release number.
7621 2013-03-18 Leo Liu <sdl.web@gmail.com>
7623 Make sure eldoc can be turned off properly.
7624 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
7626 (eldoc-display-message-p): Revert last change.
7627 (eldoc-display-message-no-interference-p)
7628 (eldoc-print-current-symbol-info): Tweak.
7630 2013-03-18 Tassilo Horn <tsdh@gnu.org>
7632 * doc-view.el (doc-view-new-window-function): Check the new window
7633 overlay's display property instead the char property of the
7634 buffer's first char. Use `with-selected-window' instead of
7635 `save-window-excursion' with `select-window'.
7636 (doc-view-document->bitmap): Check the current doc-view overlay's
7637 display property instead the char property of the buffer's first char.
7639 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7641 Automate the build of ja-dic.el (Bug#13984).
7642 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
7643 from the input, rather than assume that it's been done for us by the
7644 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
7645 the current date into a ja-dic.el comment, as that complicates
7648 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
7650 * whitespace.el: Fix double evaluation.
7651 (whitespace-space, whitespace-hspace, whitespace-tab)
7652 (whitespace-newline, whitespace-trailing, whitespace-line)
7653 (whitespace-space-before-tab, whitespace-indentation)
7654 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
7656 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
7657 (whitespace-color-on): Use a single font-lock-add-keywords call.
7658 Fix double-evaluation of face variables.
7660 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
7662 * net/tramp-adb.el (tramp-adb-parse-device-names):
7663 Use `start-process' instead of `call-process'. Otherwise, the
7664 function might be blocked under MS Windows. (Bug#13299)
7666 2013-03-17 Leo Liu <sdl.web@gmail.com>
7668 Extend eldoc to display info in the mode-line. (Bug#13978)
7669 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
7670 (eldoc-mode-line-string): New variable.
7671 (eldoc-minibuffer-message): New function.
7672 (eldoc-message-function): New variable.
7673 (eldoc-message): Use it.
7674 (eldoc-display-message-p)
7675 (eldoc-display-message-no-interference-p):
7676 Support eldoc-post-insert-mode.
7678 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
7679 (eval-expression): Run it.
7681 2013-03-17 Roland Winkler <winkler@gnu.org>
7683 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
7684 strings in the list of return values.
7686 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
7688 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
7689 radix before checking for HMS forms.
7691 2013-03-16 Leo Liu <sdl.web@gmail.com>
7693 * progmodes/scheme.el: Add indentation and font-locking for λ.
7696 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
7698 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
7699 token before point (bug#13942).
7701 2013-03-16 Leo Liu <sdl.web@gmail.com>
7703 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
7705 2013-03-16 Eli Zaretskii <eliz@gnu.org>
7707 * startup.el (command-line-normalize-file-name): Fix handling of
7708 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
7709 <xfq.free@gmail.com> in
7710 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
7712 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
7714 Sync with Tramp 2.2.7.
7716 * net/trampver.el: Update release number.
7718 2013-03-14 Tassilo Horn <tsdh@gnu.org>
7720 * doc-view.el Fix bug#13887.
7721 (doc-view-insert-image): Don't modify overlay associated to
7722 non-live windows, and implement horizontal centering of image in
7723 case it's smaller than the window.
7724 (doc-view-new-window-function): Force redisplay of new windows on
7727 2013-03-13 Karl Fogel <kfogel@red-bean.com>
7729 * saveplace.el (save-place-alist-to-file): Don't sort
7730 `save-place-alist', just pretty-print it (bug#13882).
7732 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
7734 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7735 Check whether `default-file-name-coding-system' is bound.
7738 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
7740 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
7741 backquotes for `obsolete' (bug#13929).
7743 * international/mule.el (find-auto-coding): Include file name in
7744 obsolescence warning (bug#13922).
7746 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
7748 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
7749 for CFEngine 3-specific indentation.
7750 (cfengine3-indent-line): Use it. Fix up category regex.
7751 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
7753 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7755 * type-break.el (type-break-file-name):
7756 * textmodes/remember.el (remember-data-file):
7757 * strokes.el (strokes-file):
7758 * shadowfile.el (shadow-initialize):
7759 * saveplace.el (save-place-file):
7760 * ps-bdf.el (bdf-cache-file):
7761 * progmodes/idlwave.el (idlwave-config-directory):
7762 * net/quickurl.el (quickurl-url-file):
7763 * international/kkc.el (kkc-init-file-name):
7764 * ido.el (ido-save-directory-list-file):
7765 * emulation/viper.el (viper-custom-file-name):
7766 * emulation/vip.el (vip-startup-file):
7767 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
7768 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
7770 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
7772 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
7773 * language/thai-word.el: Switch to UTF-8.
7775 See ChangeLog.16 for earlier changes.
7781 Copyright (C) 2011-2013 Free Software Foundation, Inc.
7783 This file is part of GNU Emacs.
7785 GNU Emacs is free software: you can redistribute it and/or modify
7786 it under the terms of the GNU General Public License as published by
7787 the Free Software Foundation, either version 3 of the License, or
7788 (at your option) any later version.
7790 GNU Emacs is distributed in the hope that it will be useful,
7791 but WITHOUT ANY WARRANTY; without even the implied warranty of
7792 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7793 GNU General Public License for more details.
7795 You should have received a copy of the GNU General Public License
7796 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.