1 2013-09-18 Glenn Morris <rgm@gnu.org>
3 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4 Silence --without-x compilation.
6 * wdired.el (dired-backup-overwrite): Remove declaration.
7 (wdired-mode-map): Add doc string.
9 * custom.el (x-get-resource): Declare.
11 * frame.el (x-display-grayscale-p): Declare.
13 * simple.el (font-info): Declare.
15 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
16 (fit-frame-to-buffer): Explicit error if --without-x.
17 (mouse-autoselect-window-select): Silence compiler.
19 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
22 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
23 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
24 * eshell/esh-util.el (eshell-sublist):
25 Remove unused local variables.
27 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
29 * textmodes/two-column.el: Make 2C-split work for --without-x.
30 (scroll-bar-columns): Autoload.
31 (top-level): Require fringe when compiling.
33 2013-09-18 Leo Liu <sdl.web@gmail.com>
35 * subr.el (add-hook): Robustify to handle closure as well.
37 2013-09-17 Glenn Morris <rgm@gnu.org>
39 * simple.el (messages-buffer-mode-map): Unbind "g".
41 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
43 * help-mode.el (help-mode-finish): Use derived-mode-p.
44 Remove obsolete highlighting.
46 * play/life.el (life-mode): Use define-derived-mode. Derive from
48 (life): Let-bind inhibit-read-only.
49 (life-setup): Avoid `setq'. Use `life-mode'.
51 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
52 which should not be needed any more.
53 (package-menu-refresh, package-menu-describe-package): Use user-error.
55 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
56 (eshell-post-rewrite-command-hook): Make obsolete.
57 (eshell-parse-command): Simplify.
58 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
59 (eshell--cmd): Declare.
60 (eshell-parse-pipeline): Remove unused var `final-p'.
61 Pass a dynvar to eshell-post-rewrite-command-hook.
62 Implement the new eshell-post-rewrite-command-function.
63 (eshell-invoke-directly): Remove unused arg `input'.
64 * eshell/esh-io.el (eshell-io-initialize):
65 Use eshell-post-rewrite-command-function (bug#15399).
66 (eshell--apply-redirections): Rename from eshell-apply-redirections;
67 adjust to new calling convention.
68 (eshell-create-handles): Rename args to avoid clashing with dynvar
71 2013-09-17 Glenn Morris <rgm@gnu.org>
73 * simple.el (messages-buffer-mode): New major mode.
74 (messages-buffer): New function.
75 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
76 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
77 (ert-run-test): Use `messages-buffer' function.
78 (ert--force-message-log-buffer-truncation): Ignore read-only.
79 * help.el (view-echo-area-messages): Use `messages-buffer' function.
80 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
82 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
84 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
86 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
88 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
90 * icomplete.el (icomplete-in-buffer): New var.
91 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
92 vars and replace them with functions.
93 (icomplete-minibuffer-setup): Adjust accordingly.
94 (icomplete--completion-table, icomplete--completion-predicate)
95 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
97 (icomplete-forward-completions, icomplete-backward-completions)
98 (icomplete-simple-completing-p, icomplete-exhibit)
99 (icomplete-completions): Use them.
100 (icomplete--in-region-buffer): New var.
101 (icomplete--in-region-setup): New function.
102 (icomplete-mode): Use it.
104 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
106 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
107 return args and options.
108 (eshell-eval-using-options): Use the new return value of
109 eshell--do-opts to set the options's vars in their scope.
110 (eshell--set-option): Rename from eshell-set-option.
112 (eshell--process-option): Rename from eshell-process-option.
114 (eshell--process-args): Use an `opt-vals' alist to store the options's
115 values during their processing and return them additionally to the
118 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
120 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
121 continuation character an operator, as far as indentation is
122 concerned (Bug#15369).
124 2013-09-15 Martin Rudalics <rudalics@gmx.at>
126 * window.el (window--state-put-2): Don't process buffer state
127 when buffer doesn't exist any more (Bug#15382).
129 2013-09-15 Glenn Morris <rgm@gnu.org>
131 * eshell/em-unix.el (eshell/rm):
132 Make -f ignore missing files. (Bug#15373)
134 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
135 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
136 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
138 2013-09-14 Glenn Morris <rgm@gnu.org>
140 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
142 2013-09-13 Glenn Morris <rgm@gnu.org>
144 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
145 (dired-guess-default): Make `file' available in the env. (Bug#15363)
147 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
149 * frame.el (x-focus-frame): Mark as declared in frame.c.
151 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
153 * ls-lisp.el: Use advice-add.
154 (original-insert-directory): Remove.
155 (ls-lisp--insert-directory): Rename from insert-directory; add
157 (insert-directory): Advise.
159 2013-09-13 Eli Zaretskii <eliz@gnu.org>
161 * term.el (term-emulate-terminal): Decode the command string
162 before passing it to term-command-hook. (Bug#15337)
164 2013-09-13 Glenn Morris <rgm@gnu.org>
166 * eshell/esh-util.el (ange-cache): Move declaration earlier.
168 * eshell/esh-ext.el (eshell-search-path): Declare.
170 * eshell/em-prompt.el (eshell/pwd): Autoload it.
171 Otherwise an error occurs if eshell-dirs module not loaded.
173 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
175 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
177 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
178 `tramp-check-proper-host'. Check for a valid method name.
180 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
181 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
182 * net/tramp-sh.el (tramp-maybe-open-connection):
183 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
185 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
186 also for hash values.
188 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
190 * term/ns-win.el (parameters): Don't declare as dynamic.
191 (before-make-frame-hook): Don't add ineffective function.
193 * eshell/*.el: Use lexical-binding (bug#15231).
195 2013-09-12 Kenichi Handa <handa@gnu.org>
197 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
199 2013-09-12 Glenn Morris <rgm@gnu.org>
201 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
202 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
204 * subr.el (do-after-load-evaluation): Also give compiler warnings
205 when obsolete files are used (except by obsolete files).
207 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
208 in the status output, assume `filename' is the first. (Bug#15322)
210 * vc/vc.el (vc-deduce-fileset): Doc fix.
212 * calc/calc-help.el (Info-goto-node):
213 * progmodes/cperl-mode.el (Info-find-node):
214 * vc/ediff.el (Info-goto-node): Update declarations.
216 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
218 * vc/vc-bzr.el (vc-compilation-mode): Declare.
219 (vc-bzr-pull): Require vc-dispatcher.
220 * vc/vc-git.el (vc-compilation-mode): Declare.
221 (vc-git-pull): Require vc-dispatcher.
223 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
225 * progmodes/octave.el (help-button-action): Declare.
227 * shell.el (shell-directory-tracker): Output error as a message
228 rather than just returning it as a string.
229 (shell-process-pushd): Remove useless use of message.
231 * dframe.el (dframe-timer-fn):
232 * files.el (dir-locals-read-from-file):
233 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
235 * reveal.el (reveal-post-command):
236 * saveplace.el (load-save-place-alist-from-file):
237 * shell.el (shell-resync-dirs):
238 * w32-common-fns.el (x-get-selection-value):
239 * emacs-lisp/copyright.el (copyright-find-copyright):
240 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
241 * emulation/tpu-edt.el (tpu-copy-keyfile):
242 * play/bubbles.el (bubbles--mark-neighbourhood):
243 * progmodes/executable.el
244 (executable-make-buffer-file-executable-if-script-p):
245 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
247 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
249 Cleanup Eshell to rely less on dynamic scoping.
250 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
251 last-value, and ext-command here. Bind `args' closer to `body'.
252 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
253 (eshell--args): Declare new dynamic var.
254 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
255 last-value, and ext-command. Pass `args' to `body'.
256 (eshell-process-args): Bind eshell--args.
257 (eshell-set-option): Use eshell--args.
258 * eshell/eshell.el (eshell): Use derived-mode-p.
259 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
260 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
261 (eshell-glob-function): Declare.
262 * eshell/esh-util.el: Require cl-lib.
263 (eshell-read-hosts-file): Avoid add-to-list.
264 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
266 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
268 (eshell/diff): Remove unused var `err'.
269 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
271 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
272 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
274 * eshell/em-glob.el (eshell-glob-matches, message-shown):
275 Move declaration before first use.
276 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
277 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
280 2013-09-12 Glenn Morris <rgm@gnu.org>
282 * term/ns-win.el (global-map): Remove binding for ispell-next,
283 deleted 1999-05-29. (Bug#15357)
285 2013-09-11 Glenn Morris <rgm@gnu.org>
287 * echistory.el (electric-command-history): Remove call to deleted func.
289 * play/landmark.el (landmark-mode): Fix typos.
291 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
292 Check cvs-sort-ignore-file is bound.
294 * savehist.el: No need for cl when compiling on Emacs.
296 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
298 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
300 (eshell-self-insert-command, eshell-send-invisible):
301 Remove unused argument.
302 (eshell-handle-control-codes): Remove unused var `orig'.
303 Avoid delete-backward-char.
305 * files.el (set-auto-mode): Simplify a bit further.
307 2013-09-11 Glenn Morris <rgm@gnu.org>
309 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
310 (set-auto-mode): Don't regexp-quote elements.
311 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
312 * progmodes/cc-mode.el (interpreter-mode-alist):
313 * progmodes/ruby-mode.el (interpreter-mode-alist):
314 Revert previous change.
316 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
318 * play/snake.el (snake-mode):
319 * play/mpuz.el (mpuz-mode):
320 * play/landmark.el (lm-mode):
321 * play/blackbox.el (blackbox-mode):
322 * play/5x5.el (5x5-mode):
323 * obsolete/options.el (Edit-options-mode):
324 * net/quickurl.el (quickurl-list-mode):
325 * net/newst-treeview.el (newsticker-treeview-mode):
326 * mail/rmailsum.el (rmail-summary-mode):
327 * mail/mspools.el (mspools-mode):
328 * locate.el (locate-mode):
329 * ibuffer.el (ibuffer-mode):
330 * emulation/ws-mode.el (wordstar-mode):
331 * emacs-lisp/debug.el (debugger-mode):
332 * array.el (array-mode):
333 * net/eudc.el (eudc-mode): Use define-derived-mode.
334 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
335 Move initialization into declaration.
336 (mairix-searches-mode): Use define-derived-mode.
337 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
338 (eudc-edit-hotlist): Use dolist.
339 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
340 (Man-mode): Use define-derived-mode.
341 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
342 (Info-edit-mode): Use define-derived-mode.
343 (Info-cease-edit): Use Info-mode.
344 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
346 (eshell-mode): Use define-derived-mode.
347 * chistory.el (command-history-mode-map): Rename from
349 (command-history-mode): Use define-derived-mode.
350 (Command-history-setup): Remove function.
351 * calc/calc.el (calc-trail-mode-map): New var.
352 (calc-trail-mode): Use define-derived-mode.
353 (calc-trail-buffer): Set calc-main-buffer manually.
354 * bookmark.el (bookmark-insert-annotation): New function.
355 (bookmark-edit-annotation): Use it.
356 (bookmark-edit-annotation-mode): Make it a proper major mode.
357 (bookmark-send-edited-annotation): Use derived-mode-p.
358 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
359 closer to its ideal place. Use \' to match EOS.
361 * profiler.el (profiler-calltree-find): Use function-equal.
363 2013-09-10 Glenn Morris <rgm@gnu.org>
365 * files.el (interpreter-mode-alist): Convert to regexps.
366 (set-auto-mode): Adapt for this. (Bug#15306)
367 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
368 Comment out unused variable.
369 * progmodes/cc-mode.el (interpreter-mode-alist):
370 * progmodes/python.el (interpreter-mode-alist):
371 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
372 * progmodes/sh-script.el (sh-set-shell):
373 No longer use interpreter-mode-alist to get list of shells.
375 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
377 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
379 * simple.el: Use set-temporary-overlay-map for universal-argument.
380 (universal-argument-map): Don't use default-bindings (bug#15317).
381 Bind switch-frame explicitly. Replace universal-argument-minus with
382 a conditional binding.
383 (universal-argument-num-events, saved-overriding-map): Remove.
384 (restore-overriding-map): Remove.
385 (universal-argument--mode): Rename from save&set-overriding-map,
387 (universal-argument, universal-argument-more, negative-argument)
388 (digit-argument): Adjust accordingly.
389 (universal-argument-minus): Remove.
390 (universal-argument-other-key): Remove.
392 * subr.el (with-demoted-errors): Add `format' argument.
394 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
396 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
397 `tramp-cleanup-connection'.
399 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
400 parameters KEEP-DEBUG and KEEP-PASSWORD.
402 * net/tramp.el (tramp-file-name-handler):
403 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
404 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
405 (tramp-maybe-open-connection):
406 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
407 Use `tramp-cleanup-connection'.
409 * net/tramp-sh.el (tramp-maybe-open-connection):
410 Catch 'uname-changed inside the progress reporter.
412 2013-09-10 Glenn Morris <rgm@gnu.org>
414 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
416 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
417 returns "alternate access method" in mode (eg "-rw-r--r--.").
419 2013-09-08 Glenn Morris <rgm@gnu.org>
421 * saveplace.el (load-save-place-alist-from-file):
422 Demote errors. (Bug#15305)
424 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
426 Improve compatibility with older Emacsen, and XEmacs.
428 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
429 only if it is bound. It isn't for XEmacs.
430 (with-tramp-progress-reporter): Do not let-bind `result'.
431 This yields to scoping errors in XEmacs.
432 (tramp-handle-make-auto-save-file-name): New function, moved from
435 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
436 for `make-auto-save-file-name'.
437 (tramp-adb--gnu-switches-to-ash):
438 Use `tramp-compat-replace-regexp-in-string'.
440 * net/tramp-cache.el (tramp-cache-print): Call
441 `substring-no-properties' only if it is bound. It isn't for XEmacs.
443 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
444 bound. It isn't for XEmacs.
446 * net/tramp-compat.el (tramp-compat-copy-file):
447 Catch `wrong-number-of-arguments' error.
448 (tramp-compat-replace-regexp-in-string): New defun.
450 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
451 for `make-auto-save-file-name'.
452 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
454 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
455 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
456 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
458 * net/tramp-gw.el (tramp-gw-open-network-stream):
459 Use `tramp-compat-replace-regexp-in-string'.
461 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
462 Call `tramp-handle-make-auto-save-file-name'.
463 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
464 (tramp-sh-file-gvfs-monitor-dir-process-filter)
465 (tramp-sh-file-inotifywait-process-filter):
466 Use `tramp-compat-replace-regexp-in-string'.
467 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
469 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
470 for `make-auto-save-file-name'.
471 (tramp-smb-handle-copy-directory):
472 Call `tramp-compat-replace-regexp-in-string'.
473 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
474 (tramp-smb-handle-copy-file): Improve error message.
475 (tramp-smb-handle-rename-file): Rename directly only in case
476 `newname' does not exist yet. This is a restriction of smbclient.
477 (tramp-smb-maybe-open-connection): Rerun the function only when
478 `auth-sources' is non-nil.
480 2013-09-08 Kenichi Handa <handa@gnu.org>
482 * international/characters.el: Set category "^" (Combining) for
485 2013-09-07 Alan Mackenzie <acm@muc.de>
487 Correctly fontify Java class constructors.
488 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
490 (c-recognize-typeless-decls): Set the Java value to t.
491 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
492 While handling a "(", add a check for, effectively, Java, and handle a
493 "typeless" declaration there.
495 2013-09-07 Roland Winkler <winkler@gnu.org>
497 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
498 field subtitle for entry type book.
500 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
502 * minibuffer.el: Make minibuffer-complete call completion-in-region
503 rather than other way around.
504 (completion--some, completion-pcm--find-all-completions):
505 Don't delay signals when debugging.
506 (minibuffer-completion-contents): Beware fields within the
508 (completion-all-sorted-completions): Use defvar-local.
509 (completion--do-completion, completion--cache-all-sorted-completions)
510 (completion-all-sorted-completions, minibuffer-force-complete):
511 Add args `beg' and `end'.
512 (completion--in-region-1): New fun, extracted from minibuffer-complete.
513 (minibuffer-complete): Use completion-in-region.
514 (completion-complete-and-exit): New fun, extracted from
515 minibuffer-complete-and-exit.
516 (minibuffer-complete-and-exit): Use it.
517 (completion--complete-and-exit): Rename from
518 minibuffer--complete-and-exit.
519 (completion-in-region--single-word): New function, extracted from
520 minibuffer-complete-word.
521 (minibuffer-complete-word): Use it.
522 (display-completion-list): Make `common-substring' argument obsolete.
523 (completion--in-region): Call completion--in-region-1 instead of
525 (completion-help-at-point): Pass boundaries to
526 minibuffer-completion-help as args rather than via an overlay.
527 (completion-pcm--string->pattern): Use `any-delim'.
528 (completion-pcm--optimize-pattern): New function.
529 (completion-pcm--pattern->regex): Handle `any-delim'.
530 * icomplete.el (icomplete-forward-completions)
531 (icomplete-backward-completions, icomplete-completions):
532 Adjust calls to completion-all-sorted-completions and
533 completion--cache-all-sorted-completions.
534 (icomplete-with-completion-tables): Default to t.
535 * emacs-lisp/crm.el (crm--current-element): Rename from
536 crm--select-current-element. Don't put an overlay but return the
538 (crm--completion-command): Take two new args to bind to the boundaries.
539 (crm-completion-help): Adjust accordingly.
540 (crm-complete): Use completion-in-region.
541 (crm-complete-word): Use completion-in-region--single-word.
542 (crm-complete-and-exit): Use completion-complete-and-exit.
544 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
546 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
549 2013-09-06 Juri Linkov <juri@jurta.org>
551 * info.el (Info-display-images-node): When image file doesn't exist
552 display text version of the image if it's provided in the Info file.
553 Otherwise, display the location of missing image from SRC attribute.
554 Add help-echo text property from ALT attribute. (Bug#15279)
556 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
558 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
559 (edit-abbrevs-mode): Use define-derived-mode.
561 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
562 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
564 (epa-key-list-mode, epa-key-mode, epa-info-mode):
565 Use define-derived-mode.
567 * epg.el (epg-start-encrypt): Minor CSE simplification.
569 2013-09-06 William Xu <william.xwl@gmail.com>
571 * arc-mode.el: Add support for 7za (bug#15264).
572 (archive-7z-program): New var.
573 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
574 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
575 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
577 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
581 * net/tramp.el (tramp-syntax, tramp-prefix-format)
582 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
583 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
584 (tramp-postfix-host-format, tramp-file-name-regexp)
585 (tramp-completion-file-name-regexp)
586 (tramp-completion-dissect-file-name)
587 (tramp-handle-substitute-in-file-name): Remove 'url case.
588 (tramp-file-name-regexp-url)
589 (tramp-completion-file-name-regexp-url): Remove constants.
591 2013-09-06 Glenn Morris <rgm@gnu.org>
593 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
595 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
597 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
598 keywords" below "here-doc beginnings" (Bug#15270).
600 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
602 * subr.el (pop): Use `car-safe'.
603 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
604 to detect unused `pop' return value.
606 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
608 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
609 (python-fill-string): Remove unused var `marker'.
610 (python-skeleton-add-menu-items): Remove unused var `items'.
612 * international/mule-cmds.el: Require CL.
613 (find-coding-systems-for-charsets): Avoid add-to-list.
614 (sanitize-coding-system-list): New function, extracted from
615 select-safe-coding-system-interactively.
616 (select-safe-coding-system-interactively): Use it.
617 (read-input-method-name): Accept symbols for `default'.
619 * emacs-lisp/advice.el (defadvice): Add indent rule.
621 2013-09-05 Daniel Hackney <dan@haxney.org>
641 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
642 byte compiler. Remove some unused let-bound variables.
644 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
646 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
647 a "ref-cell", since it gets better optimized (bug#14883).
649 2013-09-05 Glenn Morris <rgm@gnu.org>
651 * progmodes/cc-awk.el (c-forward-sws): Declare.
653 2013-09-04 Glenn Morris <rgm@gnu.org>
655 * generic-x.el [rul-generic-mode]: Require cc-mode.
656 (c++-mode-syntax-table): Declare.
657 (rul-generic-mode-syntax-table): Init in the defvar.
659 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
661 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
662 (vc-do-command, vc-set-async-update):
663 * vc/vc-mtn.el (vc-mtn-dir-status):
664 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
665 (vc-hg-pull, vc-hg-merge-branch):
666 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
667 (vc-git-merge-branch):
668 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
669 (vc-cvs-dir-status-files):
670 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
671 (vc-bzr-dir-status-files):
672 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
673 * vc/vc-annotate.el: Use lexical-binding.
674 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
675 (vc-sentinel-movepoint): Declare.
676 (vc-annotate): Don't use `goto-line'.
677 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
678 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
679 (vc-sentinel-movepoint): Declare.
680 * vc/vc-svn.el: Use lexical-binding.
681 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
683 * vc/vc-rcs.el: Use lexical-binding.
685 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
686 `deleted'. Don't drop errors silently.
688 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
690 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
692 * vc/vc.el (vc-ignore): Rewrite.
693 (vc-default-ignore): New function.
694 (vc-default-ignore-completion-table): Use find-ignore-file.
696 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
697 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
698 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
699 Remove. Most code moved to vc.el.
701 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
703 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
704 * net/tramp-smb.el (tramp-smb-get-file-entries):
705 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
706 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
708 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
710 (eww-change-select): Remove unused var `properties'.
711 (eww-make-unique-file-name): Remove unused var `base'.
713 * finder.el (finder-compile-keywords): Don't mess with windows.
715 * calculator.el (calculator-funcall): Fix typo in last change.
717 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
719 * emacs-lisp/package.el (package-activate-1): Don't let a missing
720 <pkg>-autoloads.el file stop us.
722 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
723 warnings, and factor out common code.
725 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
727 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
728 two-character operators and whether the character preceding them
729 changes their meaning (Bug#15208).
731 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
733 Format code sent to Python shell for robustness.
734 * progmodes/python.el (python-shell-buffer-substring):
736 (python-shell-send-region, python-shell-send-buffer): Use it.
738 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
740 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
741 * net/tramp.el (tramp-user-error): ... here.
742 (tramp-find-method, tramp-check-proper-host)
743 (tramp-dissect-file-name, tramp-debug-message)
744 (tramp-handle-shell-command):
745 * net/tramp-adb.el (tramp-adb-handle-shell-command):
746 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
748 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
750 2013-09-02 Martin Rudalics <rudalics@gmx.at>
752 * avoid.el (mouse-avoidance-point-position)
753 (mouse-avoidance-too-close-p): Handle case where posn-at-point
756 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
758 * progmodes/python.el (python-shell-completion-get-completions):
759 Drop use of deleted `comint-last-prompt-overlay'.
760 (python-nav-if-name-main): New command.
762 2013-09-01 Glenn Morris <rgm@gnu.org>
764 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
765 Avoid leading space in $wins. Otherwise the sed command used by
766 eg compile-main ends up containing "/*.el". (Bug#15170)
768 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
770 2013-08-30 Glenn Morris <rgm@gnu.org>
772 * emacs-lisp/bytecomp.el (byte-recompile-directory):
773 Fix is-this-a-directory logic. (Bug#15220)
775 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
777 * textmodes/css-mode.el: Use SMIE.
778 (css-smie-grammar): New var.
779 (css-smie--forward-token, css-smie--backward-token)
780 (css-smie-rules): New functions.
781 (css-mode): Use them.
782 (css-navigation-syntax-table): Remove var.
783 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
784 (css-indent-calculate, css-indent-line): Remove functions.
786 Misc changes to reduce use of `(lambda...); and other cleanups.
787 * cus-edit.el: Use lexical-binding.
788 (customize-push-and-save, customize-apropos)
789 (custom-buffer-create-internal): Use closures.
790 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
791 * progmodes/ada-xref.el: Use setq.
792 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
793 * dframe.el: Use lexical-binding.
794 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
795 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
796 * descr-text.el: Use lexical-binding.
797 (describe-text-widget, describe-text-sexp, describe-property-list):
799 * comint.el (comint-history-isearch-push-state): Use a closure.
800 * calculator.el: Use lexical-binding.
801 (calculator-number-to-string): Make it work with lexical-binding.
802 (calculator-funcall): Same and use cl-letf.
804 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
805 (lisp--company-doc-string, lisp--company-location): New functions.
806 (lisp-completion-at-point): Use them to improve Company support.
808 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
809 params of lambda expressions.
810 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
811 (ruby-smie--opening-pipe-p): New function.
812 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
813 symbols and matched |...| for formal params.
814 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
815 from being treated as hanging. Handle "rescue".
817 2013-08-29 Glenn Morris <rgm@gnu.org>
819 * progmodes/cc-engine.el (c-pull-open-brace):
820 Move definition before use.
822 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
824 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
825 are immutable. Don't use `unsafe' any more.
826 (cl--defsubst-expand): Don't substitute at the same time as keeping
827 a residual unused let-binding. Don't use `unsafe' any more.
829 2013-08-29 Glenn Morris <rgm@gnu.org>
831 * calendar/cal-china.el (calendar-chinese-year-cache):
834 * nxml/nxml-util.el (nxml-debug-clear-inside):
835 Use cl-loop rather than loop.
837 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
839 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
841 2013-08-28 Glenn Morris <rgm@gnu.org>
843 * progmodes/antlr-mode.el: No need to require cc-mode twice.
845 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
847 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
849 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
851 * simple.el (repeat-complex-command--called-interactively-skip):
853 (repeat-complex-command): Use it (bug#14136).
855 * progmodes/cc-mode.el: Minor cleanup of var declarations.
856 (c-define-abbrev-table): Add `doc' argument.
857 (c-mode-abbrev-table, c++-mode-abbrev-table)
858 (objc-mode-abbrev-table, java-mode-abbrev-table)
859 (idl-mode-abbrev-table, pike-mode-abbrev-table)
860 (awk-mode-abbrev-table): Use it.
861 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
862 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
863 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
864 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
865 Move initialization into the declaration; and remove any
868 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
869 and dynamic let binding.
871 * vc/smerge-mode.el: Remove redundant :group args.
873 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
876 2013-08-28 Juri Linkov <juri@jurta.org>
878 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
879 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
880 (isearch-other-meta-char): Handle an undefined shifted printing
881 character by downshifting it. (Bug#15200)
883 2013-08-28 Juri Linkov <juri@jurta.org>
885 * isearch.el (isearch-search): Change regexp error message for
886 non-regexp searches. (Bug#15166)
888 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
890 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
891 for portability to hosts where /bin/sh has problems.
893 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
895 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
897 2013-08-27 Juri Linkov <juri@jurta.org>
899 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
900 in the keyboard macro. (Bug#15126)
902 2013-08-27 Juri Linkov <juri@jurta.org>
904 * isearch.el (isearch-quote-char): Comment out converting unibyte
905 to multibyte, thus syncing with its `quoted-insert' counterpart.
908 2013-08-27 Martin Rudalics <rudalics@gmx.at>
910 * window.el (display-buffer-use-some-window): Add missing
911 argument in call of get-largest-window (Bug#15185).
912 Reported by Stephen Leake.
914 2013-08-27 Glenn Morris <rgm@gnu.org>
916 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
918 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
920 * progmodes/python.el (python-font-lock-keywords): Don't return nil
921 from a matcher-function unless there's no more matches (bug#15161).
923 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
925 * minibuffer.el: Revert change from 2013-08-20.
927 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
928 with text property `tramp-default', if appropriate.
929 (tramp-check-proper-host): New defun.
930 (tramp-dissect-file-name): Do not check hostname. Revert change
932 (tramp-backtrace): Make VEC-OR-PROC optional.
934 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
935 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
936 * net/tramp-sh.el (tramp-maybe-open-connection):
937 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
938 Apply `tramp-check-proper-host'.
940 2013-08-26 Tassilo Horn <tsdh@gnu.org>
942 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
943 lambda expression in order to have `describe-variable' display it.
945 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
947 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
948 BUF can be optional. (Bug#15186)
950 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
952 * progmodes/flymake.el (flymake-get-real-file-name-function):
953 Fix broken customization. (Bug#15184)
955 2013-08-25 Alan Mackenzie <acm@muc.de>
957 Improve indentation of bracelists defined by macros (without "=").
959 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
960 expansion begins with "{", regard it as bracelist when it doesn't
963 Parse C++ inher-intro when there's a template split over 2 lines.
965 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
966 rigorously the search for "class" etc. followed by ":".
968 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
969 random languages a regexp which never matches rather than nil.
971 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
973 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
974 (c-awk-regexp-one-line-possibly-open-char-list-re)
975 (c-awk-one-line-possibly-open-regexp-re)
976 (c-awk-one-line-non-syn-ws*-re): Remove.
977 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
978 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
979 (c-awk-space*-unclosed-regexp-/-re): New constants.
980 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
981 aren't regexp delimiters.
983 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
984 handling for a rare situation in AWK Mode involving unterminated
987 2013-08-23 Glenn Morris <rgm@gnu.org>
989 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
991 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
993 * files.el (create-file-buffer): If the result would begin with
994 spaces, prepend a "|" instead of removing them. (Bug#15162)
996 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
998 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
999 text-properties (bug#15155).
1001 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
1003 (calc-keypad-redraw): Remove unused var `pad'.
1004 (calc-keypad-press): Remove unused var `menu'.
1006 2013-08-23 Martin Rudalics <rudalics@gmx.at>
1008 * window.el (display-buffer-pop-up-frame):
1009 Call pop-up-frame-function with BUFFER current so `make-frame' will
1010 use it as the new frame's buffer (Bug#15133).
1012 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1014 * calendar/timeclock.el: Minor cleanups.
1015 (timeclock-ask-before-exiting, timeclock-use-display-time):
1017 (timeclock-modeline-display): Define as alias before the
1019 (timeclock-mode-line-display): Use define-minor-mode.
1020 (timeclock-day-list-template): Make it a function, add an argument.
1021 (timeclock-day-list-required, timeclock-day-list-length)
1022 (timeclock-day-list-debt, timeclock-day-list-span)
1023 (timeclock-day-list-break): Adjust calls accordingly.
1025 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1027 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
1028 Use read--expression so that completion works again.
1030 2013-08-21 Sam Steingold <sds@gnu.org>
1032 Add rudimentary inferior shell interaction
1033 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
1034 (sh-set-shell): Reset it.
1035 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
1036 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
1038 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
1040 * align.el: Use lexical-binding.
1041 (align-region): Simplify accordingly.
1043 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
1045 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
1047 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
1050 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
1054 * net/tramp-cmds.el:
1056 * net/tramp-gvfs.el:
1058 * net/tramp-sh.el: Don't wrap external variable declarations by
1059 `eval-when-compile'.
1061 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1063 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
1064 now that Emacs supports ImageMagick animations.
1066 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
1068 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
1069 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
1071 2013-08-16 Martin Rudalics <rudalics@gmx.at>
1073 * window.el (mouse-autoselect-window-select): Do autoselect when
1074 mouse pointer is on margin.
1076 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
1078 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
1080 2013-08-16 Glenn Morris <rgm@gnu.org>
1082 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
1083 Handle "Remote Directory" response of some clients. (Bug#15058)
1085 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
1086 Tweak warning. (Bug#14926)
1088 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
1089 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
1091 * image-mode.el (image-mode-map): Add menu items to reverse,
1092 increase, decrease, reset animation speed.
1093 (image--set-speed, image-increase-speed, image-decrease-speed)
1094 (image-reverse-speed, image-reset-speed): New functions.
1095 (image-mode-map): Add bindings for speed commands.
1097 * image.el (image-animate-get-speed, image-animate-set-speed):
1099 (image-animate-timeout): Respect image :speed property.
1101 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1103 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
1104 previous line (bug#15101).
1105 (debugger-eval-expression, debugger-record-expression):
1106 Use read--expression (bug#15102).
1108 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
1110 Remove byte compiler warnings, visible when compiling with
1111 `byte-compile-force-lexical-warnings' set to t.
1113 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
1114 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
1115 (tramp-handle-unhandled-file-name-directory)
1116 (tramp-handle-file-notify-add-watch, tramp-action-login)
1117 (tramp-action-succeed, tramp-action-permission-denied)
1118 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
1121 * net/tramp-adb.el (tramp-adb-parse-device-names)
1122 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
1123 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
1124 (tramp-adb-handle-file-truename): Remove unused arguments.
1126 * net/tramp-cache.el (tramp-flush-directory-property)
1127 (tramp-flush-connection-property, tramp-list-connections)
1128 (tramp-parse-connection-properties): Prefix unused arguments with "_".
1130 * net/tramp-compat.el (tramp-compat-make-temp-file):
1131 Rename FILENAME to F.
1133 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1134 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
1135 (tramp-zeroconf-parse-workstation-device-names)
1136 (tramp-zeroconf-parse-webdav-device-names)
1137 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
1139 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1140 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
1142 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
1144 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
1145 (tramp-sh-handle-insert-file-contents-literally)
1146 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
1148 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
1149 Remove unused variables.
1151 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1152 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
1153 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
1155 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
1156 Make them a defconst.
1157 (tramp-uuencode-region): Remove unused variable.
1159 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
1161 * frameset.el (frameset--prop-setter): New function.
1162 (frameset-prop): Add gv-setter declaration.
1163 (frameset-filter-minibuffer): Deal with the case that the minibuffer
1164 parameter was already set in FILTERED. Doc fix.
1165 (frameset--record-minibuffer-relationships): Allow saving a
1166 minibufferless frame without its corresponding minibuffer frame.
1167 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
1168 frame, if the frame id matches.
1169 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
1170 frames before orphaned ones.
1171 (frameset-restore): Warn about orphaned windows, instead of error out.
1173 2013-08-14 Martin Rudalics <rudalics@gmx.at>
1175 * window.el (window-make-atom): Don't overwrite parameter
1177 (display-buffer-in-atom-window): Handle special case where we
1178 split an already atomic window.
1179 (window--major-non-side-window, display-buffer-in-side-window)
1180 (window--side-check): Ignore minibuffer window when walking
1182 (window-deletable-p): Return 'frame only if no other frame uses
1183 our minibuffer window.
1184 (record-window-buffer): Run buffer-list-update-hook.
1185 (split-window): Make sure window--check-frame won't destroy an
1186 existing atomic window in case the new window gets nested
1188 (display-buffer-at-bottom): Ignore minibuffer window when
1189 walking window tree. Don't split a side window.
1190 (pop-to-buffer): Don't set-buffer here, the select-window call
1192 (mouse-autoselect-window-select): Autoselect only if we are in the
1193 text portion of the window.
1195 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1197 * net/shr.el (shr-parse-image-data): New function to grab both the
1198 data itself and the Content-Type.
1199 (shr-put-image): Use it.
1201 * net/eww.el (eww-display-image): Ditto.
1203 * image.el (image-content-type-suffixes): New variable.
1205 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1207 * progmodes/python.el (python-imenu--build-tree)
1208 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
1210 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
1212 * simple.el (backward-word): Mention the optional argument.
1214 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1216 * frameset.el (frameset--make): Rename constructor from make-frameset.
1217 (frameset-p, frameset-valid-p): Don't autoload.
1218 (frameset-valid-p): Use normal accessors.
1220 2013-08-13 Glenn Morris <rgm@gnu.org>
1222 * progmodes/compile.el (compile-command): Tweak example in doc.
1223 * obsolete/scribe.el (scribe-mode):
1224 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
1226 * mail/feedmail.el (feedmail-confirm-outgoing)
1227 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
1229 * cus-start.el (truncate-partial-width-windows): Fix type.
1231 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
1233 * net/shr.el (shr-table-horizontal-line): Fix custom type.
1235 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1237 * emacs-lisp/timer.el (timer--time-setter): New function.
1238 (timer--time): Use it as gv-setter.
1240 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
1241 setter is not a symbol.
1243 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
1245 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
1246 if sending fails. This makes debugging easier.
1248 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
1250 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
1251 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
1252 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
1254 2013-08-12 Eli Zaretskii <eliz@gnu.org>
1256 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
1258 2013-08-12 Glenn Morris <rgm@gnu.org>
1260 * format.el (format-annotate-function):
1261 Handle read-only text properties in the source. (Bug#14887)
1263 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1265 * net/eww.el (eww-display-html): Ignore coding system errors.
1266 One web site uses "utf-8lias" as the coding system.
1268 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
1270 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
1272 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
1274 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
1275 (tutorial--detailed-help): Remove unused local variables.
1276 (tutorial--save-tutorial-to): Use ignore-errors.
1277 (help-with-tutorial): Use looking-at-p.
1279 * view.el (view-buffer-other-window, view-buffer-other-frame):
1280 Mark unused arguments.
1282 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
1283 (woman-select-symbol-fonts, woman, woman-find-file)
1284 (woman-insert-file-contents, woman-non-underline-faces):
1286 (woman1-unquote): Move declaration.
1288 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
1289 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
1290 argument. Remove unused local variable.
1291 (xml-parse-elem-type): Use string-match-p.
1292 (xml-substitute-numeric-entities): Use ignore-errors.
1294 * calculator.el (calculator): Mark unused argument.
1295 (calculator-paste, calculator-quit, calculator-integer-p):
1297 (calculator-string-to-number, calculator-decimal, calculator-exp)
1298 (calculator-op-or-exp): Use string-match-p.
1300 * dired.el (dired-buffer-more-recently-used-p): Declare.
1301 (dired-insert-set-properties, dired-insert-old-subdirs):
1304 * dired-aux.el (dired-compress): Use ignore-errors.
1305 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
1306 (dired-do-async-shell-command, dired-do-shell-command)
1307 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
1308 (dired-insert-subdir-validate): Use string-match-p.
1309 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
1310 (dired-add-entry): Use string-match-p, looking-at-p.
1311 (dired-insert-subdir-newpos): Remove unused local variable.
1313 * filenotify.el (file-notify-callback): Remove unused local variable.
1315 * filesets.el (filesets-error): Mark unused argument.
1316 (filesets-which-command-p, filesets-filter-dir-names)
1317 (filesets-directory-files, filesets-get-external-viewer)
1318 (filesets-ingroup-get-data): Use string-match-p.
1320 * find-file.el (ff-other-file-name, ff-other-file-name)
1321 (ff-find-the-other-file, ff-cc-hh-converter):
1322 Remove unused local variables.
1323 (ff-get-file-name): Use string-match-p.
1324 (ff-all-dirs-under): Use ignore-errors.
1326 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
1327 (follow-select-if-visible): Remove unused local variable.
1329 * forms.el (read-file-filter): Move declaration.
1330 (forms--make-format, forms--make-parser, forms-insert-record):
1331 Quote function with #'.
1332 (forms--update): Use string-match-p. Quote function with #'.
1334 * help-mode.el (help-dir-local-var-def): Mark unused argument.
1335 (help-make-xrefs): Use looking-at-p.
1336 (help-xref-on-pp): Use looking-at-p, ignore-errors.
1338 * ibuffer.el (ibuffer-ext-visible-p): Declare.
1339 (ibuffer-confirm-operation-on): Use string-match-p.
1341 * msb.el (msb-item-handler, msb-dired-item-handler):
1342 Mark unused arguments.
1344 * ses.el (ses-decode-cell-symbol)
1345 (ses-kill-override): Remove unused local variable.
1346 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
1347 (ses-load): Use ignore-errors, looking-at-p.
1348 (ses-jump-safe): Use ignore-errors.
1349 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
1351 * tabify.el (untabify, tabify): Mark unused arguments.
1353 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
1354 Mark unused argument.
1355 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
1356 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
1358 * emacs-lisp/timer.el (timer--time): Define setter with
1359 gv-define-setter to avoid deprecation warning.
1361 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
1362 (*record-cmpl-statistics-p*): Remove (was commented out).
1363 (cmpl-statistics-block): Remove (body was commented out).
1364 All callers changed.
1365 (add-completions-from-buffer, load-completions-from-file):
1366 Remove unused variables.
1368 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
1370 * filecache.el (file-cache-delete-file-list):
1371 Print message only when told so.
1372 (file-cache-files-matching): Use #' in mapconcat argument.
1374 * ffap.el (ffap-url-at-point): Fix reference to variable
1375 thing-at-point-default-mail-uri-scheme.
1377 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1379 * subr.el (define-error): New function.
1380 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
1381 error-file-not-found and define with define-error.
1382 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
1383 and define with define-error.
1384 * userlock.el (file-locked, file-supersession):
1385 * simple.el (mark-inactive):
1386 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
1387 * progmodes/ada-mode.el (ada-mode-errors):
1388 * play/life.el (life-extinct):
1389 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
1390 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
1391 * nxml/rng-util.el (rng-error):
1392 * nxml/rng-uri.el (rng-uri-error):
1393 * nxml/rng-match.el (rng-compile-error):
1394 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
1395 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
1396 * nxml/nxml-rap.el (nxml-scan-error):
1397 * nxml/nxml-outln.el (nxml-outline-error):
1398 * net/soap-client.el (soap-error):
1399 * net/gnutls.el (gnutls-error):
1400 * net/ange-ftp.el (ftp-error):
1401 * mpc.el (mpc-proc-error):
1402 * json.el (json-error, json-readtable-error, json-unknown-keyword)
1403 (json-number-format, json-string-escape, json-string-format)
1404 (json-key-format, json-object-format):
1405 * jka-compr.el (compression-error):
1406 * international/quail.el (quail-error):
1407 * international/kkc.el (kkc-error):
1408 * emacs-lisp/ert.el (ert-test-failed):
1409 * calc/calc.el (calc-error, inexact-result, math-overflow)
1411 * bookmark.el (bookmark-error-no-filename):
1412 * epg.el (epg-error): Define with define-error.
1414 * time.el (display-time-event-handler)
1415 (display-time-next-load-average): Don't call sit-for since it seems
1416 unnecessary (bug#15045).
1418 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
1419 Use #' instead of ' to quote functions.
1420 (checkdoc-output-mode): Use setq-local.
1421 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
1422 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
1423 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
1424 (checkdoc-ispell, checkdoc-ispell-current-buffer)
1425 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
1426 (checkdoc-ispell-message-text, checkdoc-ispell-start)
1427 (checkdoc-ispell-continue, checkdoc-ispell-comments)
1428 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
1430 * ido.el (ido-completion-help): Fix up compiler warning.
1432 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
1434 * frameset.el (frameset-p): Add autoload cookie.
1435 (frameset--jump-to-register): New function, based on code moved from
1437 (frameset-to-register): Move from register.el. Adapt to `registerv'.
1439 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
1440 (frameset-restore, frameset-save, frameset-session-filter-alist):
1441 Remove declarations.
1442 (register-alist): Doc fix.
1443 (frameset-to-register): Move to frameset.el.
1444 (jump-to-register, describe-register-1): Remove frameset-specific code.
1446 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1448 * allout-widgets.el (allout-widgets-pre-command-business)
1449 (allout-widgets-post-command-business)
1450 (allout-widgets-after-change-handler)
1451 (allout-decorate-item-and-context, allout-set-boundary-marker)
1452 (allout-body-modification-handler)
1453 (allout-graphics-modification-handler): Mark ignored arguments.
1454 (allout-widgets-post-command-business)
1455 (allout-widgets-exposure-change-processor)
1456 (allout-widgets-exposure-undo-processor)
1457 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
1458 (allout-parse-item-at-point, allout-decorate-item-guides)
1459 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
1460 * allout.el (epa-passphrase-callback-function): Declare.
1461 (allout-overlay-insert-in-front-handler)
1462 (allout-overlay-interior-modification-handler)
1463 (allout-isearch-end-handler, allout-chart-siblings)
1464 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
1465 (allout-yank-processing, allout-process-exposed)
1466 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
1467 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
1468 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
1469 (lisp-indent-defform): Mark ignored arguments.
1470 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
1471 (calculate-lisp-indent): Remove unused variables.
1472 * international/characters.el (indian-2-column, arabic-2-column)
1473 (tibetan): Mark ignored arguments.
1474 (use-cjk-char-width-table): Mark ignored arguments.
1475 Remove unused variables.
1476 * international/fontset.el (build-default-fontset-data)
1477 (x-compose-font-name, create-fontset-from-fontset-spec):
1478 Mark ignored arguments.
1479 (fontset-plain-name): Remove unused variables.
1480 * international/mule.el (charset-id, charset-bytes, generic-char-p)
1481 (keyboard-coding-system): Mark ignored arguments.
1482 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
1483 * help.el (resize-temp-buffer-window):
1484 * window.el (display-buffer-in-major-side-window)
1485 (display-buffer-in-side-window, display-buffer-in-previous-window):
1486 Remove unused variables.
1487 * isearch.el (isearch-forward-symbol):
1488 * version.el (emacs-bzr-version-bzr):
1489 * international/mule-cmds.el (current-language-environment):
1490 * term/common-win.el (x-handle-iconic, x-handle-geometry)
1492 * term/pc-win.el (x-list-fonts, x-display-planes)
1493 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
1494 (x-server-version, x-display-screens, x-display-mm-height)
1495 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
1496 (x-selection-owner-p, x-own-selection-internal)
1497 (x-disown-selection-internal, x-get-selection-internal)
1498 (msdos-initialize-window-system):
1499 * term/tty-colors.el (tty-color-alist, tty-color-clear):
1500 * term/x-win.el (x-handle-no-bitmap-icon):
1501 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
1502 (vc-default-find-file-hook, vc-default-extra-menu):
1503 Mark ignored arguments.
1505 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1507 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
1508 break-condition in the context of the debugged code (bug#12685).
1510 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
1513 Do not use an overlay to highlight the last prompt. (Bug#14744)
1514 (comint-mode): Make comint-last-prompt buffer local.
1515 (comint-last-prompt): New variable.
1516 (comint-last-prompt-overlay): Remove. Superseded by
1518 (comint-snapshot-last-prompt, comint-output-filter):
1519 Use comint-last-prompt.
1521 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1523 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
1524 (frameset-save): Check validity of the resulting frameset.
1526 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
1528 * ido.el (ido-record-command): Add doc string.
1530 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1532 * frameset.el (frameset): Do not disable creation of the default
1533 frameset-p predicate. Doc fix.
1534 (frameset-valid-p): New function, copied from the old predicate-p.
1535 Add additional checks.
1536 (frameset-restore): Check with frameset-valid-p.
1537 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
1538 (frameset-name, frameset-description, frameset-properties)
1539 (frameset-states): Add docstring.
1540 (frameset-session-filter-alist, frameset-persistent-filter-alist)
1541 (frameset-filter-alist): Doc fixes.
1543 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1545 * frameset.el (frameset-p, frameset-prop): Doc fixes.
1547 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1549 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
1550 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
1551 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
1552 (byte-compile-normal-call): Remove obsolescence check.
1554 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
1556 * frameset.el (frameset-restore): Doc fix.
1558 * register.el (frameset-frame-id, frameset-frame-with-id)
1559 (frameset-p, frameset-restore, frameset-save): Declare.
1560 (register-alist): Document framesets.
1561 (frameset-session-filter-alist): Declare.
1562 (frameset-to-register): New function.
1563 (jump-to-register): Implement jumping to framesets. Doc fix.
1564 (describe-register-1): Describe framesets.
1566 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
1568 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
1570 * desktop.el (desktop-save-frameset): Use new frameset-save args.
1571 Use lexical-binding.
1573 * frameset.el (frameset): Use type vector, not list (incompatible
1574 change). Do not declare a new constructor, use the default one.
1575 Upgrade suggested properties `app', `name' and `desc' to slots `app',
1576 `name' and `description', respectively, and add read-only slot
1577 `timestamp'. Doc fixes.
1578 (frameset-copy, frameset-persistent-filter-alist)
1579 (frameset-filter-alist, frameset-switch-to-gui-p)
1580 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
1581 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
1582 (frameset-filter-iconified, frameset-keep-original-display-p):
1584 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
1585 Rename from frameset-filter-(save|restore)-param. All callers changed.
1587 (frameset-p): Adapt to change to vector and be more thorough.
1588 Change arg name to OBJECT. Doc fix.
1589 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
1590 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
1591 All callers changed.
1592 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
1593 All callers changed.
1594 (frameset--record-minibuffer-relationships): Rename from
1595 frameset--process-minibuffer-frames. All callers changed.
1596 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
1597 Use new default constructor (again). Doc fix.
1598 (frameset--find-frame-if): Rename from `frameset--find-frame.
1599 All callers changed.
1600 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
1601 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
1603 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
1604 PARAMETERS and WINDOW-STATE, respectively.
1605 (frameset-restore): Add new keyword argument PREDICATE.
1606 Reset frameset--target-display to nil. Doc fix.
1608 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1610 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
1612 (bat-mode-syntax-table): Mark \n as end-of-comment.
1613 (bat-font-lock-keywords): Remove comment rule.
1615 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
1616 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
1618 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
1619 (byte-compile-callargs-warn): Use `push'.
1620 (byte-compile-arglist-warn): Ignore higher-order "calls".
1621 (byte-compile-file-form-autoload): Use `pcase'.
1622 (byte-compile-function-form): If quoting a symbol, check that it exists.
1624 2013-08-07 Eli Zaretskii <eliz@gnu.org>
1626 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
1627 and add a few popular commands found in batch files.
1628 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
1629 (dos-mode): Doc fixes.
1631 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
1633 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
1634 (dos-mode): Use setq-local. Add space after "rem".
1635 (dos-mode-syntax-table): Don't use "w" for symbol chars.
1636 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
1638 2013-08-07 Arni Magnusson <arnima@hafro.is>
1640 * progmodes/dos.el: New file.
1641 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
1644 2013-08-06 Glenn Morris <rgm@gnu.org>
1646 * calendar/calendar.el: Add new faces, and day-header-array.
1647 (calendar-weekday-header, calendar-weekend-header)
1648 (calendar-month-header): New faces.
1649 (calendar-day-header-construct): New function.
1650 (calendar-day-header-width): Also :set calendar-day-header-array.
1651 (calendar-american-month-header, calendar-european-month-header)
1652 (calendar-iso-month-header): Use calendar- faces.
1653 (calendar-generate-month):
1654 Use calendar-day-header-array for day headers; apply faces to them.
1655 (calendar-mode): Check calendar-font-lock-keywords non-nil.
1656 (calendar-abbrev-construct): Add optional maxlen argument.
1657 (calendar-day-name-array): Doc fix.
1658 (calendar-day-name-array, calendar-abbrev-length)
1659 (calendar-day-abbrev-array):
1660 Also :set calendar-day-header-array, and maybe redraw.
1661 (calendar-day-header-array): New option. (Bug#15007)
1662 (calendar-font-lock-keywords): Set to nil and make obsolete.
1663 (calendar-day-name): Add option to use header array.
1665 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1667 * net/shr.el (shr-render-td): Remove debugging.
1668 (shr-render-td): Make width computation consistent by defaulting
1669 all zero-width columns to 10 characters. This may not be optimal,
1670 but it's at least consistent.
1671 (shr-make-table-1): Redo last change to fix the real problem in
1674 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1676 * files.el (cache-long-line-scans):
1677 Make obsolete alias to `cache-long-scans'.
1679 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
1681 * frameset.el (frameset, frameset-filter-alist)
1682 (frameset-filter-params, frameset-save, frameset--reuse-frame)
1683 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
1684 (frameset-compute-pos): Rename from frameset--compute-pos,
1686 (frameset-move-onscreen): Use frameset-compute-pos.
1687 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1689 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
1690 Fix typos in docstrings.
1692 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
1694 * frame.el (get-other-frame): Tiny cleanup.
1696 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
1698 * vc/vc.el (vc-default-ignore-completion-table):
1699 Silence byte-compiler warning.
1701 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
1702 slot , which can indeed be nil.
1703 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1704 Move entry for `left' from persistent to live filter alist.
1705 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
1707 (frameset-filter-params): When restoring a frame, copy items added to
1708 `filtered', to avoid unwittingly modifying the original parameters.
1709 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
1710 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
1712 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
1713 to use looking-at-p instead of looking-at. (Bug#15028)
1715 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1717 Revert introduction of isearch-filter-predicates (bug#14714).
1718 Rely on add-function instead.
1719 * isearch.el (isearch-filter-predicates): Rename it back to
1720 isearch-filter-predicate.
1721 (isearch-message-prefix): Use advice-function-mapc and advice
1722 properties to get the isearch-message-prefix.
1723 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
1724 instead of run-hook-with-args-until-failure.
1725 (isearch-filter-visible): Not obsolete any more.
1726 * loadup.el: Preload nadvice.
1727 * replace.el (perform-replace): Revert to funcall
1728 instead of run-hook-with-args-until-failure.
1729 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
1730 * dired-aux.el (dired-isearch-filenames-mode): Rename from
1731 dired-isearch-filenames-toggle; make it into a proper minor mode.
1732 Use add/remove-function.
1733 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
1734 Call the minor-mode rather than add/remove-hook.
1735 (dired-isearch-filter-filenames):
1736 Remove isearch-message-prefix property.
1737 * info.el (Info--search-loop): New function, extracted from Info-search.
1738 Funcall isearch-filter-predicate instead of
1739 run-hook-with-args-until-failure isearch-filter-predicates.
1740 (Info-search): Use it.
1741 (Info-mode): Use isearch-filter-predicate instead of
1742 isearch-filter-predicates.
1744 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1746 Do not call to `selected-window' where it is assumed by default.
1747 Affected functions are `window-minibuffer-p', `window-dedicated-p',
1748 `window-hscroll', `window-width', `window-height', `window-buffer',
1749 `window-frame', `window-start', `window-point', `next-window'
1750 and `window-display-table'.
1751 * abbrev.el (abbrev--default-expand):
1752 * bs.el (bs--show-with-configuration):
1753 * buff-menu.el (Buffer-menu-mouse-select):
1754 * calc/calc.el (calc):
1755 * calendar/calendar.el (calendar-generate-window):
1756 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
1758 * comint.el (send-invisible, comint-dynamic-complete-filename)
1759 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
1760 * completion.el (complete):
1761 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
1762 * disp-table.el (describe-current-display-table):
1763 * doc-view.el (doc-view-insert-image):
1764 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
1765 * ehelp.el (with-electric-help):
1766 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1767 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
1768 * emacs-lisp/helper.el (Helper-help-scroller):
1769 * emulation/cua-base.el (cua--post-command-handler-1):
1770 * eshell/esh-mode.el (eshell-output-filter):
1771 * ffap.el (ffap-gnus-wrapper):
1772 * help-macro.el (make-help-screen):
1773 * hilit-chg.el (highlight-compare-buffers):
1774 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
1775 * hl-line.el (global-hl-line-highlight):
1776 * icomplete.el (icomplete-simple-completing-p):
1777 * isearch.el (isearch-done):
1778 * jit-lock.el (jit-lock-stealth-fontify):
1779 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
1780 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
1781 * mpc.el (mpc-tagbrowser, mpc):
1782 * net/rcirc.el (rcirc-any-buffer):
1783 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
1784 * play/landmark.el (landmark-max-width, landmark-max-height):
1785 * play/zone.el (zone):
1786 * progmodes/compile.el (compilation-goto-locus):
1787 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
1788 * progmodes/etags.el (find-tag-other-window):
1789 * progmodes/fortran.el (fortran-column-ruler):
1790 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
1791 * progmodes/verilog-mode.el (verilog-point-text):
1792 * reposition.el (reposition-window):
1793 * rot13.el (toggle-rot13-mode):
1794 * server.el (server-switch-buffer):
1795 * shell.el (shell-dynamic-complete-command)
1796 (shell-dynamic-complete-environment-variable):
1797 * simple.el (insert-buffer, set-selective-display)
1798 (delete-completion-window):
1799 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
1800 (speedbar-recenter):
1801 * startup.el (fancy-splash-head):
1802 * textmodes/ispell.el (ispell-command-loop):
1803 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
1804 * tutorial.el (help-with-tutorial):
1805 * vc/add-log.el (add-change-log-entry):
1806 * vc/compare-w.el (compare-windows):
1807 * vc/ediff-help.el (ediff-indent-help-message):
1808 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
1809 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
1810 (ediff-setup-control-frame):
1811 * vc/emerge.el (emerge-position-region):
1812 * vc/pcvs-util.el (cvs-bury-buffer):
1813 * window.el (walk-windows, mouse-autoselect-window-select):
1814 * winner.el (winner-set-conf, winner-undo): Related users changed.
1816 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1818 * frameset.el (frameset--set-id): Doc fix.
1819 (frameset-frame-id, frameset-frame-id-equal-p)
1820 (frameset-locate-frame-id): New functions.
1821 (frameset--process-minibuffer-frames, frameset--reuse-frame)
1822 (frameset-restore): Use them.
1824 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
1826 Do not call to `selected-frame' where it is assumed by default.
1827 Affected functions are `raise-frame', `redraw-frame',
1828 `frame-first-window', `frame-terminal' and `delete-frame'.
1829 * calendar/appt.el (appt-disp-window):
1830 * epg.el (epg-wait-for-completion):
1831 * follow.el (follow-delete-other-windows-and-split)
1832 (follow-avoid-tail-recenter):
1833 * international/mule.el (set-terminal-coding-system):
1834 * mail/rmail.el (rmail-mail-return):
1835 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
1836 * progmodes/f90.el (f90-add-imenu-menu):
1837 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
1838 * server.el (server-switch-buffer):
1839 * simple.el (delete-completion-window):
1841 * term/xterm.el (terminal-init-xterm-modify-other-keys)
1842 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
1843 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
1844 * vc/ediff.el (ediff-documentation): Related users changed.
1845 * frame.el (selected-terminal): Remove the leftover.
1847 2013-08-05 Glenn Morris <rgm@gnu.org>
1849 * calendar/calendar.el (calendar-generate-month):
1850 Fix for calendar-column-width != 1 + calendar-day-digit-width.
1851 (calendar-generate-month, calendar-font-lock-keywords):
1852 Fix for calendar-day-header-width > length of any day name.
1854 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
1856 * desktop.el (desktop-clear): Use new name of sort predicate.
1858 * frameset.el (frameset): Add docstring. Move :version property to its
1860 (frameset-copy): Rename from copy-frameset.
1861 (frameset-p): Check more thoroughly.
1862 (frameset-prop): Do not check for :version, which is no longer a prop.
1863 (frameset-live-filter-alist, frameset-persistent-filter-alist):
1864 Use new :never value instead of t.
1865 (frameset-filter-alist): Expand and clarify docstring.
1866 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
1867 (frameset-filter-minibuffer, frameset-filter-save-param)
1868 (frameset-filter-restore-param, frameset-filter-iconified):
1869 Add pointer to docstring of frameset-filter-alist.
1870 (frameset-filter-params): Rename filter values to be more meaningful:
1871 :never instead of t, and reverse the meanings of :save and :restore.
1872 (frameset--process-minibuffer-frames): Clarify error message.
1873 (frameset-save): Avoid unnecessary and confusing call to framep.
1874 Use new BOA constructor for framesets.
1875 (frameset--reuse-list): Doc fix.
1876 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
1877 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
1878 (frameset-minibufferless-first-p): Doc fix.
1879 Rename from frameset-sort-frames-for-deletion.
1880 (frameset-restore): Doc fixes. Use new function names.
1881 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
1883 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
1885 * desktop.el (desktop-restore-forces-onscreen)
1886 (desktop-restore-reuses-frames): Document :keyword constant values.
1887 (desktop-filter-parameters-alist): Remove, now identical to
1888 frameset-filter-alist.
1889 (desktop--filter-tty*): Remove, moved to frameset.el.
1890 (desktop-save-frameset, desktop-restore-frameset):
1891 Do not pass :filters argument.
1893 * frameset.el (frameset-live-filter-alist)
1894 (frameset-persistent-filter-alist): New variables.
1895 (frameset-filter-alist): Use them. Add autoload cookie.
1896 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
1897 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
1898 `frameset--id' (it's supposed to be internal to frameset.el).
1899 (frameset--process-minibuffer-frames): Ditto. Doc fix.
1900 (frameset--initial-params): New function.
1901 (frameset--get-frame): Use it. Doc fix.
1902 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
1903 Accept :all, not 'all.
1904 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
1905 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
1906 with fbound symbols. Fix frame id matching, and remove matching ids if
1907 the frame being restored is deleted. Obey :delete.
1909 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1911 * subr.el (macrop): New function.
1912 (text-clone--maintaining): New var.
1913 (text-clone--maintain): Rename from text-clone-maintain. Use it
1914 instead of inhibit-modification-hooks.
1916 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
1917 a proxy, so as handle autoloads and redefinitions of the target.
1918 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
1920 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
1921 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
1922 (pcase--mutually-exclusive-p): New function.
1923 (pcase--split-consp): Use it.
1924 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
1925 mutually exclusive with the current predicate.
1927 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
1928 (edebug-macrop): Remove. Use `macrop' instead.
1929 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
1931 * eshell/esh-cmd.el (eshell-macrop):
1932 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
1934 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1936 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
1937 (advice-mapc): New function, using it.
1938 (advice-function-member-p): New function.
1939 (advice--normalize): Store the cdr in advice--saved-rewrite since
1940 that's the part that will be changed.
1941 (advice--symbol-function): New function.
1942 (advice-remove): Handle removal before the function is defined.
1943 Adjust to new advice--saved-rewrite.
1944 (advice-member-p): Use advice-function-member-p and
1945 advice--symbol-function.
1947 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
1949 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
1950 (frameset-filter-minibuffer): Doc fix.
1951 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
1952 (frameset--set-id, frameset--process-minibuffer-frames)
1953 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
1954 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
1956 * desktop.el (desktop-clear): Only delete frames when called
1957 interactively and desktop-restore-frames is non-nil. Doc fix.
1958 (desktop-read): Set desktop-saved-frameset to nil.
1960 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
1962 * vc/vc.el (vc-ignore): Rewrite.
1963 (vc-default-ignore-completion-table):
1965 (vc--add-line, vc--remove-regexp): New functions.
1967 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
1968 (vc-svn-ignore-completion-table): New function.
1970 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
1971 (vc-hg-ignore-completion-table):
1972 (vc-hg-find-ignore-file): New functions.
1974 * vc/vc-git.el (vc-git-ignore): Rewrite.
1975 (vc-git-ignore-completion-table):
1976 (vc-git-find-ignore-file): New functions.
1978 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
1980 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
1981 (vc-bzr-ignore-completion-table):
1982 (vc-bzr-find-ignore-file): New functions.
1984 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
1986 * frameset.el (frameset-prop): New function and setter.
1987 (frameset-save): Do not modify frame list passed by the caller.
1989 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1991 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
1993 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
1995 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
1996 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
1998 * custom.el (custom-initialize-default, custom-initialize-set)
1999 (custom-initialize-reset, custom-initialize-changed): Affect the
2000 toplevel-default-value (bug#6275, bug#14586).
2001 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
2004 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2006 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2007 Add cl-def* expressions.
2009 * frameset.el (frameset-filter-params): Fix order of arguments.
2011 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
2013 Move code related to saving frames to frameset.el.
2014 * desktop.el: Require frameset.
2015 (desktop-restore-frames): Doc fix.
2016 (desktop-restore-reuses-frames): Rename from
2017 desktop-restoring-reuses-frames.
2018 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
2019 (desktop-clear): Clear frames too.
2020 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
2021 (desktop--filter-tty*, desktop-save, desktop-read):
2022 Use frameset functions.
2023 (desktop-before-saving-frames-functions, desktop--filter-*-color)
2024 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2025 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
2026 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
2027 (desktop--process-minibuffer-frames, desktop-save-frames)
2028 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
2029 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
2030 (desktop--sort-states, desktop-restoring-frames-p)
2031 (desktop-restore-frames): Remove. Most code moved to frameset.el.
2032 (desktop-restoring-frameset-p, desktop-restore-frameset)
2033 (desktop--check-dont-save, desktop-save-frameset): New functions.
2034 (desktop--app-id): New constant.
2035 (desktop-first-buffer, desktop-buffer-ok-count)
2036 (desktop-buffer-fail-count): Move before first use.
2037 * frameset.el: New file.
2039 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2041 * files.el: Use lexical-binding.
2042 (dir-locals-read-from-file): Remove unused `err' variable.
2043 (hack-dir-local-variables--warned-coding): New var.
2044 (hack-dir-local-variables): Use it to avoid repeated warnings.
2045 (make-backup-file-name--default-function): New function.
2046 (make-backup-file-name-function): Use it as default.
2047 (buffer-stale--default-function): New function.
2048 (buffer-stale-function): Use it as default.
2049 (revert-buffer-insert-file-contents--default-function): New function.
2050 (revert-buffer-insert-file-contents-function): Use it as default.
2051 (insert-directory): Avoid add-to-list.
2053 * autorevert.el (auto-revert-handler): Simplify.
2054 Use buffer-stale--default-function.
2056 2013-08-01 Tassilo Horn <tsdh@gnu.org>
2058 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
2060 * whitespace.el (whitespace-ensure-local-variables): New function.
2061 (whitespace-cleanup-region): Call it.
2062 (whitespace-turn-on): Call it.
2064 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
2066 Complete file name handlers.
2068 * net/tramp.el (tramp-handle-set-visited-file-modtime)
2069 (tramp-handle-verify-visited-file-modtime)
2070 (tramp-handle-file-notify-rm-watch): New functions.
2071 (tramp-call-process): Do not bind `default-directory'.
2073 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2074 Order alphabetically.
2075 [access-file, add-name-to-file, dired-call-process]:
2076 [dired-compress-file, file-acl, file-notify-rm-watch]:
2077 [file-ownership-preserved-p, file-selinux-context]:
2078 [make-directory-internal, make-symbolic-link, set-file-acl]:
2079 [set-file-selinux-context, set-visited-file-modtime]:
2080 [verify-visited-file-modtime]: Add handler.
2081 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
2083 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2084 [file-notify-add-watch, file-notify-rm-watch]:
2085 [set-file-times, set-visited-file-modtime]:
2086 [verify-visited-file-modtime]: Add handler.
2087 (with-tramp-gvfs-error-message)
2088 (tramp-gvfs-handle-set-visited-file-modtime)
2089 (tramp-gvfs-fuse-file-name): Remove.
2090 (tramp-gvfs-handle-file-notify-add-watch)
2091 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
2092 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
2094 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2095 Order alphabetically.
2096 [file-notify-rm-watch ]: Use default Tramp handler.
2097 [executable-find]: Remove private handler.
2098 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
2099 `default-directory'.
2100 (tramp-sh-handle-executable-find)
2101 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
2102 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2103 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
2104 Do not use `format' in `tramp-message'.
2106 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
2107 [file-notify-rm-watch, set-visited-file-modtime]:
2108 [verify-visited-file-modtime]: Add handler.
2109 (tramp-smb-call-winexe): Do not bind `default-directory'.
2111 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
2113 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
2115 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
2117 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
2119 (log-view-diff-changeset): Same.
2120 (log-view-diff-common): Call backend command `previous-revision'
2121 to find out the previous revision, in both cases. Swap the
2122 variables `to' and `fr', so that `fr' usually refers to the
2123 earlier revision (Bug#14989).
2125 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
2127 * ibuf-ext.el (ibuffer-filter-by-filename):
2128 Make it work with dired buffers too.
2130 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
2132 * emacs-lisp/re-builder.el (reb-color-display-p):
2133 * files.el (save-buffers-kill-terminal):
2134 * net/browse-url.el (browse-url):
2135 * server.el (server-save-buffers-kill-terminal):
2136 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
2137 Prefer nil to selected-frame for the first arg of frame-parameter.
2139 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
2141 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
2143 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
2145 * minibuffer.el (completion--twq-all): Try and preserve each
2146 completion's case choice (bug#14907).
2148 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2150 * net/network-stream.el (open-network-stream): Mention the new
2151 :nogreeting parameter.
2152 (network-stream-open-starttls): Use the :nogreeting parameter
2155 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
2157 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
2158 more natural than popping.
2160 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
2161 (shr-urlify): Highlight under mouse.
2163 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2165 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
2167 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
2169 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
2172 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
2173 point-min==1. Fix search string. Fix parentheses missing.
2175 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
2176 assume point-min==1. Fix search string. Fix parentheses missing.
2178 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
2180 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
2183 2013-07-29 Eli Zaretskii <eliz@gnu.org>
2185 * frame.el (frame-notice-user-settings): Avoid inflooping when the
2186 initial frame is minibuffer-less. (Bug#14841)
2188 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
2190 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
2193 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2194 (tramp-maybe-open-connection): Use it.
2196 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
2198 * desktop.el (desktop--make-frame): Include `minibuffer' in the
2199 minimal set of parameters passed when creating a frame, because
2200 the minibuffer status of a frame cannot be changed later.
2202 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
2204 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
2205 replace-regexp-in-string and inadvertent omissions in previous change.
2206 (todo-filter-items): Ensure only file names are comma-separated in
2207 name of filtered items buffer.
2209 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
2211 * desktop.el: Optionally force offscreen frames back onscreen.
2212 (desktop-restoring-reuses-frames): New option.
2213 (desktop--compute-pos, desktop--move-onscreen): New functions.
2214 (desktop--make-frame): Use desktop--move-onscreen.
2216 2013-07-27 Alan Mackenzie <acm@muc.de>
2218 Fontify a Java generic method as a function.
2219 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
2222 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
2224 * calendar/todo-mode.el: Add command to rename todo files.
2225 (todo-rename-file): New command.
2226 (todo-key-bindings-t): Add key binding for it. Change the
2227 bindings of todo-filter-regexp-items(-multifile) to use `x'
2228 instead of `r', since the latter is better suited to the new
2231 2013-07-27 Alan Mackenzie <acm@muc.de>
2233 Make Java try-with-resources statement parse properly.
2234 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
2235 (c-block-stmt-1-2-key): New language constants/variables.
2236 * progmodes/cc-engine.el (c-beginning-of-statement-1)
2237 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
2238 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
2239 with c-block-stmt-1-2-key.
2241 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
2243 * desktop.el (desktop--make-frame): Apply most frame parameters after
2244 creating the frame to force (partially or totally) offscreen frames to
2245 be restored as such.
2247 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
2249 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
2252 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2254 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
2255 `base' arg of backtrace-frame.
2257 2013-07-26 Eli Zaretskii <eliz@gnu.org>
2259 * simple.el (list-processes): Doc fix.
2261 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
2263 * desktop.el (desktop--select-frame):
2264 Try harder to reuse existing frames.
2266 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2268 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
2269 (edebug-eval): Use backtrace-eval.
2270 (edebug--display, edebug--recursive-edit): Don't let-bind the
2271 edebug-outer-* vars that keep track of variables we locally let-bind.
2272 (edebug-outside-excursion): Don't restore outside values of locally
2274 (edebug--display): Use user-error.
2275 (cl-lexical-debug, cl-debug-env): Remove.
2277 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
2279 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
2280 are restored to be sure that they are visible before deleting any
2283 2013-07-26 Matthias Meulien <orontee@gmail.com>
2285 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
2286 vc-print-root-log. (Bug#14948)
2288 2013-07-26 Richard Stallman <rms@gnu.org>
2290 Add aliases for encrypting mail.
2291 * epa.el (epa-mail-aliases): New option.
2292 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
2293 Bind inhibit-read-only so read-only text doesn't ruin everything.
2294 (epa-mail-default-recipients): New subroutine broken out.
2295 Handle epa-mail-aliases.
2297 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2299 Add support for lexical variables to the debugger's `e' command.
2300 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
2301 vars, except for debugger-outer-match-data.
2302 (debugger-frame-number): Move check for "on a function call" from
2303 callers into it. Add `skip-base' argument.
2304 (debugger-frame, debugger-frame-clear): Simplify accordingly.
2305 (debugger-env-macro): Only reset the state stored in non-variables,
2306 i.e. current-buffer and match-data.
2307 (debugger-eval-expression): Rewrite using backtrace-eval.
2308 * subr.el (internal--called-interactively-p--get-frame): Remove.
2309 (called-interactively-p):
2310 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
2311 `base' arg of backtrace-frame instead.
2313 2013-07-26 Glenn Morris <rgm@gnu.org>
2315 * align.el (align-regexp): Doc fix. (Bug#14857)
2316 (align-region): Explicit error if subexpression missing/does not match.
2318 * simple.el (global-visual-line-mode):
2319 Do not duplicate the mode lighter. (Bug#14858)
2321 2013-07-25 Martin Rudalics <rudalics@gmx.at>
2323 * window.el (display-buffer): In display-buffer bind
2324 split-window-keep-point to t, bug#14829.
2326 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
2328 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
2329 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
2330 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
2331 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2333 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
2334 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
2336 2013-07-25 Glenn Morris <rgm@gnu.org>
2338 * dired-x.el (dired-mark-extension): Convert comment to doc string.
2340 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
2342 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
2343 parameter to modify-frame-parameters if the value has not changed;
2344 this is a workaround for bug#14949.
2345 (desktop--make-frame): On cl-delete-if call, check parameter name,
2348 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
2350 * vc/vc.el (vc-ignore): New function.
2352 * vc/vc-svn.el (vc-svn-ignore): New function.
2354 * vc/vc-hg.el (vc-hg-ignore): New function.
2356 * vc/vc-git.el (vc-git-ignore): New function.
2358 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
2359 (vc-dir-ignore): New function.
2361 * vc/vc-cvs.el (vc-cvs-ignore): New function.
2362 (cvs-append-to-ignore): Move here from pcvs.el.
2364 * vc/vc-bzr.el (vc-bzr-ignore): New function.
2366 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
2368 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
2370 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
2371 (desktop-restore-frames): Warn when deleting an existing frame failed.
2373 2013-07-24 Glenn Morris <rgm@gnu.org>
2375 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
2377 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
2379 * filenotify.el (file-notify-supported-p):
2380 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2383 * autorevert.el (auto-revert-use-notify):
2384 (auto-revert-notify-add-watch):
2385 * net/tramp.el (tramp-file-name-for-operation):
2386 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2387 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2388 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2389 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2390 Remove `file-notify-supported-p' entry.
2392 2013-07-24 Glenn Morris <rgm@gnu.org>
2394 * printing.el: Replace all uses of deleted ps-windows-system,
2395 ps-lp-system, ps-flatten-list with lpr- versions.
2397 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2399 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
2400 checked with memq (bug#14935).
2402 * files.el (revert-buffer-function): Use a non-nil default.
2403 (revert-buffer-preserve-modes): Declare var to
2404 provide access to the `preserve-modes' argument.
2405 (revert-buffer): Let-bind it.
2406 (revert-buffer--default): New function, extracted from revert-buffer.
2408 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
2410 * lpr.el: Signal print errors more prominently.
2411 (print-region-function): Don't default to nil.
2412 (lpr-print-region): New function, extracted from print-region-1.
2413 Check lpr's return value and signal an error in case of problem.
2414 (print-region-1): Use it.
2415 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
2417 (ps-printer-name): Default to nil.
2418 (ps-printer-name-option): Default to lpr-printer-switch.
2419 (ps-print-region-function): Don't default to nil.
2420 (ps-postscript-code-directory): Simplify default.
2421 (ps-do-despool): Use lpr-print-region to properly check the outcome.
2422 (ps-string-list, ps-eval-switch, ps-flatten-list)
2423 (ps-flatten-list-1): Remove.
2424 (ps-multibyte-buffer): Avoid setq.
2425 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
2426 (print-region-function, ps-print-region-function): Don't set them here.
2428 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
2430 * ido.el (ido-fractionp):
2431 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
2432 (ido-max-file-prompt-width, ido-unc-hosts-cache)
2433 (ido-max-directory-size, ido-max-dir-file-cache)
2434 (ido-decorations): Doc fix.
2436 * ansi-color.el: Fix old URL.
2438 2013-07-23 Michael R. Mauger <michael@mauger.com>
2440 * progmodes/sql.el Version 3.3
2441 (sql-product-alist): Improve oracle :prompt-cont-regexp.
2442 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
2443 (sql-interactive-remove-continuation-prompt): Rewrite, use
2444 functions above. Fix continuation prompt and complete output line
2446 (sql-redirect-one, sql-execute): Use `read-only-mode' on
2447 redirected output buffer.
2448 (sql-mode): Restore deleted code (Bug#13591).
2450 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
2452 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
2454 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
2456 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
2458 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2459 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2460 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
2462 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
2464 * desktop.el (desktop-clear): Simplify; remove useless checks
2465 against invalid buffer names.
2466 (desktop-list*): Use cl-list*.
2467 (desktop-buffer-info, desktop-create-buffer): Simplify.
2469 2013-07-23 Leo Liu <sdl.web@gmail.com>
2471 * bookmark.el (bookmark-make-record): Restore NAME as a default
2474 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
2476 * emacs-lisp/autoload.el (autoload--setup-output): New function,
2477 extracted from autoload--insert-text.
2478 (autoload--insert-text): Remove.
2479 (autoload--print-cookie-text): New function, extracted from
2480 autoload--insert-cookie-text.
2481 (autoload--insert-cookie-text): Remove.
2482 (autoload-generate-file-autoloads): Adjust calls accordingly.
2484 * winner.el (winner-hook-installed-p): Remove.
2485 (winner-mode): Simplify accordingly.
2487 * subr.el (add-to-list): Fix compiler-macro when `append' is
2488 not constant. Don't use `cl-member' for the base case.
2490 * progmodes/subword.el: Fix boundary case (bug#13758).
2491 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
2493 (subword-backward-regexp): Make it a constant.
2494 (subword-forward-internal): Don't treat a trailing capital as the
2495 beginning of a word.
2497 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
2499 * emacs-lisp/package.el (package-menu-mode): Don't modify the
2500 global value of tabulated-list-revert-hook (bug#14930).
2502 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
2504 * desktop.el: Require 'cl-lib.
2505 (desktop-before-saving-frames-functions): New hook.
2506 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
2507 for frames being saved. Rename from desktop--save-minibuffer-frames.
2508 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
2509 Do not save frames with non-nil `desktop-dont-save' parameter.
2510 Filter out deleted frames.
2511 (desktop--find-frame): Use cl-find-if.
2512 (desktop--select-frame): Use cl-(first|second|third) to access values
2514 (desktop--make-frame): Use cl-delete-if.
2515 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
2516 (desktop-restore-frames): Use cl-(first|second|third) to access values
2517 of desktop-mini. Look for visible frame at the end, not while
2520 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
2521 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
2522 Use string-match-p, looking-at-p (bug#14927).
2524 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
2526 * desktop.el (desktop-saved-frame-states):
2527 Rename from desktop--saved-states; all users changed.
2528 (desktop-save-frames): Rename from desktop--save-frames.
2529 Do not save state to desktop file.
2530 (desktop-save): Save desktop-saved-frame-states to desktop file
2532 (desktop-restoring-frames-p): New function.
2533 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
2534 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
2535 buffer-lists when restoring frames. Suggested by Martin Rudalics.
2537 * desktop.el: Correctly restore iconified frames.
2538 (desktop--filter-iconified-position): New function.
2539 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
2541 2013-07-20 Glenn Morris <rgm@gnu.org>
2543 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
2544 Let `message' do the formatting.
2545 (def-gdb-preempt-display-buffer): Add explicit format.
2547 * image-dired.el (image-dired-track-original-file):
2548 Use with-current-buffer.
2549 (image-dired-track-thumbnail): Use with-current-buffer.
2550 Avoid changing point of wrong window.
2552 * image-dired.el (image-dired-track-original-file):
2553 Avoid changing point of wrong window. (Bug#14909)
2555 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
2557 * progmodes/gdb-mi.el (gdb-done-or-error):
2558 Guard against "%" in gdb output. (Bug#14127)
2560 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
2562 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
2565 * international/mule.el (coding-system-iso-2022-flags): Fix last
2568 2013-07-20 Kenichi Handa <handa@gnu.org>
2570 * international/mule.el (coding-system-iso-2022-flags):
2571 Add `8-bit-level-4'. (Bug#8522)
2573 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2575 * net/shr.el (shr-mouse-browse-url): New command and keystroke
2578 * net/eww.el (eww-process-text-input): Allow inputting when the
2579 point is at the start of the line, as the properties aren't
2582 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
2585 2013-07-19 Richard Stallman <rms@gnu.org>
2587 * epa.el (epa-popup-info-window): Doc fix.
2589 * subr.el (split-string): New arg TRIM.
2591 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
2593 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
2594 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
2596 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
2598 * filenotify.el (file-notify--library): Rename from
2599 `file-notify-support'. Do not autoload. Adapt all uses.
2600 (file-notify-supported-p): New defun.
2602 * autorevert.el (auto-revert-use-notify):
2603 Use `file-notify-supported-p' instead of `file-notify-support'.
2605 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
2607 * net/tramp.el (tramp-file-name-for-operation):
2608 Add `file-notify-supported-p'.
2610 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
2612 (tramp-sh-file-name-handler-alist): Add it as handler for
2613 `file-notify-supported-p '.
2615 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2616 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2617 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2618 Add `ignore' as handler for `file-notify-*' functions.
2620 2013-07-17 Eli Zaretskii <eliz@gnu.org>
2622 * simple.el (line-move-partial, line-move): Don't start vscroll or
2623 scroll-up if the current line is not taller than the window.
2626 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
2628 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
2629 highlight question marks in the method names as strings.
2630 (ruby-block-beg-keywords): Inline.
2631 (ruby-font-lock-keyword-beg-re): Extract from
2632 `ruby-font-lock-keywords'.
2634 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
2636 * frame.el (blink-cursor-blinks): New defcustom.
2637 (blink-cursor-blinks-done): New defvar.
2638 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
2639 (blink-cursor-timer-function): Check if number of blinks has been
2641 (blink-cursor-suspend, blink-cursor-check): New defuns.
2643 2013-07-15 Glenn Morris <rgm@gnu.org>
2645 * edmacro.el (edmacro-format-keys): Fix previous change.
2647 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
2649 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
2650 The hack didn't work outside English locales anyway.
2652 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
2654 * simple.el (define-alternatives): Rename from alternatives-define,
2655 per RMS' suggestion.
2657 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
2659 * desktop.el (desktop-restore-frames): Change default to t.
2660 (desktop-restore-in-current-display): Now offer more options.
2661 (desktop-restoring-reuses-frames): New customization option.
2662 (desktop--saved-states): Doc fix.
2663 (desktop-filter-parameters-alist): New variable, renamed and expanded
2664 from desktop--excluded-frame-parameters.
2665 (desktop--target-display): New variable.
2666 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
2667 (desktop--filter-tty*, desktop--filter-*-color)
2668 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
2669 (desktop--filter-save-desktop-parm)
2670 (desktop-restore-in-original-display-p): New functions.
2671 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
2672 (desktop--save-minibuffer-frames): New function, inspired by a similar
2673 function from Martin Rudalics.
2674 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
2675 (desktop--restore-in-this-display-p): Remove.
2676 (desktop--find-frame): Rename from desktop--find-frame-in-display
2677 and add predicate argument.
2678 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
2679 (desktop--reuse-list): New variable.
2680 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
2682 (desktop--restore-frames): Add support for "minibuffer-special" frames.
2684 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
2686 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
2688 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
2690 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2691 Highlight conversion methods on Kernel.
2693 2013-07-13 Alan Mackenzie <acm@muc.de>
2695 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
2696 and comment it out. This out-commenting enables certain C++
2697 declarations to be parsed correctly.
2699 2013-07-13 Eli Zaretskii <eliz@gnu.org>
2701 * international/mule.el (define-coding-system): Doc fix.
2703 * simple.el (default-font-height): Don't call font-info if the
2704 frame's default font didn't change since the frame was created.
2707 2013-07-13 Leo Liu <sdl.web@gmail.com>
2709 * ido.el (ido-read-file-name): Guard against non-symbol value.
2711 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2713 * progmodes/python.el (python-imenu--build-tree): Fix corner case
2716 2013-07-13 Leo Liu <sdl.web@gmail.com>
2718 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
2719 ido-set-matches call. (Bug#6852)
2721 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
2723 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
2724 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
2726 (ruby-font-lock-keywords): Distinguish calls to functions with
2727 module-like names from module references. Highlight character
2730 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2732 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
2733 (gdb-send): Handle continued commands. (Bug#14847)
2735 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
2737 * desktop.el (desktop--v2s): Remove unused local variable.
2738 (desktop-save-buffer): Make defvar-local; adjust docstring.
2739 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
2740 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
2742 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
2744 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
2746 2013-07-12 Eli Zaretskii <eliz@gnu.org>
2748 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
2751 2013-07-12 Glenn Morris <rgm@gnu.org>
2753 * doc-view.el: Require cl-lib at runtime too.
2754 (doc-view-remove-if): Remove.
2755 (doc-view-search-next-match, doc-view-search-previous-match):
2758 * edmacro.el: Require cl-lib at runtime too.
2759 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
2760 (edmacro-mismatch, edmacro-subseq): Remove.
2762 * shadowfile.el: Require cl-lib.
2763 (shadow-remove-if): Remove.
2764 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
2767 * wid-edit.el: Require cl-lib.
2768 (widget-choose): Use cl-remove-if.
2769 (widget-remove-if): Remove.
2771 * progmodes/ebrowse.el: Require cl-lib at runtime too.
2772 (ebrowse-delete-if-not): Remove.
2773 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
2774 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
2775 Use cl-delete-if-not.
2777 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
2779 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
2780 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
2782 2013-07-12 Leo Liu <sdl.web@gmail.com>
2784 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
2786 2013-07-11 Glenn Morris <rgm@gnu.org>
2788 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
2789 (edebug-gensym-index, edebug-gensym):
2790 Remove reimplementation of cl-gensym.
2791 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
2793 * thumbs.el: Require cl-lib at run-time too.
2794 (thumbs-gensym-counter, thumbs-gensym):
2795 Remove reimplementation of cl-gensym.
2796 (thumbs-temp-file): Use cl-gensym.
2798 * emacs-lisp/ert.el: Require cl-lib at runtime too.
2799 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
2800 (ert--intersection, ert--set-difference, ert--set-difference-eq)
2801 (ert--union, ert--gensym-counter, ert--gensym-counter)
2802 (ert--coerce-to-vector, ert--remove*, ert--string-position)
2803 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
2804 (ert-make-test-unbound, ert--expand-should-1)
2805 (ert--expand-should, ert--should-error-handle-error)
2806 (should-error, ert--explain-equal-rec)
2807 (ert--plist-difference-explanation, ert-select-tests)
2808 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
2809 Use cl-lib functions rather than reimplementations.
2811 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
2813 * net/tramp.el (tramp-methods): Extend docstring.
2814 (tramp-connection-timeout): New defcustom.
2815 (tramp-error-with-buffer): Reset timestamp only when appropriate.
2816 (with-tramp-progress-reporter): Simplify.
2817 (tramp-process-actions): Improve messages.
2819 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2820 * net/tramp-sh.el (tramp-maybe-open-connection):
2821 Use `tramp-connection-timeout'.
2822 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
2825 2013-07-11 Leo Liu <sdl.web@gmail.com>
2827 * ido.el (ido-read-file-name): Conform to the requirements of
2828 read-file-name. (Bug#11861)
2829 (ido-read-directory-name): Conform to the requirements of
2830 read-directory-name.
2832 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
2834 * subr.el (delay-warning): New function.
2836 2013-07-10 Eli Zaretskii <eliz@gnu.org>
2838 * simple.el (default-line-height): New function.
2839 (line-move-partial, line-move): Use it instead of computing the
2841 (line-move-partial): Always compute ROWH. If the last line is
2842 partially-visible, but its text is completely visible, allow
2843 cursor to enter such a partially-visible line.
2845 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
2847 Improve error messages. (Bug#14808)
2849 * net/tramp.el (tramp-current-connection): New defvar, moved from
2851 (tramp-message-show-progress-reporter-message): Remove, not
2853 (tramp-error-with-buffer): Show message in minibuffer.
2854 Discard input before waiting. Reset connection timestamp.
2855 (with-tramp-progress-reporter): Improve messages.
2856 (tramp-process-actions): Use progress reporter. Delete process in
2857 case of error. Improve messages.
2859 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
2860 Call `tramp-error-with-buffer' with vector and buffer.
2861 (tramp-current-connection): Remove.
2862 (tramp-maybe-open-connection): The car of
2863 `tramp-current-connection' are the first 3 slots of the vector.
2865 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
2867 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
2868 inside continued strings.
2870 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
2872 Timestamp fixes for undo (Bug#14824).
2873 * files.el (clear-visited-file-modtime): Move here from fileio.c.
2875 2013-07-10 Leo Liu <sdl.web@gmail.com>
2877 * files.el (require-final-newline): Allow safe local value.
2880 2013-07-09 Leo Liu <sdl.web@gmail.com>
2882 * ido.el (ido-read-directory-name): Handle fallback.
2883 (ido-read-file-name): Update DIR to ido-current-directory.
2885 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
2887 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
2889 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
2890 "autoload". Remove "warn lower camel case" section, previously
2891 commented out. Highlight negation char. Do not highlight the
2892 target in singleton method definitions.
2894 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
2896 * faces.el (tty-setup-hook): Declare the hook.
2898 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
2899 and detect when a guard/pred depends on local vars (bug#14773).
2900 (pcase--u1): Adjust caller.
2902 2013-07-08 Eli Zaretskii <eliz@gnu.org>
2904 * simple.el (line-move-partial, line-move): Account for
2906 (line-move-partial): Avoid setting vscroll when the last
2907 partially-visible line in window is of default height.
2909 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
2911 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
2914 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
2916 * subr.el (read-quoted-char): Remove unused local variable `char'.
2918 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
2920 * ediff.el (ediff-version): Version update.
2921 (ediff-files-command, ediff3-files-command, ediff-merge-command)
2922 (ediff-merge-with-ancestor-command, ediff-directories-command)
2923 (ediff-directories3-command, ediff-merge-directories-command)
2924 (ediff-merge-directories-with-ancestor-command): New functions.
2925 All are command-line interfaces to ediff: to facilitate calling
2926 Emacs with the appropriate ediff functions invoked.
2928 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
2929 (viper-save-kill-buffer): Check if buffer is modified.
2931 * viper.el (viper-version): Version update.
2932 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
2934 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
2936 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
2937 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
2938 (viper-intercept-ESC-key): Simplify.
2939 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
2940 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
2941 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
2942 (viper-setup-ESC-to-escape): New functions.
2943 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
2944 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
2946 2013-07-07 Eli Zaretskii <eliz@gnu.org>
2948 * simple.el (default-font-height, window-screen-lines):
2950 (line-move, line-move-partial): Use them instead of
2951 frame-char-height and window-text-height. This makes scrolling
2952 text smoother when the buffer's default face uses a font that is
2953 different from the frame's default font.
2955 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
2957 * files.el (write-file): Do not display confirm dialog for NS,
2958 it does its own dialog, which can't be cancelled (Bug#14578).
2960 2013-07-06 Eli Zaretskii <eliz@gnu.org>
2962 * simple.el (line-move-partial): Adjust the row returned by
2963 posn-at-point for the current window-vscroll. (Bug#14567)
2965 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
2967 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
2968 (tramp-sh-file-inotifywait-process-filter): Handle file names with
2971 2013-07-06 Martin Rudalics <rudalics@gmx.at>
2973 * window.el (window-state-put-stale-windows): New variable.
2974 (window--state-put-2): Save list of windows without matching buffer.
2975 (window-state-put): Remove "bufferless" windows if possible.
2977 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
2979 * simple.el (alternatives-define): Remove leftover :group keyword.
2982 2013-07-06 Leo Liu <sdl.web@gmail.com>
2984 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
2985 (ido-enable-virtual-buffers): New variable.
2986 (ido-buffer-internal, ido-toggle-virtual-buffers)
2987 (ido-make-buffer-list): Use it.
2988 (ido-exhibit): Support turning on and off virtual buffers
2991 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
2993 * simple.el (alternatives-define): New macro.
2995 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
2997 * subr.el (read-quoted-char): Use read-key.
2998 (sit-for): Let read-event decode tty input (bug#14782).
3000 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
3002 * calendar/todo-mode.el: Add handling of file deletion, both by
3003 mode command and externally. Fix various related bugs.
3004 Clarify Commentary and improve some documentation strings and code.
3005 (todo-delete-file): New command.
3006 (todo-check-file): New function.
3007 (todo-show): Handle external deletion of the file we're trying to
3008 show (bug#14688). Replace called-interactively-p by an optional
3009 prefix argument to avoid problematic interaction with catch form
3010 when byte compiled (bug#14702).
3011 (todo-quit): Handle external deletion of the archive's todo file.
3012 Make sure the buffer that was visiting the archive file is still
3013 live before trying to bury it.
3014 (todo-category-completions): Handle external deletion of any
3015 category completion files.
3016 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
3017 of todo files, in case of external deletion.
3018 (todo-add-file): Replace unnecessary setq by let-binding.
3019 (todo-find-archive): Check whether there are any archives.
3020 Replace unnecessary setq by let-binding.
3021 (todo-archive-done-item): Use find-file-noselect to get the
3022 archive buffer whether or not the archive already exists.
3023 Remove superfluous code. Use file size instead of buffer-file-name to
3024 check if the archive is new; if it is, update list of archives.
3025 (todo-default-todo-file): Allow nil to be a valid value for when
3026 there are no todo files.
3027 (todo-reevaluate-default-file-defcustom): Use corrected definition
3028 of todo-default-todo-file.
3029 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
3030 (todo-delete-category, todo-show-categories-table)
3031 (todo-category-number): Clarify comment.
3032 (todo-filter-items): Clarify documentation string.
3033 (todo-show-current-file, todo-display-as-todo-file)
3034 (todo-reset-and-enable-done-separator): Tweak documentation string.
3035 (todo-done-separator): Make separator length window-width, since
3036 bug#2749 is now fixed.
3038 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
3040 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3041 Support both "gvfs-monitor-dir" and "inotifywait".
3042 (tramp-sh-file-inotifywait-process-filter): Rename from
3043 `tramp-sh-file-notify-process-filter'.
3044 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3045 (tramp-get-remote-gvfs-monitor-dir): New defuns.
3047 2013-07-05 Leo Liu <sdl.web@gmail.com>
3049 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
3051 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3053 * frame.el (display-pixel-height, display-pixel-width)
3054 (display-mm-height, display-mm-width): Mention behavior on
3055 multi-monitor setups in docstrings.
3056 (w32-display-monitor-attributes-list): Declare function.
3057 (display-monitor-attributes-list): Use it.
3059 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
3061 * filenotify.el: New package.
3063 * autorevert.el (top): Require filenotify.el.
3064 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
3066 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3067 (auto-revert-notify-handler): Use `file-notify-*' functions.
3069 * subr.el (file-notify-handle-event): Move function to filenotify.el.
3071 * net/tramp.el (tramp-file-name-for-operation):
3072 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
3074 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3075 for `file-notify-add-watch' and `file-notify-rm-watch'.
3076 (tramp-process-sentinel): Improve trace.
3077 (tramp-sh-handle-file-notify-add-watch)
3078 (tramp-sh-file-notify-process-filter)
3079 (tramp-sh-handle-file-notify-rm-watch)
3080 (tramp-get-remote-inotifywait): New defuns.
3082 2013-07-03 Juri Linkov <juri@jurta.org>
3084 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
3085 call of `occur-read-primary-args' to interactive spec.
3087 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
3088 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
3090 2013-07-03 Matthias Meulien <orontee@gmail.com>
3092 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
3093 `Buffer-menu-multi-occur'. Add it to the menu.
3094 (Buffer-menu-mode): Document it in docstring.
3095 (Buffer-menu-multi-occur): New command. (Bug#14673)
3097 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3099 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
3100 keywords and built-ins.
3102 2013-07-03 Glenn Morris <rgm@gnu.org>
3104 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
3106 Make info-xref checks case-sensitive by default
3107 * info.el (Info-find-node, Info-find-in-tag-table)
3108 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
3109 Add option for exact case matching of nodes.
3110 * info-xref.el (info-xref): New custom group.
3111 (info-xref-case-fold): New option.
3112 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
3114 2013-07-03 Leo Liu <sdl.web@gmail.com>
3116 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
3118 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
3120 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
3121 middle of block statement initially, lower the depth. Remove
3122 FIXME comment, not longer valid. Remove middle of block statement
3123 detection, no need to do that anymore since we've been using
3124 `ruby-parse-region' here.
3126 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
3128 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
3130 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
3132 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
3134 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
3136 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
3137 (desktop-restore-in-current-display): New customization option.
3138 (desktop--excluded-frame-parameters): Add `font'.
3139 (desktop--save-frames): Rename from desktop--save-windows.
3140 (desktop--restore-in-this-display-p): New function.
3141 (desktop--make-full-frame): Remove unwanted width/height from
3142 full(width|height) frames.
3143 (desktop--restore-frames): Rename from desktop--restore-windows.
3144 Obey desktop-restore-current-display. Do not delete old frames or
3145 select a new frame unless we were able to restore at least one frame.
3147 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
3149 * files.el (find-file-noselect): Simplify conditional expression.
3151 * remember.el (remember-append-to-file):
3152 Don't mix `find-buffer-visiting' and `get-file-buffer'.
3154 Add `remember-notes' function to store random notes across Emacs
3156 * remember.el (remember-data-file): Add :set callback to affect
3157 notes buffer (if any).
3158 (remember-notes): New command.
3159 (remember-notes-buffer-name, bury-remember-notes-on-kill):
3160 New defcustoms for the `remember-notes' function.
3161 (remember-notes-save-and-bury-buffer): New command.
3162 (remember-notes-mode-map): New variable.
3163 (remember-mode): New minor mode.
3164 (remember-notes--kill-buffer-query): New function.
3165 * startup.el (initial-buffer-choice): Add notes to custom type.
3167 2013-06-30 Eli Zaretskii <eliz@gnu.org>
3169 * bindings.el (right-char, left-char): Don't call sit-for, this is
3170 no longer needed. Use arithmetic comparison only for numerical
3173 * international/mule-cmds.el (select-safe-coding-system):
3174 Handle the case of FROM being a string correctly. (Bug#14755)
3176 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3178 * net/shr.el (shr-make-table-1): Add a sanity check that allows
3179 progression on degenerate tables.
3180 (shr-rescale-image): ImageMagick animated images currently don't work.
3182 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
3184 Some fixes and improvements for desktop frame restoration.
3185 It is still experimental and disabled by default.
3186 * desktop.el (desktop--save-windows): Put the selected frame at
3187 the head of the list.
3188 (desktop--make-full-frame): New function.
3189 (desktop--restore-windows): Try to re-select the frame that was
3190 selected upon saving. Do not abort if some frames fail to restore,
3191 just show an error message and continue. Set up maximized frames
3192 so they have default non-maximized dimensions.
3194 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
3196 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3197 Don't start heredoc inside a string or comment.
3199 2013-06-29 Eli Zaretskii <eliz@gnu.org>
3201 * bindings.el (visual-order-cursor-movement): New defcustom.
3202 (right-char, left-char): Provide visual-order cursor motion by
3203 calling move-point-visually. Update the doc strings.
3205 2013-06-28 Kenichi Handa <handa@gnu.org>
3207 * international/mule.el (define-coding-system): New coding system
3208 properties :inhibit-null-byte-detection,
3209 :inhibit-iso-escape-detection, and :prefer-utf-8.
3210 (set-buffer-file-coding-system): If :charset-list property of
3211 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
3212 appropriate for setting.
3214 * international/mule-cmds.el (select-safe-coding-system):
3215 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
3216 multibyte characters, return utf-8 (or one of its siblings).
3218 * international/mule-conf.el (prefer-utf-8): New coding system.
3219 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
3222 2013-06-28 Ivan Kanis <ivan@kanis.fr>
3224 * net/shr.el (shr-render-region): New function.
3226 * net/eww.el: Autoload `eww-browse-url'.
3228 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
3230 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3231 Adapt to `package-desc-version' being a list.
3232 Use `package--ac-desc-version' to retrieve version from a package
3235 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
3237 New experimental feature to save&restore window and frame setup.
3238 * desktop.el (desktop-save-windows): New defcustom.
3239 (desktop--saved-states): New var.
3240 (desktop--excluded-frame-parameters): New defconst.
3241 (desktop--filter-frame-parms, desktop--find-frame-in-display)
3242 (desktop--restore-windows, desktop--save-windows): New functions.
3243 (desktop-save): Call `desktop--save-windows'.
3244 (desktop-read): Call `desktop--restore-windows'.
3246 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
3248 * net/shr.el (add-face-text-property): Remove compat definition.
3250 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
3252 * info.el (Info-try-follow-nearest-node): Move search for footnote
3253 above search for node name to prevent missing a footnote (bug#14717).
3255 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
3257 * obsolete/otodo-mode.el: Add obsolescence info to file header.
3259 2013-06-27 Leo Liu <sdl.web@gmail.com>
3261 * net/eww.el (eww-read-bookmarks): Check file size.
3263 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3265 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
3266 advice--pending if newdef is nil or an autoload (bug#13820).
3267 (advice-mapc): New function.
3269 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
3271 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
3273 (eww-mode-map): Add a menu bar.
3274 (eww-add-bookmark): New command.
3275 (eww-bookmark-mode): New mode and commands.
3276 (eww-add-bookmark): Remove newlines from the title.
3277 (eww-bookmark-browse): Don't bug out if it's the only window.
3279 2013-06-26 Glenn Morris <rgm@gnu.org>
3281 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
3282 (hfy-size): Handle ttys. (Bug#14668)
3284 * info-xref.el: Update for Texinfo 5 change in *note format.
3285 (info-xref-node-re, info-xref-note-re): New constants.
3286 (info-xref-check-buffer): Use info-xref-note-re.
3288 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
3290 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
3292 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
3293 nil terminate the loop (bug#14718).
3295 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3297 * net/eww.el: Rework history traversal. When going forward/back,
3298 put these actions into the history, too, so that they can be
3300 (eww-render): Move the history reset to the correct buffer.
3302 2013-06-25 Juri Linkov <juri@jurta.org>
3304 * files-x.el (modify-dir-local-variable): Change the header comment
3305 in the file with directory local variables. (Bug#14692)
3307 * files-x.el (read-file-local-variable-value): Add `default'.
3310 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3312 * net/eww.el (eww-make-unique-file-name): Create a unique file
3313 name before saving to entering `y' accidentally asynchronously.
3315 2013-06-25 Ivan Kanis <ivan@kanis.fr>
3317 * net/eww.el (eww-download): New command and keystroke.
3319 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3321 * net/eww.el (eww-copy-page-url): Change name of command.
3323 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
3324 be more consistent with Info and dired.
3326 * net/eww.el (eww-mode-map): Ditto.
3328 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3330 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
3331 packages from archives.
3332 (package-archive-contents): Change format; include obsolete packages.
3333 (package-desc): Use `dir' to mark builtin packages.
3334 (package--from-builtin): Set the `dir' field to `builtin'.
3335 (generated-autoload-file, version-control): Declare.
3336 (package-compute-transaction): Change first arg and return value to be
3337 lists of package-descs. Adjust to new package-archive-contents format.
3338 (package--add-to-archive-contents): Adjust to new
3339 package-archive-contents format.
3340 (package-download-transaction): Arg is now a list of package-descs.
3341 (package-install): If `pkg' is a package name, pass it as
3342 a requirement, so it is subject to the usual (e.g. disabled) checks.
3343 (describe-package): Accept package-desc as well.
3344 (describe-package-1): Describe a specific package-desc. Add links to
3345 other package-descs for the same package name.
3346 (package-menu-describe-package): Pass the actual package-desc.
3347 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
3349 (package-desc-status): New function.
3350 (package-menu--refresh): New function, extracted
3351 from package-menu--generate.
3352 (package-menu--generate): Use it.
3353 (package-delete): Update package-alist.
3354 (package-menu-execute): Don't call package-initialize.
3356 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
3357 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
3358 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
3359 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
3360 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
3361 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
3363 2013-06-25 Martin Rudalics <rudalics@gmx.at>
3365 * window.el (window--state-get-1): Workaround for bug#14527.
3366 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
3368 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
3370 * net/eww.el (eww-back-url): Implement the history by stashing all
3371 the data into a list.
3372 (eww-forward-url): Allow going forward in the history, too.
3374 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
3376 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
3377 for values and use read--expression for expressions (bug#14710).
3378 (read-file-local-variable): Avoid setq.
3379 (read-file-local-variable-mode): Use minor-mode-list.
3381 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3383 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
3386 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3388 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
3389 Update imenu-support when dialect changes.
3391 2013-06-25 Leo Liu <sdl.web@gmail.com>
3393 * ido.el (ido-read-internal): Allow forward slash on windows.
3395 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3397 * net/eww.el (eww): Start of strings is \\`, not ^.
3399 2013-06-24 Ivan Kanis <ivan@kanis.fr>
3401 * net/shr.el (shr-browse-url): Fix interactive spec.
3403 * net/eww.el (eww): Add a trailing slash to domain names.
3405 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
3407 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
3409 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
3411 * net/shr.el (shr-browse-url): Use an external browser if given a
3414 * net/eww.el (eww-external-browser): Move to shr.
3416 2013-06-24 Ivan Kanis <ivan@kanis.fr>
3418 * net/eww.el (eww): Work more correctly for file: URLs.
3419 (eww-detect-charset): Allow quoted charsets.
3420 (eww-yank-page-url): New command and keystroke.
3422 2013-06-24 Daiki Ueno <ueno@gnu.org>
3424 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
3425 file name of gpg executable.
3426 (epg-context-program): New function.
3427 (epg-context-home-directory): New function.
3428 (epg-context-set-program): New function.
3429 (epg-context-set-home-directory): New function.
3430 (epg--start): Use `epg-context-program' instead of
3432 (epg--list-keys-1): Likewise.
3434 2013-06-24 Leo Liu <sdl.web@gmail.com>
3436 * ido.el (ido-read-internal): Fix bug#14620.
3438 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
3440 * faces.el (face-documentation): Simplify.
3441 (read-face-attribute, tty-find-type, x-resolve-font-name):
3442 Use `string-match-p'.
3443 (list-faces-display): Use `string-match-p'. Simplify.
3444 (face-spec-recalc): Check face to avoid face alias loops.
3445 (read-color): Use `string-match-p' and non-capturing parenthesis.
3447 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
3449 * net/shr.el (shr-rescale-image): Use the new
3450 :max-width/:max-height functionality.
3452 2013-06-23 Ivan Kanis <ivan@kanis.fr>
3454 * net/eww.el (eww-search-prefix): New variable.
3456 (eww-external-browser): New variable.
3457 (eww-mode-map): New keystroke.
3458 (eww-browse-with-external-browser): New command.
3460 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
3462 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
3464 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3465 Don't skip aligning the next header field when padding is 0;
3466 otherwise, field width is not respected unless the title is as
3469 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3471 * emacs-lisp/package.el (package-el-version): Remove.
3472 (package-process-define-package): Fix inf-loop.
3473 (package-install): Allow symbols as arguments again.
3475 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3477 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
3478 add some more keyword-like methods.
3479 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
3481 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
3483 * bs.el (bs-buffer-show-mark): Make defvar-local.
3484 (bs-mode): Use setq-local.
3486 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
3487 (emacs-lock--try-unlocking): Make defvar-local.
3489 2013-06-22 Glenn Morris <rgm@gnu.org>
3491 * play/cookie1.el (cookie-apropos): Minor simplification.
3493 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
3495 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
3497 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
3498 `regexp-opt', it breaks the build during dumping.
3500 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
3502 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3503 Highlight keyword-like methods on Kernel and Module with
3504 font-lock-builtin-face.
3505 (auto-mode-alist): Consolidate different entries into one regexp
3506 and add more *file-s.
3508 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
3510 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
3512 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
3513 (diary-entry): Use it in the action of this button type instead of
3516 * calendar/todo-mode.el: New version.
3517 (todo-add-category): Append new category to end of file and give
3518 it the highest number, instead of putting it at the beginning and
3519 giving it 0. Incorporate noninteractive functionality.
3520 (todo-forward-category): Adapt to 1-based category numbering.
3521 Allow skipping over archived categories.
3522 (todo-backward-category): Derive from todo-forward-category.
3523 (todo-backward-item, todo-forward-item): Make noninteractive and
3524 delegate interactive part to new commands. Make sensitive to done items.
3525 (todo-categories): Make value an alist of category names and
3526 vectors of item counts.
3527 (todo-category-beg): Make a defconst.
3528 (todo-category-number): Use 1 instead of 0 as initial value.
3529 (todo-category-select): Make sensitive to overlays, optional item
3530 highlighting and done items.
3531 (todo-delete-item): Make sensitive to overlays and marked and done items.
3532 (todo-edit-item): Make sensitive to overlays and editing of
3533 date/time header optional. Add format checks.
3534 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
3535 no-op if point is not on an item. Advertise using todo-edit-quit.
3536 (todo-edit-mode): Make sensitive to new format, font-locking, and
3537 multiple todo files.
3538 (todo-insert-item, todo-insert-item-here): Derive from
3539 todo-basic-insert-item and extend functionality.
3540 (todo-item-end, todo-item-start): Make sensitive to done items.
3541 (todo-item-string): Don't return text properties. Restore point.
3542 (todo-jump-to-category): Make sensitive to multiple todo files and
3543 todo archives. Use extended category completion.
3544 (todo-lower-item, todo-raise-item): Rename to *-priority and
3545 derive from todo-set-item-priority.
3546 (todo-mode): Derive from special-mode. Make sensitive to new
3547 format, font-locking and multiple todo files. Make read-only.
3548 (todo-mode-map): Don't suppress digit keys, so they can supply
3549 prefix arguments. Add many new key bindings.
3550 (todo-prefix): Insert as an overlay instead of file text.
3551 Change semantics from diary date expression to purely visual mark.
3552 (todo-print): Rename to todo-print-buffer. Make buffer display
3553 features printable. Remove option to restrict number of items
3554 printed. Add option to print to file.
3555 (todo-print-function): Rename to todo-print-buffer-function.
3556 (todo-quit): Extend to handle exiting new todo modes.
3557 (todo-remove-item): Make sensitive to overlays.
3558 (todo-save): Extend to buffers of filtered items.
3559 (todo-show): Make sensitive to done items, multiple todo files and
3560 new todo modes. Offer to convert legacy todo file before creating
3561 first new todo file.
3562 (todo-show-priorities): Rename to todo-top-priorities.
3563 Change semantics of value 0.
3564 (todo-top-priorities): Rename to todo-filter-top-priorities,
3565 derive from todo-filter-items and extend functionality.
3566 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
3567 and extend functionality to other types of filtered items.
3568 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
3569 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
3570 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
3571 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
3572 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
3573 (todo-edit-mode-hook, todo-entry-prefix-function)
3574 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
3575 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
3576 (todo-initials, todo-insert-threshold, todo-item-string-start)
3577 (todo-line-string, todo-menu, todo-mode-hook)
3578 (todo-more-important-p, todo-previous-answer, todo-previous-line)
3579 (todo-print-priorities, todo-remove-separator)
3580 (todo-save-top-priorities-too, todo-string-count-lines)
3581 (todo-string-multiline-p, todo-time-string-format)
3582 (todo-tmp-buffer-name): Remove.
3583 (todo-add-file, todo-archive-done-item, todo-choose-archive)
3584 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
3585 (todo-edit-category-diary-inclusion)
3586 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
3587 (todo-edit-file, todo-edit-item-date-day)
3588 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
3589 (todo-edit-item-date-month, todo-edit-item-date-to-today)
3590 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
3591 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
3592 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
3593 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
3594 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
3595 (todo-filter-top-priorities-multifile, todo-find-archive)
3596 (todo-find-filtered-items-file, todo-go-to-source-item)
3597 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
3598 (todo-jump-to-archive-category, todo-lower-category)
3599 (todo-mark-category, todo-marked-item-p, todo-merge-category)
3600 (todo-move-category, todo-move-item, todo-next-button)
3601 (todo-next-item, todo-padded-string, todo-powerset)
3602 (todo-previous-button, todo-previous-item)
3603 (todo-print-buffer-to-file, todo-raise-category)
3604 (todo-rename-category, todo-repair-categories-sexp, todo-search)
3605 (todo-set-category-number, todo-set-item-priority)
3606 (todo-set-top-priorities-in-category)
3607 (todo-set-top-priorities-in-file, todo-show-categories-table)
3608 (todo-sort-categories-alphabetically-or-numerically)
3609 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
3610 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
3611 (todo-toggle-item-header, todo-toggle-item-highlighting)
3612 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
3613 (todo-toggle-view-done-items, todo-toggle-view-done-only)
3614 (todo-unarchive-items, todo-unmark-category): New commands.
3615 (todo-absolute-file-name, todo-add-to-buffer-list)
3616 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
3617 (todo-basic-insert-item, todo-category-completions)
3618 (todo-category-number, todo-category-string-matcher-1)
3619 (todo-category-string-matcher-2, todo-check-filtered-items-file)
3620 (todo-check-format, todo-clear-matches)
3621 (todo-comment-string-matcher, todo-convert-legacy-date-time)
3622 (todo-current-category, todo-date-string-matcher)
3623 (todo-define-insertion-command, todo-diary-expired-matcher)
3624 (todo-diary-goto-entry, todo-diary-item-p)
3625 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
3626 (todo-display-categories, todo-display-sorted, todo-done-item-p)
3627 (todo-done-item-section-p, todo-done-separator)
3628 (todo-done-string-matcher, todo-files, todo-filter-items)
3629 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
3630 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
3631 (todo-insert-category-line, todo-insert-item-from-calendar)
3632 (todo-insert-sort-button, todo-insert-with-overlays)
3633 (todo-insertion-command-name, todo-insertion-key-bindings)
3634 (todo-label-to-key, todo-longest-category-name-length)
3635 (todo-make-categories-list, todo-mode-external-set)
3636 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
3637 (todo-modes-set-3, todo-multiple-filter-files)
3638 (todo-nondiary-marker-matcher, todo-prefix-overlays)
3639 (todo-read-category, todo-read-date, todo-read-dayname)
3640 (todo-read-file-name, todo-read-time)
3641 (todo-reevaluate-category-completions-files-defcustom)
3642 (todo-reevaluate-default-file-defcustom)
3643 (todo-reevaluate-filelist-defcustoms)
3644 (todo-reevaluate-filter-files-defcustom)
3645 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
3646 (todo-reset-done-separator, todo-reset-done-separator-string)
3647 (todo-reset-done-string, todo-reset-global-current-todo-file)
3648 (todo-reset-highlight-item, todo-reset-nondiary-marker)
3649 (todo-reset-prefix, todo-set-categories)
3650 (todo-set-date-from-calendar, todo-set-show-current-file)
3651 (todo-set-top-priorities, todo-short-file-name)
3652 (todo-show-current-file, todo-sort, todo-time-string-matcher)
3653 (todo-total-item-counts, todo-update-buffer-list)
3654 (todo-update-categories-display, todo-update-categories-sexp)
3655 (todo-update-count, todo-validate-name, todo-y-or-n-p):
3657 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
3659 (todo-categories, todo-display, todo-edit, todo-faces)
3660 (todo-filtered): New defgroups.
3661 (todo-archived-only, todo-button, todo-category-string, todo-date)
3662 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
3663 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
3664 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
3665 (todo-add-item-if-new-category, todo-always-add-time-string)
3666 (todo-categories-align, todo-categories-archived-label)
3667 (todo-categories-category-label, todo-categories-diary-label)
3668 (todo-categories-done-label, todo-categories-number-separator)
3669 (todo-categories-todo-label, todo-categories-totals-label)
3670 (todo-category-completions-files, todo-completion-ignore-case)
3671 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
3672 (todo-done-separator-string, todo-done-string)
3673 (todo-files-function, todo-filter-done-items, todo-filter-files)
3674 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
3675 (todo-initial-category, todo-initial-file, todo-item-mark)
3676 (todo-legacy-date-time-regexp, todo-mode-line-function)
3677 (todo-nondiary-marker, todo-number-prefix)
3678 (todo-print-buffer-function, todo-show-current-file)
3679 (todo-show-done-only, todo-show-first, todo-show-with-done)
3680 (todo-skip-archived-categories, todo-top-priorities-overrides)
3681 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
3682 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
3684 (todo-category-done, todo-date-pattern, todo-date-string-start)
3685 (todo-diary-items-buffer, todo-done-string-start)
3686 (todo-filtered-items-buffer, todo-item-start)
3687 (todo-month-abbrev-array, todo-month-name-array)
3688 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
3689 (todo-top-priorities-buffer): New defconsts.
3690 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
3691 (todo-categories-with-marks, todo-category-string-face)
3692 (todo-comment-face, todo-comment-string, todo-current-todo-file)
3693 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
3694 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
3695 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
3696 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
3697 (todo-font-lock-keywords, todo-global-current-todo-file)
3698 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
3699 (todo-insertion-commands-args)
3700 (todo-insertion-commands-args-genlist)
3701 (todo-insertion-commands-names, todo-insertion-map)
3702 (todo-key-bindings-t, todo-key-bindings-t+a)
3703 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
3704 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
3705 (todo-nondiary-face, todo-print-buffer, todo-time-face)
3706 (todo-visited): New variables.
3708 2013-06-21 Glenn Morris <rgm@gnu.org>
3710 * play/cookie1.el (cookie-apropos): Add optional display argument.
3711 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
3712 (psychoanalyze-pinhead): Use cookie-doctor.
3714 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3716 * emacs-lisp/package.el (tar-get-file-descriptor)
3717 (tar--extract): Declare.
3719 2013-06-21 Eduard Wiebe <usenet@pusto.de>
3721 Extend flymake's warning predicate to be a function (bug#14217).
3722 * progmodes/flymake.el (flymake-warning-predicate): New.
3723 (flymake-parse-line): Use it.
3724 (flymake-warning-re): Make obsolete alias to
3725 `flymake-warning-predicate'.
3727 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3729 * emacs-lisp/package.el (package-alist): Include obsolete packages.
3730 (package-obsolete-list): Remove.
3731 (package-activate): Remove min-version argument. Add `force' argument.
3732 Adjust to new package-alist format.
3733 (package-mark-obsolete): Remove.
3734 (package-unpack): Force reload of the package's autoloads.
3735 (package-installed-p): Check builtins if the installed package is not
3737 (package-initialize): Don't reset package-obsolete-list.
3738 Don't specify which package version to activate.
3739 (package-process-define-package, describe-package-1)
3740 (package-menu--generate): Adjust to new package-alist format.
3742 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3744 * allout-widgets.el (allout-widgets-mode-off)
3745 (allout-widgets-mode-on, allout-widgets-pre-command-business)
3746 (allout-widgets-post-command-business)
3747 (allout-widgets-after-copy-or-kill-function)
3748 (allout-widgets-after-undo-function, allout-test-range-overlaps)
3749 (allout-decorate-item-and-context)
3750 (allout-graphics-modification-handler): Fix typos in docstrings.
3751 (allout-get-or-create-parent-widget): Use `looking-at-p'.
3753 * cmuscheme.el (scheme-start-file): Doc fix.
3754 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
3755 (scheme-input-filter): Use `string-match-p'.
3757 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
3759 * dired-x.el: Use Dired consistently in docstrings.
3761 * dired.el: Use Dired consistently in docstrings.
3762 (dired-readin, dired-mode): Use `setq-local'.
3763 (dired-switches-alist): Make defvar-local.
3764 (dired-buffers-for-dir): Use `zerop'.
3765 (dired-safe-switches-p, dired-switches-escape-p)
3766 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
3767 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
3768 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
3769 (dired-goto-next-nontrivial-file): Use `string-match-p'.
3770 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
3771 (dired-toggle-marks, dired-mark-files-containing-regexp)
3772 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
3773 (dired-flag-auto-save-files, dired-flag-backup-files):
3775 (dired-mark-files-regexp, dired-build-subdir-alist):
3776 Use `string-match-p', `looking-at-p'.
3778 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
3779 (direct-print-region-helper): Use `string-match-p'.
3781 2013-06-21 Leo Liu <sdl.web@gmail.com>
3783 * comint.el (comint-redirect-results-list-from-process):
3786 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3788 * net/eww.el (eww-update-header-line-format): Quote % characters.
3790 2013-06-21 Glenn Morris <rgm@gnu.org>
3792 * play/cookie1.el (cookie): New custom group.
3793 (cookie-file): New option.
3794 (cookie-check-file): New function.
3795 (cookie): Make it interactive. Make start and end messages optional.
3796 Interactively, display the result. Default to cookie-file.
3797 (cookie-insert): Default to cookie-file.
3798 (cookie-snarf): Make start and end messages optional.
3799 Default to cookie-file. Use with-temp-buffer.
3800 (cookie-read): Rename from read-cookie.
3801 Make start and end messages optional. Default to cookie-file.
3802 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
3804 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
3805 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
3807 2013-06-21 Leo Liu <sdl.web@gmail.com>
3809 * progmodes/octave.el (octave-mode): Backward compatibility fix.
3811 2013-06-21 Glenn Morris <rgm@gnu.org>
3813 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
3815 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3816 Daniel Hackney <dan@haxney.org>
3818 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
3819 Consolidate the single-file vs tarball code.
3820 (package-desc-suffix): New function.
3821 (package-desc-full-name): Don't bother inlining it.
3822 (package-load-descriptor): Return the new package-desc.
3823 (package-mark-obsolete): Remove unused arg `package'.
3824 (package-unpack): Make it work for single files as well.
3825 Make it update package-alist.
3826 (package--make-autoloads-and-stuff): Rename from
3827 package--make-autoloads-and-compile. Don't compile any more.
3828 (package--compile): New function.
3829 (package-generate-description-file): New function, extracted from
3830 package-unpack-single.
3831 (package-unpack-single): Remove.
3832 (package--with-work-buffer): Add indentation and debugging info.
3833 (package-download-single): Remove.
3834 (package-install-from-archive): Rename from package-download-tar, make
3835 it take a pkg-desc, and make it work for single files as well.
3836 (package-download-transaction): Simplify.
3837 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
3838 external tar program.
3839 (package-install-from-buffer): Remove `pkg-desc' argument.
3840 Use package-tar-file-info for tar-mode buffers.
3841 (package-install-file): Simplify accordingly.
3842 (package-archive-base): Change to take a pkg-desc.
3843 * tar-mode.el (tar--check-descriptor): New function, extracted from
3845 (tar-get-descriptor): Use it.
3846 (tar-get-file-descriptor): New function.
3847 (tar--extract): New function, extracted from tar-extract.
3848 (tar--extract): Use it.
3849 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
3850 case the summary uses non-ascii. Adjust to new calling convention of
3851 package-tar-file-info.
3853 2013-06-21 Leo Liu <sdl.web@gmail.com>
3855 * comint.el (comint-redirect-results-list-from-process):
3856 Fix random delay. (Bug#14681)
3858 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
3860 * profiler.el (profiler-format-number): Use log, not log10.
3862 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3864 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
3866 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3868 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
3869 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
3871 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
3872 (AUTOGENEL): ... here.
3873 * emacs-lisp/cl-macs.el (cl--sublis): New function.
3874 (cl--defsubst-expand): Use it.
3876 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
3878 * subr.el (log10): Move here from C code, and declare as obsolete.
3879 All uses of (log10 X) replaced with (log X 10).
3881 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3883 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
3884 Declare with `defvar-local'.
3885 (tabulated-list-use-header-line, tabulated-list-entries)
3886 (tabulated-list-padding, tabulated-list-printer)
3887 (tabulated-list-sort-key): Declare with `defvar-local'.
3888 (tabulated-list-init-header, tabulated-list-print-fake-header):
3891 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
3893 * arc-mode.el (archive-mode): Add `archive-write-file' to
3894 `write-contents-functions' also for remote files. (Bug#14652)
3896 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
3898 * cus-edit.el (custom-commands): Fix typos.
3899 (custom-display): Fix tooltip text.
3900 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
3901 Fix typos in docstrings.
3902 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
3903 (custom-unlispify-menu-entry, custom-magic-value-create)
3904 (custom-add-see-also, custom-group-value-create): Use ?\s.
3905 (custom-guess-type, customize-apropos, editable-field)
3906 (custom-face-value-create): Use `string-match-p'.
3907 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
3909 * custom.el (custom-load-symbol): Use `string-match-p'.
3911 * ansi-color.el: Convert to lexical binding.
3912 (ansi-colors): Fix URL.
3913 (ansi-color-context, ansi-color-context-region): Use defvar-local.
3914 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
3915 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
3917 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3919 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
3921 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
3923 2013-06-19 Tom Tromey <tromey@redhat.com>
3925 * net/eww.el (eww-top-url): Remove.
3926 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
3927 (eww-render): Set new variables. Don't set eww-top-url.
3928 (eww-handle-link): Handle "prev", "home", and "contents".
3929 Downcase the rel text.
3930 (eww-top-url): Choose best top URL.
3932 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3934 * net/eww.el: Rewrite to implement form elements "by hand" instead of
3935 relying in widget.el. Using widget.el leads to too many
3936 user interface inconsistencies.
3937 (eww-self-insert): Implement entering commands in text fields.
3938 (eww-process-text-input): New function to make text input field editing
3940 (eww-submit): Rewrite to use the new-style form methods.
3941 (eww-select-display): Display the correct selected item.
3942 (eww-change-select): Implement changing the select value.
3943 (eww-toggle-checkbox): Implement radio/checkboxes.
3944 (eww-update-field): Fix compilation error.
3945 (eww-tag-textarea): Implement <textarea>.
3947 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
3948 we don't shadow mode-specific bindings.
3950 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
3953 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
3955 2013-06-19 Glenn Morris <rgm@gnu.org>
3957 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
3959 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
3961 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
3964 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
3966 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3968 * net/browse-url.el (browse-url-browser-function):
3969 `eww-browse-url' has the right calling signature, `eww' does not.
3971 2013-06-19 Glenn Morris <rgm@gnu.org>
3973 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
3974 Only eval autoloaded macros.
3975 (byte-compile-autoload): Only give the macro warning for macros.
3977 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
3978 (ps-underlined-faces): Declare.
3980 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
3981 (speedbar-add-supported-extension): Declare.
3983 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
3984 Don't include a date stamp in the header of the generated file;
3985 it leads to needless differences between output files.
3987 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
3989 * net/secrets.el (secrets-struct-secret-content-type):
3990 Replace check of introspection data by a test call of "CreateItem".
3991 Some servers do not offer introspection.
3993 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
3995 * electric.el (electric-pair-mode): Improve interaction with
3996 electric-layout-mode.
3997 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
3998 (electric-pair-syntax): Use text-mode-syntax-table in comments
4000 (electric-pair--insert): New function.
4001 (electric-pair-post-self-insert-function): Use it and
4002 electric--after-char-pos.
4004 2013-06-19 Leo Liu <sdl.web@gmail.com>
4006 * progmodes/octave.el (octave-help): Fix regexp.
4008 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
4010 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
4011 (shr-table-horizontal-line): Allow nil as a value, and change the
4013 (shr-insert-table-ruler): Respect the nil value.
4015 2013-06-18 Tom Tromey <tromey@barimba>
4017 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4019 (eww-open-file): New defun.
4020 (eww-render): Initialize new variables.
4021 (eww-display-html): Handle "link" and "a".
4022 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
4023 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
4024 (eww-back-url): Rename from eww-previous-url.
4025 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
4028 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
4030 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
4031 Distinguish ternary operator tokens from slash symbol and slash
4034 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4036 Convert symbol prettification into minor mode and global minor mode.
4038 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
4039 `prog-prettify-symbols', and make a local defvar instead of defcustom.
4040 (prettify-symbols--keywords): Rename from
4041 `prog-prettify-symbols-alist' and make a local defvar.
4042 (prettify-symbols--compose-symbol): Rename from
4043 `prog--prettify-font-lock-compose-symbol'.
4044 (prettify-symbols--make-keywords): Rename from
4045 `prog-prettify-font-lock-symbols-keywords' and simplify.
4046 (prog-prettify-install): Remove.
4047 (prettify-symbols-mode): New minor mode, based on
4048 `prog-prettify-install'.
4049 (turn-on-prettify-symbols-mode): New function.
4050 (global-prettify-symbols-mode): New globalized minor mode.
4052 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4053 * progmodes/cfengine.el (cfengine3-mode):
4054 * progmodes/perl-mode.el (perl-mode): Don't call
4055 `prog-prettify-install'; set `prettify-symbols-alist' instead.
4057 2013-06-18 Juri Linkov <juri@jurta.org>
4059 * files-x.el (modify-file-local-variable-message): New function.
4060 (modify-file-local-variable)
4061 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
4062 and call `modify-file-local-variable-message' when it's non-nil.
4063 (add-file-local-variable, delete-file-local-variable)
4064 (add-file-local-variable-prop-line)
4065 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
4066 and use it. (Bug#9820)
4068 2013-06-18 Juri Linkov <juri@jurta.org>
4070 * emulation/vi.el (vi-shell-op):
4071 * emulation/vip.el (vip-execute-com, ex-command):
4072 * emulation/viper-cmd.el (viper-exec-bang):
4073 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
4074 the call of `shell-command-on-region'. (Bug#14637)
4076 * simple.el (shell-command-on-region): Doc fix.
4078 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4080 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
4083 2013-06-18 Glenn Morris <rgm@gnu.org>
4085 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
4087 * newcomment.el (comment-search-forward, comment-search-backward):
4088 Doc fix. (Bug#14376)
4090 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
4092 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
4093 (buffer-face-mode-invoke): Doc fix.
4095 2013-06-18 Matthias Meulien <orontee@gmail.com>
4097 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
4098 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
4100 2013-06-18 Glenn Morris <rgm@gnu.org>
4102 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
4103 Replace obsolete function generic-make-keywords with its expansion.
4105 * progmodes/python.el (ffap-alist): Declare.
4107 * textmodes/reftex.el (bibtex-mode-map): Declare.
4109 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
4111 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
4112 (package-unpack, package-unpack-single): Return the pkg-dir.
4113 (package-download-transaction): Use it to update package-alist.
4115 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4117 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
4120 2013-06-17 Juri Linkov <juri@jurta.org>
4122 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
4124 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4126 * emacs-lisp/package.el (package-load-descriptor):
4127 Remove `with-syntax-table' call, `read' doesn't need it.
4128 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
4130 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4132 * startup.el (command-line): Expand package name returned by
4133 `package--description-file' (bug#14639).
4135 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
4137 * emacs-lisp/package.el (package-load-descriptor): Do not call
4138 `emacs-lisp-mode', just use its syntax table.
4140 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
4142 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
4143 `font-lock-extra-managed-props' if any prettifying keyword is added.
4144 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
4145 (prog-mode): Use `setq-local'.
4147 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4149 * international/characters.el (standard-case-table): Set syntax of ?»
4150 and ?« to punctuation.
4152 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
4154 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
4155 Save relevant match data before calling `syntax-ppss' (bug#14595).
4157 2013-06-15 Juri Linkov <juri@jurta.org>
4159 * files-x.el (modify-file-local-variable-prop-line): Add local
4160 variables to the end of the existing comment on the first line.
4161 Use `file-auto-mode-skip' to skip interpreter magic line,
4162 and also skip XML declaration.
4164 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4166 * startup.el (package--builtin-versions): New var.
4167 (package-subdirectory-regexp): Remove.
4168 (package--description-file): Hard code its value instead.
4170 * emacs-lisp/package.el: Don't activate packages older than builtin.
4171 (package-obsolete-list): Rename from package-obsolete-alist, and make
4172 it into a simple list of package-desc.
4173 (package-strip-version): Remove.
4174 (package-built-in-p): Use package--builtin-versions.
4175 (package-mark-obsolete): Simplify.
4176 (package-process-define-package): Mark it obsolete if older than the
4178 (package-handle-response): Use line-end-position.
4179 (package-read-archive-contents, package--download-one-archive):
4181 (package--add-to-archive-contents): Skip if older than the builtin or
4183 (package-menu-describe-package): Fix last change.
4184 (package-list-unversioned): New var.
4185 (package-menu--generate): Use it.
4187 * emacs-lisp/autoload.el: Manage package--builtin-versions.
4188 (autoload--insert-text, autoload--insert-cookie-text): New functions.
4189 (autoload-builtin-package-versions): New variable.
4190 (autoload-generate-file-autoloads): Use them.
4191 Remove the list of autoloaded functions/macros from the
4192 (autoload...) comments.
4194 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
4196 2013-06-15 Eli Zaretskii <eliz@gnu.org>
4198 * simple.el (line-move-partial): Don't jump to the next screen
4199 line as soon as it becomes visible. Instead, continue enlarging
4200 the vscroll until the portion of a tall screen line that's left on
4201 display is about the height of the frame's default font.
4204 2013-06-15 Glenn Morris <rgm@gnu.org>
4206 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
4207 compilation-error-regexp-alist void, or local while let-bound.
4209 * progmodes/make-mode.el (makefile-mode-syntax-table):
4210 Treat "=" as punctuation. (Bug#14614)
4212 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
4214 * help-fns.el (describe-variable):
4215 Add extra line for permanent-local variables.
4217 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
4219 * progmodes/scheme.el (scheme-font-lock-keywords-2):
4220 Add export, import, library. (Bug#9164)
4221 (library): Set indent function.
4223 2013-06-14 Glenn Morris <rgm@gnu.org>
4225 * term/xterm.el (xterm--query):
4226 Stop after first matching handler. (Bug#14615)
4228 2013-06-14 Ivan Kanis <ivan@kanis.fr>
4230 Add support for dired in saveplace.
4231 * dired.el (dired-initial-position-hook): New variable.
4232 (dired-initial-position): Call hook to place cursor position.
4233 * saveplace.el (save-place-to-alist): Add dired position.
4234 (save-place-dired-hook): New function.
4236 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
4238 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
4239 through a symbol rather than letrec.
4241 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
4242 (package-desc): Add `dir' field.
4243 (package-desc-full-name): New function.
4244 (package-load-descriptor): Combine the two arguments. Don't use `load'.
4245 (package-maybe-load-descriptor): Remove.
4246 (package-load-all-descriptors): Just call package-load-descriptor.
4247 (package--disabled-p): New function.
4248 (package-desc-vers, package-desc-doc): Remove aliases.
4249 (package--dir): Remove function.
4250 (package-activate): Check if a package is disabled.
4251 (package-process-define-package): New function, extracted from
4253 (define-package): Turn into a place holder.
4254 (package-unpack-single, package-tar-file-info):
4255 Use package--description-file.
4256 (package-compute-transaction): Use package--disabled-p.
4257 (package-download-transaction): Don't call
4258 package-maybe-load-descriptor since they're all loaded anyway.
4259 (package-install): Change argument to be a pkg-desc.
4260 (package-delete): Use a single pkg-desc argument.
4261 (describe-package-1): Use package-desc-dir instead of package--dir.
4262 Use package-desc property instead of package-symbol.
4263 (package-install-button-action): Adjust accordingly.
4264 (package--push): Rewrite.
4265 (package-menu--print-info): Adjust accordingly. Change the ID format
4267 (package-menu-describe-package, package-menu-get-status)
4268 (package-menu--find-upgrades, package-menu-mark-upgrades)
4269 (package-menu-execute, package-menu--name-predicate):
4271 * startup.el (package--description-file): New function.
4272 (command-line): Use it.
4273 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4274 Use package-desc-version.
4276 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
4277 (byte-compile-preprocess): Use it.
4278 (byte-compile-file-form-defalias): Try a bit harder to use macros we
4279 can't quite recognize.
4280 (byte-compile-add-to-list): Remove.
4281 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
4282 (cconv-closure-convert): Add assertion.
4284 * emacs-lisp/map-ynp.el: Use lexical-binding.
4285 (map-y-or-n-p): Remove unused vars `tail' and `object'.
4286 Factor out some repeated code.
4288 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4290 * subr.el (with-eval-after-load): New macro.
4291 (eval-after-load): Allow form to be a function.
4292 take advantage of lexical-binding.
4293 (do-after-load-evaluation): Use dolist and adjust to new format.
4294 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
4296 2013-06-13 Juri Linkov <juri@jurta.org>
4298 * replace.el (perform-replace): Display "symbol " and other search
4299 modes from `isearch-message-prefix' in the *Help* buffer.
4301 * isearch.el (isearch-query-replace): Add " symbol" and other
4302 possible search modes from `isearch-message-prefix' to the prompt.
4303 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
4304 when reading a regexp to collect.
4306 2013-06-13 Juri Linkov <juri@jurta.org>
4308 * isearch.el (word-search-regexp): Match whitespace if the search
4309 string begins or ends in whitespace. The LAX arg is applied to
4310 both ends of the search string. Use `regexp-quote' and explicit
4311 \< and \> instead of \b. Use \` and \' instead of ^ and $.
4312 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
4313 boundaries are replaced with symbol boundaries, and characters
4314 between symbols match non-word non-symbol syntax. (Bug#14602)
4316 2013-06-13 Juri Linkov <juri@jurta.org>
4318 * isearch.el (isearch-del-char): Don't exceed the length of
4319 `isearch-string' by the prefix arg. (Bug#14563)
4321 2013-06-13 Juri Linkov <juri@jurta.org>
4323 * isearch.el (isearch-yank-word, isearch-yank-line)
4324 (isearch-char-by-name, isearch-quote-char)
4325 (isearch-printing-char, isearch-process-search-char):
4326 Add optional count prefix arg. (Bug#14563)
4328 * international/isearch-x.el
4329 (isearch-process-search-multibyte-characters):
4330 Add optional count prefix arg.
4332 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
4334 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
4335 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
4338 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
4340 * subr.el (set-temporary-overlay-map): Add on-exit argument.
4342 2013-06-13 Glenn Morris <rgm@gnu.org>
4344 * startup.el (tty-handle-args):
4345 Don't just discard "--" and anything after. (Bug#14608)
4347 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
4349 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
4351 Implement changes in Secret Service API. Make it backward compatible.
4352 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
4353 (secrets-create-item): Use it. Prefix properties with interface.
4355 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
4357 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
4358 (term-emulate-terminal): Respect term-suppress-hard-newline.
4360 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
4362 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
4363 Only remove a `thumb-file' overlay. (Bug#14548)
4365 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
4367 * mail/reporter.el (reporter-submit-bug-report):
4368 Handle missing package-name. (Bug#14600)
4370 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4372 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
4373 (reftex-citation-prompt, reftex-default-bibliography)
4374 (reftex-bib-or-thebib, reftex-get-bibfile-list)
4375 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
4376 (reftex-bib-sort-author, reftex-bib-sort-year)
4377 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
4378 (reftex-extract-bib-entries-from-thebibliography)
4379 (reftex-get-bibkey-default, reftex-get-bib-names)
4380 (reftex-parse-bibtex-entry, reftex-get-bib-field)
4381 (reftex-format-bib-entry, reftex-parse-bibitem)
4382 (reftex-format-bibitem, reftex-do-citation)
4383 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
4384 (reftex-restrict-bib-matches, reftex-extract-bib-file)
4385 (reftex-insert-bib-matches, reftex-format-citation)
4386 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
4387 (reftex-create-bibtex-file): Add docstrings, mostly by converting
4388 existing comments into docstrings.
4390 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4392 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
4394 2013-06-12 Andreas Schwab <schwab@suse.de>
4396 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
4397 for auto-save files.
4399 2013-06-12 Glenn Morris <rgm@gnu.org>
4401 * ido.el (ido-delete-ignored-files): Remove.
4402 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
4403 Go back to calling ido-ignore-item-p directly.
4405 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
4407 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
4409 * ido.el (ido-delete-ignored-files): New function,
4410 split from ido-make-file-list-1.
4411 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
4412 (ido-make-file-list-1): Use ido-delete-ignored-files.
4414 2013-06-12 Leo Liu <sdl.web@gmail.com>
4416 * progmodes/octave.el (inferior-octave-startup)
4417 (inferior-octave-completion-table)
4418 (inferior-octave-track-window-width-change)
4419 (octave-eldoc-function-signatures, octave-help)
4420 (octave-find-definition): Use single quoted strings.
4421 (inferior-octave-startup-args): Change default value.
4422 (inferior-octave-startup): Do not hard code "-i" and
4423 "--no-line-editing".
4424 (inferior-octave-resync-dirs): Add optional arg NOERROR.
4425 (inferior-octave-directory-tracker): Use it.
4426 (octave-goto-function-definition): Robustify.
4427 (octave-help): Support highlighting operators in 'See also'.
4428 (octave-find-definition): Find subfunctions only in Octave mode.
4430 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4432 * help-fns.el (help-fns--compiler-macro): If the handler function is
4433 named, then put a link to it.
4434 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
4435 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
4437 (cl-eval-when): Simplify debug spec.
4438 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
4439 compiler-macro function instead of setting `compiler-macro-file'.
4441 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
4443 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
4444 * vc/vc-hooks.el (vc-stay-local): Doc fix.
4446 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
4447 Daniel Hackney <dan@haxney.org>
4449 First part of Daniel Hackney's patch to package.el.
4450 * emacs-lisp/package.el: Use defstruct.
4451 (package-desc): New, main struct.
4452 (package--bi-desc, package--ac-desc): New structs, used to describe the
4453 format in external files.
4454 (package-desc-vers): Replace with package-desc-version accessor.
4455 (package-desc-doc): Replace with package-desc-summary accessor.
4456 (package-activate-1): Remove `package' arg since the pkg-vec now
4458 (define-package): Use package-desc-from-define.
4459 (package-unpack-single): Change file-name arg to be a symbol.
4460 (package--add-to-archive-contents): Use package-desc-create and new
4461 accessor functions to package--ac-desc.
4462 (package-buffer-info, package-tar-file-info): Return a package-desc.
4463 (package-install-from-buffer): Remove `type' argument. Change pkg-info
4464 arg to be a package-desc.
4465 (package-install-file): Adjust accordingly. Use \' to match EOS.
4466 (package--from-builtin): New function.
4467 (describe-package-1, package-menu--generate): Use it.
4468 (package--make-autoloads-and-compile): Change name arg to be a symbol.
4469 (package-generate-autoloads): Idem and return the name of the file.
4470 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4471 Change pkg-info arg to be a package-desc.
4472 Use package-make-ac-desc.
4473 (package-upload-file): Use \' to match EOS.
4474 * finder.el (finder-compile-keywords): Use package-make-builtin.
4476 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4478 * vc/vc.el (vc-deduce-fileset): Change error message.
4479 (vc-read-backend): New function.
4480 (vc-next-action): Use it.
4482 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
4484 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
4485 (prolog-font-lock-keywords): Use regexp-opt instead.
4486 Don't manually highlight strings.
4487 (prolog-mode-variables): Simplify comment-start-skip.
4488 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
4490 * emacs-lisp/generic.el (generic--normalise-comments)
4491 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
4492 (generic-mode-set-comments): Use them.
4493 (generic-bracket-support): Use setq-local.
4494 (generic-make-keywords-list): Declare obsolete.
4496 2013-06-11 Glenn Morris <rgm@gnu.org>
4498 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4499 Prettify after setting font-lock-defaults. (Bug#14574)
4501 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
4503 * replace.el (query-replace, occur-read-regexp-defaults-function)
4505 * subr.el (declare-function, number-sequence, local-set-key)
4506 (substitute-key-definition, locate-user-emacs-file)
4507 (with-silent-modifications, split-string, eval-after-load):
4508 Fix typos, remove unneeded backslashes and reflow some docstrings.
4510 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
4512 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
4513 default for Elisp files.
4515 2013-06-11 Glenn Morris <rgm@gnu.org>
4517 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
4518 although define-derived-mode was doing this anyway. (Bug#14583)
4520 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
4522 * allout.el (allout-encryption-plaintext-sanitization-regexps):
4523 Fix make-variable-buffer-local call to refer to the correct variable.
4525 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
4527 * eshell/em-term.el (eshell-visual-commands)
4528 (eshell-visual-subcommands, eshell-visual-options):
4529 Add summary line to docstrings. Add cross-references.
4531 2013-06-10 Glenn Morris <rgm@gnu.org>
4533 * epa.el (epa-read-file-name): New function. (Bug#14510)
4534 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
4536 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
4538 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
4539 output redirection to be ignored with visual commands.
4541 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
4543 * eshell/em-term.el (eshell-visual-command-p): New function.
4544 (eshell-term-initialize): Move long lambda to separate function
4545 eshell-visual-command-p.
4546 * eshell/em-dirs.el (eshell-dirs-initialise):
4547 * eshell/em-script.el (eshell-script-initialize):
4548 Add missing #' to lambda.
4550 2013-06-08 Leo Liu <sdl.web@gmail.com>
4552 * progmodes/octave.el (octave-add-log-current-defun): New function.
4553 (octave-mode): Set add-log-current-defun-function.
4554 (octave-goto-function-definition): Do not move point if not found.
4555 (octave-find-definition): Enhance to try subfunctions first.
4557 2013-06-08 Glenn Morris <rgm@gnu.org>
4559 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4560 (byte-compile-backward-char, byte-compile-backward-word):
4561 Improve previous change, to handle non-explicit nil.
4563 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4565 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
4566 (smie--opener/closer-at-point): New function.
4567 (smie--matching-block-data): Use it. Don't match from right after an
4568 opener or right before a closer. Obey smie-blink-matching-inners.
4569 Don't signal a mismatch for repeated inners like "switch..case..case".
4571 2013-06-07 Leo Liu <sdl.web@gmail.com>
4573 * progmodes/octave.el (octave-mode): Set comment-use-global-state
4575 (octave-function-header-regexp): Fix. (Bug#14570)
4576 (octave-help-mode-finish-hook, octave-help-mode-finish):
4577 Remove. Just use temp-buffer-show-hook.
4579 * newcomment.el (comment-search-backward): Revert last change.
4582 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
4584 2013-06-07 Eli Zaretskii <eliz@gnu.org>
4586 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
4587 through xargs, to avoid failure due to MS-Windows limitations on
4588 command-line length.
4590 2013-06-06 Glenn Morris <rgm@gnu.org>
4592 * font-lock.el (lisp-font-lock-keywords-2):
4593 Treat user-error like error.
4595 * emacs-lisp/bytecomp.el (byte-compile-char-before)
4596 (byte-compile-backward-char, byte-compile-backward-word):
4597 Handle explicit nil arguments. (Bug#14565)
4599 2013-06-05 Alan Mackenzie <acm@muc.de>
4601 * isearch.el (isearch-allow-prefix): New user option.
4602 (isearch-other-meta-char): Don't exit isearch when a prefix
4603 argument is typed whilst `isearch-allow-prefix' is non-nil.
4606 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4608 * autorevert.el (auto-revert-notify-handler): Use memq.
4609 Hide assertion failure.
4611 * skeleton.el: Use cl-lib.
4612 (skeleton-further-elements): Use defvar-local.
4613 (skeleton-insert): Use cl-progv.
4615 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4617 * progmodes/prog-mode.el (prog-prettify-symbols)
4618 (prog-prettify-install): Update docstrings.
4620 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4622 * simple.el: Move all the prog-mode code to prog-mode.el.
4623 * progmodes/prog-mode.el: New file.
4624 * loadup.el: Add prog-mode.el.
4626 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4628 * simple.el (prog-prettify-symbols): Add version.
4629 (prog-prettify-install): Add convenience function to prettify symbols.
4631 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
4632 (perl--augmented-font-lock-keywords-1)
4633 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
4634 variables and use it.
4636 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4637 (cfengine3-mode): Remove unneeded variable and use it.
4639 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4640 (lisp--augmented-font-lock-keywords-1)
4641 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
4642 Remove unneeded variables and use it.
4644 2013-06-05 João Távora <joaotavora@gmail.com>
4646 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
4647 to point when opening the connection. (Bug#14380)
4649 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4651 * subr.el (load-history-regexp, load-history-filename-element)
4652 (eval-after-load, after-load-functions, do-after-load-evaluation)
4653 (eval-next-after-load, display-delayed-warnings)
4654 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
4655 definition of save-match-data.
4656 (overriding-local-map): Remove accidental obsolescence declaration.
4658 * emacs-lisp/edebug.el (edebug-result): Move before first use.
4660 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
4662 Generalize symbol prettify support to prog-mode and implement it
4663 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
4664 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
4665 (prog--prettify-font-lock-compose-symbol)
4666 (prog-prettify-font-lock-symbols-keywords): New variables and
4667 functions to support symbol prettification.
4668 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
4669 (lisp--augmented-font-lock-keywords-1)
4670 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
4671 (lisp--prettify-symbols-alist): Implement prettify of lambda.
4672 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
4673 (cfengine3--prettify-symbols-alist, cfengine3-mode):
4674 Implement prettify of -> => :: strings.
4675 * progmodes/perl-mode.el (perl-prettify-symbols)
4676 (perl--font-lock-compose-symbol)
4677 (perl--font-lock-symbols-keywords): Move to prog-mode.
4678 (perl--prettify-symbols-alist): Prettify -> => :: strings.
4679 (perl-font-lock-keywords-1)
4680 (perl-font-lock-keywords-2): Remove explicit prettify support.
4681 (perl--augmented-font-lock-keywords)
4682 (perl--augmented-font-lock-keywords-1)
4683 (perl--augmented-font-lock-keywords-2, perl-mode):
4684 Implement prettify support.
4686 2013-06-05 Leo Liu <sdl.web@gmail.com>
4688 Re-implement smie matching block highlight using
4689 show-paren-data-function. (Bug#14395)
4690 * emacs-lisp/smie.el (smie-matching-block-highlight)
4691 (smie--highlight-matching-block-overlay)
4692 (smie--highlight-matching-block-lastpos)
4693 (smie-highlight-matching-block)
4694 (smie-highlight-matching-block-mode): Remove.
4695 (smie--matching-block-data-cache): New variable.
4696 (smie--matching-block-data): New function.
4697 (smie-setup): Use smie--matching-block-data for
4698 show-paren-data-function.
4700 * progmodes/octave.el (octave-mode-menu): Fix.
4701 (octave-find-definition): Skip garbage lines.
4703 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4705 Fix compilation error with simultaneous dynamic+lexical scoping.
4706 Add warning when a defvar appears after the first let-binding.
4707 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
4708 (byte-compile-close-variables): Initialize it.
4709 (byte-compile--declare-var): New function.
4710 (byte-compile-file-form-defvar)
4711 (byte-compile-file-form-define-abbrev-table)
4712 (byte-compile-file-form-custom-declare-variable): Use it.
4713 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
4714 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
4715 (byte-compile-bind): Handle dynamic bindings that shadow
4717 (byte-compile-unbind): Make arg non-optional.
4718 (byte-compile-let): Simplify.
4719 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
4720 (cconv--analyse-function, cconv-analyse-form): Populate it.
4721 Protect byte-compile-bound-variables to limit the scope of defvars.
4722 (cconv-analyse-form): Add missing rule for (defvar <foo>).
4723 Remove unneeded rule for `declare'.
4725 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
4726 so as to avoid depending on cl-adjoin at run-time.
4727 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
4729 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
4730 (macroexp--warn-and-return): Use it.
4732 2013-06-05 Leo Liu <sdl.web@gmail.com>
4734 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
4736 2013-06-04 Leo Liu <sdl.web@gmail.com>
4738 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
4739 (compilation-auto-jump): Suppress the "Mark set" message to give
4740 way to exit message.
4742 2013-06-04 Alan Mackenzie <acm@muc.de>
4744 Remove faulty optimisation from indentation calculation.
4745 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
4746 search limit based on 2000 characters back from indent-point.
4748 2013-06-03 Tassilo Horn <tsdh@gnu.org>
4750 * eshell/em-term.el (cl-lib): Require `cl-lib'.
4752 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
4754 * emacs-lisp/lisp.el: Use lexical-binding.
4755 (lisp--local-variables-1, lisp--local-variables): New functions.
4756 (lisp--local-variables-completion-table): New var.
4757 (lisp-completion-at-point): Use it complete let-bound vars.
4759 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
4760 eagerly (bug#14422).
4762 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
4764 * autorevert.el (auto-revert-notify-enabled)
4765 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4766 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
4767 (auto-revert-notify-handler): Handle also gfilenotify.
4769 * subr.el (file-notify-handle-event): New defun. Replacing ...
4770 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
4773 2013-06-03 Juri Linkov <juri@jurta.org>
4775 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
4776 `M-s h .'. (Bug#14427)
4778 * hi-lock.el (highlight-symbol-at-point): New alias for the new
4779 command `hi-lock-face-symbol-at-point'.
4780 (hi-lock-face-symbol-at-point): New command.
4781 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
4782 (hi-lock-menu): Add `highlight-symbol-at-point'.
4783 (hi-lock-mode): Doc fix.
4785 * isearch.el (isearch-forward-symbol-at-point): New command.
4786 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
4787 (isearch-highlight-regexp): Add a regexp which matches
4788 words/symbols for word/symbol mode.
4790 * subr.el (find-tag-default-bounds): New function with the body
4791 mostly moved from `find-tag-default'.
4792 (find-tag-default): Move most code to `find-tag-default-bounds',
4793 call it and apply `buffer-substring-no-properties' afterwards.
4795 2013-06-03 Tassilo Horn <tsdh@gnu.org>
4797 * eshell/em-term.el (eshell-term-initialize):
4798 Use `cl-intersection' rather than `intersection'.
4800 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
4802 * vc/log-view.el: Doc fix.
4803 (log-view-mode-map): Copy keymap from `special-mode-map'.
4805 2013-06-02 Eric Ludlam <zappo@gnu.org>
4807 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
4808 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
4809 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
4810 (eieio-unbound, eieio-default-superclass)
4811 (eieio--define-field-accessors, method-static, method-before)
4812 (method-primary, method-after, method-num-lists)
4813 (method-generic-before, method-generic-primary)
4814 (method-generic-after, method-num-slots)
4815 (eieio-specialized-key-to-generic-key)
4816 (eieio--check-type, class-v, class-p)
4817 (eieio-class-name, define-obsolete-function-alias)
4818 (eieio-class-parents-fast, eieio-class-children-fast)
4819 (same-class-fast-p, class-constructor, generic-p)
4820 (generic-primary-only-p, generic-primary-only-one-p)
4821 (class-option-assoc, class-option, eieio-object-p)
4822 (class-abstract-p, class-method-invocation-order)
4823 (eieio-defclass-autoload-map, eieio-defclass-autoload)
4824 (eieio-class-un-autoload, eieio-defclass)
4825 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
4826 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
4827 (eieio--defgeneric-init-form, eieio-defgeneric-form)
4828 (eieio-defgeneric-reset-generic-form)
4829 (eieio-defgeneric-form-primary-only)
4830 (eieio-defgeneric-reset-generic-form-primary-only)
4831 (eieio-defgeneric-form-primary-only-one)
4832 (eieio-defgeneric-reset-generic-form-primary-only-one)
4833 (eieio-unbind-method-implementations)
4834 (eieio--defmethod, eieio--typep)
4835 (eieio-perform-slot-validation, eieio-validate-slot-value)
4836 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
4837 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
4838 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
4839 (eieio-slot-name-index, eieio-class-slot-name-index)
4840 (eieio-set-defaults, eieio-initarg-to-attribute)
4841 (eieio-attribute-to-initarg, eieio-c3-candidate)
4842 (eieio-c3-merge-lists, eieio-class-precedence-c3)
4843 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
4844 (eieio-class-precedence-list, eieio-generic-call-methodname)
4845 (eieio-generic-call-arglst, eieio-generic-call-key)
4846 (eieio-generic-call-next-method-list)
4847 (eieio-pre-method-execution-functions, eieio-generic-call)
4848 (eieio-generic-call-primary-only, eieiomt-method-list)
4849 (eieiomt-optimizing-obarray, eieiomt-install)
4850 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
4851 (eieio-generic-form, eieio-defmethod, make-obsolete)
4852 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
4853 (defclass): Remove `eval-and-compile' from macro.
4854 (call-next-method, shared-initialize): Instead of using
4855 `scoped-class' variable, use new eieio--scoped-class, and
4856 eieio--with-scoped-class.
4857 (initialize-instance): Rename local variable 'scoped-class' to
4858 'this-class' to remove ambiguitity from old global.
4860 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
4862 (eieio--scoped-class-stack): New variable.
4863 (eieio--scoped-class): New fcn.
4864 (eieio--with-scoped-class): New scoping macro.
4865 (eieio-defclass): Use pushnew instead of add-to-list.
4866 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
4867 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
4868 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
4869 `scoped-class' variable, use new eieio--scoped-class, and
4870 eieio--with-scoped-class.
4872 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
4874 2013-06-02 Tassilo Horn <tsdh@gnu.org>
4876 * eshell/esh-ext.el (eshell-external-command): Pass args to
4877 `eshell-find-interpreter'.
4878 (eshell-find-interpreter): Add new second parameter ARGS.
4880 * eshell/em-script.el (eshell-script-initialize): Add second arg
4881 to the function added as MATCH to `eshell-interpreter-alist'.
4883 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
4884 the function added as MATCH to `eshell-interpreter-alist'.
4886 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
4887 (eshell-visual-options): New defcustom.
4888 (eshell-escape-control-x): Adapt docstring.
4889 (eshell-term-initialize): Test `eshell-visual-subcommands' and
4890 `eshell-visual-options' in addition to `eshell-visual-commands'.
4891 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
4893 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
4895 * progmodes/python.el (python-indent-block-enders): Add break,
4896 continue and raise keywords.
4898 2013-06-01 Glenn Morris <rgm@gnu.org>
4900 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
4902 Plain (f)boundp silences compilation warnings since Emacs 22.1.
4903 * progmodes/cc-cmds.el (delete-forward-p):
4904 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
4905 * progmodes/cc-engine.el (buffer-syntactic-context):
4906 * progmodes/cc-fonts.el (face-property-instance):
4907 * progmodes/cc-mode.el (set-keymap-parents):
4908 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
4909 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
4910 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
4911 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
4912 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
4914 * progmodes/cc-vars.el (other): Emacs has this widget since
4915 at least 21.1, so don't (re)define it.
4917 * eshell/em-cmpl.el (eshell-cmpl-initialize):
4918 Replace the obsolete alias pcomplete-arg-quote-list.
4920 2013-06-01 Leo Liu <sdl.web@gmail.com>
4922 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
4924 (inferior-octave-minimal-columns)
4925 (inferior-octave-last-column-width): New variables.
4926 (inferior-octave-track-window-width-change): New function.
4927 (inferior-octave-mode): Adjust column width so that Octave output,
4928 for example from 'ls', can fit into the window nicely.
4930 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4932 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4933 Highlight expansions inside regexp literals.
4935 2013-05-31 Glenn Morris <rgm@gnu.org>
4937 * obsolete/sym-comp.el (symbol-complete):
4938 Replace obsolete completion-annotate-function.
4940 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
4942 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
4944 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
4945 New function, checks if point is inside a literal that allows
4946 expression expansion.
4947 (ruby-syntax-propertize-expansion): Use it.
4948 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
4951 2013-05-30 Juri Linkov <juri@jurta.org>
4953 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
4955 (isearch-invisible): New variable.
4956 (isearch-forward): Doc fix.
4957 (isearch-mode): Set `isearch-invisible'
4958 to the value of `search-invisible'.
4959 (isearch-toggle-case-fold): Doc fix.
4960 (isearch-toggle-invisible): New command.
4961 (isearch-query-replace): Let-bind `search-invisible'
4962 to the value of `isearch-invisible'.
4963 (isearch-search): Use `isearch-invisible' instead of
4964 `search-invisible'. Let-bind `search-invisible'
4965 to the value of `isearch-invisible'. (Bug#11378)
4967 2013-05-30 Juri Linkov <juri@jurta.org>
4969 * replace.el (perform-replace): Avoid `isearch-range-invisible'
4970 call when `query-flag' is nil and `search-invisible' is non-nil.
4973 2013-05-30 Glenn Morris <rgm@gnu.org>
4975 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
4977 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
4978 (cc-require): Suppress spurious "noruntime" warnings.
4979 (cc-require-when-compile): Use fboundp, for sake of compiler.
4981 * progmodes/cc-mode.el: Move load of cc-vars before that of
4982 cc-langs (which in turn loads cc-vars), to quieten compiler.
4984 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4986 * paren.el: Simplify the code.
4987 (show-paren-mode): Always start the timer.
4988 (show-paren--idle-timer): Rename from show-paren-idle-timer.
4989 (show-paren--overlay, show-paren--overlay-1): Rename from
4990 show-paren-overlay and show-paren-overlay-1, and initialize to an
4991 overlay rather than to nil.
4992 (show-paren-function): Misc cleanup and simplifications.
4994 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4996 * paren.el (show-paren-data-function): New hook.
4997 (show-paren--default): New function, extracted from show-paren-function.
4998 (show-paren-function): Use show-paren-data-function.
5000 2013-05-30 Glenn Morris <rgm@gnu.org>
5002 * ielm.el (ielm-map, ielm-complete-symbol):
5003 Use completion-at-point rather than obsolete functions.
5004 (inferior-emacs-lisp-mode): Doc fix.
5005 Set completion-at-point-functions, rather than
5006 comint-dynamic-complete-functions.
5008 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
5009 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
5010 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
5012 * image.el (image-animated-p): Tweak definition.
5014 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
5015 (rlogin-process-connection-type): Tweak default. Add set-after.
5016 (rlogin-host): Doc fix.
5017 (rlogin): Tweak prompt.
5018 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
5020 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
5021 * progmodes/tcl.el (inferior-tcl-mode-map):
5022 Use completion-at-point rather than obsolete alias.
5024 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
5026 * minibuffer.el (read-file-name-completion-ignore-case):
5027 Move before completion--in-region, for eager macro expansion.
5029 2013-05-29 Juri Linkov <juri@jurta.org>
5031 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
5032 for total count of matching lines. Add `global-matches' for total
5033 count of matches. Rename `matches' to `lines' for count of
5034 matching lines. Add `matches' for count of matches.
5035 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
5036 to `prev-line' for line number of prev match endpt.
5037 Increment `matches' for every match. Print the number of
5038 matching lines in the header.
5039 (occur-context-lines): Rename `lines' to `curr-line'.
5040 Rename `prev-lines' to `prev-line'. (Bug#14017)
5042 2013-05-29 Juri Linkov <juri@jurta.org>
5044 * replace.el (perform-replace): Add `skip-read-only-count',
5045 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
5046 Increment them for corresponding conditions and report the number
5047 of skipped occurrences in the final message. (Bug#11746)
5048 (query-replace, query-replace-regexp, query-replace-regexp-eval)
5049 (replace-string, replace-regexp): Doc fix.
5051 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
5053 * emacs-lisp/trace.el (trace--read-args): Provide a default.
5055 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
5056 prog-mode-map (bug#14504).
5058 2013-05-29 Leo Liu <sdl.web@gmail.com>
5060 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
5061 (octave-help): Small simplification.
5063 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
5064 off the highlight first.
5066 2013-05-29 Glenn Morris <rgm@gnu.org>
5068 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
5069 Handle idlwave-last-system-routine-info-cons-cell being nil.
5071 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
5072 (idlwave-write-paths): Simplify via with-temp-buffer.
5074 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
5075 * emulation/cua-rect.el: Also load cua-base at run time.
5077 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
5078 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
5079 (cperl-imenu-on-info): Require imenu.
5081 2013-05-28 Alan Mackenzie <acm@muc.de>
5083 Handle "capitalised keywords" correctly.
5084 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
5086 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
5088 * eshell/em-unix.el: Add -r option to cp.
5090 2013-05-28 Glenn Morris <rgm@gnu.org>
5092 * vc/vc-arch.el (vc-exec-after): Declare.
5093 (vc-switches): Autoload.
5094 * vc/vc-bzr.el: No need to require vc when compiling.
5095 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
5096 (vc-resynch-buffer, vc-dir-refresh): Declare.
5097 (vc-setup-buffer, vc-switches): Autoload.
5098 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
5099 (vc-resynch-buffer): Declare.
5100 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
5101 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
5102 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
5103 (grep-read-regexp, grep-read-files, grep-expand-template)
5104 (vc-dir-refresh): Declare.
5105 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
5106 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
5107 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
5108 * vc/vc-mtn.el (vc-exec-after): Declare.
5109 (vc-switches): Autoload.
5110 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
5111 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
5112 (vc-file-tree-walk): Declare.
5113 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
5114 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
5115 (vc-tag-precondition, vc-rename-master): Autoload.
5116 * vc/vc-svn.el (vc-exec-after): Declare.
5117 (vc-switches, vc-setup-buffer): Autoload.
5118 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
5120 (vc-resynch-buffer): Declare.
5122 * obsolete/fast-lock.el (byte-compile-warnings):
5123 Don't warn about obsolete features in this obsolete file.
5125 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
5126 Move definition before use.
5128 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
5129 (dun-unix-verbs): Remove dun-zippy.
5130 (dun-zippy): Remove function.
5132 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
5134 2013-05-27 Juri Linkov <juri@jurta.org>
5136 * replace.el (replace-search): New function with code moved out
5137 from `perform-replace'.
5138 (replace-highlight, replace-dehighlight): Move function definitions
5139 up closer to `replace-search'. (Bug#11746)
5141 2013-05-27 Juri Linkov <juri@jurta.org>
5143 * replace.el (perform-replace): Ignore invisible matches.
5144 In addition to checking `query-replace-skip-read-only', also
5145 filter out matches by calling `run-hook-with-args-until-failure'
5146 on `isearch-filter-predicates', and also check `search-invisible'
5147 for t or call `isearch-range-invisible'.
5148 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
5150 2013-05-27 Juri Linkov <juri@jurta.org>
5152 * isearch.el (isearch-filter-predicates): Rename from
5153 `isearch-filter-predicate'. Doc fix. (Bug#11378)
5154 (isearch-message-prefix): Display text from the property
5155 `isearch-message-prefix' of the currently active filters.
5156 (isearch-search): Don't compare `isearch-filter-predicate' with
5157 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
5158 on `isearch-filter-predicates'. Also check `search-invisible' for t
5159 or call `isearch-range-invisible'.
5160 (isearch-filter-visible): Make obsolete.
5161 (isearch-lazy-highlight-search):
5162 Call `run-hook-with-args-until-failure' on
5163 `isearch-filter-predicates' and use `isearch-range-invisible'.
5165 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
5166 `isearch-filter-predicates' instead of `funcall'ing
5167 `isearch-filter-predicate'.
5168 (Info-mode): Set `Info-isearch-filter' to
5169 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
5171 * dired-aux.el (dired-isearch-filter-predicate-orig):
5173 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
5174 (dired-isearch-filenames-end): Add and remove
5175 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
5176 instead of changing the value of `isearch-filter-predicate'.
5177 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
5178 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
5179 Put property `isearch-message-prefix' to "filename " on
5180 `dired-isearch-filter-filenames'.
5182 * wdired.el (wdired-change-to-wdired-mode):
5183 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
5184 locally instead of changing `isearch-filter-predicate'.
5185 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
5187 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
5189 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
5190 return the commit hash (Bug#14459). Also set the
5191 `vc-git-detached' property.
5192 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
5193 (vc-git-mode-line-string): Use the same help-echo format whether
5194 in detached mode or not, because we know the actual revision now.
5195 When in detached mode, shorten the revision to 7 chars.
5197 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5199 * emacs-lisp/easy-mmode.el (define-minor-mode):
5200 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
5201 mode hook and provide a docstring.
5203 2013-05-27 Alan Mackenzie <acm@muc.de>
5205 Remove spurious syntax-table text properties inserted by C-y.
5206 * progmodes/cc-mode.el (c-after-change): Also clear hard
5207 syntax-table property with value nil.
5209 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
5211 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
5212 when reading the events; the buffer layout shall not be changed.
5214 2013-05-27 Leo Liu <sdl.web@gmail.com>
5216 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
5218 (inferior-octave-directory-tracker): Automatically re-sync
5220 (octave-help): Improve handling of 'See also'.
5222 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
5224 * doc-view.el: Minor naming convention tweaks.
5225 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
5227 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
5228 even if there's no `display' property yet (bug#14435).
5230 2013-05-25 Eli Zaretskii <eliz@gnu.org>
5232 * subr.el (unmsys--file-name): Rename from reveal-filename.
5234 * Makefile.in (custom-deps, finder-data, autoloads)
5235 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5236 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5237 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
5239 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5241 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
5242 error-completion on the first 2 args of condition-case (bug#14446).
5245 2013-05-25 Leo Liu <sdl.web@gmail.com>
5247 * comint.el (comint-previous-matching-input): Do not flood the
5248 *Messages* buffer with trivial messages.
5250 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
5252 * progmodes/flymake.el (flymake-nop): Don't return a string.
5253 (flymake-set-at): Fix typo.
5255 * simple.el (read--expression): New function, extracted from
5256 eval-expression. Set completion-at-point-functions (bug#14465).
5257 (eval-expression, eval-minibuffer): Use it.
5259 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
5261 * progmodes/flymake.el (flymake-save-buffer-in-file)
5262 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
5263 (flymake-selected-frame, flymake-log, flymake-ins-after)
5264 (flymake-set-at, flymake-get-buildfile-from-cache)
5265 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
5266 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
5267 Refine the doc string.
5268 (flymake-get-file-name-mode-and-masks): Reformat.
5269 (flymake-get-real-file-name-function): Fix a minor bug.
5271 2013-05-24 Juri Linkov <juri@jurta.org>
5273 * progmodes/grep.el (grep-mode-font-lock-keywords):
5274 Support =linenumber= format used by git-grep for lines with
5275 function names. (Bug#13549)
5277 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5279 * progmodes/octave.el (octave-smie-rules): Return nil rather than
5280 0 after a semi-colon; it works better for smie-auto-fill.
5281 (octave--indent-new-comment-line): New function.
5282 (octave-indent-new-comment-line): Use it (indirectly).
5283 (octave-mode): Don't disable smie-auto-fill. Use add-function to
5284 modify comment-line-break-function.
5286 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
5287 (smie-setup): Use add-function to set it.
5289 2013-05-24 Sam Steingold <sds@gnu.org>
5291 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
5292 argument (before the `interactive' argument).
5294 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5296 * image-mode.el (image-mode-winprops): Add winprops to
5297 image-mode-winprops-alist before running
5298 image-mode-new-window-functions.
5299 * doc-view.el (doc-view-new-window-function): Don't delay
5300 doc-view-goto-page via timers (bug#14435).
5302 2013-05-24 Tassilo Horn <tsdh@gnu.org>
5304 * doc-view.el: Integrate with desktop.el. (Bug#14435)
5305 (doc-view-desktop-save-buffer): New function.
5306 (doc-view-restore-desktop-buffer): New function.
5307 (desktop-buffer-mode-handlers):
5308 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
5310 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
5311 `desktop-save-buffer' function.
5313 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
5315 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
5316 (tramp-gvfs-file-name-handler): Raise a user error when
5317 `tramp-gvfs-enabled' is nil.
5318 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
5319 Do not raise a user error when loading package. (Bug#14447)
5321 * net/xesam.el: Move to obsolete/.
5323 2013-05-24 Glenn Morris <rgm@gnu.org>
5325 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
5327 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
5329 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
5330 (Info-find-node, Man-getpage-in-background): Declare.
5332 * mail/unrmail.el (unrmail):
5333 Replace obsolete detect-coding-with-priority.
5335 * net/socks.el (socks-split-string): Use this rather than split-string.
5336 (socks-nslookup-host): Update for above change.
5337 (dynamic-choice, s5-dynamic-choice-match)
5338 (s5-dynamic-choice-match-inline, s5-widget-value-create):
5339 Comment out unused code.
5341 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
5342 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
5343 (gud-tooltip-echo-area): Make obsolete.
5344 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
5346 * progmodes/js.el (js--optimize-arglist): Declare.
5348 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
5350 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
5351 (ediff-window-C): Declare.
5353 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
5354 Tweak requires to silence compiler.
5356 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
5357 (he-search-string, he-tried-table, he-expand-list)
5358 (he-init-string, he-string-member, he-substitute-string)
5359 (he-reset-string): Declare.
5361 * obsolete/options.el (list-options): Use custom-variable-p,
5362 rather than obsolete alias.
5364 2013-05-23 Sam Steingold <sds@gnu.org>
5366 * simple.el (shell-command-on-region): Pass the `replace' argument
5367 down to `call-process-region' to comply with the doc as reported on
5368 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
5370 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5372 * emacs-lisp/smie.el (smie-indent-forward-token)
5373 (smie-indent-backward-token): Handle string tokens (bug#14381).
5375 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5377 * ielm.el (ielm-menu): New menu.
5378 (inferior-emacs-lisp-mode): Set comment-start.
5380 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5382 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
5383 Fix deactivate action.
5385 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
5386 Add cleveref macros.
5388 * lisp/textmodes/reftex-parse.el
5389 (reftex-locate-bibliography-files): Accept options for
5390 bibliography commands.
5391 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
5392 Add addbibresource. Basic Biblatex support.
5394 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
5396 * net/tramp-gvfs.el (top):
5397 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
5398 when loading package. (Bug#14447)
5400 2013-05-23 Glenn Morris <rgm@gnu.org>
5402 * progmodes/js.el: No need to load comint when compiling.
5403 (ring-insert, comint-send-string, comint-send-input)
5404 (comint-last-input-end, ido-chop): Declare.
5406 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
5407 * vc/ediff-mult.el: Adjust requires.
5408 (ediff-directories-internal, ediff-directory-revisions-internal)
5409 (ediff-patch-file-internal): Declare.
5410 * vc/ediff-ptch.el: Adjust requires.
5411 (ediff-use-last-dir, ediff-buffers-internal): Declare.
5412 (ediff-find-file): Autoload.
5413 * vc/ediff-util.el: No need to load ediff when compiling.
5414 (ediff-regions-internal): Declare.
5415 * vc/ediff-wind.el: Adjust requires.
5416 (ediff-compute-toolbar-width): Define when compiling.
5417 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
5418 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
5419 (dired-get-filename, dired-get-marked-files)
5420 (ediff-last-dir-patch, ediff-patch-default-directory)
5421 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
5422 (ediff-patch-buffer-internal): Declare.
5424 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
5425 (ispell-process, ispell-buffer-local-words, lm-summary)
5426 (lm-section-start, lm-section-end): Declare.
5427 (checkdoc-ispell-init): Simplify.
5429 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
5430 (he-string-member, he-reset-string, he-substitute-string): Declare.
5432 * eshell/em-ls.el: Adjust requires.
5433 (eshell-glob-regexp): Declare.
5434 * eshell/em-tramp.el: Adjust requires.
5435 (eshell-parse-command): Autoload.
5436 * eshell/em-xtra.el: Adjust requires.
5437 (eshell-parse-command): Autoload.
5438 * eshell/esh-ext.el: Adjust requires.
5439 (eshell-parse-command, eshell-close-handles): Autoload.
5440 * eshell/esh-io.el: Adjust requires.
5441 (eshell-output-filter): Autoload.
5442 * eshell/esh-util.el: No need to load tramp when compiling.
5443 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
5445 (eshell-parse-ange-ls): Require ange-ftp and tramp.
5446 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5447 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
5448 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
5449 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
5450 * eshell/esh-opt.el, eshell/esh-proc.el:
5451 * eshell/esh-var.el: Adjust requires.
5452 * eshell/eshell.el: Do not require esh-util twice.
5453 (eshell-add-input-to-history): Declare.
5454 (eshell-command): Check history module is active before using it.
5456 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
5458 2013-05-22 Leo Liu <sdl.web@gmail.com>
5460 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
5462 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
5464 * autorevert.el (auto-revert-notify-add-watch)
5465 (auto-revert-notify-handler): Add `attrib' for the inotify case,
5466 it indicates changes in file modification time.
5468 2013-05-22 Glenn Morris <rgm@gnu.org>
5470 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5471 Always delete the autoloaded function from the noruntime and
5472 unresolved functions lists.
5474 * allout.el: No need to load epa, epg, overlay when compiling.
5475 (epg-context-set-passphrase-callback, epg-list-keys)
5476 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
5477 (epg-key-user-id-list): Declare.
5479 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5480 (viper-set-parsing-style-toggling-macro)
5481 (viper-set-emacs-state-searchstyle-macros):
5482 Use called-interactively-p on Emacs.
5483 (viper-looking-back): Make it an obsolete alias. Update callers.
5484 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
5485 Use looking-back rather than viper-looking-back.
5486 (viper-tmp-insert-at-eob, viper-enlarge-region)
5487 (viper-read-string-with-history, viper-register-to-point)
5488 (viper-append-to-register, viper-change-state-to-vi)
5489 (viper-backward-char-carefully, viper-forward-char-carefully)
5490 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
5491 (viper-change-state-to-emacs): Declare.
5492 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
5493 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
5494 * emulation/viper-mous.el: Do not load viper-cmd.
5495 (viper-backward-char-carefully, viper-forward-char-carefully)
5496 (viper-forward-word, viper-adjust-window): Declare.
5498 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
5500 * progmodes/idlw-help.el (idlwave-help-fontify):
5501 Use called-interactively-p.
5503 * term/w32console.el (w32-get-console-codepage)
5504 (w32-get-console-output-codepage): Declare.
5506 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
5507 Remove unnecessary declarations.
5508 (dframe-message): Doc fix.
5510 * info.el (dframe-select-attached-frame, dframe-current-frame):
5513 * speedbar.el (speedbar-message): Make it an obsolete alias.
5515 (speedbar-with-attached-buffer)
5516 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
5517 (speedbar-with-writable): Use backquote.
5518 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
5519 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
5520 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
5521 rather than speedbar- aliases.
5522 * mail/rmail.el: Load dframe rather than speedbar when compiling.
5523 (speedbar-make-specialized-keymap, speedbar-insert-button)
5524 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
5525 (speedbar-do-function-pointer): Declare.
5526 (rmail-speedbar-button, rmail-speedbar-find-file)
5527 (rmail-speedbar-move-message):
5528 Use dframe-with-attached-buffer rather than speedbar- alias.
5529 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
5530 (dframe-message, speedbar-make-specialized-keymap)
5531 (speedbar-add-expansion-list, speedbar-mode-functions-list)
5532 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
5533 (speedbar-insert-button, dframe-select-attached-frame)
5534 (dframe-maybee-jump-to-attached-frame)
5535 (speedbar-change-initial-expansion-list)
5536 (speedbar-previously-used-expansion-list-name): Declare.
5537 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
5538 Use dframe-message, dframe-with-attached-buffer rather than
5540 (gud-sentinel): Silence compiler.
5541 * progmodes/vhdl-mode.el (speedbar-refresh)
5542 (speedbar-do-function-pointer, speedbar-add-supported-extension)
5543 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
5544 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
5545 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
5546 (speedbar-file-lists, speedbar-make-tag-line)
5547 (speedbar-line-directory, speedbar-goto-this-file)
5548 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
5549 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
5550 (speedbar-make-button, speedbar-reset-scanners)
5551 (speedbar-files-item-info, speedbar-line-text)
5552 (speedbar-find-file-in-frame, speedbar-set-timer)
5553 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
5554 (speedbar-with-writable): Do not (re)define it.
5555 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
5556 rather than speedbar- alias.
5558 2013-05-21 Leo Liu <sdl.web@gmail.com>
5560 * progmodes/octave.el (octave-mode-menu): Update and re-organize
5562 (octave-mode): Tweak fill-nobreak-predicate.
5563 (inferior-octave-startup): Check process to avoid infinite loop.
5564 (inferior-octave): Pop to buffer first to show abornmal process
5567 2013-05-21 Glenn Morris <rgm@gnu.org>
5569 * printing.el (pr-menu-bar): Define when compiling.
5571 2013-05-21 Leo Liu <sdl.web@gmail.com>
5573 * progmodes/octave.el (octave-auto-fill): Remove.
5574 (octave-indent-new-comment-line): Improve.
5575 (octave-mode): Use auto fill mode through
5576 comment-line-break-function and fill-nobreak-predicate.
5577 (octave-goto-function-definition): Support DEFUN_DLD.
5578 (octave-beginning-of-defun): Small tweak.
5579 (octave-help): Show parent directory.
5581 2013-05-21 Glenn Morris <rgm@gnu.org>
5583 * files.el (dired-unmark):
5584 * progmodes/gud.el (gdb-input): Update declarations.
5586 * calculator.el (electric, ehelp): No need to load when compiling.
5587 (Electric-command-loop, electric-describe-mode): Declare.
5589 * doc-view.el (doc-view-current-converter-processes): Move before use.
5591 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5592 Move MODE-set-explicitly definition before use.
5594 * international/mule-diag.el (mule-diag):
5595 Don't use obsolete window-system-version.
5597 * mail/feedmail.el (smtpmail): No need to load when compiling.
5598 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
5600 * mail/mail-utils.el (rfc822): No need to load when compiling.
5601 (rfc822-addresses): Autoload it.
5602 (mail-strip-quoted-names): Trivial simplification.
5604 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
5605 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
5607 * net/snmp-mode.el (tempo): Don't duplicate requires.
5609 * progmodes/prolog.el (info): No need to load when compiling.
5610 (comint): Require before shell requires it.
5611 (Info-goto-node): Autoload it.
5612 (Info-follow-nearest-node): Declare.
5613 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
5615 * textmodes/artist.el (picture-mode-exit): Declare.
5617 * textmodes/reftex-parse.el (reftex-parse-from-file):
5618 Trivial rewrite so the compiler can parse it better.
5620 2013-05-20 Leo Liu <sdl.web@gmail.com>
5622 * progmodes/octave.el (octave-help-mode-map)
5623 (octave-help-mode-finish-hook): New variables.
5624 (octave-help-mode, octave-help-mode-finish): New functions.
5625 (octave-help): Use octave-help-mode.
5627 2013-05-20 Glenn Morris <rgm@gnu.org>
5629 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
5631 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
5633 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
5634 start at point, so that expansion starting right after opening
5635 slash in a regexp is recognized.
5636 (ruby-syntax-before-regexp-re): New defvar, extracted from
5637 ruby-syntax-propertize-function. Since the value of this regexp
5638 is looked up at runtime now, we should be able to turn
5639 `ruby-syntax-methods-before-regexp' into a defcustom later.
5640 (ruby-syntax-propertize-function): Split regexp matching into two
5641 parts, for opening and closing slashes. That allows us to skip
5642 over string interpolations and support multiline regexps.
5643 Don't call `ruby-syntax-propertize-expansions', instead use another rule
5644 for them, which calls `ruby-syntax-propertize-expansion'.
5645 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
5646 call to `ruby-syntax-propertize-function'.
5647 (ruby-syntax-propertize-expansion): Extracted from
5648 `ruby-syntax-propertize-expansions'. Handles one expansion.
5649 (ruby-syntax-propertize-percent-literal): Leave point right after
5650 the percent symbol, so that the expression expansion rule can
5651 propertize the contents.
5652 (ruby-syntax-propertize-heredoc): Leave point at bol following the
5654 (ruby-syntax-propertize-expansions): Remove.
5656 2013-05-18 Juri Linkov <juri@jurta.org>
5658 * man.el (Man-default-man-entry): Remove `-' from the end
5659 of the default value. (Bug#14400)
5661 2013-05-18 Glenn Morris <rgm@gnu.org>
5663 * comint.el (comint-password-prompt-regexp):
5664 Allow "password for XXX" where XXX contains colons (eg https://...).
5666 2013-05-18 Leo Liu <sdl.web@gmail.com>
5668 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
5669 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5670 (octave-source-directories): Don't check process.
5671 (octave-source-directories, octave-find-definition): Doc fix.
5673 2013-05-18 Glenn Morris <rgm@gnu.org>
5675 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
5676 Remove backspace/delete bindings. (Bug#14392)
5678 * cus-dep.el (custom-make-dependencies): Sort the output.
5679 (custom-versions-load-alist): Convert comment to doc.
5681 2013-05-17 Leo Liu <sdl.web@gmail.com>
5683 * newcomment.el (comment-search-backward): Stricter in finding
5684 comment start. (Bug#14303)
5686 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
5687 (octave-comment-start-skip): Properly anchored.
5689 2013-05-17 Leo Liu <sdl.web@gmail.com>
5691 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
5692 Clean up when turned off. (Bug#14395)
5693 (smie--highlight-matching-block-overlay): No longer buffer-local.
5694 (smie-highlight-matching-block): Adjust.
5696 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
5698 Doc string fix for "nanoseconds" (Bug#14406).
5699 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
5700 Fix doc string typo that had "nanoseconds" instead of "microseconds".
5702 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
5704 * calc/calc-units.el (math-extract-units): Preserve powers
5707 2013-05-17 Leo Liu <sdl.web@gmail.com>
5709 * subr.el (delete-consecutive-dups): New function.
5710 * ido.el (ido-set-matches-1): Use it.
5711 * progmodes/octave.el (inferior-octave-completion-table): Use it.
5712 * ido.el (ido-remove-consecutive-dups): Remove.
5714 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5716 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
5717 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
5718 regexp-opt's `words'.
5720 2013-05-16 Leo Liu <sdl.web@gmail.com>
5722 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
5723 (smie--highlight-matching-block-overlay)
5724 (smie--highlight-matching-block-lastpos)
5725 (smie--highlight-matching-block-timer): New variables.
5726 (smie-highlight-matching-block): New function.
5727 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
5728 (smie-setup): Conditionally enable smie-blink-matching-open.
5730 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
5732 Sync with upstream verilog-mode r840.
5733 * progmodes/verilog-mode.el (verilog-mode-version)
5734 (verilog-mode-release-date): Update.
5735 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
5736 (verilog-sig-tieoff): Fix string error on
5737 AUTORESET with colon define, bug594. Reported by Andrew Hou.
5738 (verilog-read-decls): Fix parameters confusing
5739 AUTOINST interfaces, bug565. Reported by Leith Johnson.
5741 2013-05-16 Eli Zaretskii <eliz@gnu.org>
5743 * subr.el (reveal-filename): New function.
5745 * loadup.el: Compute Emacs executable versions on MS-Windows,
5746 where executables have the .exe extension. Add a hard link
5747 emacs-XX.YY.ZZ.exe on MS-Windows.
5749 * Makefile.in (XARGS_LIMIT): New variable.
5750 (custom-deps, finder-data, autoloads)
5751 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
5752 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
5753 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
5754 (compile-main): Limit xargs according to $(XARGS_LIMIT).
5756 2013-05-16 Leo Liu <sdl.web@gmail.com>
5758 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
5759 (octave-mode-menu, octave-mode-map): Remove its uses.
5761 2013-05-16 Reto Zimmermann <reto@gnu.org>
5763 Sync with upstream vhdl mode v3.34.2.
5764 * progmodes/vhdl-mode.el: Use `push' throughout.
5765 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
5766 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
5767 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
5768 (vhdl-actual-generic-name): New option to derive actual generic name.
5769 (vhdl-port-paste-signals): Replace formal by actual generics.
5770 (vhdl-beautify): New name for old group vhdl-align. Update users.
5771 (vhdl-beautify-options): New option.
5772 (vhdl-last-input-event): New compat alias. Use throughout.
5773 (vhdl-goto-line): Replace user level function `goto-line'.
5774 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
5775 vhdl-fix-statement-buffer.
5776 (vhdl-create-mode-menu): Add some entries.
5777 (vhdl-align-region-groups): Respect vhdl-beautify-options.
5778 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
5779 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
5780 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
5781 to force statements on one line.
5782 (vhdl-remove-trailing-spaces-region):
5783 New, split from vhdl-remove-trailing-spaces.
5784 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
5785 Respect vhdl-beautify-options.
5786 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
5787 (vhdl-update-sensitivity-list): Not add with index if exists without.
5788 Not include array index with signal. Ignore keywords in comments.
5789 (vhdl-get-visible-signals): Regexp tweaks.
5790 (vhdl-template-component-inst): Handle empty library.
5791 (vhdl-template-type): Add template for 'enum' type.
5792 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
5793 Use vhdl-replace-string.
5794 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
5795 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
5796 (vhdl-speedbar-initialize): Update for above name change.
5797 (vhdl-compose-wire-components): Fix in handling of constants.
5798 (vhdl-error-regexp-emacs-alist): New variable.
5799 (vhdl-error-regexp-add-emacs): New function;
5800 adds support for new compile.el (Emacs 22+)
5801 (vhdl-generate-makefile-1): Change target order for single lib. units.
5802 Allow use of absolute file names.
5804 2013-05-16 Leo Liu <sdl.web@gmail.com>
5806 * simple.el (prog-indent-sexp): Indent enclosing defun.
5808 2013-05-15 Glenn Morris <rgm@gnu.org>
5810 * cus-start.el (show-trailing-whitespace): Move to editing basics.
5811 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
5812 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
5813 (whitespace-highlight): Move to whitespace group.
5815 * comint.el (comint-source):
5816 * pcmpl-linux.el (pcmpl-linux):
5817 * shell.el (shell-faces):
5818 * eshell/esh-opt.el (eshell-opt):
5819 * international/ccl.el (ccl): Remove empty custom groups.
5821 * completion.el (dynamic-completion-mode):
5822 * jit-lock.el (jit-lock-debug-mode):
5823 * minibuffer.el (completion-in-region-mode):
5824 * type-break.el (type-break-mode-line-message-mode)
5825 (type-break-query-mode):
5826 * emulation/tpu-edt.el (tpu-edt-mode):
5827 * progmodes/subword.el (global-subword-mode, global-superword-mode):
5828 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
5829 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
5831 * term/xterm.el (xterm): Change parent group to terminals.
5833 * master.el (master): Remove empty custom group.
5834 (master-mode): Remove unused :group argument.
5835 * textmodes/refill.el (refill): Remove empty custom group.
5836 (refill-mode): Remove unused :group argument.
5838 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
5840 * cus-dep.el: Provide a feature.
5841 (custom-make-dependencies): Ignore dotfiles (dir-locals).
5842 Don't mistakenly ignore files whose basenames match a basename
5843 from preloaded-file-list (eg cedet/ede/simple.el).
5844 Add a fallback method for getting :group.
5846 2013-05-15 Juri Linkov <juri@jurta.org>
5848 * isearch.el (isearch-char-by-name): Rename from
5849 `isearch-insert-char-by-name'. Doc fix.
5850 (isearch-forward): Mention `isearch-char-by-name' in
5851 the docstring. (Bug#13348)
5853 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
5854 `exit-minibuffer' instead of
5855 `isearch-nonincremental-exit-minibuffer'.
5856 (isearch-edit-string): Remove mention of
5857 `isearch-nonincremental-exit-minibuffer' from docstring.
5858 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
5859 (isearch-forward-exit-minibuffer)
5860 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
5862 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5864 * loadup.el: Just use unversioned DOC.
5866 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
5867 literals as extending to EOB.
5868 (nxml-last-fontify-end): Remove unused variable.
5869 (nxml-after-change1): Use with-silent-modifications.
5870 (nxml-extend-after-change-region): Simplify.
5871 (nxml-extend-after-change-region1): Remove function.
5872 (nxml-after-change1): Don't adjust for dependent regions.
5873 (nxml-fontify-matcher): Simplify.
5874 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
5875 (xmltok-add-dependent): Remove function.
5876 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
5877 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
5878 (xmltok-scan-prolog-after-processing-instruction-open): Treat
5879 unclosed <[[, <?, comment, and other literals as extending to EOB.
5880 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
5881 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
5883 (rng-do-some-validation-1): Don't mark dependent regions.
5884 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
5885 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
5886 (nxml-clear-dependent-regions): Remove functions.
5887 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
5888 (nxml-ensure-scan-up-to-date):
5889 Don't clear&mark dependent regions.
5891 2013-05-15 Leo Liu <sdl.web@gmail.com>
5893 * progmodes/octave.el (octave-goto-function-definition):
5894 Improve and fix callers.
5896 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
5898 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
5899 the setter (bug#14387).
5901 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
5902 surrounding group (bug#14402).
5904 2013-05-14 Juri Linkov <juri@jurta.org>
5906 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
5909 2013-05-14 Glenn Morris <rgm@gnu.org>
5911 * progmodes/f90.el (f90-imenu-generic-expression):
5912 Fix typo in 2013-05-08 change. (Bug#14402)
5914 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5916 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
5917 Remove signals for which replies are never received.
5919 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5921 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
5922 (gdb-handler-alist, gdb-handler-number): Remove variables.
5923 (gdb-handler-list): New variable.
5924 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
5925 (gdb-pending-handler-p, gdb-handle-reply)
5926 (gdb-remove-all-pending-triggers): New functions.
5927 (gdb-discard-unordered-replies): New defcustom.
5928 (gdb-handler): New defstruct.
5929 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
5930 instead of gdb-pending-triggers. Update docstring.
5931 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
5932 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
5933 (gdb-var-update-handler, def-gdb-auto-update-trigger)
5934 (def-gdb-auto-update-handler, gdb-get-changed-registers)
5935 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
5936 (gdb-frame-handler): Pending triggers are now automatically managed.
5937 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
5939 (gdb-input): Automatically handles pending triggers. Update docstring.
5940 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
5941 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
5943 (gdb-done-or-error): Now use gdb-handle-reply.
5945 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
5947 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
5950 2013-05-14 Glenn Morris <rgm@gnu.org>
5952 * subr.el (user-emacs-directory-warning): New option.
5953 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
5955 2013-05-14 Leo Liu <sdl.web@gmail.com>
5957 * progmodes/octave.el (octave-font-lock-keywords): Fix error
5959 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
5960 (octave-font-lock-texinfo-comment): Fix invalid search bound
5961 error: wrong side of point.
5963 2013-05-14 Glenn Morris <rgm@gnu.org>
5965 * progmodes/flymake.el (flymake-xml-program): New option.
5966 (flymake-xml-init): Use it.
5968 * term/xterm.el: Provide a feature.
5970 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
5972 2013-05-13 Glenn Morris <rgm@gnu.org>
5974 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
5975 Add compat aliases as a hack workaround. (Bug#14384)
5977 2013-05-13 Leo Liu <sdl.web@gmail.com>
5979 * progmodes/octave.el (octave-indent-comment): Fix indentation for
5981 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
5983 (octave-comment-start-skip): Include %!.
5984 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
5986 2013-05-12 Leo Liu <sdl.web@gmail.com>
5988 * progmodes/octave.el (inferior-octave-startup): Store the value
5989 of __octave_srcdir__ for octave-source-directories.
5990 (inferior-octave-check-process): New function refactored out of
5991 inferior-octave-send-list-and-digest.
5992 (octave-source-directories)
5993 (octave-find-definition-filename-function): New variables.
5994 (octave-source-directories)
5995 (octave-find-definition-default-filename): New functions.
5996 (octave-find-definition): Improve to find functions implemented in C++.
5998 2013-05-12 Glenn Morris <rgm@gnu.org>
6000 * calendar/diary-lib.el (diary-outlook-format-1):
6001 Don't include dayname in the output. (Bug#14349)
6003 2013-05-11 Glenn Morris <rgm@gnu.org>
6005 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
6007 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
6008 Treat cc-provide like provide.
6010 2013-05-11 Kevin Ryde <user42@zip.com.au>
6012 * cus-dep.el (custom-make-dependencies):
6013 Use generated-autoload-load-name for the sake of files such
6014 such cedet/semantic/bovine/c.el, where the base file name
6015 is not in load-path. (Bug#5277)
6017 2013-05-11 Glenn Morris <rgm@gnu.org>
6019 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
6022 2013-05-11 Leo Liu <sdl.web@gmail.com>
6024 * progmodes/octave.el (octave-indent-comment): Improve.
6025 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
6026 (octave-eldoc-function-signatures, octave-eldoc-function):
6028 (octave-mode, inferior-octave-mode): Add eldoc support.
6030 2013-05-11 Richard Stallman <rms@gnu.org>
6032 * epa.el (epa-decrypt-file): Take output file name as argument
6033 and read it using `interactive'.
6035 2013-05-11 Leo Liu <sdl.web@gmail.com>
6037 * progmodes/octave.el (octave-beginning-of-line)
6038 (octave-end-of-line): Check before using up-list because it jumps
6039 out of more syntactic contructs since moving to smie.
6040 (octave-indent-comment): New function.
6041 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6042 (octave-begin-keywords, octave-end-keywords)
6043 (octave-reserved-words, octave-smie-bnf-table)
6044 (octave-smie-rules): Add new keywords from Octave 3.6.4.
6046 2013-05-11 Glenn Morris <rgm@gnu.org>
6048 * faces.el (internal-face-x-get-resource):
6049 * frame.el (ns-display-monitor-attributes-list):
6050 * calc/calc-aent.el (math-to-radians-2):
6051 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
6054 * calc/calc-menu.el: Make it loadable in isolation.
6056 * net/eudcb-bbdb.el: Make it loadable without bbdb.
6057 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
6058 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
6059 (eudc-bbdb-query-internal): Require 'bbdb.
6061 * lpr.el (lpr-headers-switches):
6062 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
6064 * progmodes/sql.el (sql-login-params): Fix and improve :type.
6066 * emulation/edt-mapper.el: In batch mode, error rather than hang.
6068 * term.el (term-set-escape-char): Make it idempotent.
6070 2013-05-10 Leo Liu <sdl.web@gmail.com>
6072 * progmodes/octave.el (inferior-octave-completion-table):
6073 No longer a function and all uses changed. Use cache to speed up
6074 completion due to bug#11906.
6075 (octave-beginning-of-defun): Re-write to be more general.
6077 2013-05-10 Glenn Morris <rgm@gnu.org>
6079 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
6081 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6083 * comint.el (comint-redirect-send-command-to-process): Use :around
6084 rather than :override for comint-redirect-filter.
6085 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
6086 Call it instead of comint-redirect-original-filter-function (which
6087 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
6089 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
6091 * frame.el (display-monitor-attributes-list): Add NS case.
6092 (ns-display-monitor-attributes-list): Declare.
6094 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
6096 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
6098 2013-05-09 Glenn Morris <rgm@gnu.org>
6100 * international/fontset.el (vertical-centering-font-regexp):
6103 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
6105 * bookmark.el (bookmark-search-delay):
6106 * cus-start.el (vertical-centering-font-regexp):
6107 * ps-mule.el (ps-mule-font-info-database-default):
6108 * ps-print.el (ps-default-fg, ps-default-bg):
6109 * type-break.el (type-break-good-break-interval):
6110 * whitespace.el (whitespace-indentation-regexp)
6111 (whitespace-space-after-tab-regexp):
6112 * emacs-lisp/testcover.el (testcover-1value-functions)
6113 (testcover-noreturn-functions, testcover-progn-functions)
6114 (testcover-prog1-functions):
6115 * emulation/viper-init.el (viper-emacs-state-cursor-color):
6116 * eshell/em-glob.el (eshell-glob-translate-alist):
6117 * play/tetris.el (tetris-tty-colors):
6118 * progmodes/cpp.el (cpp-face-default-list):
6119 * progmodes/flymake.el (flymake-allowed-file-name-masks):
6120 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
6121 (idlwave-help-browser-generic-args):
6122 * progmodes/make-mode.el (makefile-special-targets-list):
6123 * progmodes/python.el (python-shell-virtualenv-path):
6124 * progmodes/verilog-mode.el (verilog-active-low-regexp)
6125 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
6126 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
6127 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
6128 * textmodes/reftex-vars.el (reftex-format-label-function):
6129 * textmodes/remember.el (remember-diary-file): Fix custom types.
6131 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
6134 2013-05-09 Leo Liu <sdl.web@gmail.com>
6136 * progmodes/octave.el (inferior-octave-completion-at-point):
6137 Restore file completion. (Bug#14300)
6138 (inferior-octave-startup): Fix incorrect highlighting for the
6141 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6143 * progmodes/ruby-mode.el: First cut at SMIE support.
6144 (ruby-use-smie): New var.
6145 (ruby-smie-grammar): New constant.
6146 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
6147 (ruby-smie--forward-token, ruby-smie--backward-token)
6148 (ruby-smie-rules): New functions.
6149 (ruby-mode-variables): Setup SMIE if applicable.
6151 2013-05-08 Eli Zaretskii <eliz@gnu.org>
6153 * simple.el (line-move-visual): Signal beginning/end of buffer
6154 only if vertical-motion moved less than it was requested. Avoids
6155 silly incorrect error messages when there are display strings with
6156 multiple newlines at EOL.
6158 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6160 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
6161 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
6162 (prolog-char-quote-workaround):
6163 * progmodes/cperl-mode.el (cperl-under-as-char):
6164 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
6166 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
6168 (vhdl-mode-syntax-table-init): Remove.
6170 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
6173 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
6175 (ld-script-font-lock-keywords):
6176 Change regexps to use things like \_< and \_>.
6178 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
6179 Change all regexps to use things like \_< and \_>.
6181 * progmodes/autoconf.el (autoconf-definition-regexp)
6182 (autoconf-font-lock-keywords, autoconf-current-defun-function):
6183 Handle a _ with symbol syntax.
6184 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
6186 * progmodes/ada-mode.el (ada-mode-abbrev-table):
6187 Consolidate declaration.
6188 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
6190 (ada-create-syntax-table): Remove.
6191 (ada-capitalize-word): Don't mess with the syntax of "_" since it
6192 already has the right syntax nowadays.
6193 (ada-goto-next-word): Don't change the syntax of "_".
6195 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
6198 2013-05-08 Sam Steingold <sds@gnu.org>
6200 * thingatpt.el (thing-at-point): Accept optional second argument
6201 NO-PROPERTIES to strip the text properties from the return value.
6202 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6203 to `thing-at-point' instead of stripping the properties ourselves.
6204 Also, when `thing-at-point' fails to find a url, prepend "http://"
6205 to the filename at point on the assumption that the user is
6206 pointing at something like gnu.org/gnu.
6208 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
6210 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6211 * faces.el (crm-separator):
6212 Silence byte-compiler.
6214 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
6215 (tool-bar-map): Remove unneeded defvars.
6217 2013-05-08 Leo Liu <sdl.web@gmail.com>
6219 Re-work a fix for bug#10994 based on Le Wang's patch.
6220 * ido.el (ido-remove-consecutive-dups): New helper.
6221 (ido-completing-read): Use it.
6222 (ido-chop): Revert fix for bug#10994.
6224 2013-05-08 Adam Spiers <emacs@adamspiers.org>
6226 * cus-edit.el (custom-save-variables):
6227 Pretty-print long values. (Bug#14187)
6229 2013-05-08 Glenn Morris <rgm@gnu.org>
6231 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
6232 (m4-mode-syntax-table): Init in the defvar.
6233 (m4-mode-abbrev-table): Let define-derived-mode define it.
6235 2013-05-08 Tom Tromey <tromey@redhat.com>
6237 * progmodes/m4-mode.el (m4-mode-syntax-table):
6238 Do not treat "_" as word constituent. (Bug#14167)
6240 2013-05-07 Glenn Morris <rgm@gnu.org>
6242 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
6243 Remove explicit eshell-isearch-cancel-map.
6245 * progmodes/f90.el (f90-smart-end-names): New option.
6246 (f90-smart-end): Doc fix.
6247 (f90-end-block-optional-name): New constant.
6248 (f90-block-match): Respect f90-smart-end-names.
6250 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6252 * progmodes/octave.el (octave-smie-forward-token): Be more careful
6253 about implicit semi-colons (bug#14218).
6255 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6257 * frame.el (display-monitor-attributes-list)
6258 (frame-monitor-attributes): New functions.
6260 2013-05-06 Leo Liu <sdl.web@gmail.com>
6262 * progmodes/octave.el (octave-syntax-propertize-function): Change
6263 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
6264 (octave-font-lock-keywords): Use octave-operator-regexp.
6265 (octave-completion-at-point): Rename from
6266 octave-completion-at-point-function.
6267 (inferior-octave-directory-tracker): Robustify.
6268 (octave-text-functions): Remove and fix its uses. No such things
6271 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6273 * emacs-lisp/trace.el (trace--display-buffer): New function.
6274 (trace-make-advice): Use it.
6276 2013-05-06 Juri Linkov <juri@jurta.org>
6278 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
6279 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
6281 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
6282 in the help string. (Bug#12985)
6284 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6286 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
6288 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6290 * progmodes/perl-mode.el: Add support for here documents.
6291 (perl-syntax-propertize-function): Match here-doc markers.
6292 (perl-syntax-propertize-special-constructs): Find their end.
6293 (perl-imenu-generic-expression): Use [:alnum:].
6295 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
6296 (advice--add-function): Refresh the advice if already present
6299 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
6301 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
6303 2013-05-06 Glenn Morris <rgm@gnu.org>
6305 * w32-fns.el (w32-charset-info-alist): Declare.
6307 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
6308 of its defcustom properties.
6309 (eshell-cmpl-initialize): No need to load pcomplete.
6311 * generic-x.el: No need to require comint when compiling.
6313 * net/eudc-export.el: Make it loadable without bbdb.
6314 (top-level): Use require rather than load-library.
6315 (eudc-create-bbdb-record, eudc-bbdbify-phone)
6316 (eudc-batch-export-records-to-bbdb)
6317 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
6320 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6322 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
6323 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
6324 some tweaks, instead.
6326 2013-05-05 Leo Liu <sdl.web@gmail.com>
6328 * progmodes/octave.el (octave-font-lock-keywords)
6329 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
6330 (inferior-octave-send-list-and-digest): Improve error message.
6331 (octave-mode, inferior-octave-mode): Use setq-local.
6332 (octave-help): Set info-lookup-mode.
6334 2013-05-05 Richard Stallman <rms@gnu.org>
6336 * vc/compare-w.el (compare-windows-whitespace):
6337 Treat no-break space as whitespace.
6339 * mail/rmailsum.el (rmail-summary-rmail-update):
6340 Detect empty summary and don't change selected message.
6341 (rmail-summary-goto-msg): Likewise.
6343 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
6344 Doc fixes, rename args.
6346 2013-05-05 Alan Mackenzie <acm@muc.de>
6348 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
6350 2013-05-05 Juri Linkov <juri@jurta.org>
6352 * info.el (Info-read-subfile): Use (point-min) instead of (point)
6353 to not add the length of the summary segment to the return value.
6356 2013-05-05 Leo Liu <sdl.web@gmail.com>
6358 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
6359 (inferior-octave-output-filter): Remove.
6360 (octave-send-region, inferior-octave-startup): Fix callers.
6361 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
6362 (octave-binary-file-extensions): New user variable.
6363 (octave-find-definition): Confirm if opening binary files.
6364 (octave-help-file): Use octave-find-definition to get the binary
6366 (octave-help): Adjust for octave-help-file change.
6368 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6370 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
6371 Merge the two entries that handle function definitions.
6372 (pascal--syntax-propertize): New const.
6373 (pascal-mode): Use it. Use setq-local.
6375 2013-05-04 Glenn Morris <rgm@gnu.org>
6377 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
6378 (diary-from-outlook): Respect diary-from-outlook-function.
6380 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6382 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
6383 Move the declaration from C.
6384 (read-minibuffer, eval-minibuffer): Move from C.
6385 (completion-setup-function): Avoid minibuffer-completion-contents.
6387 2013-05-03 Leo Liu <sdl.web@gmail.com>
6389 * progmodes/octave.el (octave-font-lock-keywords): Do not
6390 dehighlight 'end' in comments or strings.
6391 (octave-completing-read, octave-goto-function-definition):
6393 (octave-help-buffer): New user variable.
6394 (octave-help-file, octave-help-function): New button types.
6395 (octave-help): New command and bind it to C-h ;.
6396 (octave-find-definition): New command and bind it to M-.
6397 (user-error): Alias to error if not defined.
6399 2013-05-02 Leo Liu <sdl.web@gmail.com>
6401 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
6403 (octave-font-lock-keywords): Include [ and {.
6405 2013-05-02 Leo Liu <sdl.web@gmail.com>
6407 * progmodes/octave.el (inferior-octave-startup-file): Change default.
6408 (inferior-octave): Remove calling comint-mode and return the buffer.
6409 (inferior-octave-startup): Cosmetic changes.
6411 2013-05-02 Leo Liu <sdl.web@gmail.com>
6413 * progmodes/octave.el (octave-syntax-propertize-function):
6414 Include the case when ' is at line beginning. (Bug#14336)
6416 2013-05-02 Glenn Morris <rgm@gnu.org>
6418 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
6419 * desktop.el (vc-dir-mode): Just autoload it here.
6421 2013-05-02 Alan Mackenzie <acm@muc.de>
6423 Eliminate variable c-standard-font-lock-fontify-region-function.
6424 * progmodes/cc-mode.el
6425 (c-standard-font-lock-fontify-region-function): Remove.
6426 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
6428 2013-05-01 Leo Liu <sdl.web@gmail.com>
6430 * progmodes/octave.el: Compatible with older emacs-24 releases.
6431 (inferior-octave-has-built-in-variables): Remove. Built-in
6432 variables were removed from Octave in 2007.
6433 (inferior-octave-startup): Fix uses.
6434 (comint-line-beginning-position): Remove compatibility code for
6437 2013-05-01 Juri Linkov <juri@jurta.org>
6439 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
6441 2013-05-01 Juri Linkov <juri@jurta.org>
6443 * comint.el (comint-previous-matching-input): Don't print message
6444 "History item: %d" when `isearch-mode' is active.
6445 (comint-history-isearch-message): Print message "History item: %d"
6446 when `comint-input-ring-index' is not empty and this function is
6447 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
6449 2013-05-01 Leo Liu <sdl.web@gmail.com>
6451 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
6452 definitions. Use completion-at-point to insert keywords.
6453 (octave-abbrev-start): Remove.
6454 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
6456 2013-04-30 Leo Liu <sdl.web@gmail.com>
6458 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
6461 2013-04-30 Alan Mackenzie <acm@muc.de>
6463 Handle arbitrarily long C++ member initialisation lists.
6464 * progmodes/cc-engine.el (c-back-over-member-initializers):
6466 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
6467 (most) member init lists.
6469 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6471 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
6474 2013-04-30 Leo Liu <sdl.web@gmail.com>
6476 * progmodes/octave.el (octave-variables): Remove. No builtin
6477 variables any more. All converted to functions.
6478 (octave-font-lock-keywords, octave-completion-at-point-function):
6480 (octave-font-lock-texinfo-comment): New user variable.
6481 (octave-texinfo-font-lock-keywords): New variable for texinfo
6483 (octave-function-comment-block): New face.
6484 (octave-font-lock-texinfo-comment): New function.
6485 (octave-mode): Font lock texinfo comment block.
6487 2013-04-29 Leo Liu <sdl.web@gmail.com>
6489 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
6490 indexing expression.
6491 (octave-continuation-string): Do not use \.
6492 (inferior-octave-complete-impossible): Remove.
6493 (inferior-octave-completion-table)
6494 (inferior-octave-completion-at-point): Remove its uses.
6495 (inferior-octave-startup): completion_matches was introduced to
6496 Octave in 1996 so safe to assume it.
6497 (octave-function-file-comment): Improve to follow how Octave does it.
6498 (octave-update-function-file-comment): Tweak.
6500 2013-04-29 Leo Liu <sdl.web@gmail.com>
6502 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
6503 (inferior-octave-startup): Remove inferior-octave-startup-hook.
6504 (octave-function-file-comment): Fix typo.
6505 (octave-sync-function-file-names): Use read-char-choice.
6507 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
6509 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
6510 to t for the less important warnings.
6512 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
6514 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
6516 2013-04-27 Glenn Morris <rgm@gnu.org>
6518 * vc/log-view.el (log-view-current-entry):
6519 Treat "---" separator lines as part of the following rev. (Bug#14169)
6521 2013-04-27 Juri Linkov <juri@jurta.org>
6523 * subr.el (read-number): Doc fix about using it by interactive
6524 code letter `n'. (Bug#14254)
6526 2013-04-27 Juri Linkov <juri@jurta.org>
6528 * desktop.el (desktop-auto-save-timeout): New option.
6529 (desktop-file-checksum): New variable.
6530 (desktop-save): Add optional arg `auto-save' and don't auto-save
6532 (desktop-auto-save-timer): New variable.
6533 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
6534 (after-init-hook): Call `desktop-auto-save-set-timer'.
6535 Suggested by Reuben Thomas <rrt@sc3d.org> in
6536 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
6538 2013-04-27 Leo Liu <sdl.web@gmail.com>
6540 * progmodes/octave.el (octave-function-file-p)
6541 (octave-skip-comment-forward, octave-function-file-comment)
6542 (octave-update-function-file-comment): New functions.
6543 (octave-mode-map): Bind C-c ; to
6544 octave-update-function-file-comment.
6545 (octave-mode-menu): Add octave-update-function-file-comment.
6546 (octave-mode, inferior-octave-mode): Fix doc-string.
6547 (octave-insert-defun): Conform to Octave's coding convention.
6550 * files.el (basic-save-buffer): Don't let errors in
6551 before-save-hook prevent saving buffer.
6553 2013-04-20 Roland Winkler <winkler@gnu.org>
6555 * faces.el (read-face-name): Use completing-read if arg multiple
6558 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
6560 * ls-lisp.el (ls-lisp-insert-directory): If no files are
6561 displayed, move point to after the totals line.
6562 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
6565 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
6567 * emacs-lisp/package.el (package-autoload-ensure-default-file):
6568 Add current dir to the load-path.
6569 (package-generate-autoloads): Don't rely on
6570 autoload-ensure-default-file.
6572 2013-04-26 Reuben Thomas <rrt@sc3d.org>
6574 * textmodes/remember.el (remember-store-in-files): Document that
6575 the file name format is passed to `format-time-string'.
6577 2013-04-26 Leo Liu <sdl.web@gmail.com>
6579 * progmodes/octave.el (octave-sync-function-file-names): New function.
6580 (octave-mode): Use it in before-save-hook.
6582 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
6584 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
6587 * progmodes/octave.el (octave-smie-forward-token): Properly skip
6588 \n and comment, even if it's not an implicit ; (bug#14218).
6590 2013-04-26 Glenn Morris <rgm@gnu.org>
6592 * subr.el (read-number): Once more use `read' rather than
6593 `string-to-number', to trap non-numeric input. (Bug#14254)
6595 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
6597 * emacs-lisp/syntax.el (syntax-propertize-multiline):
6598 Use `syntax-multiline' text property consistently instead of
6599 `font-lock-multiline'. (Bug#14237)
6601 2013-04-26 Glenn Morris <rgm@gnu.org>
6603 * emacs-lisp/shadow.el (list-load-path-shadows):
6604 No longer necessary to check for duplicate simple.el, since
6605 2012-07-07 change to init_lread to not include installation lisp
6606 directories in load-path when running uninstalled. (Bug#14270)
6608 2013-04-26 Leo Liu <sdl.web@gmail.com>
6610 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
6611 (octave-mode, inferior-octave-mode): Use setq-local.
6612 (octave-not-in-string-or-comment-p): Rename to
6613 octave-in-string-or-comment-p.
6614 (octave-in-comment-p, octave-in-string-p)
6615 (octave-in-string-or-comment-p): Replace defsubst with defun.
6617 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
6619 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
6621 2013-04-25 Bastien Guerry <bzg@gnu.org>
6623 * textmodes/remember.el (remember-data-directory)
6624 (remember-directory-file-name-format): Fix custom types.
6626 2013-04-25 Leo Liu <sdl.web@gmail.com>
6628 * progmodes/octave.el (octave-completion-at-point-function):
6629 Make use of inferior octave process.
6630 (octave-initialize-completions): Remove.
6631 (inferior-octave-completion-table): New function.
6632 (inferior-octave-completion-at-point): Use it.
6633 (octave-completion-alist): Remove.
6635 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6637 * progmodes/opascal.el: Use font-lock and syntax-propertize.
6638 (opascal-mode-syntax-table): New var.
6639 (opascal-literal-kind, opascal-is-literal-end)
6640 (opascal-literal-token-at): Rewrite.
6641 (opascal--literal-start-re, opascal-font-lock-keywords)
6642 (opascal--syntax-propertize): New constants.
6643 (opascal-font-lock-defaults): Adjust.
6644 (opascal-mode): Use them. Set comment-<foo> variables as well.
6645 (delphi-comment-face, opascal-comment-face, delphi-string-face)
6646 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
6647 (delphi-other-face, opascal-other-face): Remove face variables.
6648 (opascal-save-state): Remove macro.
6649 (opascal-fontifying-progress-step): Remove constant.
6650 (opascal--ignore-changes): Remove var.
6651 (opascal-set-token-property, opascal-parse-next-literal)
6652 (opascal-is-stable-literal, opascal-complete-literal)
6653 (opascal-is-literal-start, opascal-face-of)
6654 (opascal-parse-region, opascal-parse-region-until-stable)
6655 (opascal-fontify-region, opascal-after-change)
6656 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
6657 (opascal-debug-parse-region, opascal-debug-parse-window)
6658 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
6659 (opascal-debug-fontify-buffer): Remove.
6660 (opascal-debug-mode-map): Adjust accordingly.
6662 2013-04-25 Leo Liu <sdl.web@gmail.com>
6664 Merge octave-mod.el and octave-inf.el into octave.el with some
6666 * progmodes/octave.el: New file renamed from octave-mod.el.
6667 * progmodes/octave-inf.el: Merged into octave.el.
6668 * progmodes/octave-mod.el: Renamed to octave.el.
6670 2013-04-25 Tassilo Horn <tsdh@gnu.org>
6672 * textmodes/reftex-vars.el
6673 (reftex-label-ignored-macros-and-environments): New defcustom.
6675 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
6677 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6679 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
6680 (smie-indent-keyword): Improve the check to ensure that the next
6681 comment is really on the same line.
6682 (smie-indent-comment): Don't align with a subsequent closer (or eob).
6684 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
6685 semi-colons if the line is not otherwise empty (bug#14218).
6687 2013-04-25 Glenn Morris <rgm@gnu.org>
6689 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
6691 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6693 * progmodes/opascal.el (opascal-set-token-property): Rename from
6694 opascal-set-text-properties and only set `token' (bug#14134).
6695 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
6696 (opascal-literal-text-properties): Remove.
6697 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
6700 2013-04-24 Reuben Thomas <rrt@sc3d.org>
6702 * textmodes/remember.el (remember-handler-functions): Add an
6703 option for a new handler `remember-store-in-files'.
6704 (remember-data-directory, remember-directory-file-name-format):
6706 (remember-store-in-files): New function to store remember notes
6707 as separate files within a directory.
6709 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
6711 * progmodes/compile.el (compilation-next-error-function):
6712 Pass "formats" to compilation-find-file (bug#11777).
6714 2013-04-24 Glenn Morris <rgm@gnu.org>
6716 * vc/vc-bzr.el (vc-bzr-print-log):
6717 * vc/vc-hg.el (vc-hg-print-log):
6718 * vc/vc-svn.el (vc-svn-print-log):
6719 Fix START-REVISION with LIMIT != 1. (Bug#14168)
6721 * vc/vc-bzr.el (vc-bzr-print-log):
6722 * vc/vc-cvs.el (vc-cvs-print-log):
6723 * vc/vc-git.el (vc-git-print-log):
6724 * vc/vc-hg.el (vc-hg-print-log):
6725 * vc/vc-mtn.el (vc-mtn-print-log):
6726 * vc/vc-rcs.el (vc-rcs-print-log):
6727 * vc/vc-sccs.el (vc-sccs-print-log):
6728 * vc/vc-svn.el (vc-svn-print-log):
6729 * vc/vc.el (vc-print-log-internal): Doc fixes.
6731 2013-04-23 Glenn Morris <rgm@gnu.org>
6733 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
6734 Remove venerable code attempting to avoid substitute-command-keys.
6736 2013-04-23 Tassilo Horn <tsdh@gnu.org>
6738 * textmodes/reftex-vars.el (reftex-label-regexps):
6739 Call `reftex-compile-variables' after changes to this variable.
6741 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
6743 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
6744 Use lexical-binding.
6745 (jit-lock-force-redisplay): Use markers, check buffer's continued
6746 existence and beware narrowed buffers.
6747 (jit-lock-fontify-now): Adjust call accordingly.
6749 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
6751 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
6752 to avoid misleading the user.
6754 2013-04-22 Leo Liu <sdl.web@gmail.com>
6756 * info-look.el: Prefer latex2e.info. (Bug#14240)
6758 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
6760 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
6762 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
6763 * net/tramp.el (tramp-call-process): ... here.
6764 (tramp-set-completion-function, tramp-parse-putty):
6765 * net/tramp-adb.el (tramp-adb-execute-adb-command):
6766 * net/tramp-gvfs.el (tramp-gvfs-send-command):
6767 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6768 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
6769 (tramp-call-local-coding-command): Use `tramp-call-process'
6770 instead of `tramp-compat-call-process'.
6772 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
6773 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
6774 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
6775 (tramp-find-inline-compress): Improve traces.
6776 (tramp-maybe-send-script): Check for Perl binary.
6777 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
6779 2013-04-22 Daiki Ueno <ueno@gnu.org>
6781 * epg.el (epg-context-pinentry-mode): New function.
6782 (epg-context-set-pinentry-mode): New function.
6783 (epg--start): Pass --pinentry-mode option to gpg command.
6785 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
6787 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
6788 `comint-dynamic-complete' is obsolete since 24.1, replaced by
6789 `completion-at-point'. (Bug#13774)
6791 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
6792 default key binding for `describe-distribution' has been moved to
6793 `C-h C-o'. (Bug#13970)
6795 2013-04-21 Glenn Morris <rgm@gnu.org>
6797 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
6799 (vc-print-log): Clarify interactive prompt.
6801 2013-04-20 Glenn Morris <rgm@gnu.org>
6803 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
6804 No longer include timestamp etc information.
6806 2013-04-20 Roland Winkler <winkler@gnu.org>
6808 * faces.el (read-face-name): Bug fix, return just one face if arg
6809 multiple is nil. (Bug#14209)
6811 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6813 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
6814 (remove-function): Autoload.
6816 * comint.el (comint-redirect-original-filter-function): Remove.
6817 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
6818 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
6819 (vc-cvs-annotate-command):
6820 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
6821 * progmodes/prolog.el (prolog-consult-compile):
6822 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
6823 Use add/remove-function instead.
6824 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
6825 (gud-tooltip-process-output, gud-tooltip-tips):
6826 Use add/remove-function instead.
6827 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
6828 (scheme-interaction-mode, exit-scheme-interaction-mode):
6829 Use add/remove-function instead.
6831 * vc/vc-dispatcher.el: Use lexical-binding.
6832 (vc--process-sentinel): Rename from vc-process-sentinel.
6833 Change last arg to be the code to run. Don't use vc-previous-sentinel
6834 and vc-sentinel-commands any more.
6835 (vc-exec-after): Allow code to be a function. Use add/remove-function.
6836 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
6838 2013-04-19 Masatake YAMATO <yamato@redhat.com>
6840 * progmodes/sh-script.el (sh-imenu-generic-expression):
6841 Handle function names with a single character. (Bug#14111)
6843 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
6845 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
6846 for subroutines defined in an eval (bug#14182).
6848 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6850 * bookmark.el (bookmark-completing-read): Improve handling of empty
6853 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6855 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
6857 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
6859 New faster Imenu implementation (bug#14058).
6860 * progmodes/python.el:
6861 (python-imenu-prev-index-position):
6862 (python-imenu-format-item-label-function)
6863 (python-imenu-format-parent-item-label-function)
6864 (python-imenu-format-parent-item-jump-label-function):
6866 (python-imenu-format-item-label)
6867 (python-imenu-format-parent-item-label)
6868 (python-imenu-format-parent-item-jump-label)
6869 (python-imenu--put-parent, python-imenu--build-tree)
6870 (python-imenu-create-index, python-imenu-create-flat-index)
6871 (python-util-popn): New functions.
6872 (python-mode): Set imenu-create-index-function to
6873 python-imenu-create-index.
6875 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6877 * winner.el (winner-active-region): Use region-active-p, activate-mark
6878 and deactivate-mark (bug#14225).
6880 * simple.el (deactivate-mark): Don't inline it.
6882 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
6884 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
6886 2013-04-18 Tassilo Horn <tsdh@gnu.org>
6888 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
6889 file extensions from the archive-mode entry in order to prefer
6890 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
6892 2013-04-18 Leo Liu <sdl.web@gmail.com>
6894 * bindings.el (help-event-list): Add ?\?.
6896 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
6898 * subr.el (with-wrapper-hook): Declare obsolete.
6899 * simple.el (filter-buffer-substring-function): New hook.
6900 (filter-buffer-substring): Use it.
6901 (filter-buffer-substring-functions): Mark obsolete.
6902 * minibuffer.el (completion-in-region-function): New hook.
6903 (completion-in-region): Use it.
6904 (completion-in-region-functions): Mark obsolete.
6905 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
6906 * abbrev.el (abbrev-expand-function): New hook.
6907 (expand-abbrev): Use it.
6908 (abbrev-expand-functions): Mark obsolete.
6909 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
6912 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6914 * progmodes/python.el (python-nav--syntactically): Fix cornercases
6915 and do not care about match data.
6917 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6919 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
6920 completion tables when completing error conditions and
6921 `declare' arguments.
6922 (lisp-complete-symbol, field-complete): Mark as obsolete.
6923 (check-parens): Unmatched parens are user errors.
6924 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
6926 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
6928 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
6929 command changed buffer (ie. `flyspell-pre-buffer' is not current
6930 buffer), which prevents making decisions based on invalid value of
6931 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
6932 cause an error when `flyspell-pre-point' was nil after switching
6934 (flyspell-post-command-hook): No longer needs to change buffers when
6935 checking pre-word. While at it remove unnecessary progn.
6937 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
6939 * textmodes/ispell.el (ispell-add-per-file-word-list):
6940 Fix `flyspell-correct-word-before-point' error when accepting
6941 words and `coment-padding' is an integer by using
6942 `comment-normalize-vars' (Bug #14214).
6944 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6946 New defun movement commands.
6947 * progmodes/python.el (python-nav--syntactically)
6948 (python-nav--forward-defun, python-nav-backward-defun)
6949 (python-nav-forward-defun): New functions.
6951 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
6953 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
6954 (python-syntax-context): Use named compiler-macro for backwards
6955 compatibility with Emacs 24.x.
6957 2013-04-17 Leo Liu <sdl.web@gmail.com>
6959 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
6960 octave-hide-process-buffer.
6962 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6964 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
6967 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
6969 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
6970 Fix adjustment of offset when receiving incomplete responses from GDB
6973 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6975 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
6976 python-mode-abbrev-table.
6977 (python-skeleton-define): Adjust accordingly.
6978 (python-mode-abbrev-table): New table that inherits from it so that
6979 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
6981 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
6982 (abbrev-symbol): Use it.
6983 (abbrev--before-point): Use it since we already handle inheritance.
6985 2013-04-16 Leo Liu <sdl.web@gmail.com>
6987 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
6988 binding to info-lookup-symbol.
6990 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
6992 * minibuffer.el (completion--twq-all):
6993 * term/ns-win.el (ns-initialize-window-system):
6994 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
6996 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
6998 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
7001 * doc-view.el (doc-view-start-process): Handle url-handler directories.
7003 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
7005 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
7006 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
7008 (ruby-end-of-defun): Remove the unused arg, change the docstring
7009 to reflect that this function is only used as the value of
7010 `end-of-defun-function'.
7011 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
7012 to reflect an earlier change that beginning/end-of-defun functions
7013 jump between methods in a class definition, as well as top-level
7016 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7018 * minibuffer.el (minibuffer-complete): Don't just scroll
7019 a *Completions* that's been iconified.
7020 (minibuffer-force-complete): Make sure repetitions do cycle when going
7021 through completion-in-region -> minibuffer-complete.
7023 2013-04-15 Alan Mackenzie <acm@muc.de>
7025 Correct the placement of c-cpp-delimiters when there're #s not at
7028 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
7029 place a submatch around the #.
7030 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
7031 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
7034 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7036 * emacs-lisp/nadvice.el: Properly test names when adding advice.
7037 (advice--member-p): New arg `name'.
7038 (advice--add-function, advice-member-p): Use it (bug#14202).
7040 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
7042 Reformulate java imenu-generic-expression.
7043 The old expression contained ill formed regexps.
7045 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
7046 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
7047 (cc-imenu-java-method-arg-regexp): New defconsts.
7048 (cc-imenu-java-build-type-args-regex): New defun.
7049 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
7050 handling of spaces in the regexp.
7052 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7054 * textmodes/ispell.el (ispell-command-loop): Remove
7055 flyspell highlight of a word when ispell accepts it (bug #14178).
7057 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
7059 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
7060 uses code from the previous `ange-ftp-run-real-handler'.
7061 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
7062 only in case that function exist. This is needed for proper
7065 2013-04-15 Tassilo Horn <tsdh@gnu.org>
7067 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
7069 * textmodes/reftex.el (reftex-compile-variables): Use it.
7071 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7073 * files.el (normal-mode): Only use default major-mode if no other mode
7076 * emacs-lisp/trace.el (trace-values): New function.
7078 * files.el: Allow : in local variables (bug#14089).
7079 (hack-local-variable-regexp): New var.
7080 (hack-local-variables-prop-line, hack-local-variables): Use it.
7082 2013-04-13 Roland Winkler <winkler@gnu.org>
7084 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
7085 data before it gets modified by bibtex-beginning-of-entry.
7087 2013-04-13 Roland Winkler <winkler@gnu.org>
7089 * textmodes/bibtex.el (bibtex-url): Doc fix.
7091 2013-04-13 Roland Winkler <winkler@gnu.org>
7093 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
7094 does not visit a BibTeX file, exclude it from the list of buffers
7095 returned by bibtex-initialize.
7097 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
7099 * window.el (split-window): Remove interactive form, since as a
7100 command this function is a special case of split-window-below.
7103 2013-04-12 Roland Winkler <winkler@gnu.org>
7105 * faces.el (read-face-name): Do not override value of arg default.
7106 Allow single faces and strings as default values. Remove those
7107 elements from return value that are not faces.
7108 (describe-face): Simplify.
7109 (face-at-point): New optional args thing and multiple so that this
7110 function can provide the same functionality previously provided by
7112 (make-face-bold, make-face-unbold, make-face-italic)
7113 (make-face-unitalic, make-face-bold-italic, invert-face)
7114 (modify-face, read-face-and-attribute): Use face-at-point.
7116 * cus-edit.el (customize-face, customize-face-other-window)
7117 * cus-theme.el (custom-theme-add-face)
7118 * face-remap.el (buffer-face-set)
7119 * facemenu.el (facemenu-set-face): Use face-at-point.
7121 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
7123 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
7125 2013-04-10 Tassilo Horn <tsdh@gnu.org>
7127 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
7128 off leading { and trailing } from field values.
7130 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
7132 * emacs-lisp/timer.el (timer--check): New function.
7133 (timer--time, timer-set-function, timer-event-handler): Use it.
7134 (timer-set-idle-time): Simplify.
7135 (timer--activate): CSE.
7136 (timer-event-handler): Give more info in error message.
7137 (internal-timer-start-idle): New function, moved from C.
7139 * mpc.el (mpc-proc): Add `restart' argument.
7140 (mpc-proc-cmd): Use it.
7141 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
7142 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
7145 2013-04-10 Masatake YAMATO <yamato@redhat.com>
7147 * progmodes/sh-script.el: Implement `sh-mode' own
7148 `add-log-current-defun-function' (bug#14112).
7149 (sh-current-defun-name): New function.
7150 (sh-mode): Use the function.
7152 2013-04-09 Bastien Guerry <bzg@gnu.org>
7154 * simple.el (choose-completion-string): Fix docstring (bug#14163).
7156 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
7158 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
7160 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
7163 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
7165 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
7168 2013-04-07 Leo Liu <sdl.web@gmail.com>
7170 * pcmpl-x.el: New file.
7172 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
7174 Do not set x-display-name until X connection is established.
7175 This is needed to prevent from weird situation described at
7176 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
7177 * frame.el (make-frame): Set x-display-name after call to
7178 window system initialization function, not before.
7179 * term/x-win.el (x-initialize-window-system): Add optional
7180 display argument and use it.
7181 * term/w32-win.el (w32-initialize-window-system):
7182 * term/ns-win.el (ns-initialize-window-system):
7183 * term/pc-win.el (msdos-initialize-window-system):
7184 Add compatible optional display argument.
7186 2013-04-06 Eli Zaretskii <eliz@gnu.org>
7188 * files.el (normal-backup-enable-predicate): On MS-Windows and
7189 MS-DOS compare truenames of temporary-file-directory and of the
7190 file, so that 8+3 aliases (usually found in $TEMP on Windows)
7191 don't fail comparison by compare-strings. Also, compare file
7192 names case-insensitively on MS-Windows and MS-DOS.
7194 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7196 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
7197 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
7199 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
7201 * whitespace.el (whitespace-color-on, whitespace-color-off):
7202 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
7204 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7206 * ispell.el (ispell-set-spellchecker-params):
7207 Really set `ispell-args' for all equivs.
7209 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
7211 * ido.el (ido-completions): Use extra elements of ido-decorations
7213 (ido-decorations): Update docstring.
7215 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
7217 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7218 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
7219 nil during initialization, in order not to miss changes since the
7220 file was opened. (Bug#14140)
7222 2013-04-05 Leo Liu <sdl.web@gmail.com>
7224 * kmacro.el (kmacro-call-macro): Fix bug#14135.
7226 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
7228 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
7230 2013-04-04 Glenn Morris <rgm@gnu.org>
7232 * electric.el (electric-pair-inhibit-predicate): Add :version.
7234 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
7236 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
7237 when a package is required several times (bug#14082).
7239 2013-04-04 Roland Winkler <winkler@gnu.org>
7241 * faces.el (read-face-name): Behave as promised by the docstring.
7242 Assume that arg default is a list of faces.
7243 (describe-face): Call read-face-name with list of default faces.
7245 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7247 * bookmark.el: Fix deletion of bookmarks (bug#13972).
7248 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
7249 (bookmark-bmenu-execute-deletions): Only skip first line if it's
7251 (bookmark-exit-hook-internal): Save even if list is empty.
7253 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
7255 * emacs-lisp/package.el (package-pinned-packages): New var.
7256 (package--add-to-archive-contents): Obey it (bug#14118).
7258 2013-04-03 Alan Mackenzie <acm@muc.de>
7260 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
7261 Also adapt to the new values of element 7 of a parse state.
7263 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
7264 parameter `not-in-delimiter'. Handle being inside comment opener.
7265 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
7266 character in case we're typing a '*' after a '/'.
7267 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
7268 instead by passing the parameter to c-state-pp-to-literal.
7270 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
7271 for elt. 7 of a parse state.
7273 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
7275 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
7276 * international/latin1-disp.el, international/mule-util.el:
7277 * language/cyril-util.el, language/european.el, language/ind-util.el:
7278 * language/lao-util.el, language/thai.el, language/tibet-util.el:
7279 * language/tibetan.el, language/viet-util.el:
7280 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
7282 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7284 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
7285 (electric-pair-post-self-insert-function): Use it.
7286 (electric-pair-default-inhibit): New function, extracted from
7287 electric-pair-post-self-insert-function.
7289 2013-03-31 Roland Winkler <winkler@gnu.org>
7291 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
7293 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7295 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
7297 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
7299 Un-indent after "pass" and "return" statements (Bug#13888)
7300 * progmodes/python.el (python-indent-block-enders): New var.
7301 (python-indent-calculate-indentation): Use it.
7303 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
7305 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
7306 defun. Defining it as defalias could introduce too eager
7307 byte-compiler optimization. (Bug#14030)
7309 2013-03-30 Chong Yidong <cyd@gnu.org>
7311 * iswitchb.el (iswitchb-read-buffer): Fix typo.
7313 2013-03-30 Leo Liu <sdl.web@gmail.com>
7315 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
7316 (kmacro-execute-from-register): Pass the keyboard macro to
7317 kmacro-call-macro or repeating won't work correctly.
7319 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
7321 * progmodes/subword.el: Back to using `forward-symbol'.
7323 * subr.el (forward-whitespace, forward-symbol)
7324 (forward-same-syntax): Move from thingatpt.el.
7326 2013-03-29 Leo Liu <sdl.web@gmail.com>
7328 * kmacro.el (kmacro-to-register): New command.
7329 (kmacro-execute-from-register): New function.
7330 (kmacro-keymap): Bind to 'x'. (Bug#14071)
7332 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
7334 * mpc.el: Use defvar-local and setq-local.
7335 (mpc--proc-connect): Connection failures are not bugs.
7336 (mpc-mode-map): `follow-link' only applies to the buffer's content.
7337 (mpc-volume-map): Bind to the up-events.
7339 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
7341 * progmodes/subword.el (superword-mode): Use `forward-sexp'
7342 instead of `forward-symbol'.
7344 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
7346 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
7347 (edebug--recursive-edit): Use it.
7348 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
7349 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
7351 2013-03-28 Leo Liu <sdl.web@gmail.com>
7353 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
7355 2013-03-27 Eli Zaretskii <eliz@gnu.org>
7357 * facemenu.el (list-colors-callback): New defvar.
7358 (list-colors-redisplay): New function.
7359 (list-colors-display): Install list-colors-redisplay as the
7360 revert-buffer-function. (Bug#14063)
7362 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7364 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
7365 and suffixes don't overlap (bug#14061).
7367 * case-table.el: Use lexical-binding.
7368 (case-table-get-table): New function.
7369 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
7371 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
7373 * progmodes/subword.el: Add `superword-mode' to do word motion
7374 over symbol_words (parallels and leverages `subword-mode' which
7375 does word motion inside MixedCaseWords).
7377 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
7379 * eshell/em-unix.el: Move su and sudo to...
7380 * eshell/em-tramp.el: ...Eshell tramp module.
7382 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7384 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
7385 Change return value to be a sexp. Delay `get-buffer' to after
7386 restoring the desktop (bug#13951).
7388 2013-03-26 Leo Liu <sdl.web@gmail.com>
7390 * register.el: Move semantic tag handling back to
7391 cedet/semantic/senator.el. (Bug#14052)
7393 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7395 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
7396 into the prompt either (bug#13963).
7398 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
7400 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
7401 part of "(error-foo)".
7403 2013-03-24 Juri Linkov <juri@jurta.org>
7405 * replace.el (list-matching-lines-prefix-face): New defcustom.
7406 (occur-1): Pass `list-matching-lines-prefix-face' to the function
7407 `occur-engine' if `face-differs-from-default-p' returns t.
7408 (occur-engine): Add `,' inside backquote construct to evaluate
7409 `prefix-face'. Propertize the prefix with the `prefix-face' face.
7410 Pass `prefix-face' to the functions `occur-context-lines' and
7411 `occur-engine-add-prefix'.
7412 (occur-engine-add-prefix, occur-context-lines): Add optional arg
7413 `prefix-face' and propertize the prefix with `prefix-face'.
7416 2013-03-24 Leo Liu <sdl.web@gmail.com>
7418 * nxml/rng-valid.el (rng-validate-while-idle)
7419 (rng-validate-quick-while-idle): Guard against deleted buffer.
7422 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
7423 is the last entry in kill-buffer-hook.
7425 * files.el (kill-buffer-hook): Doc fix.
7427 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
7429 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
7432 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
7434 2013-03-23 Leo Liu <sdl.web@gmail.com>
7436 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
7439 * nxml/rng-valid.el (rng-validate-mode)
7440 (rng-after-change-function, rng-do-some-validation):
7441 * nxml/rng-maint.el (rng-validate-buffer):
7442 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
7443 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
7444 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
7445 (nxml-extend-after-change-region): Use with-silent-modifications.
7447 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
7450 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
7451 (rng-next-error-1, rng-previous-error-1): Do not let-bind
7452 timer-idle-list. (Bug#13999)
7454 2013-03-23 Juri Linkov <juri@jurta.org>
7456 * info.el (info-index-match): New face.
7457 (Info-index, Info-apropos-matches): Add a nested subgroup to the
7458 main pattern and add text properties with the new face to matches
7459 in index entries relative to the beginning of the index entry.
7462 2013-03-21 Eric Ludlam <zappo@gnu.org>
7464 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
7465 Inhibit read only while inserting objects.
7467 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
7469 * progmodes/cfengine.el: Update docs to mention
7470 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
7471 symbol motion. Remove "_" from the word syntax.
7473 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
7475 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
7476 syntax for both `cfengine2-mode' and `cfengine3-mode'.
7478 2013-03-20 Juri Linkov <juri@jurta.org>
7480 * info.el (Info-next-reference-or-link)
7481 (Info-prev-reference-or-link): New functions.
7482 (Info-next-reference, Info-prev-reference): Use them.
7483 (Info-try-follow-nearest-node): Handle footnote navigation.
7484 (Info-fontify-node): Fontify footnotes. (Bug#13989)
7486 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
7488 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
7489 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
7491 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
7493 Suppress unnecessary non-ASCII chatter during build process.
7494 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
7495 (batch-skkdic-convert): Suppress most of the chatter.
7496 It's not needed so much now that machines are faster,
7497 and its non-ASCII component was confusing; see Dmitry Gutov in
7498 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
7500 2013-03-20 Leo Liu <sdl.web@gmail.com>
7502 * ido.el (ido-chop): Fix bug#10994.
7504 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7506 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
7508 (whitespace-color-on, whitespace-color-off):
7509 Use `font-lock-fontify-buffer' (Bug#13817).
7511 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
7513 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
7514 remapping in mode-line.
7515 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
7517 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
7519 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
7520 value for `whitespace-line' face (Bug#13875).
7521 (whitespace-font-lock-keywords): Change description.
7522 (whitespace-color-on): Don't save `font-lock-keywords' value, save
7523 the constructed keywords instead.
7524 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
7526 2013-03-19 Leo Liu <sdl.web@gmail.com>
7528 * progmodes/compile.el (compilation-display-error): New command.
7529 (compilation-mode-map, compilation-minor-mode-map): Bind it to
7532 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7534 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
7536 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
7538 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
7540 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
7542 * net/tramp-compat.el (tramp-compat-user-error): New defun.
7544 * net/tramp-adb.el (tramp-adb-handle-shell-command):
7545 * net/tramp-gvfs.el (top):
7546 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
7547 (tramp-handle-shell-command): Use it.
7548 (tramp-dissect-file-name): Raise an error when hostname is a
7549 method name, and neither method nor user is specified.
7551 * net/trampver.el: Update release number.
7553 2013-03-18 Leo Liu <sdl.web@gmail.com>
7555 Make sure eldoc can be turned off properly.
7556 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
7558 (eldoc-display-message-p): Revert last change.
7559 (eldoc-display-message-no-interference-p)
7560 (eldoc-print-current-symbol-info): Tweak.
7562 2013-03-18 Tassilo Horn <tsdh@gnu.org>
7564 * doc-view.el (doc-view-new-window-function): Check the new window
7565 overlay's display property instead the char property of the
7566 buffer's first char. Use `with-selected-window' instead of
7567 `save-window-excursion' with `select-window'.
7568 (doc-view-document->bitmap): Check the current doc-view overlay's
7569 display property instead the char property of the buffer's first char.
7571 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
7573 Automate the build of ja-dic.el (Bug#13984).
7574 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
7575 from the input, rather than assume that it's been done for us by the
7576 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
7577 the current date into a ja-dic.el comment, as that complicates
7580 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
7582 * whitespace.el: Fix double evaluation.
7583 (whitespace-space, whitespace-hspace, whitespace-tab)
7584 (whitespace-newline, whitespace-trailing, whitespace-line)
7585 (whitespace-space-before-tab, whitespace-indentation)
7586 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
7588 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
7589 (whitespace-color-on): Use a single font-lock-add-keywords call.
7590 Fix double-evaluation of face variables.
7592 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
7594 * net/tramp-adb.el (tramp-adb-parse-device-names):
7595 Use `start-process' instead of `call-process'. Otherwise, the
7596 function might be blocked under MS Windows. (Bug#13299)
7598 2013-03-17 Leo Liu <sdl.web@gmail.com>
7600 Extend eldoc to display info in the mode-line. (Bug#13978)
7601 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
7602 (eldoc-mode-line-string): New variable.
7603 (eldoc-minibuffer-message): New function.
7604 (eldoc-message-function): New variable.
7605 (eldoc-message): Use it.
7606 (eldoc-display-message-p)
7607 (eldoc-display-message-no-interference-p):
7608 Support eldoc-post-insert-mode.
7610 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
7611 (eval-expression): Run it.
7613 2013-03-17 Roland Winkler <winkler@gnu.org>
7615 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
7616 strings in the list of return values.
7618 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
7620 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
7621 radix before checking for HMS forms.
7623 2013-03-16 Leo Liu <sdl.web@gmail.com>
7625 * progmodes/scheme.el: Add indentation and font-locking for λ.
7628 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
7630 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
7631 token before point (bug#13942).
7633 2013-03-16 Leo Liu <sdl.web@gmail.com>
7635 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
7637 2013-03-16 Eli Zaretskii <eliz@gnu.org>
7639 * startup.el (command-line-normalize-file-name): Fix handling of
7640 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
7641 <xfq.free@gmail.com> in
7642 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
7644 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
7646 Sync with Tramp 2.2.7.
7648 * net/trampver.el: Update release number.
7650 2013-03-14 Tassilo Horn <tsdh@gnu.org>
7652 * doc-view.el Fix bug#13887.
7653 (doc-view-insert-image): Don't modify overlay associated to
7654 non-live windows, and implement horizontal centering of image in
7655 case it's smaller than the window.
7656 (doc-view-new-window-function): Force redisplay of new windows on
7659 2013-03-13 Karl Fogel <kfogel@red-bean.com>
7661 * saveplace.el (save-place-alist-to-file): Don't sort
7662 `save-place-alist', just pretty-print it (bug#13882).
7664 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
7666 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7667 Check whether `default-file-name-coding-system' is bound.
7670 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
7672 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
7673 backquotes for `obsolete' (bug#13929).
7675 * international/mule.el (find-auto-coding): Include file name in
7676 obsolescence warning (bug#13922).
7678 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
7680 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
7681 for CFEngine 3-specific indentation.
7682 (cfengine3-indent-line): Use it. Fix up category regex.
7683 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
7685 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7687 * type-break.el (type-break-file-name):
7688 * textmodes/remember.el (remember-data-file):
7689 * strokes.el (strokes-file):
7690 * shadowfile.el (shadow-initialize):
7691 * saveplace.el (save-place-file):
7692 * ps-bdf.el (bdf-cache-file):
7693 * progmodes/idlwave.el (idlwave-config-directory):
7694 * net/quickurl.el (quickurl-url-file):
7695 * international/kkc.el (kkc-init-file-name):
7696 * ido.el (ido-save-directory-list-file):
7697 * emulation/viper.el (viper-custom-file-name):
7698 * emulation/vip.el (vip-startup-file):
7699 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
7700 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
7702 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
7704 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
7705 * language/thai-word.el: Switch to UTF-8.
7707 See ChangeLog.16 for earlier changes.
7713 Copyright (C) 2011-2013 Free Software Foundation, Inc.
7715 This file is part of GNU Emacs.
7717 GNU Emacs is free software: you can redistribute it and/or modify
7718 it under the terms of the GNU General Public License as published by
7719 the Free Software Foundation, either version 3 of the License, or
7720 (at your option) any later version.
7722 GNU Emacs is distributed in the hope that it will be useful,
7723 but WITHOUT ANY WARRANTY; without even the implied warranty of
7724 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7725 GNU General Public License for more details.
7727 You should have received a copy of the GNU General Public License
7728 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.