1 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
3 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4 (package-buffer-info): Use it (bug#15108).
6 * icomplete.el (icomplete-completions): Make sure the prefix is already
7 displayed elsewhere before hiding it.
9 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
11 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
12 open-paren tokens when preceded by a open-paren, too.
13 (ruby-smie-rules): Handle virtual indentation after open-paren
14 tokens specially. If there is code between it and eol, return the
15 column where is starts (Bug#16118).
17 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
19 * progmodes/cfengine.el: Fix `add-hook' doc.
20 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
21 (cfengine3--current-word): Fix parameters.
22 (cfengine3-make-syntax-cache): Simplify further.
23 (cfengine3-completion-function, cfengine3--current-function):
24 Use `assq' for symbols.
25 (cfengine3--current-function): Fix `cfengine3--current-word' call.
27 2013-12-13 Glenn Morris <rgm@gnu.org>
29 * loadup.el (load-path): Warn if site-load or site-init changes it.
30 No more need to reset it when bootstrapping.
32 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
34 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
35 locations for cf-promises.
36 (cfengine-mode-syntax-functions-regex): New caching variable.
37 (cfengine3-fallback-syntax): Fallback syntax for cases where
38 cf-promises doesn't run.
39 (cfengine3--current-word): Reimplement using
40 `cfengine-mode-syntax-functions-regex'.
41 (cfengine3-completion-function, cfengine3--current-function):
42 Use `cfengine3-make-syntax-cache' directly.
43 (cfengine3-clear-syntax-cache): New function.
44 (cfengine3-make-syntax-cache): Simplify and create
45 `cfengine-mode-syntax-functions-regex' on demand.
46 (cfengine3-format-function-docstring): Don't call
47 `cfengine3-make-syntax-cache' explicitly.
49 2013-12-13 Martin Rudalics <rudalics@gmx.at>
51 Fix windmove-find-other-window broken after pixelwise resizing
53 * windmove.el (windmove-other-window-loc): Revert change from
55 (windmove-find-other-window): Call window-in-direction.
56 * window.el (window-in-direction): New arguments SIGN, WRAP and
57 MINI to emulate original windmove-find-other-window behavior.
59 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
61 * simple.el (blink-matching--overlay): New variable.
62 (blink-matching-open): Instead of moving point, highlight the
63 matching paren with an overlay
64 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
66 * faces.el (paren-showing-faces, show-paren-match)
67 (show-paren-mismatch): Move from paren.el.
69 2013-12-13 Leo Liu <sdl.web@gmail.com>
71 * indent.el (indent-region): Disable progress reporter in
72 minibuffer. (Bug#16108)
74 * bindings.el (visual-order-cursor-movement): Fix version.
76 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
78 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
79 Also match after beginning of line.
80 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
81 files. Thanks to Russell Sim. (Bug#15378)
83 2013-12-13 Juri Linkov <juri@jurta.org>
85 * simple.el <Keypad support>: Remove key bindings duplicated
86 with bindings.el. (Bug#14397)
88 2013-12-13 Juri Linkov <juri@jurta.org>
90 * comint.el (comint-mode-map): Replace `delete-char' with
91 `delete-forward-char'. (Bug#16109)
93 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
95 * progmodes/python.el (python-indent-calculate-indentation):
96 Fix de-denters cornercase. (Bug#15731)
98 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
100 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
101 (advice--make): Pay attention to `depth'.
102 (advice--make-1): Don't autoload commands eagerly.
103 * emacs-lisp/elp.el (elp-instrument-function):
104 * emacs-lisp/trace.el (trace-function-internal):
105 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
107 * iswitchb.el (iswitchb-mode): Don't belittle ido.
109 2013-12-12 Eli Zaretskii <eliz@gnu.org>
111 * term/w32-win.el (w32-handle-dropped-file):
112 * startup.el (normal-top-level):
113 * net/browse-url.el (browse-url-file-url):
114 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
115 decode file names using 'utf-8' rather than
116 file-name-coding-system.
118 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
120 * progmodes/python.el (python-indent-context)
121 (python-indent-calculate-indentation): Fix auto-identation
122 behavior for comment blocks. (Bug#15916)
124 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
126 * progmodes/python.el (python-indent-calculate-indentation):
127 When determining indentation, don't treat "return", "pass", etc., as
128 operators when they are just string constituents. (Bug#15812)
130 2013-12-12 Juri Linkov <juri@jurta.org>
132 * uniquify.el (uniquify-buffer-name-style): Change default to
133 `post-forward-angle-brackets'.
135 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
136 `uniquify'. Change default to `post-forward-angle-brackets'.
138 2013-12-11 Glenn Morris <rgm@gnu.org>
140 * emacs-lisp/package.el (finder-list-matches):
141 Autoload rather than falsely declaring.
143 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
145 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
146 (eww-mode-map): Use them.
148 2013-12-11 Martin Rudalics <rudalics@gmx.at>
150 * window.el (display-buffer-in-side-window): Fix doc-string
153 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
155 * vc/vc-git.el: Silence byte-compiler warnings.
156 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
157 (log-edit-set-header): Declare.
159 2013-12-11 Eli Zaretskii <eliz@gnu.org>
161 * Makefile.in (custom-deps, finder-data): Run output file names
162 through unmsys--file-name. (Bug#16099)
164 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
166 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
167 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
169 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
170 instead of deleting the selection "by hand" (bug#16098).
171 Rely on insert-for-yank to yank rectangles.
172 (cua-highlight-region-shift-only): Mark obsolete.
173 (cua-mode): Don't enable/disable transient-mark-mode,
174 shift-select-mode (cua-mode works both with and without them), and
175 pc-selection-mode (obsolete).
176 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
177 (cua--deactivate-rectangle): Deactivate it.
179 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
180 (delete-selection-helper): Make sure yank starts at the top of the
182 (minibuffer-keyboard-quit): Use region-active-p.
184 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
186 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
187 to `delete' (bug#16109).
189 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
191 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
192 info manual and show keybindings and set `:group' keyword.
194 2013-12-11 Juri Linkov <juri@jurta.org>
196 * delsel.el (delete-active-region): Let-bind `this-command'
197 to prevent `kill-region' from changing its original value.
198 (delete-selection-helper): Handle `overwrite-mode' for the type
199 `kill' exactly the same way as for the type `t'.
200 (insert-char, quoted-insert, reindent-then-newline-and-indent):
201 Support more commands. (Bug#13312)
203 2013-12-11 Juri Linkov <juri@jurta.org>
205 * bindings.el: Map kp keys to non-kp keys systematically
206 with basic modifiers control, meta and shift. (Bug#14397)
208 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
210 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
211 "Close browser" menu items. Fix wrong function of "List
214 2013-12-11 Juri Linkov <juri@jurta.org>
216 * misearch.el (multi-isearch-buffers): Set the value of
217 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
218 arg of isearch-forward to t.
219 (multi-isearch-buffers-regexp): Set the value of
220 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
221 arg of isearch-forward-regexp to t.
222 (multi-isearch-files): Set the value of
223 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
224 arg of isearch-forward to t.
225 (multi-isearch-files-regexp): Set the value of
226 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
227 arg of isearch-forward-regexp to t. (Bug#16035)
229 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
230 arg of isearch-forward to t.
231 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
232 arg of isearch-forward-regexp to t.
233 (dired-isearch-filter-filenames): Remove unnecessary check for
234 `dired-isearch-filenames'.
236 * comint.el (comint-history-isearch-backward):
237 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
238 (comint-history-isearch-backward-regexp):
239 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
241 2013-12-10 Eli Zaretskii <eliz@gnu.org>
243 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
244 unmsys--file-name. (Bug#16099)
246 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
248 * emacs-lisp/package.el (package-keyword-button-action):
249 Remove finder.el require dependency.
251 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
253 * emacs-lisp/package.el: Require finder.el.
254 (describe-package-1): Add keyword buttons.
255 (package-make-button): New convenience function.
256 (package-keyword-button-action): Keyword button action using
257 `finder-list-matches'
259 2013-12-09 Eli Zaretskii <eliz@gnu.org>
261 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
264 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
266 * autorevert.el (auto-revert-notify-add-watch): Do not handle
269 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
271 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
272 after the end of a percent literal.
274 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
276 * progmodes/ruby-mode.el (ruby-forward-string): Document.
277 Handle caret-delimited strings (Bug#16079).
279 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
281 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
282 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
283 `ruby-parse-partial' (Bug#16078).
285 2013-12-09 Leo Liu <sdl.web@gmail.com>
287 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
289 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
291 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
292 (js-switch-indent-offset): New option.
293 (js--proper-indentation): Use it. And handle the case when
294 "default" is actually a key in an object literal.
295 (js--same-line): New function.
296 (js--multi-line-declaration-indentation): Use it.
297 (js--indent-in-array-comp, js--array-comp-indentation):
299 (js--proper-indentation): Use them, to handle array comprehension
302 2013-12-08 Leo Liu <sdl.web@gmail.com>
304 * progmodes/flymake.el (flymake-highlight-line): Re-write.
305 (flymake-make-overlay): Remove arg MOUSE-FACE.
306 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
308 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
310 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
312 (redisplay-highlight-region-function): Use it.
314 * emulation/cua-base.el (cua--explicit-region-start)
315 (cua--last-region-shifted): Remove.
316 (cua--deactivate): Use deactivate-mark.
317 (cua--pre-command-handler-1): Don't handle shift-selection.
318 (cua--post-command-handler-1): Don't change transient-mark-mode.
319 (cua--select-keymaps): Use region-active-p rather than
320 cua--explicit-region-start or cua--last-region-shifted.
321 (cua-mode): Enable shift-select-mode.
323 2013-12-08 Leo Liu <sdl.web@gmail.com>
325 * progmodes/flymake.el (flymake-popup-current-error-menu):
326 Rename from flymake-display-err-menu-for-current-line. Reimplement.
327 (flymake-posn-at-point-as-event, flymake-popup-menu)
328 (flymake-make-emacs-menu): Remove. (Bug#16077)
330 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
332 * rect.el (rectangle-mark-mode): Activate mark even if
333 transient-mark-mode is off (bug#16066).
334 (rectangle--highlight-for-redisplay): Fix boundary condition when point
335 is > mark and at bolp.
337 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
338 (region-extract-function): Use it.
339 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
340 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
342 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
343 kill-ring-save, kill-region, delete-char, delete-forward-char.
344 Ignore self-insert-iso.
346 * emulation/cua-gmrk.el (cua--init-global-mark):
347 Ignore `self-insert-iso'.
349 * emulation/cua-base.el (cua--prefix-copy-handler)
350 (cua--prefix-cut-handler): Rely on region-extract-function rather than
351 checking cua--rectangle.
352 (cua-delete-region): Use region-extract-function.
353 (cua-replace-region): Delete function.
354 (cua-copy-region, cua-cut-region): Obey region-extract-function.
355 (cua--pre-command-handler-1): Don't do the delete-selection thing.
356 (cua--self-insert-char-p): Ignore `self-insert-iso'.
357 (cua--init-keymaps): Don't remap delete-selection commands.
358 (cua-mode): Use delete-selection-mode instead of rolling our own
361 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
362 Obey region-extract-function.
364 Make registers and delete-selection-mode work on rectangles.
365 * register.el (describe-register-1): Don't modify the register's value.
366 (copy-to-register): Obey region-extract-function.
367 * delsel.el (delete-active-region): Obey region-extract-function.
369 2013-12-08 Leo Liu <sdl.web@gmail.com>
371 * progmodes/flymake.el (flymake, flymake-error-bitmap)
372 (flymake-warning-bitmap, flymake-fringe-indicator-position)
373 (flymake-compilation-prevents-syntax-check)
374 (flymake-start-syntax-check-on-newline)
375 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
376 (flymake-start-syntax-check-on-find-file, flymake-log-level)
377 (flymake-xml-program, flymake-master-file-dirs)
378 (flymake-master-file-count-limit)
379 (flymake-allowed-file-name-masks): Relocate.
380 (flymake-makehash, flymake-float-time)
381 (flymake-replace-regexp-in-string, flymake-split-string)
382 (flymake-get-temp-dir): Remove.
383 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
384 (flymake-current-row, flymake-selected-frame)
385 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
386 related functions. (Bug#16077)
388 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
390 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
392 2013-12-07 Tassilo Horn <tsdh@gnu.org>
394 * help-fns.el (describe-function-1): Use new advice-* functions
395 rather than old ad-* functions. Fix function type description and
396 source links for advised functions and subrs.
398 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
400 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
402 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
404 * progmodes/compile.el (compilation-start):
405 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
407 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
408 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
410 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
412 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
413 Touch up the last change.
415 2013-12-06 Leo Liu <sdl.web@gmail.com>
417 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
418 (inferior-octave-startup): Always use "octave> " for prompt.
419 (octave-goto-function-definition)
420 (octave-sync-function-file-names)
421 (octave-find-definition-default-filename): Remove redundant backquotes.
423 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
425 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
427 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
428 where appropriate already.
429 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
430 end of method names (Bug#15874).
432 2013-12-06 Juri Linkov <juri@jurta.org>
434 * isearch.el (isearch--saved-overriding-local-map):
435 New internal variable.
436 (isearch-mode): Set it to the initial value of
437 `overriding-terminal-local-map'.
438 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
439 with `isearch--saved-overriding-local-map'. (Bug#16035)
441 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
443 * progmodes/octave.el (inferior-octave-completion-table):
444 Turn back into function, use `completion-table-with-cache'
445 (Bug#11906). Update all references.
447 * minibuffer.el (completion-table-with-cache): New function.
449 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
451 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
453 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
455 * net/eww.el (eww-current-source): New variable to store page
457 (eww-display-html, eww-mode, eww-save-history)
458 (eww-restore-history): Use it.
459 (eww-view-source): New command to view page source.
460 Opportunistically uses `html-mode' to highlight the buffer.
461 (eww-mode-map): Install it.
463 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
465 * net/dbus.el (dbus-unregister-service)
466 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
468 (dbus-unregister-service): Skip :serial entries in
469 `dbus-registered-objects-table'.
470 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
472 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
474 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
475 around keywords with extra `split-string' argument.
477 2013-12-04 Martin Rudalics <rudalics@gmx.at>
479 * windmove.el (windmove-other-window-loc): Handle navigation
480 between windows (excluding the minibuffer window - Bug#16017).
482 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
484 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
485 in D-Bus type syntax.
486 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
487 preserve unibyte strings. (Bug#16048)
489 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
491 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
492 Call force-mode-line-update is the proper buffer (bug#16042).
494 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
496 * vc/log-edit.el (log-edit-add-new-comment): Rename to
497 `log-edit-remember-comment', make argument optional. Adjust all
499 (log-edit-mode): Add `log-edit-remember-comment' to
500 `kill-buffer-hook' locally.
501 (log-edit-kill-buffer): Don't remember comment explicitly since
502 the buffer is killed anyway.
504 2013-12-04 Juri Linkov <juri@jurta.org>
506 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
507 add-hook and remove-hook for multi-buffer search. (Bug#16035)
509 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
511 * notifications.el (notifications-close-notification): Call the
512 D-Bus method with ID being a `:uint32'. (Bug#16030)
514 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
516 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
518 2013-12-03 Juri Linkov <juri@jurta.org>
520 * progmodes/compile.el (compilation-start): Rename window alist
521 entry `no-display-ok' to `allow-no-window'.
523 * simple.el (shell-command): Add window alist entry
524 `allow-no-window' to `display-buffer'.
525 (async-shell-command): Doc fix.
527 * window.el (display-buffer-no-window): New action function.
528 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
530 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
532 * vc/log-edit.el (log-edit-set-header): Extract from
533 `log-edit-toggle-header'.
534 (log-edit-extract-headers): Separate the summary, when extracted
535 from header, from the rest of the message with an empty line.
537 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
538 line, if present, to the Summary header.
540 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
542 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
543 in current-buffer (bug#16029).
545 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
547 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
548 (debugger-mode-map): Bind it.
549 (debugger--backtrace-base): New function.
550 (debugger-eval-expression): Use it.
551 (debugger-frame-number): Skip local vars when present.
552 (debugger--locals-visible-p, debugger--insert-locals)
553 (debugger--show-locals, debugger--hide-locals): New functions.
555 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
557 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
559 (tramp-get-remote-locale): New defun.
560 (tramp-open-connection-setup-interactive-shell): Use it.
562 2013-12-02 Leo Liu <sdl.web@gmail.com>
564 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
566 * progmodes/sh-script.el (sh-shell-process):
567 * progmodes/octave.el (inferior-octave-process-live-p):
568 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
569 (gdb-inferior-io-sentinel):
570 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
572 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
574 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
575 `save-selected-window' to `log-edit-hide-buf'. This makes
576 `log-edit-show-files' idempotent.
577 (log-edit-show-files): Mark the new window as dedicated.
579 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
581 * vc/log-edit.el (log-edit-mode-map): Add binding for
582 `log-edit-kill-biffer'.
583 (log-edit-hide-buf): Add a FIXME comment.
584 (log-edit-add-new-comment): New function, extracted from
586 (log-edit-done, log-edit-add-to-changelog): Use it.
587 (log-edit-kill-buffer): New command.
589 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
591 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
592 instead of killing the buffer.
594 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
596 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
598 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
600 * net/eww.el (eww-form-checkbox-selected-symbol)
601 (eww-form-checkbox-symbol): New customizable variable.
602 (eww-form-checkbox, eww-toggle-checkbox):
603 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
605 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
606 (shr--get-media-pref, shr--extract-best-source): New function.
607 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
608 no :src tag was specified.
610 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
611 (eww-render): Handle `eww-use-external-browser-for-content-type'.
612 Use \\` to match beginning of string instead of ^.
613 (eww-browse-with-external-browser): Provide optional URL parameter.
614 (eww-render): Set `eww-current-title' back to "".
616 * net/shr.el (shr-tag-video): Display content for video if no
618 (shr-tag-audio): Add support for <audio> tag.
620 * net/eww.el (eww-text-input-types): : New const.
621 (eww-process-text-input): Treat input types in
622 `eww-text-input-types' as text.
624 * net/shr.el (shr-tag-table): Fix comment typo.
626 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
628 * net/eww.el (eww-follow-link): New command to avoid reloading
629 pages when we follow #target links (bug#15243).
630 (eww-quit): Special mode buffers shouldn't query before exiting.
632 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
634 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
637 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
639 * net/eww.el (eww-restore-history): Update the window title after
640 moving in the history.
641 (eww-current-dom): New variable used to save the current DOM.
643 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
645 * vc/log-edit.el (log-edit-mode-map): Add binding for
646 `log-edit-beginning-of-line'.
647 (log-edit-setup-add-author): New user option.
648 (log-edit-beginning-of-line): New command.
649 (log-edit): Move major mode call above the contents setup so that
650 the local variable values are already applied.
651 (log-edit): Only insert "Author: " when
652 `log-edit-setup-add-author' is non-nil.
653 (log-edit): When SETUP is non-nil, position point after ": "
654 instead of point-min.
656 2013-12-01 Glenn Morris <rgm@gnu.org>
658 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
660 2013-11-30 Eli Zaretskii <eliz@gnu.org>
662 * startup.el (fancy-splash-frame): On MS-Windows, trigger
663 redisplay to make sure the initial frame gets a chance to become
666 2013-11-30 Martin Rudalics <rudalics@gmx.at>
668 Support resizing frames and windows pixelwise.
669 * cus-start.el (frame-resize-pixelwise)
670 (window-resize-pixelwise): New entries.
671 * emacs-lisp/debug.el (debug): Use window-total-height instead
672 of window-total-size.
673 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
674 * help.el (describe-bindings-internal): Call help-buffer
675 (temp-buffer-max-width): New option.
676 (resize-temp-buffer-window, help-window-setup)
677 (with-help-window): Rewrite.
678 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
680 * window.el (frame-char-size, window-min-pixel-height)
681 (window-safe-min-pixel-height, window-safe-min-pixel-width)
682 (window-min-pixel-width, window-safe-min-pixel-size)
683 (window-combination-p, window-safe-min-size)
684 (window-resizable-p, window--size-to-pixel)
685 (window--pixel-to-size, window--resize-apply-p): New functions.
686 (window-safe-min-height): Fix doc-string.
687 (window-size, window-min-size, window--min-size-1)
688 (window-sizable, window-sizable-p, window--min-delta-1)
689 (window-min-delta, window--max-delta-1, window-max-delta)
690 (window--resizable, window--resizable-p, window-resizable)
691 (window-full-height-p, window-full-width-p, window-at-side-p)
692 (window--in-direction-2, window-in-direction)
693 (window--resize-reset-1, window--resize-mini-window)
694 (window-resize, window-resize-no-error)
695 (window--resize-child-windows-normal)
696 (window--resize-child-windows, window--resize-siblings)
697 (window--resize-this-window, window--resize-root-window)
698 (window--resize-root-window-vertically)
699 (adjust-window-trailing-edge, enlarge-window, shrink-window)
700 (maximize-window, minimize-window, delete-window)
701 (quit-restore-window, window-split-min-size, split-window)
702 (balance-windows-2, balance-windows)
703 (balance-windows-area-adjust, balance-windows-area)
704 (window--state-get-1, window-state-get, window--state-put-1)
705 (window--state-put-2, window-state-put)
706 (display-buffer-record-window, window--display-buffer):
707 Make functions handle pixelwise sizing of windows.
708 (display-buffer--action-function-custom-type)
709 (display-buffer-fallback-action):
710 Add display-buffer-in-previous-window.
711 (display-buffer-use-some-window): Resize window to height it had
713 (fit-window-to-buffer-horizontally): New option.
714 (fit-frame-to-buffer): Describe new values.
715 (fit-frame-to-buffer-bottom-margin): Replace with
716 fit-frame-to-buffer-margins.
717 (window--sanitize-margin): New function.
718 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
719 using window-text-pixel-size.
721 2013-11-30 Glenn Morris <rgm@gnu.org>
723 * emacs-lisp/bytecomp.el (byte-compile-form):
724 Make the `interactive-only' warning like the `obsolete' one.
725 * comint.el (comint-run):
726 * files.el (insert-file-literally, insert-file):
727 * replace.el (replace-string, replace-regexp):
728 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
729 (goto-line, insert-buffer, next-line, previous-line):
730 Tweak `interactive-only' spec.
732 Stop keeping (most) generated cedet grammar files in the repository.
733 * Makefile.in (semantic): New.
734 (compile-main): Depend on semantic.
736 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
738 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
739 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
741 * uniquify.el (uniquify-buffer-name-style): Change default.
743 * loadup.el: Preload "uniquify".
745 * time.el (display-time-update): Update all mode lines (bug#15999).
747 * electric.el (electric-indent-mode): Enable by default.
748 * loadup.el: Preload "electric".
750 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
752 * emacs-lisp/helpers.el (string-empty-p): New function.
753 (string-blank-p): New function.
755 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
757 * imenu.el (imenu--index-alist): Add missing dot to the docstring
760 2013-11-29 Andreas Politz <politza@fh-trier.de>
761 * imenu.el (imenu--subalist-p): Don't error on non-conses and
762 allow non-lambda lists as functions.
763 (imenu--in-alist): Don't recurse into non-subalists.
764 (imenu): Don't pass function itself as an argument (Bug#14029).
766 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
768 * progmodes/python.el (python-mode-map): Remove binding for ":".
769 (python-indent-electric-colon): Remove command.
770 (python-indent-post-self-insert-function): Integrate the previous code
771 of python-indent-electric-colon. Make it conditional on
772 electric-indent-mode.
773 (python-mode): Add ?: to electric-indent-chars.
774 Move python-indent-post-self-insert-function to the end of
775 post-self-insert-hook.
777 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
779 * doc-view.el (doc-view-goto-page): Update mode-line.
781 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
783 2013-11-27 Glenn Morris <rgm@gnu.org>
785 * international/charprop.el, international/uni-bidi.el:
786 * international/uni-category.el, international/uni-combining.el:
787 * international/uni-comment.el, international/uni-decimal.el:
788 * international/uni-decomposition.el, international/uni-digit.el:
789 * international/uni-lowercase.el, international/uni-mirrored.el:
790 * international/uni-name.el, international/uni-numeric.el:
791 * international/uni-old-name.el, international/uni-titlecase.el:
792 * international/uni-uppercase.el:
793 Remove generated files from VCS repository.
795 2013-11-27 Eli Zaretskii <eliz@gnu.org>
797 * filenotify.el (file-notify-add-watch): Don't special-case
798 w32notify when computing the directory to watch.
800 2013-11-27 Glenn Morris <rgm@gnu.org>
802 Make bootstrap without generated uni-*.el files possible again.
803 * loadup.el: Update command-line-args checking for unidata-gen.
804 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
805 * composite.el, international/characters.el:
806 Handle unicode tables being undefined.
808 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
809 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
810 (compile-main): Depend on leim rule.
812 * loadup.el: Move leim-list.el to leim/ subdirectory.
813 * startup.el (normal-top-level): No more leim directory.
814 * international/ja-dic-cnv.el (skkdic-convert):
815 Disable version-control and autoloads in output files.
816 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
817 Disable version-control and autoloads in output files.
818 * leim/quail: Move here from ../leim.
819 * leim/quail/hangul.el (hangul-input-method-activate):
821 (generated-autoload-load-name): Set file-local value.
822 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
823 (generated-autoload-load-name): Set file-local value.
825 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
827 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
828 (eww-add-bookmark): ask confirmation when add to bookmarks
829 (eww-quit): ask confirmation before quitting eww
831 2013-11-26 Eli Zaretskii <eliz@gnu.org>
833 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
834 reading output from Diff on MS-Windows and MS-DOS.
836 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
838 * emacs-lisp/helpers.el (string-reverse): New function.
840 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
842 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
843 names on MS Windows, like "/[::1]:".
845 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
848 2013-11-26 Glenn Morris <rgm@gnu.org>
850 * progmodes/python.el (python-indent-guess-indent-offset):
851 Avoid corner-case error. (Bug#15975)
853 Preload leim-list.el. (Bug#4789)
854 * loadup.el: Load leim-list.el when found.
855 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
857 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
859 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
861 * emacs-lisp/helpers.el (string-join): New function.
863 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
865 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
866 Mark as obsolete and replace it with a symbol property.
867 (byte-compile-form): Use new 'interactive-only property.
868 * comint.el, files.el, replace.el, simple.el:
869 Apply new 'interactive-only properly.
871 2013-11-25 Martin Rudalics <rudalics@gmx.at>
873 * window.el (display-buffer-at-bottom): Make sure that
874 split-window-sensibly creates the new window on bottom
877 2013-11-23 David Kastrup <dak@gnu.org>
879 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
880 on the conflict markers when available.
881 (smerge--get-marker): New function.
882 (smerge-end-re, smerge-base-re): Add subgroup.
884 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
886 * frame.el (handle-focus-in, handle-focus-out): Add missing
889 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
891 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
892 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
894 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
896 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
897 (gomoku--last-pos): New var.
898 (gomoku--intangible-chars): New const.
899 (gomoku--intangible): New function.
900 (gomoku-mode): Use it. Derive from special-mode.
901 (gomoku-move-up): Adjust line count.
902 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
903 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
904 Simplify accordingly.
906 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
907 Remove blink-cursor code.
908 (blink-cursor-timer-function, blink-cursor-suspend):
909 Don't special-case GUIs.
910 (blink-cursor-mode): Use focus-in/out-hook.
912 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
914 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
915 work when annotation is invisible (Bug#13886).
917 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
919 * json.el (json-alist-p): Only return non-nil if the alist has
920 simple keys (Bug#13518).
922 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
924 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
925 when control-statement is the first statement in a buffer (Bug#15956).
927 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
929 * imenu.el (imenu-generic-skip-comments-and-strings):
930 New option (Bug#15560).
931 (imenu--generic-function): Use it.
933 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
935 * minibuffer.el (completion--in-region-1): Scroll the correct
938 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
940 * emacs-lisp/helpers.el: Add some string helpers.
941 (string-trim-left): Removes leading whitespace.
942 (string-trim-right): Removes trailing whitespace.
943 (string-trim): Removes leading and trailing whitespace.
945 * subr.el (string-suffix-p): New function.
947 2013-11-23 Glenn Morris <rgm@gnu.org>
949 * progmodes/python.el (python-shell-send-file):
950 Add option to delete file when done. (Bug#15647)
951 (python-shell-send-string, python-shell-send-region): Use it.
953 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
955 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
956 to set buffer-read-only to t, never to nil. (Bug#15938)
958 * textmodes/tex-mode.el (latex-noindent-environments):
959 Add safe-local-variable property. (Bug#15936)
961 2013-11-23 Glenn Morris <rgm@gnu.org>
963 * textmodes/enriched.el (enriched-mode): Doc fix.
964 * emacs-lisp/authors.el (authors-renamed-files-alist):
965 Add enriched.doc -> enriched.txt.
967 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
969 2013-11-22 Leo Liu <sdl.web@gmail.com>
971 * progmodes/octave.el (inferior-octave-startup): Spit out error
974 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
976 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
979 (ruby-encoding-magic-comment-style): Add :version.
981 2013-11-22 Leo Liu <sdl.web@gmail.com>
983 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
985 (octave-help-mode): Adapt to change to help-mode-finish to use
986 derived-mode-p on 2013-09-17.
987 (inferior-octave-prompt): Also match octave-gui.
988 (octave-kill-process): Don't ask twice. (Bug#10564)
990 2013-11-22 Leo Liu <sdl.web@gmail.com>
992 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
993 (inferior-octave-startup, inferior-octave-check-process)
994 (inferior-octave-track-window-width-change)
995 (octave-completion-at-point, octave-eldoc-function): Use it.
996 (octave-kill-process): Provide confirmation. (Bug#10564)
998 2013-11-21 Leo Liu <sdl.web@gmail.com>
1000 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1001 Fix obsolete variable comment-use-global-state.
1003 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1005 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1006 Add `octave-source-file'.
1007 (octave-source-file): New function. (Bug#15935)
1009 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1011 * net/eww.el (eww-local-regex): New variable.
1012 (eww): Use it to detect localhost and similar.
1014 2013-11-21 Leo Liu <sdl.web@gmail.com>
1016 Add completion for command `ag'.
1017 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1018 (pcomplete/ag): New function.
1019 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1021 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1023 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1025 (make-obsolete): Remove interactive spec.
1027 2013-11-21 Glenn Morris <rgm@gnu.org>
1029 * startup.el (command-line-1): Use path-separator with -L.
1031 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1033 * emacs-lisp/package.el (describe-package-1): Add package archive
1036 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1038 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1039 Change default to "# encoding: %s" to differentiate it from the
1040 default Ruby encoding comment template.
1042 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1044 * ses.el (ses-mode): Doc fix. (Bug#14748)
1046 2013-11-20 Leo Liu <sdl.web@gmail.com>
1048 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1050 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1052 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1053 when rebase or bisect are in progress.
1055 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1057 * filenotify.el (file-notify-add-watch): Doc fix.
1059 2013-11-19 Leo Liu <sdl.web@gmail.com>
1061 * obsolete/rcompile.el: Mark obsolete.
1063 * progmodes/compile.el (compilation-start)
1064 (compilation-goto-locus, compilation-find-file):
1065 Pass no-display-ok and handle nil value from display-buffer.
1068 * window.el (display-buffer-alist, display-buffer): Document the
1069 new parameter no-display-ok. Return either a window or nil
1070 but never a non-window value.
1072 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1074 * electric.el (electric-indent-mode-map): Remove.
1075 (electric-indent-mode): Change the global-map instead (bug#15915).
1077 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1080 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1082 * emacs-lisp/nadvice.el (remove-function): Align with
1083 add-function's behavior.
1085 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1086 (gdb--string-regexp): New constant.
1087 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1088 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1089 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1091 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1092 Adjust use accordingly.
1093 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1095 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1097 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1098 interpolation curlies (Bug#15914).
1100 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1102 * calc/calc.el (calc-context-sensitive-enter): New variable.
1103 (calc-enter): Use `calc-context-sensitive-enter'.
1105 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1107 * progmodes/cfengine.el: Version bump.
1108 (cfengine-cf-promises): New defcustom to locate cf-promises.
1109 (cfengine3-vartypes): Add new "data" type.
1110 (cfengine3--current-word): New function to get current name-like
1112 (cfengine3--current-function): New function to look up a CFEngine
1113 function's definition.
1114 (cfengine3-format-function-docstring): New function.
1115 (cfengine3-make-syntax-cache): New function.
1116 (cfengine3-documentation-function): New function: ElDoc glue.
1117 (cfengine3-completion-function): New function: completion glue.
1118 (cfengine3-mode): Set `compile-command',
1119 `eldoc-documentation-function', and add to
1120 `completion-at-point-functions'.
1122 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1124 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1125 `tramp-current-connection'.
1127 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1129 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1130 nil/self/true/false with "end of symbol".
1132 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1134 * subr.el (version-regexp-alist): Fix a typo.
1136 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1138 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1139 "en_US.utf8" and "LC_CTYPE" to "".
1140 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1141 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1143 2013-11-15 Leo Liu <sdl.web@gmail.com>
1145 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1147 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1149 * progmodes/gud.el (ctl-x-map):
1150 Remove C-x SPC binding. (Bug#12342)
1151 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1153 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1155 * subr.el (version-regexp-alist):
1156 Recognize hg, svn and darcs versions as snapshot versions.
1158 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1159 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1160 (ruby--encoding-comment-required-p): Extract from
1161 `ruby-mode-set-encoding'.
1162 (ruby-mode-set-encoding): Add the ability to always insert an
1163 utf-8 encoding comment. Fix and simplify coding comment update
1166 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1168 * net/tramp-gvfs.el (top): Run init code only when
1169 `tramp-gvfs-enabled' is not nil.
1170 (tramp-gvfs-enabled): Check also :system bus.
1172 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1174 Sync with upstream verilog-mode revision 78e66ba.
1175 * progmodes/verilog-mode.el (verilog-end-of-defun)
1176 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1177 (verilog-get-end-of-defun): Remove unused argument.
1178 (verilog-comment-depth): Remove unused local `e'.
1179 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1180 Don't pass arg to verilog-get-end-of-defun.
1182 2013-11-14 Glenn Morris <rgm@gnu.org>
1184 * obsolete/assoc.el (aget): Prefix dynamic variable.
1186 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1188 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1190 * widget.el, hfy-cmap.el: Remove bogus package version number.
1192 2013-11-13 Glenn Morris <rgm@gnu.org>
1194 * replace.el (replace-eval-replacement):
1195 Try to give more helpful error message. (Bug#15836)
1197 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1198 (archive-7z-update): Avoid custom type mismatches.
1200 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1202 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1204 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1205 address can be empty.
1207 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1208 Accept nil SWITCHES.
1209 (tramp-gvfs-handle-write-region): Implement APPEND.
1211 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1213 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1214 binary "|" operator and closing block args delimiter.
1215 Remove FIXME comment referring to Ruby 1.8-only syntax.
1216 (ruby-smie--implicit-semi-p): Not after "|" operator.
1217 (ruby-smie--closing-pipe-p): New function.
1218 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1219 (ruby-smie-rules): Indent after "|".
1221 2013-11-12 Glenn Morris <rgm@gnu.org>
1223 * ps-print.el (ps-face-attribute-list):
1224 Handle anonymous faces. (Bug#15827)
1226 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1228 * window.el (display-buffer-other-frame): Fix doc-string.
1231 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1233 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1235 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1237 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1238 (tramp-sh-handle-file-local-copy): Don't write a message when
1239 saving temporary files.
1241 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1242 both directories are remote.
1243 (tramp-smb-handle-directory-files): Do not return double entries.
1244 Do not expand full file names.
1245 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1246 (tramp-smb-handle-write-region): Implement APPEND.
1247 (tramp-smb-get-stat-capability): Fix a stupid bug.
1249 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1251 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1253 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1255 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1256 throwing error over malformed let/let* (bug#15814).
1258 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1260 * iswitchb.el (iswitchb-mode): Mark obsolete.
1262 2013-11-11 Glenn Morris <rgm@gnu.org>
1264 * international/uni-bidi.el, international/uni-category.el:
1265 * international/uni-name.el, international/uni-numeric.el:
1266 Regenerate for Unicode 6.3.0.
1268 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1270 * net/tramp.el (tramp-methods):
1271 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1272 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1274 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1276 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1277 Force highlighting text after Summary keyword in doc face for rpm.
1279 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1281 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1282 available and the word has no wildcards, append one to the grep pattern.
1283 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1284 (ispell-complete-word): Call `ispell-lookup-words' with the value
1285 independent of `ispell-look-p'.
1287 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1289 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1291 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1294 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1296 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1297 (ruby-font-lock-keywords): Use backquote.
1299 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1301 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1302 (ruby-smie--backward-token): Only consider full-string matches.
1304 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1306 * faces.el (describe-face): Add distant-foreground.
1308 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1310 * progmodes/ruby-mode.el: Improve encoding comment handling.
1311 (ruby-encoding-magic-comment-style): New option.
1312 (ruby-custom-encoding-magic-comment-template): New option.
1313 (ruby--insert-coding-comment, ruby--detect-encoding):
1314 New functions extracted from `ruby-mode-set-encoding'.
1315 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1316 to control the style of the auto-inserted encoding comment.
1318 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1320 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1321 Use `smie-backward-sexp' with token argument.
1323 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1325 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1326 Remove instrumentation code.
1328 2013-11-08 Glenn Morris <rgm@gnu.org>
1330 * progmodes/autoconf.el (autoconf-mode):
1331 Tweak comment-start-skip. (Bug#15822)
1333 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1335 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1336 at bobp (bug#15826).
1337 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1339 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1341 * man.el (Man-start-calling): New macro, extracted from
1342 Man-getpage-in-background.
1343 (Man-getpage-in-background): Use it.
1344 (Man-update-manpage): New command.
1345 (Man-mode-map): Bind it.
1347 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1349 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1350 of "and", "or", "&&" and "||".
1351 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1352 argument. Prohibit opening curly brace because it could only be a
1353 block opener in that position.
1354 (ruby-smie--forward-token, ruby-smie--backward-token):
1355 Separate "|" from "&" or "*" going after it. That can happen in block
1357 (ruby-smie--indent-to-stmt): New function, seeks the end of
1358 previous statement or beginning of buffer.
1359 (ruby-smie-rules): Use it.
1360 (ruby-smie-rules): Check if there's a ":" before a curly block
1361 opener candidate; if there is, it's a hash.
1363 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1365 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1366 (cl--block-wrapper): Fix last accidental change.
1368 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1370 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1371 Instrument, in order to hunt failure on hydra.
1373 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1375 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1376 malformed bindings form (bug#15814).
1378 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1380 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1381 "." compared to " @ ". This incidentally fixes some indentation
1383 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1384 (ruby-smie-grammar): New tokens: "and" and "or".
1385 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1386 Exclude "and" and "or". Remove "do" in order to work around token
1388 (ruby-smie-rules): Add all infix tokens. Handle the case of
1389 beginning-of-buffer.
1391 2013-11-06 Glenn Morris <rgm@gnu.org>
1393 * Makefile.in (setwins_almost, setwins_for_subdirs):
1394 Avoid accidental matches.
1396 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1398 * menu-bar.el (popup-menu): Use key-binding.
1400 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1402 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1403 menus, support also the menus produced by minor modes.
1406 2013-11-06 Leo Liu <sdl.web@gmail.com>
1408 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1409 DISTANCE to bound the search. All uses changed. (Bug#15808)
1411 2013-11-06 Glenn Morris <rgm@gnu.org>
1413 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1414 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1415 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1417 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1419 * electric.el (electric-indent-just-newline): New command.
1420 (electric-indent-mode-map): New keymap.
1421 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1422 Re-add :group which weren't redundant.
1424 * electric.el (electric-indent-local-mode): New minor mode.
1425 (electric-indent-functions-without-reindent): New var.
1426 (electric-indent-post-self-insert-function): Use it.
1427 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1429 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1431 * international/quail.el (quail-help): Be more explicit about the
1432 meaning of the labels shown on the keys. (Bug#15800)
1434 * startup.el (normal-top-level): Load the subdirs.el files before
1435 setting the locale environment. (Bug#15805)
1437 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1439 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1440 via arguments so as to get the right ones (bug#15418).
1442 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1444 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1446 Fix problems found while writing a test suite.
1448 * net/tramp-compat.el (tramp-compat-load): New defun.
1449 * net/tramp.el (tramp-handle-load): Use it.
1451 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1452 "(numberp ok-if-already-exists)" correctly.
1454 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1456 * international/characters.el (glyphless-char-display-control):
1459 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1461 * progmodes/python.el (python-mode):
1462 * progmodes/scheme.el (scheme-mode):
1463 * progmodes/prolog.el (prolog-mode):
1464 * progmodes/ruby-mode.el (ruby-mode):
1465 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1466 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1468 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1470 * rect.el (rectangle--highlight-for-redisplay):
1471 * emacs-lisp/smie.el (smie--next-indent-change):
1472 Use buffer-chars-modified-tick.
1474 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1476 * electric.el (electric-indent-post-self-insert-function):
1477 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1479 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1481 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1483 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1485 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1488 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1490 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1492 * progmodes/python.el: Fix up last change.
1493 (python-shell--save-temp-file): New function.
1494 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1495 `string' comes from the current buffer.
1496 (python-shell-send-string-no-output): Remove `msg' arg.
1497 (python--use-fake-loc): New var.
1498 (python-shell-buffer-substring): Obey it. Try to compensate for the
1499 extra coding line added by python-shell--save-temp-file.
1500 (python-shell-send-region): Use python-shell--save-temp-file and
1501 python-shell-send-file directly. Add `nomain' argument.
1502 (python-shell-send-buffer): Use python-shell-send-region.
1503 (python-electric-pair-string-delimiter): New function.
1504 (python-mode): Use it.
1506 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1508 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1509 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1510 environment and decoding all of the default-directory's to here
1512 (command-line): Decode also argv[0].
1514 * loadup.el: Error out if default-directory is a multibyte string
1515 when we are dumping.
1517 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1519 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1521 * emacs-lisp/package.el (package-menu-mode)
1522 (package-menu--print-info, package-menu--archive-predicate):
1523 Add Archive column to package list.
1525 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1527 Fix problems found while writing a test suite.
1529 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1530 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1531 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1532 to nil when running original file name handler. Otherwise,
1533 there are problems with constructs like "$$FOO".
1535 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1538 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1540 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1542 * subr.el (version<, version<=, version=):
1543 Update docstrings with information for snapshot versions.
1545 * helpers.el: New library for misc helper functions.
1546 (hash-table-keys): New function returning a list of hash keys.
1547 (hash-table-values): New function returning a list of hash values.
1549 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1551 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1552 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1554 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1556 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1557 checking whether point is after a 1-letter word.
1559 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1561 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1562 Don't infloop when expanding region over `multiline' syntax-type that
1563 begins a line (bug#15778).
1565 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1567 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1568 Make it into a proper minor mode.
1569 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1570 (rectangle-mark-mode-map): New keymap.
1571 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1573 2013-11-04 Glenn Morris <rgm@gnu.org>
1575 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1577 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1579 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1580 (ruby-smie-rules): Use smie-rule-parent instead.
1582 * emacs-lisp/smie.el (smie-rule-parent): Always call
1583 smie-indent-virtual rather than only for hanging tokens.
1584 (smie--next-indent-change): New helper command.
1586 2013-11-03 Glenn Morris <rgm@gnu.org>
1588 * Makefile.in (abs_srcdir): Remove.
1589 (emacs): Unset EMACSLOADPATH.
1591 2013-11-02 Glenn Morris <rgm@gnu.org>
1593 * Makefile.in (EMACS): Use a relative filename.
1594 (abs_top_builddir): Remove.
1595 (custom-deps, finder-data, autoloads): Use --chdir.
1597 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1599 Use relative filenames in TAGS files.
1600 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1601 (lisptagsfiles4, TAGS): Use relative file names.
1602 (TAGS-LISP): Remove.
1603 (maintainer-clean): No more TAGS-LISP file.
1605 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1606 (lisptagsfiles4): Use absolute filenames again.
1607 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1608 Remove all *loaddefs files, not just the first. Remove esh-groups.
1609 (maintainer-clean): Delete TAGS, TAGS-LISP.
1611 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1613 * emacs-lisp/package.el (package-version-join):
1614 Recognize snapshot versions.
1616 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1618 * subr.el (version-regexp-alist): Add support for snapshot versions.
1620 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1622 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1623 New function, replacement for `smie-rule-parent' for when we want to
1624 skip over our direct parent if it's an assignment token..
1625 (ruby-smie-rules): Use it.
1627 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1629 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1630 unconditionally. Remove now unnecessary forward declarations.
1631 Remove XEmacs-specific setup.
1632 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1633 (ruby-font-lock-syntactic-keywords)
1634 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1635 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1636 (ruby-here-doc-end-syntax): Remove.
1637 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1638 defined as function.
1640 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1642 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1644 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1646 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1647 table and abbrev table, `define-derived-mode' does that for us
1650 2013-11-01 Glenn Morris <rgm@gnu.org>
1652 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1653 files is atomic for some time, so no parallel compilation issues).
1655 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1657 * faces.el (face-x-resources): Add :distant-foreground.
1658 (region): Use :distant-foreground for gtk and ns.
1660 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1662 Allow multiple bibliographies when BibLaTeX is used rather than
1664 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1665 (reftex-locate-bibliography-files): Us it.
1667 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1669 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1670 allow comments in pbm files.
1672 * term/w32-win.el (dynamic-library-alist): Support newer versions
1673 of libjpeg starting with v7: look only for the DLL from the
1674 version against which Emacs was built.
1675 Support versions of libpng beyond 1.4.x.
1676 Support libtiff v4.x.
1678 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1680 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1681 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1683 (ruby-deep-arglist): Add property :type.
1685 2013-10-31 Glenn Morris <rgm@gnu.org>
1687 * Makefile.in (custom-deps, finder-data): No need to setq the target
1688 variables, we are in the right directory and the defaults work fine.
1690 2013-10-30 Glenn Morris <rgm@gnu.org>
1692 * Makefile.in (autoloads): Do not use abs_lisp.
1694 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1695 `newline' does not respect `standard-output', so use `princ'.
1697 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1699 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1700 * buff-menu.el (Buffer-menu--unmark): New function.
1701 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1703 2013-10-30 Glenn Morris <rgm@gnu.org>
1705 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1707 * emacs-lisp/package.el (lm-homepage): Declare.
1709 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1712 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1714 * Makefile.in (finder-data, autoloads, update-subdirs)
1715 (compile-main, compile-clean, compile-always, bootstrap-clean):
1716 Check return value of cd.
1717 (compile-calc): Remove.
1719 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1721 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1723 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1724 (byte-compile-and-folded): New function.
1725 (=, <, >, <=, >=): Use it.
1727 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1728 (path-separator, null-device, buffer-file-coding-system)
1729 (lpr-headers-switches): Check system-type before modifying them.
1730 (find-buffer-file-type-coding-system): Mark obsolete.
1731 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1732 find-file-not-found-set-buffer-file-coding-system.
1733 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1734 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1735 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1736 (w32-direct-print-region-helper, w32-direct-print-region-function)
1737 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1738 * startup.el (normal-top-level-add-subdirs-to-load-path):
1739 * ps-print.el (ps-print-region-function):
1740 * lpr.el (print-region-function): Use new name.
1742 * subr.el (custom-declare-variable-early): Remove function.
1743 (custom-declare-variable-list): Remove var.
1744 (error, user-error): Remove `while' loop.
1745 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1746 (user-emacs-directory-warning, locate-user-emacs-file):
1748 * simple.el (read-quoted-char-radix, read-quoted-char):
1749 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1751 * custom.el (custom-declare-variable-list): Don't process
1752 custom-declare-variable-list.
1754 * progmodes/python.el (python-shell-get-buffer): New function.
1755 (python-shell-get-process): Use it.
1756 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1757 Python which encoding was used. Don't split-string since we only care
1758 about the first line. Return the temp-file, if applicable.
1759 (python-shell-send-region): Tell compile.el how to turn locations in
1760 the temp-file into locations in the source buffer.
1762 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1764 * subr.el (undefined): Add missing behavior from the C code for
1767 * rect.el: Use lexical-binding. Add new rectangular region support.
1768 (rectangle-mark): New command.
1769 (rectangle--region): New var.
1770 (deactivate-mark-hook): Reset rectangle--region.
1771 (rectangle--extract-region, rectangle--insert-for-yank)
1772 (rectangle--highlight-for-redisplay)
1773 (rectangle--unhighlight-for-redisplay): New functions.
1774 (region-extract-function, redisplay-unhighlight-region-function)
1775 (redisplay-highlight-region-function): Use them to handle
1777 * simple.el (region-extract-function): New var.
1778 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1779 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1780 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1781 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1782 (redisplay-unhighlight-region-function)
1783 (redisplay-highlight-region-function): New vars.
1784 (redisplay--update-region-highlight): New function.
1785 (pre-redisplay-function): Use it.
1786 (exchange-point-and-mark): Don't deactivate the mark before
1787 reactivate-it anyway.
1788 * comint.el (comint-kill-region): Remove yank-handler argument.
1789 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1790 (delete-char): Remove property, since it's now part of their
1792 (self-insert-iso): Remove property since this command doesn't exist.
1794 * emacs-lisp/package.el (package--download-one-archive)
1795 (describe-package-1): Don't query the user about final newline.
1797 2013-10-29 Daniel Colascione <dancol@dancol.org>
1799 * net/tramp.el (tramp-methods): Document new functionality.
1800 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1801 tramp-hostname-checker if method provides one instead of scanning
1802 argument list for "%h" to decide hostname acceptability.
1804 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1806 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1807 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1808 Handle COPY-CONTENTS. (Bug#15737)
1810 2013-10-28 Daiki Ueno <ueno@gnu.org>
1813 (epa-file-cache-passphrase-for-symmetric-encryption):
1814 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1816 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1818 * image.el (defimage):
1819 (image-load-path): Doc fixes.
1821 2013-10-27 Alan Mackenzie <acm@muc.de>
1823 Indent statements in macros following "##" correctly.
1824 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1825 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1827 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1829 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1831 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1833 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1834 after `=' is probably a new expression.
1836 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1838 * man.el (man-imenu-title): New option.
1839 (Man-mode-map): Add menu. (Bug#15722)
1840 (Man-mode): Add imenu to menu.
1842 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1844 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1845 specific in what the first arg can be: a non-keyword word,
1846 string/regexp/percent literal opener, opening paren, or unary
1847 operator followed directly by word.
1849 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1851 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1852 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1853 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1854 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1855 Remove vars, they do not apply any more.
1856 (prolog-mode-abbrev-table): Remove redundant declaration.
1857 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1858 (prolog-use-smie): Remove.
1859 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1860 supported by prolog-electric-if-then-else-flag.
1861 (prolog-mode-variables, prolog-menu): Use setq-local.
1862 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1863 Remove binding to `Backspace' since this key doesn't exist anyway.
1864 Remove bindings for electric self-inserting keys.
1865 (prog-mode): Assume it's defined.
1866 (prolog-post-self-insert): New function.
1867 (prolog-mode): Use it.
1868 (prolog-indent-line, prolog-indent-level)
1869 (prolog-find-indent-of-matching-paren)
1870 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1871 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1872 (prolog-goto-next-paren, prolog-in-string-or-comment)
1873 (prolog-tokenize, prolog-inside-mline-comment)
1874 (prolog-find-start-of-mline-comment): Remove functions.
1875 (prolog-find-unmatched-paren, prolog-clause-end)
1876 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1877 (prolog-electric--if-then-else): Rename from
1878 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1879 (prolog-tokenize-searchkey): Remove const.
1880 (prolog-clause-info): Use forward-sexp.
1881 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1882 (prolog-electric-if-then-else): Remove commands.
1883 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1884 for use in post-self-insert-hook.
1885 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1886 for use in post-self-insert-hook.
1887 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1888 for use in post-self-insert-hook.
1889 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1890 adapt it for use in post-self-insert-hook.
1892 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1894 * emacs-lisp/ert.el (ert-run-tests-interactively):
1895 Use `completing-read'. (Bug#9756)
1897 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1899 * simple.el (line-move): Call line-move-1 instead of
1900 line-move-visual when the current window hscroll is zero, but
1901 temporary-goal-column indicates we will need to hscroll as result
1902 of the movement. (Bug#15712)
1904 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1906 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1907 capitalization. Use :visible instead of :active.
1908 Fix `ruby-indent-exp' reference. Add menu items for the generic
1909 commands that are used with SMIE.
1910 (ruby-do-end-to-brace): Insert space after `{'.
1912 2013-10-25 John Anthony <john@jo.hnanthony.com>
1914 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1916 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1918 2013-10-25 Glenn Morris <rgm@gnu.org>
1920 * vc/vc.el (vc-print-log): Don't use a working revision unless
1921 one was explicitly specified. (Bug#15322)
1923 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1925 * subr.el (add-to-list): Preserve return value in compiler-macro
1928 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1930 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1931 result. Ask user to retry using '-all' flag. (Bug#15701)
1933 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1935 * emacs-lisp/smie.el: New smie-config system.
1936 (smie-config): New defcustom.
1937 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1938 (smie-config-guess, smie-config-save): New commands.
1939 (smie-config--mode-local, smie-config--buffer-local)
1940 (smie-config--trace, smie-config--modefuns): New vars.
1941 (smie-config--advice, smie-config--mode-hook)
1942 (smie-config--setter, smie-config-local, smie-config--get-trace)
1943 (smie-config--guess-value, smie-config--guess): New functions.
1944 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1945 text properties. Treat "string fence" syntax like string syntax.
1947 * progmodes/sh-script.el (sh-use-smie): Change default.
1948 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1949 (sh-var-value): Simplify by CSE.
1950 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1951 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1953 (sh-guess-basic-offset): Use cl-incf.
1954 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1956 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1958 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1961 2013-10-24 Glenn Morris <rgm@gnu.org>
1963 * Makefile.in (abs_top_srcdir): Remove.
1964 (update-subdirs): Use relative path to update-subdirs.
1966 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1968 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1969 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1970 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1971 Call unmsys--file-name before expand-file-name, not after it.
1973 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1975 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1976 (ert-test-skipped): New error.
1977 (ert-skip, ert-stats-skipped): New defuns.
1978 (ert--skip-unless): New macro.
1979 (ert-test-skipped): New struct.
1980 (ert--run-test-debugger, ert-test-result-type-p)
1981 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1982 (ert--stats-set-test-and-result, ert-char-for-test-result)
1983 (ert-string-for-test-result, ert-run-tests-batch)
1984 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1985 Handle skipped tests. (Bug#9803)
1987 2013-10-24 Glenn Morris <rgm@gnu.org>
1989 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1991 * Makefile.in (abs_top_srcdir): New, set by configure.
1992 (update-subdirs): Correct build-aux location.
1994 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1996 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1997 value, whether we could auto-deduce `backend', or not.
1999 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2000 with parameters" example. Simplify the "is it block or is it
2001 hash" check, but also make it more thorough.
2003 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2005 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2007 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2009 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2012 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2015 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2017 * progmodes/compile.el (compilation-directory-matcher)
2018 (compilation-page-delimiter):
2019 Support GNU Make-4.0 directory quoting. (Bug#15678)
2021 2013-10-23 Leo Liu <sdl.web@gmail.com>
2023 * ido.el (ido-tidy): Handle read-only text.
2025 2013-10-23 Glenn Morris <rgm@gnu.org>
2027 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2028 (emacs, compile, compile-always):
2029 Quote entities that might contain whitespace.
2030 (custom-deps, finder-data, autoloads): Use abs_lisp.
2031 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2032 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2033 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2035 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2037 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2038 Use `following-char'.
2040 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2042 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2043 * progmodes/ruby-mode.el (ruby-smie-rules):
2044 Remove corresponding workaround. Fix indentation rule of ";" so it
2045 also applies when ";" is the parent.
2047 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2049 * frame.el (display-screens, display-pixel-height)
2050 (display-pixel-width, display-mm-width, display-backing-store)
2051 (display-save-under, display-planes, display-color-cells)
2052 (display-visual-class, display-monitor-attributes-list):
2053 Mention the optional ‘display’ argument in doc strings.
2055 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2057 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2058 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2060 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2062 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2063 TODO. Add "." after " @ ".
2064 (ruby-smie--at-dot-call): New function. Checks if point at method
2065 call with explicit target.
2066 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2067 to the method name tokens when it precedes them.
2068 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2069 (ruby-smie-rules): Add rule for indentation before and after "."
2072 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2074 * textmodes/remember.el (remember-diary-extract-entries):
2077 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2080 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2082 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2083 (ruby-smie--implicit-semi-p): Add new operator chars.
2085 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2087 (ruby-smie--args-separator-p): Check that there's no newline
2088 between method call and its arguments.
2090 2013-10-20 Alan Mackenzie <acm@muc.de>
2092 Allow comma separated lists after Java "implements".
2094 * progmodes/cc-engine.el (c-backward-over-enum-header):
2096 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2097 from a "disallowed" list in enum fontification.
2099 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2101 * startup.el (default-frame-background-mode): Remove unused defvar.
2103 * progmodes/verilog-mode.el (verilog-mode): Don't set
2104 comment-indent-function globally.
2106 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2108 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2109 Move Info menu item creation to ns-win.el.
2111 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2114 * menu-bar.el: Move GNUStep specific menus...
2116 * term/ns-win.el (ns-initialize-window-system): ... to here.
2118 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2120 * simple.el (newline): Only run post-self-insert-hook when
2121 called interactively.
2123 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2125 * icomplete.el (icomplete-with-completion-tables): Add :version.
2127 2013-10-19 Alan Mackenzie <acm@muc.de>
2129 Fix fontification bugs with constructors and const.
2131 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2132 CASE 2) Remove the check for the absence of a suffix construct
2133 after a function declaration with only types (no identifiers) in
2134 the parentheses. Also, accept a function declaration with just a
2135 type inside the parentheses, if this type can be positively
2136 recognised as such, or if a prefix keyword like "explicit" nails
2137 down the construct as a declaration.
2139 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2141 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2142 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2143 the problem whereby selecting a menu item that leads to a
2144 minibuffer prompt moves the cursor out of the minibuffer window,
2145 making it hard to type at the prompt. Suggested by Stefan Monnier
2146 <monnier@iro.umontreal.ca>.
2148 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2150 * menu-bar.el: Don't make Services menu.
2152 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2154 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2155 (ffap-alist): Use ffap-c++-mode for c++-mode.
2156 (ffap-c++-path): New variable.
2157 (ffap-c++-mode): New function.
2159 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2161 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2163 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2165 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2166 introduced on 2013-09-08, which results in an infinite loop
2167 requesting a password.
2169 2013-10-18 Glenn Morris <rgm@gnu.org>
2171 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2173 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2175 Sync with upstream verilog-mode revision 1a6ecec7.
2176 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2177 (verilog-mode-release-date): Remove.
2178 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2179 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2180 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2181 (verilog-auto-tieoff-ignore-regexp)
2182 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2183 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2184 (verilog-signals-with, verilog-dir-cache-preserving)
2185 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2187 (verilog-case-fold): New option, to control case folding in
2188 regexp searches, bug597.
2189 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2190 (verilog-string-match-fold, verilog-in-paren-count)
2191 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2192 (verilog-at-close-struct-p): New functions.
2193 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2194 (verilog-forward-sexp, verilog-set-auto-endcomments):
2195 (verilog-leap-to-case-head): Handle "unique0" case.
2196 (verilog-in-constraint-re): New constant.
2197 (verilog-keywords, verilog-type-font-keywords):
2198 Add some SystemVerilog 1800-2012 keywords.
2199 (verilog-label-be): Remove unimplemented argument, bug669.
2200 (verilog-batch-execute-func): When batch expanding clear
2201 create-lockfiles to prevent spurious user locks when a file ends
2203 (verilog-calculate-indent, verilog-calc-1)
2204 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2205 (verilog-do-indent): Fix indentation of nested constraints
2207 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2208 (verilog-auto-inst-param): Use verilog-string-match-fold.
2209 (verilog-read-inst-module-matcher):
2210 Fix AUTOINST on gate primitives with #1.
2211 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2212 Reads all user-defined typed variables.
2213 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2214 (verilog-signals-matching-regexp)
2215 (verilog-signals-not-matching-regexp, verilog-auto):
2216 Respect verilog-case-fold.
2217 (verilog-diff-report): Fix line count.
2218 (verilog-auto-assign-modport): Remove unused local `modi'.
2219 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2220 better handle multidimensional arrays.
2221 Fix packed array ports misadding bit index in AUTOINST, bug637.
2222 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2223 to not double-declare existing outputs and inputs, respectively.
2224 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2225 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2226 (verilog-sk-uvm-component): New skeleton.
2227 (verilog-submit-bug-report): Add verilog-case-fold,
2228 remove verilog-mode-release-date.
2230 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2232 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2235 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2237 * textmodes/remember.el (remember): set buffer-offer-save in
2238 remember buffers (bug#13566).
2240 2013-10-18 Daniel Colascione <dancol@dancol.org>
2242 When evaluating forms in ielm, direct standard output to ielm
2243 buffer. Add new ielm-return-for-effect command. Remove trailing
2244 whitespace throughout.
2246 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2247 (ielm-return-for-effect): New command.
2248 (ielm-send-input): Accept optional `for-effect' parameter.
2249 (ielm-eval-input): Accept optional `for-effect' parameter.
2250 Bind `standard-output' to stream we create using
2251 `ielm-standard-output-impl'. Suppress printing result when
2253 (ielm-standard-output-impl): New function.
2254 (inferior-emacs-lisp-mode): Explain new features in documentation.
2256 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2260 * net/tramp.el (tramp-debug-message): Do not check for connection
2262 (tramp-message): Use "vector" connection property.
2264 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2265 (tramp-equal-remote, tramp-eshell-directory-change)
2266 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2267 (tramp-adb-handle-rename-file)
2268 * net/tramp-cmds.el (tramp-list-remote-buffers)
2269 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2270 * net/tramp-compat.el (tramp-compat-process-running-p)
2271 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2272 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2273 (tramp-gvfs-handle-rename-file)
2274 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2275 (tramp-set-file-uid-gid)
2276 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2277 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2280 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2281 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2282 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2283 (tramp-gw-open-network-stream): Suppress unrelated traces.
2285 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2286 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2287 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2288 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2289 connection property.
2291 * net/tramp-cache.el (top): Suppress traces when reading
2294 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2295 Refactor common code. Improve debug message.
2296 (tramp-maybe-open-connection)
2297 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2298 connection buffer too early.
2300 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2301 from `tramp-smb-actions-with-acl'.
2302 (tramp-smb-actions-set-acl): New defconst.
2303 (tramp-smb-handle-copy-directory)
2304 (tramp-smb-action-get-acl): New defun, renamed from
2305 `tramp-smb-action-with-acl'.
2306 (tramp-smb-action-set-acl): New defun.
2307 (tramp-smb-handle-set-file-acl): Rewrite.
2309 2013-10-17 Glenn Morris <rgm@gnu.org>
2311 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2313 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2315 * skeleton.el (skeleton-newline): Remove.
2316 (skeleton-internal-1): Use (insert "\n") instead.
2318 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2321 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2322 forward-sexp-function while we redo its job (bug#15613).
2324 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2326 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2327 represented by lists.
2329 2013-10-16 Glenn Morris <rgm@gnu.org>
2331 * tmm.el (tmm--history): New dynamic variable.
2332 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2334 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2336 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2337 (tramp-smb-errors): Add error messages.
2338 (tramp-smb-actions-with-acl): New defconst.
2339 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2340 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2341 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2342 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2343 (tramp-smb-get-stat-capability): Fix tests.
2345 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2347 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2350 2013-10-16 Glenn Morris <rgm@gnu.org>
2352 * ansi-color.el (ansi-color-drop-regexp):
2353 Add 1J, 1K, 2K. (Bug#15617)
2355 * files.el (hack-local-variables--warned-lexical): New.
2356 (hack-local-variables):
2357 Warn about misplaced lexical-binding. (Bug#15616)
2359 * net/eww.el (eww-render): Always set eww-current-url,
2360 and update header line. (Bug#15622)
2361 (eww-display-html): ... Rather than just doing it here.
2363 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2365 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2366 menu navigations commands.
2368 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2370 * progmodes/subword.el (subword-capitalize): Be careful when
2371 the search for [[:alpha:]] fails (bug#15580).
2373 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2375 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2376 to commands that scroll the menu.
2378 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2380 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2381 Handle methods ending with `?' and `!'.
2383 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2385 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2386 `japanese-cp932' to `cp932' to fix the problem where saving a
2387 source file written in Shift_JIS twice would end up having
2388 `coding: japanese-cp932' which Ruby could not recognize.
2389 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2390 in `ruby-encoding-map'.
2391 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2392 doesn't need to be explicitly declared in magic comment.
2393 (ruby-encoding-map): Add type declaration for better customize UI.
2395 2013-10-13 Glenn Morris <rgm@gnu.org>
2397 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2398 Occur buffers are read-only. http://bugs.debian.org/720775
2400 * emacs-lisp/authors.el (authors-fixed-entries):
2401 Comment out old alpha stuff.
2403 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2405 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2406 to `after-save-hook' instead of `before-save-hook'.
2407 (ruby-mode-set-encoding): Use the value of coding system used to
2408 write the file. Call `basic-save-buffer-1' after modifying the
2411 2013-10-13 Alan Mackenzie <acm@muc.de>
2413 Fix indentation/fontification of Java enum with
2414 "implements"/generic.
2416 * progmodes/cc-engine.el (c-backward-over-enum-header):
2417 Extracted from the three other places and enhanced to handle generics.
2418 (c-inside-bracelist-p): Uses new function above.
2419 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2421 (c-font-lock-enum-tail): Uses new function above.
2423 2013-10-13 Kenichi Handa <handa@gnu.org>
2425 * international/mule-cmds.el (select-safe-coding-system): Remove a
2426 superfluous condition in chekcing whether a coding system is safe
2429 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2431 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2433 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2435 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2437 2013-10-13 Glenn Morris <rgm@gnu.org>
2439 * menu-bar.el (menu-bar-update-buffers):
2440 Unify Buffers menu prompt string. (Bug#15576)
2442 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2444 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2446 (authors-fixed-entries): Use accented form of name.
2448 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2450 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2451 method calls (bug#15594).
2452 (ruby-smie--args-separator-p): New function.
2453 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2454 recognize paren-free method calls.
2456 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2457 internals of universal-argument.
2459 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2461 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2462 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2463 dropped menu on second mouse click on the menu bar.
2465 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2467 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2468 (explicit-shell-file-name): Declare.
2469 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2470 (sh-completion-at-point-function): New function.
2472 (sh-smie--keyword-p): Remove unused argument.
2473 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2475 (sh-set-shell): Always setup SMIE, even if we use the
2476 old indentation code.
2478 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2480 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2482 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2483 predicate would return nil are almost non-existent.
2484 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2486 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2487 cache also after commands that modify the buffer but don't move
2490 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2492 * env.el (substitute-env-in-file-name): New function.
2493 (substitute-env-vars): Extend the meaning of the optional arg.
2495 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2497 * term/w32-win.el (dynamic-library-alist): Define separate lists
2498 of GIF DLLs for versions before and after 5.0.0 of giflib.
2501 2013-10-10 João Távora <joaotavora@gmail.com>
2503 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2504 not locked, use last revision and current source as
2505 defaults. (Bug#15569)
2507 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2509 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2512 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2514 * window.el (pop-to-buffer-same-window): Fix doc-string.
2517 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2519 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2521 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2523 * calendar/icalendar.el (icalendar-import-file):
2524 Fix interactive spec. (Bug#15482)
2526 2013-10-10 Glenn Morris <rgm@gnu.org>
2528 * desktop.el (desktop-save): Default to saving in .emacs.d,
2529 since PWD is no longer in desktop-path by default. (Bug#15319)
2531 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2532 now that text mode has a menu with the same entry.
2533 (menu-bar-text-mode-auto-fill): Remove now unused func.
2534 * textmodes/text-mode.el (text-mode-map):
2535 Use auto-fill help text from menu-bar.el.
2537 2013-10-10 John Anthony <john@jo.hnanthony.com>
2539 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2541 2013-10-09 Juri Linkov <juri@jurta.org>
2543 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2544 instead of this-command-keys. Add universal-argument-more and
2545 universal-argument-minus to the list of prefix commands. (Bug#15568)
2547 2013-10-09 Glenn Morris <rgm@gnu.org>
2549 * vc/vc-svn.el (vc-svn-create-repo):
2550 Expand paths in file://... url. (Bug#15446)
2552 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2554 (authors): Remove unused local variables.
2556 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2558 * profiler.el: Create a more coherent calltree from partial backtraces.
2559 (profiler-format): Hide the tail with `invisible' so that C-s can still
2560 find the hidden elements.
2561 (profiler-calltree-depth): Don't recurse so enthusiastically.
2562 (profiler-function-equal): New hash-table-test.
2563 (profiler-calltree-build-unified): New function.
2564 (profiler-calltree-build): Use it.
2565 (profiler-report-make-name-part): Indent the calltree less.
2566 (profiler-report-mode): Add visibility specs for profiler-format.
2567 (profiler-report-expand-entry, profiler-report-toggle-entry):
2568 Expand the whole subtree when provided with a prefix arg.
2570 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2572 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2574 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2575 hanging iuwu-mod token.
2576 (ruby-smie--forward-token): Do not include a dot after a token in
2578 (ruby-smie--backward-token): Likewise.
2580 2013-10-08 Juri Linkov <juri@jurta.org>
2582 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2583 to isearch-other-control-char.
2584 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2585 and isearch-post-command-hook to post-command-hook.
2586 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2587 and isearch-post-command-hook from post-command-hook.
2588 (isearch-unread-key-sequence)
2589 (isearch-reread-key-sequence-naturally)
2590 (isearch-lookup-scroll-key, isearch-other-control-char)
2591 (isearch-other-meta-char): Remove functions.
2592 (isearch-pre-command-hook, isearch-post-command-hook):
2593 New functions based on isearch-other-meta-char rewritten
2594 relying on the new behavior of overriding-terminal-local-map
2595 that does not replace the local keymaps any more. (Bug#15200)
2597 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2599 Support menus on text-mode terminals.
2600 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2603 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2605 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2606 Move here from mouse.el.
2607 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2609 (tty-menu-navigation-map): New map for TTY menu navigation.
2611 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2613 * frame.el (display-mouse-p): Report text-mode mouse as available
2615 (display-popup-menus-p): Report availability if mouse is
2616 available; don't condition on window-system.
2618 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2619 (tty-menu-selected-face): New faces.
2621 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2623 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2624 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2625 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2626 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2628 (lisp-mode-variables): New `elisp' argument.
2629 (emacs-lisp-mode): Use it.
2630 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2631 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2633 * indent.el: Use lexical-binding.
2634 (indent-region): Add progress reporter.
2635 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2637 (indent--next-tab-stop): New function to implement this behavior.
2638 (tab-to-tab-stop, move-to-tab-stop): Use it.
2640 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2642 * indent.el (indent-rigidly--current-indentation): New function.
2643 (indent-rigidly-map): New var.
2644 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2646 2013-10-08 Bastien Guerry <bzg@gnu.org>
2648 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2650 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2652 * progmodes/perl-mode.el: Use lexical-binding.
2653 Remove redundant :group args.
2654 (perl-nochange): Change default to be closer to other major modes's
2656 (perl-indent-line): Don't consider text on current line as a
2657 valid beginning of function from which to indent.
2659 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2660 with more than one argument (bug#15538).
2662 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2664 * vc/pcvs.el: Use lexical-binding.
2665 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2666 environment of `eval'.
2667 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2668 than a list of expressions. Adjust callers.
2669 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2671 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2673 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2674 case of the dot in a chained method call being on the following line.
2676 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2678 * electric.el (electric-indent-inhibit): New var.
2679 (electric-indent-post-self-insert-function): Use it.
2680 * progmodes/python.el (python-mode): Set it.
2682 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2685 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2687 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2688 (css-mode): Use electric-indent-chars.
2690 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2691 (font-lock-beg, font-lock-end): Move before first use.
2692 (nxml-mode): Use syntax-propertize-function.
2693 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2694 (nxml-extend-after-change-region): Remove.
2695 * nxml/xmltok.el: Use lexical-binding.
2696 (xmltok-save): Use `declare'.
2697 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2698 * nxml/nxml-util.el: Use lexical-binding.
2699 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2701 * nxml/nxml-ns.el: Use lexical-binding.
2702 (nxml-ns-save): Use `declare'.
2703 (nxml-ns-prefixes-for): Avoid add-to-list.
2704 * nxml/rng-match.el: Use lexical-binding.
2705 (rng--ipattern): Use cl-defstruct.
2706 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2707 (rng-cons-group-after, rng-subst-group-after)
2708 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2709 Use closures instead of `(lambda...).
2711 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2713 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2716 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2717 Use `tramp-handle-insert-file-contents'.
2718 (tramp-gvfs-handle-insert-file-contents): Remove function.
2720 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2721 Use `save-restriction' in order to keep markers.
2723 * net/trampver.el: Update release number.
2725 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2727 * progmodes/compile.el (compilation-parse-errors):
2728 Use compilation--put-prop.
2729 (compilation--ensure-parse): Check compilation-multiline.
2731 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2733 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2736 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2738 * progmodes/ruby-mode.el: Fix recently added tests.
2739 (ruby-smie-grammar): Add - and +.
2740 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2741 (ruby-smie--backward-id): New functions.
2742 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2743 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2746 2013-10-07 Leo Liu <sdl.web@gmail.com>
2748 * register.el (register-preview-delay)
2749 (register-preview-functions): New variables.
2750 (register-read-with-preview, register-preview)
2751 (register-describe-oneline): New functions.
2752 (point-to-register, window-configuration-to-register)
2753 (frame-configuration-to-register, jump-to-register)
2754 (number-to-register, view-register, insert-register)
2755 (copy-to-register, append-to-register, prepend-to-register)
2756 (copy-rectangle-to-register): Use register-read-with-preview to
2757 read register. (Bug#15525)
2759 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2761 * net/network-stream.el (network-stream-open-starttls): Don't add
2762 --insecure if it's already present, because that gnutls-cli
2763 rejects getting that parameter twice.
2765 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2767 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2770 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2772 * newcomment.el (comment-use-global-state): Change default value
2773 to t, mark obsolete (Bug#15251).
2774 (comment-beginning): In addition to `comment-to-syntax', check the
2775 value of `comment-use-global-state'.
2777 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2779 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2780 (ruby-comment-column): Follow the global default, by default.
2781 (ruby-smie-grammar): Add assignment syntax.
2782 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2783 open-paren, a comma, or a \.
2784 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2785 and line continuations.
2786 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2787 followed by implicit semi-colons. Add rule for string concatenation
2788 and for indentation at BOB.
2789 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2791 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2792 calling next-sexp, since next-token may have skipped chars which
2793 next-sexp doesn't know should be skipped!
2795 2013-10-05 Leo Liu <sdl.web@gmail.com>
2797 * progmodes/octave.el (octave-send-region):
2798 Call compilation-forget-errors.
2800 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2802 * vc/vc-svn.el (vc-svn-find-admin-dir):
2803 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2804 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2805 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2806 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2808 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2810 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2812 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2814 * subr.el (read-passwd): Hide chars even when called within a context
2815 where after-change-functions is disabled (bug#15501).
2816 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2817 until we removed ourself from overriding-terminal-local-map.
2819 2013-10-04 Leo Liu <sdl.web@gmail.com>
2821 * progmodes/octave.el (inferior-octave-mode):
2822 Call compilation-forget-errors.
2824 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2826 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2828 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2830 * net/secrets.el (secrets-create-collection): Add optional
2831 argument ALIAS. Use proper Label keyword. Append ALIAS as
2832 dbus-call-method argument. (Bug#15516)
2834 2013-10-04 Leo Liu <sdl.web@gmail.com>
2836 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2837 (inferior-octave-compilation-font-lock-keywords): New variables.
2838 (compilation-error-regexp-alist)
2839 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2840 (inferior-octave-mode): Use compilation-shell-minor-mode.
2842 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2844 * minibuffer.el (completion--replace): Be careful that `end' might be
2847 2013-10-03 Daiki Ueno <ueno@gnu.org>
2849 Add support for package signature checking.
2850 * emacs-lisp/package.el (url-http-file-exists-p)
2851 (epg-make-context, epg-context-set-home-directory)
2852 (epg-verify-string, epg-context-result-for)
2853 (epg-signature-status, epg-signature-to-string)
2854 (epg-check-configuration, epg-configuration)
2855 (epg-import-keys-from-file): Declare.
2856 (package-check-signature): New user option.
2857 (package-unsigned-archives): New user option.
2858 (package-desc): Add `signed' field.
2859 (package-load-descriptor): Set `signed' field if .signed file exists.
2860 (package--archive-file-exists-p): New function.
2861 (package--check-signature): New function.
2862 (package-install-from-archive): Check package signature.
2863 (package--download-one-archive): Check archive signature.
2864 (package-delete): Remove .signed file.
2865 (package-import-keyring): New command.
2866 (package-refresh-contents): Import default keyring.
2867 (package-desc-status): Add "unsigned" status.
2868 (describe-package-1, package-menu--print-info)
2869 (package-menu-mark-delete, package-menu--find-upgrades)
2870 (package-menu--status-predicate): Support "unsigned" status.
2872 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2874 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2875 the new compilation scheme using the new byte-codes.
2877 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2878 (byte-pophandler): New byte codes.
2879 (byte-goto-ops): Adjust accordingly.
2880 (byte-compile--use-old-handlers): New var.
2881 (byte-compile-catch): Use new byte codes depending on
2882 byte-compile--use-old-handlers.
2883 (byte-compile-condition-case--old): Rename from
2884 byte-compile-condition-case.
2885 (byte-compile-condition-case--new): New function.
2886 (byte-compile-condition-case): New function that dispatches depending
2887 on byte-compile--use-old-handlers.
2888 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2891 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2892 Optimize under `condition-case' and `catch' if
2893 byte-compile--use-old-handlers is nil.
2894 (disassemble-offset): Handle new bytecodes.
2896 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2898 * subr.el (error): Use `declare'.
2899 (decode-char, encode-char): Use advertised-calling-convention instead
2900 of the docstring to discourage use of the `restriction' arg.
2902 2013-10-03 Daiki Ueno <ueno@gnu.org>
2904 * epg.el (epg-verify-file): Add a comment saying that it does not
2905 notify verification error as a return value nor a signal.
2906 (epg-verify-string): Ditto.
2908 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2910 * progmodes/compile.el (compilation-start): Try globbing the arg to
2913 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2915 Sync with Tramp 2.2.8.
2917 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2918 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2919 * net/trampver.el: Update release number.
2921 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2923 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2924 and default-process-coding-system for darwin only.
2926 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2928 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2930 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2932 * vc/vc-git.el (vc-git-grep): Disable pager.
2934 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2936 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2937 Use :url instead of :homepage, as per
2938 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2940 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2941 non-nil, use `syntax-ppss' (Bug#15251).
2943 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2945 * progmodes/octave.el (inferior-octave-startup-file):
2946 Prefer ~/.emacs.d/init_octave.m.
2948 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2950 * emacs-lisp/package.el (package-desc-from-define):
2951 Accept additional arguments as plist, convert them to an alist and store
2952 them in the `extras' slot.
2953 (package-generate-description-file): Convert extras alist back to
2954 plist and append to the `define-package' form arguments.
2955 (package--alist-to-plist): New function.
2956 (package--ac-desc): Add `extras' slot.
2957 (package--add-to-archive-contents): Check if the archive-contents
2958 vector is long enough, and if it is, pass its `extras' slot value
2959 to `package-desc-create'.
2960 (package-buffer-info): Call `lm-homepage', pass the returned value
2961 to `package-desc-from-define'.
2962 (describe-package-1): Render the homepage button (Bug#13291).
2964 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2965 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2967 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2969 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2970 and default-process-coding-system to utf-8-unix (Bug#15402).
2972 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2974 * subr.el (looking-back): Do not recommend using looking-back.
2976 2013-09-28 Alan Mackenzie <acm@muc.de>
2978 Fix indentation/fontification of Java enum with "implements".
2980 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2981 regexp which matches "implements", etc., in Java.
2982 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2983 specifier clauses coming after "enum".
2984 * progmodes/cc-fonts.el (c-font-lock-declarations)
2985 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2988 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2990 * faces.el (region): Change ns_selection_color to
2991 ns_selection_fg_color, add ns_selection_bg_color.
2993 2013-09-28 Leo Liu <sdl.web@gmail.com>
2995 * progmodes/octave.el (inferior-octave-completion-table)
2996 (inferior-octave-completion-at-point): Minor tweaks.
2998 * textmodes/ispell.el (ispell-lookup-words): Rename from
2999 lookup-words. (Bug#15460)
3000 (lookup-words): Obsolete.
3001 (ispell-complete-word, ispell-command-loop): All uses changed.
3003 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3005 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3006 (octave-mode-menu): Add octave-send-buffer.
3007 (octave-send-buffer): New function.
3009 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3011 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3013 (octave-mode-menu): Add octave-lookfor.
3014 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3016 (octave-lookfor): New function.
3018 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3020 * emacs-lisp/cl-macs.el:
3021 (cl--loop-destr-temps): Remove.
3022 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3024 (cl--loop-set-iterator-function): New function.
3025 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3026 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3027 Bind `it' with `let' instead of substituting it with `cl-subst'.
3028 (cl--unused-var-p): New function.
3029 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3030 Eliminate some unused variable warnings (bug#15326).
3032 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3034 * doc-view.el (doc-view-scale-reset): Rename from
3035 `doc-view-reset-zoom-level'.
3036 (doc-view-scale-adjust): New command.
3037 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3038 `doc-view-scale-adjust'.
3040 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3042 * doc-view.el (doc-view-reset-zoom-level): New command.
3043 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3044 zoom commands (bug#15466).
3046 2013-09-26 Kenichi Handa <handa@gnu.org>
3048 * international/quail.el (quail-help): Make it not a command.
3050 2013-09-26 Leo Liu <sdl.web@gmail.com>
3052 * minibuffer.el (completion-all-sorted-completions): Make args
3053 optional as they are.
3055 2013-09-25 Daniel Colascione <dancol@dancol.org>
3057 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3058 specs are and that they're not evaluated.
3060 2013-09-24 Sam Steingold <sds@gnu.org>
3062 * midnight.el (clean-buffer-list-kill-regexps)
3063 (clean-buffer-list-kill-buffer-names): Update for the new Man
3064 buffer naming which includes the object name.
3066 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3068 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3069 (eshell-parse-command, eshell-parse-pipeline): Use it since
3070 eshell-separate-commands requires a dynamic scoped var.
3071 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3073 2013-09-23 Leo Liu <sdl.web@gmail.com>
3075 * autoinsert.el (auto-insert-alist): Make the value of
3076 lexical-binding match its file setting.
3078 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3080 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3082 * autoarg.el (autoarg-kp-digit-argument):
3083 * electric.el (Electric-command-loop):
3084 * kmacro.el (kmacro-step-edit-insert):
3085 Do not set universal-argument-num-events.
3087 2013-09-22 Leo Liu <sdl.web@gmail.com>
3089 * files.el (interpreter-mode-alist): Add octave.
3091 2013-09-21 Alan Mackenzie <acm@muc.de>
3093 C++: fontify identifier in declaration following "public:" correctly.
3094 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3095 to match "public", etc.
3096 (c-decl-prefix-re): Add ":" into the C++ value.
3097 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3098 bit. Add a check for a ":" preceded by "public", etc.
3100 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3102 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3103 recognized by GDB 7.5 and later.
3105 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3107 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3109 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3111 * subr.el (internal--call-interactively): New const.
3112 (called-interactively-p): Use it (bug#3984).
3114 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3116 * vc/pcvs.el (cvs-mode-ignore):
3117 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3118 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3120 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3122 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3123 (eshell-ls-orig-insert-directory): Remove.
3124 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3125 (eshell-ls-use-in-dired): Use advice-add/remove.
3126 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3127 Add `orig-fun' arg for use in :around advice.
3128 Make it check (redundantly) eshell-ls-use-in-dired.
3130 2013-09-19 Glenn Morris <rgm@gnu.org>
3132 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3134 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3136 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3138 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3140 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3141 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3142 (tramp-get-remote-python): New defuns.
3143 (tramp-get-remote-uid-with-perl)
3144 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3145 contributed by yary <not.com@gmail.com> (tiny change).
3146 (tramp-get-remote-uid-with-python)
3147 (tramp-get-remote-gid-with-python): New defuns. Python code
3148 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3149 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3151 2013-09-19 Glenn Morris <rgm@gnu.org>
3153 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3155 * eshell/em-unix.el (eshell-remove-entries):
3156 Rename argument to avoid name-clash with global `top-level'.
3158 * eshell/esh-proc.el (eshell-kill-process-function):
3159 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3160 (eshell-reset-after-proc): Remove unused arg `proc'.
3162 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3163 (directory-files-and-attributes): Mark unused arg.
3165 * eshell/em-unix.el (eshell-remove-entries):
3166 Remove unused arg `path'. Update callers.
3168 * eshell/em-hist.el (eshell-hist-parse-arguments):
3169 Remove unused arg `silent'. Update callers.
3171 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3172 Fix (f)boundp mix-up.
3174 * eshell/em-smart.el (eshell-smart-scroll-window)
3175 (eshell-disable-after-change):
3176 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3178 2013-09-18 Alan Mackenzie <acm@muc.de>
3180 Fix fontification of type when followed by "const".
3181 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3182 "known" types from fontification.
3184 2013-09-18 Glenn Morris <rgm@gnu.org>
3186 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3187 (chart-face-list): Drop Emacsen without display-color-p.
3189 * net/eww.el (libxml-parse-html-region): Declare.
3190 (eww-display-html): Explicit error if no libxml2 support.
3192 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3194 * image.el (image-type-from-buffer, image-multi-frame-p):
3195 Remove --without-x warning/error.
3197 * mouse.el (mouse-yank-primary):
3198 * term.el (term-mouse-paste):
3199 Reorder to silence --without-x compilation.
3201 * mpc.el (doc-view-mode): Silence --without-x compilation.
3203 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3204 Silence --without-x compilation.
3206 * progmodes/gud.el (gud-find-file, gud-mode):
3207 Silence --without-x compilation.
3208 (tooltip-mode): Declare.
3210 * wdired.el (dired-backup-overwrite): Remove declaration.
3211 (wdired-mode-map): Add doc string.
3213 * custom.el (x-get-resource): Declare.
3215 * eshell/em-glob.el (ange-cache):
3216 * eshell/em-unix.el (ange-cache): Declare.
3218 * faces.el (x-display-list, x-open-connection, x-get-resource):
3221 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3222 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3225 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3227 * net/gnutls.el (gnutls-log-level): Declare.
3229 * net/shr.el (image-size, image-animate): Declare.
3231 * simple.el (font-info): Declare.
3233 * subr.el (x-popup-dialog): Declare.
3235 * term/common-win.el (x-select-enable-primary)
3236 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3239 * term/ns-win.el (x-handle-args): Declare.
3241 * term/x-win.el (x-select-enable-clipboard): Declare.
3243 * term/w32-win.el (create-default-fontset): Declare.
3245 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3248 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3249 (fit-frame-to-buffer): Explicit error if --without-x.
3250 (mouse-autoselect-window-select): Silence compiler.
3252 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3254 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3255 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3256 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3257 * eshell/esh-util.el (eshell-sublist):
3258 Remove unused local variables.
3260 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3262 * textmodes/two-column.el: Make 2C-split work for --without-x.
3263 (scroll-bar-columns): Autoload.
3264 (top-level): Require fringe when compiling.
3266 2013-09-18 Leo Liu <sdl.web@gmail.com>
3268 * subr.el (add-hook): Robustify to handle closure as well.
3270 2013-09-17 Glenn Morris <rgm@gnu.org>
3272 * simple.el (messages-buffer-mode-map): Unbind "g".
3274 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3276 * help-mode.el (help-mode-finish): Use derived-mode-p.
3277 Remove obsolete highlighting.
3279 * play/life.el (life-mode): Use define-derived-mode. Derive from
3281 (life): Let-bind inhibit-read-only.
3282 (life-setup): Avoid `setq'. Use `life-mode'.
3284 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3285 which should not be needed any more.
3286 (package-menu-refresh, package-menu-describe-package): Use user-error.
3288 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3289 (eshell-post-rewrite-command-hook): Make obsolete.
3290 (eshell-parse-command): Simplify.
3291 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3292 (eshell--cmd): Declare.
3293 (eshell-parse-pipeline): Remove unused var `final-p'.
3294 Pass a dynvar to eshell-post-rewrite-command-hook.
3295 Implement the new eshell-post-rewrite-command-function.
3296 (eshell-invoke-directly): Remove unused arg `input'.
3297 * eshell/esh-io.el (eshell-io-initialize):
3298 Use eshell-post-rewrite-command-function (bug#15399).
3299 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3300 adjust to new calling convention.
3301 (eshell-create-handles): Rename args to avoid clashing with dynvar
3304 2013-09-17 Glenn Morris <rgm@gnu.org>
3306 * simple.el (messages-buffer-mode): New major mode.
3307 (messages-buffer): New function.
3308 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3309 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3310 (ert-run-test): Use `messages-buffer' function.
3311 (ert--force-message-log-buffer-truncation): Ignore read-only.
3312 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3313 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3315 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3317 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3319 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3321 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3323 * icomplete.el (icomplete-in-buffer): New var.
3324 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3325 vars and replace them with functions.
3326 (icomplete-minibuffer-setup): Adjust accordingly.
3327 (icomplete--completion-table, icomplete--completion-predicate)
3328 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3330 (icomplete-forward-completions, icomplete-backward-completions)
3331 (icomplete-simple-completing-p, icomplete-exhibit)
3332 (icomplete-completions): Use them.
3333 (icomplete--in-region-buffer): New var.
3334 (icomplete--in-region-setup): New function.
3335 (icomplete-mode): Use it.
3337 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3339 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3340 return args and options.
3341 (eshell-eval-using-options): Use the new return value of
3342 eshell--do-opts to set the options's vars in their scope.
3343 (eshell--set-option): Rename from eshell-set-option.
3345 (eshell--process-option): Rename from eshell-process-option.
3347 (eshell--process-args): Use an `opt-vals' alist to store the options's
3348 values during their processing and return them additionally to the
3351 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3353 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3354 continuation character an operator, as far as indentation is
3355 concerned (Bug#15369).
3357 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3359 * window.el (window--state-put-2): Don't process buffer state
3360 when buffer doesn't exist any more (Bug#15382).
3362 2013-09-15 Glenn Morris <rgm@gnu.org>
3364 * eshell/em-unix.el (eshell/rm):
3365 Make -f ignore missing files. (Bug#15373)
3367 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3368 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3369 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3371 2013-09-14 Glenn Morris <rgm@gnu.org>
3373 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3375 2013-09-13 Glenn Morris <rgm@gnu.org>
3377 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3378 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3380 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3382 * frame.el (x-focus-frame): Mark as declared in frame.c.
3384 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3386 * ls-lisp.el: Use advice-add.
3387 (original-insert-directory): Remove.
3388 (ls-lisp--insert-directory): Rename from insert-directory; add
3389 `orig-fun' argument.
3390 (insert-directory): Advise.
3392 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3394 * term.el (term-emulate-terminal): Decode the command string
3395 before passing it to term-command-hook. (Bug#15337)
3397 2013-09-13 Glenn Morris <rgm@gnu.org>
3399 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3401 * eshell/esh-ext.el (eshell-search-path): Declare.
3403 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3404 Otherwise an error occurs if eshell-dirs module not loaded.
3406 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3408 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3410 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3411 `tramp-check-proper-host'. Check for a valid method name.
3413 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3414 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3415 * net/tramp-sh.el (tramp-maybe-open-connection):
3416 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3418 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3419 also for hash values.
3421 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3423 * term/ns-win.el (parameters): Don't declare as dynamic.
3424 (before-make-frame-hook): Don't add ineffective function.
3426 * eshell/*.el: Use lexical-binding (bug#15231).
3428 2013-09-12 Kenichi Handa <handa@gnu.org>
3430 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3432 2013-09-12 Glenn Morris <rgm@gnu.org>
3434 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3435 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3437 * subr.el (do-after-load-evaluation): Also give compiler warnings
3438 when obsolete files are used (except by obsolete files).
3440 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3441 in the status output, assume `filename' is the first. (Bug#15322)
3443 * vc/vc.el (vc-deduce-fileset): Doc fix.
3445 * calc/calc-help.el (Info-goto-node):
3446 * progmodes/cperl-mode.el (Info-find-node):
3447 * vc/ediff.el (Info-goto-node): Update declarations.
3449 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3451 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3452 (vc-bzr-pull): Require vc-dispatcher.
3453 * vc/vc-git.el (vc-compilation-mode): Declare.
3454 (vc-git-pull): Require vc-dispatcher.
3456 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3458 * progmodes/octave.el (help-button-action): Declare.
3460 * shell.el (shell-directory-tracker): Output error as a message
3461 rather than just returning it as a string.
3462 (shell-process-pushd): Remove useless use of message.
3464 * dframe.el (dframe-timer-fn):
3465 * files.el (dir-locals-read-from-file):
3466 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3468 * reveal.el (reveal-post-command):
3469 * saveplace.el (load-save-place-alist-from-file):
3470 * shell.el (shell-resync-dirs):
3471 * w32-common-fns.el (x-get-selection-value):
3472 * emacs-lisp/copyright.el (copyright-find-copyright):
3473 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3474 * emulation/tpu-edt.el (tpu-copy-keyfile):
3475 * play/bubbles.el (bubbles--mark-neighbourhood):
3476 * progmodes/executable.el
3477 (executable-make-buffer-file-executable-if-script-p):
3478 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3480 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3482 Cleanup Eshell to rely less on dynamic scoping.
3483 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3484 last-value, and ext-command here. Bind `args' closer to `body'.
3485 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3486 (eshell--args): Declare new dynamic var.
3487 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3488 last-value, and ext-command. Pass `args' to `body'.
3489 (eshell-process-args): Bind eshell--args.
3490 (eshell-set-option): Use eshell--args.
3491 * eshell/eshell.el (eshell): Use derived-mode-p.
3492 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3493 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3494 (eshell-glob-function): Declare.
3495 * eshell/esh-util.el: Require cl-lib.
3496 (eshell-read-hosts-file): Avoid add-to-list.
3497 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3499 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3501 (eshell/diff): Remove unused var `err'.
3502 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3504 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3505 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3507 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3508 Move declaration before first use.
3509 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3510 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3513 2013-09-12 Glenn Morris <rgm@gnu.org>
3515 * term/ns-win.el (global-map): Remove binding for ispell-next,
3516 deleted 1999-05-29. (Bug#15357)
3518 2013-09-11 Glenn Morris <rgm@gnu.org>
3520 * echistory.el (electric-command-history): Remove call to deleted func.
3522 * play/landmark.el (landmark-mode): Fix typos.
3524 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3525 Check cvs-sort-ignore-file is bound.
3527 * savehist.el: No need for cl when compiling on Emacs.
3529 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3531 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3533 (eshell-self-insert-command, eshell-send-invisible):
3534 Remove unused argument.
3535 (eshell-handle-control-codes): Remove unused var `orig'.
3536 Avoid delete-backward-char.
3538 * files.el (set-auto-mode): Simplify a bit further.
3540 2013-09-11 Glenn Morris <rgm@gnu.org>
3542 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3543 (set-auto-mode): Don't regexp-quote elements.
3544 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3545 * progmodes/cc-mode.el (interpreter-mode-alist):
3546 * progmodes/ruby-mode.el (interpreter-mode-alist):
3547 Revert previous change.
3549 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3551 * play/snake.el (snake-mode):
3552 * play/mpuz.el (mpuz-mode):
3553 * play/landmark.el (lm-mode):
3554 * play/blackbox.el (blackbox-mode):
3555 * play/5x5.el (5x5-mode):
3556 * obsolete/options.el (Edit-options-mode):
3557 * net/quickurl.el (quickurl-list-mode):
3558 * net/newst-treeview.el (newsticker-treeview-mode):
3559 * mail/rmailsum.el (rmail-summary-mode):
3560 * mail/mspools.el (mspools-mode):
3561 * locate.el (locate-mode):
3562 * ibuffer.el (ibuffer-mode):
3563 * emulation/ws-mode.el (wordstar-mode):
3564 * emacs-lisp/debug.el (debugger-mode):
3565 * array.el (array-mode):
3566 * net/eudc.el (eudc-mode): Use define-derived-mode.
3567 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3568 Move initialization into declaration.
3569 (mairix-searches-mode): Use define-derived-mode.
3570 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3571 (eudc-edit-hotlist): Use dolist.
3572 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3573 (Man-mode): Use define-derived-mode.
3574 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3575 (Info-edit-mode): Use define-derived-mode.
3576 (Info-cease-edit): Use Info-mode.
3577 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3579 (eshell-mode): Use define-derived-mode.
3580 * chistory.el (command-history-mode-map): Rename from
3581 command-history-map.
3582 (command-history-mode): Use define-derived-mode.
3583 (Command-history-setup): Remove function.
3584 * calc/calc.el (calc-trail-mode-map): New var.
3585 (calc-trail-mode): Use define-derived-mode.
3586 (calc-trail-buffer): Set calc-main-buffer manually.
3587 * bookmark.el (bookmark-insert-annotation): New function.
3588 (bookmark-edit-annotation): Use it.
3589 (bookmark-edit-annotation-mode): Make it a proper major mode.
3590 (bookmark-send-edited-annotation): Use derived-mode-p.
3591 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3592 closer to its ideal place. Use \' to match EOS.
3594 * profiler.el (profiler-calltree-find): Use function-equal.
3596 2013-09-10 Glenn Morris <rgm@gnu.org>
3598 * files.el (interpreter-mode-alist): Convert to regexps.
3599 (set-auto-mode): Adapt for this. (Bug#15306)
3600 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3601 Comment out unused variable.
3602 * progmodes/cc-mode.el (interpreter-mode-alist):
3603 * progmodes/python.el (interpreter-mode-alist):
3604 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3605 * progmodes/sh-script.el (sh-set-shell):
3606 No longer use interpreter-mode-alist to get list of shells.
3608 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3610 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3612 * simple.el: Use set-temporary-overlay-map for universal-argument.
3613 (universal-argument-map): Don't use default-bindings (bug#15317).
3614 Bind switch-frame explicitly. Replace universal-argument-minus with
3615 a conditional binding.
3616 (universal-argument-num-events, saved-overriding-map): Remove.
3617 (restore-overriding-map): Remove.
3618 (universal-argument--mode): Rename from save&set-overriding-map,
3620 (universal-argument, universal-argument-more, negative-argument)
3621 (digit-argument): Adjust accordingly.
3622 (universal-argument-minus): Remove.
3623 (universal-argument-other-key): Remove.
3625 * subr.el (with-demoted-errors): Add `format' argument.
3627 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3629 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3630 `tramp-cleanup-connection'.
3632 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3633 parameters KEEP-DEBUG and KEEP-PASSWORD.
3635 * net/tramp.el (tramp-file-name-handler):
3636 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3637 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3638 (tramp-maybe-open-connection):
3639 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3640 Use `tramp-cleanup-connection'.
3642 * net/tramp-sh.el (tramp-maybe-open-connection):
3643 Catch 'uname-changed inside the progress reporter.
3645 2013-09-10 Glenn Morris <rgm@gnu.org>
3647 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3649 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3650 returns "alternate access method" in mode (eg "-rw-r--r--.").
3652 2013-09-08 Glenn Morris <rgm@gnu.org>
3654 * saveplace.el (load-save-place-alist-from-file):
3655 Demote errors. (Bug#15305)
3657 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3659 Improve compatibility with older Emacsen, and XEmacs.
3661 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3662 only if it is bound. It isn't for XEmacs.
3663 (with-tramp-progress-reporter): Do not let-bind `result'.
3664 This yields to scoping errors in XEmacs.
3665 (tramp-handle-make-auto-save-file-name): New function, moved from
3668 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3669 for `make-auto-save-file-name'.
3670 (tramp-adb--gnu-switches-to-ash):
3671 Use `tramp-compat-replace-regexp-in-string'.
3673 * net/tramp-cache.el (tramp-cache-print): Call
3674 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3676 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3677 bound. It isn't for XEmacs.
3679 * net/tramp-compat.el (tramp-compat-copy-file):
3680 Catch `wrong-number-of-arguments' error.
3681 (tramp-compat-replace-regexp-in-string): New defun.
3683 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3684 for `make-auto-save-file-name'.
3685 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3687 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3688 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3689 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3691 * net/tramp-gw.el (tramp-gw-open-network-stream):
3692 Use `tramp-compat-replace-regexp-in-string'.
3694 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3695 Call `tramp-handle-make-auto-save-file-name'.
3696 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3697 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3698 (tramp-sh-file-inotifywait-process-filter):
3699 Use `tramp-compat-replace-regexp-in-string'.
3700 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3702 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3703 for `make-auto-save-file-name'.
3704 (tramp-smb-handle-copy-directory):
3705 Call `tramp-compat-replace-regexp-in-string'.
3706 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3707 (tramp-smb-handle-copy-file): Improve error message.
3708 (tramp-smb-handle-rename-file): Rename directly only in case
3709 `newname' does not exist yet. This is a restriction of smbclient.
3710 (tramp-smb-maybe-open-connection): Rerun the function only when
3711 `auth-sources' is non-nil.
3713 2013-09-08 Kenichi Handa <handa@gnu.org>
3715 * international/characters.el: Set category "^" (Combining) for
3718 2013-09-07 Alan Mackenzie <acm@muc.de>
3720 Correctly fontify Java class constructors.
3721 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3723 (c-recognize-typeless-decls): Set the Java value to t.
3724 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3725 While handling a "(", add a check for, effectively, Java, and handle a
3726 "typeless" declaration there.
3728 2013-09-07 Roland Winkler <winkler@gnu.org>
3730 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3731 field subtitle for entry type book.
3733 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3735 * minibuffer.el: Make minibuffer-complete call completion-in-region
3736 rather than other way around.
3737 (completion--some, completion-pcm--find-all-completions):
3738 Don't delay signals when debugging.
3739 (minibuffer-completion-contents): Beware fields within the
3740 minibuffer contents.
3741 (completion-all-sorted-completions): Use defvar-local.
3742 (completion--do-completion, completion--cache-all-sorted-completions)
3743 (completion-all-sorted-completions, minibuffer-force-complete):
3744 Add args `beg' and `end'.
3745 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3746 (minibuffer-complete): Use completion-in-region.
3747 (completion-complete-and-exit): New fun, extracted from
3748 minibuffer-complete-and-exit.
3749 (minibuffer-complete-and-exit): Use it.
3750 (completion--complete-and-exit): Rename from
3751 minibuffer--complete-and-exit.
3752 (completion-in-region--single-word): New function, extracted from
3753 minibuffer-complete-word.
3754 (minibuffer-complete-word): Use it.
3755 (display-completion-list): Make `common-substring' argument obsolete.
3756 (completion--in-region): Call completion--in-region-1 instead of
3757 minibuffer-complete.
3758 (completion-help-at-point): Pass boundaries to
3759 minibuffer-completion-help as args rather than via an overlay.
3760 (completion-pcm--string->pattern): Use `any-delim'.
3761 (completion-pcm--optimize-pattern): New function.
3762 (completion-pcm--pattern->regex): Handle `any-delim'.
3763 * icomplete.el (icomplete-forward-completions)
3764 (icomplete-backward-completions, icomplete-completions):
3765 Adjust calls to completion-all-sorted-completions and
3766 completion--cache-all-sorted-completions.
3767 (icomplete-with-completion-tables): Default to t.
3768 * emacs-lisp/crm.el (crm--current-element): Rename from
3769 crm--select-current-element. Don't put an overlay but return the
3771 (crm--completion-command): Take two new args to bind to the boundaries.
3772 (crm-completion-help): Adjust accordingly.
3773 (crm-complete): Use completion-in-region.
3774 (crm-complete-word): Use completion-in-region--single-word.
3775 (crm-complete-and-exit): Use completion-complete-and-exit.
3777 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3779 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3782 2013-09-06 Juri Linkov <juri@jurta.org>
3784 * info.el (Info-display-images-node): When image file doesn't exist
3785 display text version of the image if it's provided in the Info file.
3786 Otherwise, display the location of missing image from SRC attribute.
3787 Add help-echo text property from ALT attribute. (Bug#15279)
3789 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3791 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3792 (edit-abbrevs-mode): Use define-derived-mode.
3794 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3795 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3797 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3798 Use define-derived-mode.
3800 * epg.el (epg-start-encrypt): Minor CSE simplification.
3802 2013-09-06 William Xu <william.xwl@gmail.com>
3804 * arc-mode.el: Add support for 7za (bug#15264).
3805 (archive-7z-program): New var.
3806 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3807 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3808 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3810 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3814 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3815 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3816 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3817 (tramp-postfix-host-format, tramp-file-name-regexp)
3818 (tramp-completion-file-name-regexp)
3819 (tramp-completion-dissect-file-name)
3820 (tramp-handle-substitute-in-file-name): Remove 'url case.
3821 (tramp-file-name-regexp-url)
3822 (tramp-completion-file-name-regexp-url): Remove constants.
3824 2013-09-06 Glenn Morris <rgm@gnu.org>
3826 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3828 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3830 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3831 keywords" below "here-doc beginnings" (Bug#15270).
3833 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3835 * subr.el (pop): Use `car-safe'.
3836 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3837 to detect unused `pop' return value.
3839 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3841 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3842 (python-fill-string): Remove unused var `marker'.
3843 (python-skeleton-add-menu-items): Remove unused var `items'.
3845 * international/mule-cmds.el: Require CL.
3846 (find-coding-systems-for-charsets): Avoid add-to-list.
3847 (sanitize-coding-system-list): New function, extracted from
3848 select-safe-coding-system-interactively.
3849 (select-safe-coding-system-interactively): Use it.
3850 (read-input-method-name): Accept symbols for `default'.
3852 * emacs-lisp/advice.el (defadvice): Add indent rule.
3854 2013-09-05 Daniel Hackney <dan@haxney.org>
3858 * net/browse-url.el:
3861 * net/eudcb-ldap.el:
3874 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3875 byte compiler. Remove some unused let-bound variables.
3877 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3879 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3880 a "ref-cell", since it gets better optimized (bug#14883).
3882 2013-09-05 Glenn Morris <rgm@gnu.org>
3884 * progmodes/cc-awk.el (c-forward-sws): Declare.
3886 2013-09-04 Glenn Morris <rgm@gnu.org>
3888 * generic-x.el [rul-generic-mode]: Require cc-mode.
3889 (c++-mode-syntax-table): Declare.
3890 (rul-generic-mode-syntax-table): Init in the defvar.
3892 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3894 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3895 (vc-do-command, vc-set-async-update):
3896 * vc/vc-mtn.el (vc-mtn-dir-status):
3897 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3898 (vc-hg-pull, vc-hg-merge-branch):
3899 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3900 (vc-git-merge-branch):
3901 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3902 (vc-cvs-dir-status-files):
3903 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3904 (vc-bzr-dir-status-files):
3905 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3906 * vc/vc-annotate.el: Use lexical-binding.
3907 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3908 (vc-sentinel-movepoint): Declare.
3909 (vc-annotate): Don't use `goto-line'.
3910 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3911 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3912 (vc-sentinel-movepoint): Declare.
3913 * vc/vc-svn.el: Use lexical-binding.
3914 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3916 * vc/vc-rcs.el: Use lexical-binding.
3918 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3919 `deleted'. Don't drop errors silently.
3921 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3923 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3925 * vc/vc.el (vc-ignore): Rewrite.
3926 (vc-default-ignore): New function.
3927 (vc-default-ignore-completion-table): Use find-ignore-file.
3929 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3930 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3931 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3932 Remove. Most code moved to vc.el.
3934 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3936 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3937 * net/tramp-smb.el (tramp-smb-get-file-entries):
3938 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3939 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3941 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3943 (eww-change-select): Remove unused var `properties'.
3944 (eww-make-unique-file-name): Remove unused var `base'.
3946 * finder.el (finder-compile-keywords): Don't mess with windows.
3948 * calculator.el (calculator-funcall): Fix typo in last change.
3950 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3952 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3953 <pkg>-autoloads.el file stop us.
3955 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3956 warnings, and factor out common code.
3958 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3960 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3961 two-character operators and whether the character preceding them
3962 changes their meaning (Bug#15208).
3964 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3966 Format code sent to Python shell for robustness.
3967 * progmodes/python.el (python-shell-buffer-substring):
3969 (python-shell-send-region, python-shell-send-buffer): Use it.
3971 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3973 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3974 * net/tramp.el (tramp-user-error): ... here.
3975 (tramp-find-method, tramp-check-proper-host)
3976 (tramp-dissect-file-name, tramp-debug-message)
3977 (tramp-handle-shell-command):
3978 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3979 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3981 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3983 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3985 * avoid.el (mouse-avoidance-point-position)
3986 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3989 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3991 * progmodes/python.el (python-shell-completion-get-completions):
3992 Drop use of deleted `comint-last-prompt-overlay'.
3993 (python-nav-if-name-main): New command.
3995 2013-09-01 Glenn Morris <rgm@gnu.org>
3997 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3998 Avoid leading space in $wins. Otherwise the sed command used by
3999 eg compile-main ends up containing "/*.el". (Bug#15170)
4001 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4003 2013-08-30 Glenn Morris <rgm@gnu.org>
4005 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4006 Fix is-this-a-directory logic. (Bug#15220)
4008 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4010 * textmodes/css-mode.el: Use SMIE.
4011 (css-smie-grammar): New var.
4012 (css-smie--forward-token, css-smie--backward-token)
4013 (css-smie-rules): New functions.
4014 (css-mode): Use them.
4015 (css-navigation-syntax-table): Remove var.
4016 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4017 (css-indent-calculate, css-indent-line): Remove functions.
4019 Misc changes to reduce use of `(lambda...); and other cleanups.
4020 * cus-edit.el: Use lexical-binding.
4021 (customize-push-and-save, customize-apropos)
4022 (custom-buffer-create-internal): Use closures.
4023 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4024 * progmodes/ada-xref.el: Use setq.
4025 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4026 * dframe.el: Use lexical-binding.
4027 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4028 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4029 * descr-text.el: Use lexical-binding.
4030 (describe-text-widget, describe-text-sexp, describe-property-list):
4032 * comint.el (comint-history-isearch-push-state): Use a closure.
4033 * calculator.el: Use lexical-binding.
4034 (calculator-number-to-string): Make it work with lexical-binding.
4035 (calculator-funcall): Same and use cl-letf.
4037 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4038 (lisp--company-doc-string, lisp--company-location): New functions.
4039 (lisp-completion-at-point): Use them to improve Company support.
4041 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4042 params of lambda expressions.
4043 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4044 (ruby-smie--opening-pipe-p): New function.
4045 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4046 symbols and matched |...| for formal params.
4047 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4048 from being treated as hanging. Handle "rescue".
4050 2013-08-29 Glenn Morris <rgm@gnu.org>
4052 * progmodes/cc-engine.el (c-pull-open-brace):
4053 Move definition before use.
4055 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4057 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4058 are immutable. Don't use `unsafe' any more.
4059 (cl--defsubst-expand): Don't substitute at the same time as keeping
4060 a residual unused let-binding. Don't use `unsafe' any more.
4062 2013-08-29 Glenn Morris <rgm@gnu.org>
4064 * calendar/cal-china.el (calendar-chinese-year-cache):
4067 * nxml/nxml-util.el (nxml-debug-clear-inside):
4068 Use cl-loop rather than loop.
4070 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4072 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4074 2013-08-28 Glenn Morris <rgm@gnu.org>
4076 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4078 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4080 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4082 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4084 * simple.el (repeat-complex-command--called-interactively-skip):
4086 (repeat-complex-command): Use it (bug#14136).
4088 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4089 (c-define-abbrev-table): Add `doc' argument.
4090 (c-mode-abbrev-table, c++-mode-abbrev-table)
4091 (objc-mode-abbrev-table, java-mode-abbrev-table)
4092 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4093 (awk-mode-abbrev-table): Use it.
4094 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4095 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4096 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4097 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4098 Move initialization into the declaration; and remove any
4101 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4102 and dynamic let binding.
4104 * vc/smerge-mode.el: Remove redundant :group args.
4106 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4109 2013-08-28 Juri Linkov <juri@jurta.org>
4111 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4112 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4113 (isearch-other-meta-char): Handle an undefined shifted printing
4114 character by downshifting it. (Bug#15200)
4116 2013-08-28 Juri Linkov <juri@jurta.org>
4118 * isearch.el (isearch-search): Change regexp error message for
4119 non-regexp searches. (Bug#15166)
4121 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4123 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4124 for portability to hosts where /bin/sh has problems.
4126 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4128 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4130 2013-08-27 Juri Linkov <juri@jurta.org>
4132 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4133 in the keyboard macro. (Bug#15126)
4135 2013-08-27 Juri Linkov <juri@jurta.org>
4137 * isearch.el (isearch-quote-char): Comment out converting unibyte
4138 to multibyte, thus syncing with its `quoted-insert' counterpart.
4141 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4143 * window.el (display-buffer-use-some-window): Add missing
4144 argument in call of get-largest-window (Bug#15185).
4145 Reported by Stephen Leake.
4147 2013-08-27 Glenn Morris <rgm@gnu.org>
4149 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4151 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4153 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4154 from a matcher-function unless there's no more matches (bug#15161).
4156 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4158 * minibuffer.el: Revert change from 2013-08-20.
4160 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4161 with text property `tramp-default', if appropriate.
4162 (tramp-check-proper-host): New defun.
4163 (tramp-dissect-file-name): Do not check hostname. Revert change
4165 (tramp-backtrace): Make VEC-OR-PROC optional.
4167 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4168 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4169 * net/tramp-sh.el (tramp-maybe-open-connection):
4170 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4171 Apply `tramp-check-proper-host'.
4173 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4175 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4176 lambda expression in order to have `describe-variable' display it.
4178 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4180 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4181 BUF can be optional. (Bug#15186)
4183 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4185 * progmodes/flymake.el (flymake-get-real-file-name-function):
4186 Fix broken customization. (Bug#15184)
4188 2013-08-25 Alan Mackenzie <acm@muc.de>
4190 Improve indentation of bracelists defined by macros (without "=").
4192 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4193 expansion begins with "{", regard it as bracelist when it doesn't
4196 Parse C++ inher-intro when there's a template split over 2 lines.
4198 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4199 rigorously the search for "class" etc. followed by ":".
4201 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4202 random languages a regexp which never matches rather than nil.
4204 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4206 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4207 (c-awk-regexp-one-line-possibly-open-char-list-re)
4208 (c-awk-one-line-possibly-open-regexp-re)
4209 (c-awk-one-line-non-syn-ws*-re): Remove.
4210 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4211 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4212 (c-awk-space*-unclosed-regexp-/-re): New constants.
4213 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4214 aren't regexp delimiters.
4216 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4217 handling for a rare situation in AWK Mode involving unterminated
4220 2013-08-23 Glenn Morris <rgm@gnu.org>
4222 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4224 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4226 * files.el (create-file-buffer): If the result would begin with
4227 spaces, prepend a "|" instead of removing them. (Bug#15162)
4229 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4231 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4232 text-properties (bug#15155).
4234 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4236 (calc-keypad-redraw): Remove unused var `pad'.
4237 (calc-keypad-press): Remove unused var `menu'.
4239 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4241 * window.el (display-buffer-pop-up-frame):
4242 Call pop-up-frame-function with BUFFER current so `make-frame' will
4243 use it as the new frame's buffer (Bug#15133).
4245 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4247 * calendar/timeclock.el: Minor cleanups.
4248 (timeclock-ask-before-exiting, timeclock-use-display-time):
4250 (timeclock-modeline-display): Define as alias before the
4252 (timeclock-mode-line-display): Use define-minor-mode.
4253 (timeclock-day-list-template): Make it a function, add an argument.
4254 (timeclock-day-list-required, timeclock-day-list-length)
4255 (timeclock-day-list-debt, timeclock-day-list-span)
4256 (timeclock-day-list-break): Adjust calls accordingly.
4258 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4260 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4261 Use read--expression so that completion works again.
4263 2013-08-21 Sam Steingold <sds@gnu.org>
4265 Add rudimentary inferior shell interaction
4266 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4267 (sh-set-shell): Reset it.
4268 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4269 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4271 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4273 * align.el: Use lexical-binding.
4274 (align-region): Simplify accordingly.
4276 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4278 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4280 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4283 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4287 * net/tramp-cmds.el:
4289 * net/tramp-gvfs.el:
4291 * net/tramp-sh.el: Don't wrap external variable declarations by
4292 `eval-when-compile'.
4294 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4296 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4297 now that Emacs supports ImageMagick animations.
4299 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4301 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4302 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4304 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4306 * window.el (mouse-autoselect-window-select): Do autoselect when
4307 mouse pointer is on margin.
4309 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4311 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4313 2013-08-16 Glenn Morris <rgm@gnu.org>
4315 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4316 Handle "Remote Directory" response of some clients. (Bug#15058)
4318 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4319 Tweak warning. (Bug#14926)
4321 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4322 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4324 * image-mode.el (image-mode-map): Add menu items to reverse,
4325 increase, decrease, reset animation speed.
4326 (image--set-speed, image-increase-speed, image-decrease-speed)
4327 (image-reverse-speed, image-reset-speed): New functions.
4328 (image-mode-map): Add bindings for speed commands.
4330 * image.el (image-animate-get-speed, image-animate-set-speed):
4332 (image-animate-timeout): Respect image :speed property.
4334 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4336 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4337 previous line (bug#15101).
4338 (debugger-eval-expression, debugger-record-expression):
4339 Use read--expression (bug#15102).
4341 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4343 Remove byte compiler warnings, visible when compiling with
4344 `byte-compile-force-lexical-warnings' set to t.
4346 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4347 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4348 (tramp-handle-unhandled-file-name-directory)
4349 (tramp-handle-file-notify-add-watch, tramp-action-login)
4350 (tramp-action-succeed, tramp-action-permission-denied)
4351 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4354 * net/tramp-adb.el (tramp-adb-parse-device-names)
4355 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4356 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4357 (tramp-adb-handle-file-truename): Remove unused arguments.
4359 * net/tramp-cache.el (tramp-flush-directory-property)
4360 (tramp-flush-connection-property, tramp-list-connections)
4361 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4363 * net/tramp-compat.el (tramp-compat-make-temp-file):
4364 Rename FILENAME to F.
4366 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4367 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4368 (tramp-zeroconf-parse-workstation-device-names)
4369 (tramp-zeroconf-parse-webdav-device-names)
4370 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4372 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4373 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4375 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4377 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4378 (tramp-sh-handle-insert-file-contents-literally)
4379 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4381 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4382 Remove unused variables.
4384 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4385 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4386 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4388 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4389 Make them a defconst.
4390 (tramp-uuencode-region): Remove unused variable.
4392 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4394 * frameset.el (frameset--prop-setter): New function.
4395 (frameset-prop): Add gv-setter declaration.
4396 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4397 parameter was already set in FILTERED. Doc fix.
4398 (frameset--record-minibuffer-relationships): Allow saving a
4399 minibufferless frame without its corresponding minibuffer frame.
4400 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4401 frame, if the frame id matches.
4402 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4403 frames before orphaned ones.
4404 (frameset-restore): Warn about orphaned windows, instead of error out.
4406 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4408 * window.el (window-make-atom): Don't overwrite parameter
4410 (display-buffer-in-atom-window): Handle special case where we
4411 split an already atomic window.
4412 (window--major-non-side-window, display-buffer-in-side-window)
4413 (window--side-check): Ignore minibuffer window when walking
4415 (window-deletable-p): Return 'frame only if no other frame uses
4416 our minibuffer window.
4417 (record-window-buffer): Run buffer-list-update-hook.
4418 (split-window): Make sure window--check-frame won't destroy an
4419 existing atomic window in case the new window gets nested
4421 (display-buffer-at-bottom): Ignore minibuffer window when
4422 walking window tree. Don't split a side window.
4423 (pop-to-buffer): Don't set-buffer here, the select-window call
4425 (mouse-autoselect-window-select): Autoselect only if we are in the
4426 text portion of the window.
4428 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4430 * net/shr.el (shr-parse-image-data): New function to grab both the
4431 data itself and the Content-Type.
4432 (shr-put-image): Use it.
4434 * net/eww.el (eww-display-image): Ditto.
4436 * image.el (image-content-type-suffixes): New variable.
4438 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4440 * progmodes/python.el (python-imenu--build-tree)
4441 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4443 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4445 * simple.el (backward-word): Mention the optional argument.
4447 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4449 * frameset.el (frameset--make): Rename constructor from make-frameset.
4450 (frameset-p, frameset-valid-p): Don't autoload.
4451 (frameset-valid-p): Use normal accessors.
4453 2013-08-13 Glenn Morris <rgm@gnu.org>
4455 * progmodes/compile.el (compile-command): Tweak example in doc.
4456 * obsolete/scribe.el (scribe-mode):
4457 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4459 * mail/feedmail.el (feedmail-confirm-outgoing)
4460 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4462 * cus-start.el (truncate-partial-width-windows): Fix type.
4464 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4466 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4468 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4470 * emacs-lisp/timer.el (timer--time-setter): New function.
4471 (timer--time): Use it as gv-setter.
4473 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4474 setter is not a symbol.
4476 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4478 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4479 if sending fails. This makes debugging easier.
4481 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4483 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4484 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4485 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4487 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4489 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4491 2013-08-12 Glenn Morris <rgm@gnu.org>
4493 * format.el (format-annotate-function):
4494 Handle read-only text properties in the source. (Bug#14887)
4496 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4498 * net/eww.el (eww-display-html): Ignore coding system errors.
4499 One web site uses "utf-8lias" as the coding system.
4501 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4503 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4505 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4507 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4508 (tutorial--detailed-help): Remove unused local variables.
4509 (tutorial--save-tutorial-to): Use ignore-errors.
4510 (help-with-tutorial): Use looking-at-p.
4512 * view.el (view-buffer-other-window, view-buffer-other-frame):
4513 Mark unused arguments.
4515 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4516 (woman-select-symbol-fonts, woman, woman-find-file)
4517 (woman-insert-file-contents, woman-non-underline-faces):
4519 (woman1-unquote): Move declaration.
4521 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4522 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4523 argument. Remove unused local variable.
4524 (xml-parse-elem-type): Use string-match-p.
4525 (xml-substitute-numeric-entities): Use ignore-errors.
4527 * calculator.el (calculator): Mark unused argument.
4528 (calculator-paste, calculator-quit, calculator-integer-p):
4530 (calculator-string-to-number, calculator-decimal, calculator-exp)
4531 (calculator-op-or-exp): Use string-match-p.
4533 * dired.el (dired-buffer-more-recently-used-p): Declare.
4534 (dired-insert-set-properties, dired-insert-old-subdirs):
4537 * dired-aux.el (dired-compress): Use ignore-errors.
4538 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4539 (dired-do-async-shell-command, dired-do-shell-command)
4540 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4541 (dired-insert-subdir-validate): Use string-match-p.
4542 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4543 (dired-add-entry): Use string-match-p, looking-at-p.
4544 (dired-insert-subdir-newpos): Remove unused local variable.
4546 * filenotify.el (file-notify-callback): Remove unused local variable.
4548 * filesets.el (filesets-error): Mark unused argument.
4549 (filesets-which-command-p, filesets-filter-dir-names)
4550 (filesets-directory-files, filesets-get-external-viewer)
4551 (filesets-ingroup-get-data): Use string-match-p.
4553 * find-file.el (ff-other-file-name, ff-other-file-name)
4554 (ff-find-the-other-file, ff-cc-hh-converter):
4555 Remove unused local variables.
4556 (ff-get-file-name): Use string-match-p.
4557 (ff-all-dirs-under): Use ignore-errors.
4559 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4560 (follow-select-if-visible): Remove unused local variable.
4562 * forms.el (read-file-filter): Move declaration.
4563 (forms--make-format, forms--make-parser, forms-insert-record):
4564 Quote function with #'.
4565 (forms--update): Use string-match-p. Quote function with #'.
4567 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4568 (help-make-xrefs): Use looking-at-p.
4569 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4571 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4572 (ibuffer-confirm-operation-on): Use string-match-p.
4574 * msb.el (msb-item-handler, msb-dired-item-handler):
4575 Mark unused arguments.
4577 * ses.el (ses-decode-cell-symbol)
4578 (ses-kill-override): Remove unused local variable.
4579 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4580 (ses-load): Use ignore-errors, looking-at-p.
4581 (ses-jump-safe): Use ignore-errors.
4582 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4584 * tabify.el (untabify, tabify): Mark unused arguments.
4586 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4587 Mark unused argument.
4588 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4589 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4591 * emacs-lisp/timer.el (timer--time): Define setter with
4592 gv-define-setter to avoid deprecation warning.
4594 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4595 (*record-cmpl-statistics-p*): Remove (was commented out).
4596 (cmpl-statistics-block): Remove (body was commented out).
4597 All callers changed.
4598 (add-completions-from-buffer, load-completions-from-file):
4599 Remove unused variables.
4601 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4603 * filecache.el (file-cache-delete-file-list):
4604 Print message only when told so.
4605 (file-cache-files-matching): Use #' in mapconcat argument.
4607 * ffap.el (ffap-url-at-point): Fix reference to variable
4608 thing-at-point-default-mail-uri-scheme.
4610 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4612 * subr.el (define-error): New function.
4613 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4614 error-file-not-found and define with define-error.
4615 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4616 and define with define-error.
4617 * userlock.el (file-locked, file-supersession):
4618 * simple.el (mark-inactive):
4619 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4620 * progmodes/ada-mode.el (ada-mode-errors):
4621 * play/life.el (life-extinct):
4622 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4623 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4624 * nxml/rng-util.el (rng-error):
4625 * nxml/rng-uri.el (rng-uri-error):
4626 * nxml/rng-match.el (rng-compile-error):
4627 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4628 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4629 * nxml/nxml-rap.el (nxml-scan-error):
4630 * nxml/nxml-outln.el (nxml-outline-error):
4631 * net/soap-client.el (soap-error):
4632 * net/gnutls.el (gnutls-error):
4633 * net/ange-ftp.el (ftp-error):
4634 * mpc.el (mpc-proc-error):
4635 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4636 (json-number-format, json-string-escape, json-string-format)
4637 (json-key-format, json-object-format):
4638 * jka-compr.el (compression-error):
4639 * international/quail.el (quail-error):
4640 * international/kkc.el (kkc-error):
4641 * emacs-lisp/ert.el (ert-test-failed):
4642 * calc/calc.el (calc-error, inexact-result, math-overflow)
4644 * bookmark.el (bookmark-error-no-filename):
4645 * epg.el (epg-error): Define with define-error.
4647 * time.el (display-time-event-handler)
4648 (display-time-next-load-average): Don't call sit-for since it seems
4649 unnecessary (bug#15045).
4651 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4652 Use #' instead of ' to quote functions.
4653 (checkdoc-output-mode): Use setq-local.
4654 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4655 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4656 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4657 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4658 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4659 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4660 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4661 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4663 * ido.el (ido-completion-help): Fix up compiler warning.
4665 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4667 * frameset.el (frameset-p): Add autoload cookie.
4668 (frameset--jump-to-register): New function, based on code moved from
4670 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4672 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4673 (frameset-restore, frameset-save, frameset-session-filter-alist):
4674 Remove declarations.
4675 (register-alist): Doc fix.
4676 (frameset-to-register): Move to frameset.el.
4677 (jump-to-register, describe-register-1): Remove frameset-specific code.
4679 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4681 * allout-widgets.el (allout-widgets-pre-command-business)
4682 (allout-widgets-post-command-business)
4683 (allout-widgets-after-change-handler)
4684 (allout-decorate-item-and-context, allout-set-boundary-marker)
4685 (allout-body-modification-handler)
4686 (allout-graphics-modification-handler): Mark ignored arguments.
4687 (allout-widgets-post-command-business)
4688 (allout-widgets-exposure-change-processor)
4689 (allout-widgets-exposure-undo-processor)
4690 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4691 (allout-parse-item-at-point, allout-decorate-item-guides)
4692 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4693 * allout.el (epa-passphrase-callback-function): Declare.
4694 (allout-overlay-insert-in-front-handler)
4695 (allout-overlay-interior-modification-handler)
4696 (allout-isearch-end-handler, allout-chart-siblings)
4697 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4698 (allout-yank-processing, allout-process-exposed)
4699 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4700 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4701 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4702 (lisp-indent-defform): Mark ignored arguments.
4703 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4704 (calculate-lisp-indent): Remove unused variables.
4705 * international/characters.el (indian-2-column, arabic-2-column)
4706 (tibetan): Mark ignored arguments.
4707 (use-cjk-char-width-table): Mark ignored arguments.
4708 Remove unused variables.
4709 * international/fontset.el (build-default-fontset-data)
4710 (x-compose-font-name, create-fontset-from-fontset-spec):
4711 Mark ignored arguments.
4712 (fontset-plain-name): Remove unused variables.
4713 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4714 (keyboard-coding-system): Mark ignored arguments.
4715 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4716 * help.el (resize-temp-buffer-window):
4717 * window.el (display-buffer-in-major-side-window)
4718 (display-buffer-in-side-window, display-buffer-in-previous-window):
4719 Remove unused variables.
4720 * isearch.el (isearch-forward-symbol):
4721 * version.el (emacs-bzr-version-bzr):
4722 * international/mule-cmds.el (current-language-environment):
4723 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4725 * term/pc-win.el (x-list-fonts, x-display-planes)
4726 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4727 (x-server-version, x-display-screens, x-display-mm-height)
4728 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4729 (x-selection-owner-p, x-own-selection-internal)
4730 (x-disown-selection-internal, x-get-selection-internal)
4731 (msdos-initialize-window-system):
4732 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4733 * term/x-win.el (x-handle-no-bitmap-icon):
4734 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4735 (vc-default-find-file-hook, vc-default-extra-menu):
4736 Mark ignored arguments.
4738 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4740 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4741 break-condition in the context of the debugged code (bug#12685).
4743 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4746 Do not use an overlay to highlight the last prompt. (Bug#14744)
4747 (comint-mode): Make comint-last-prompt buffer local.
4748 (comint-last-prompt): New variable.
4749 (comint-last-prompt-overlay): Remove. Superseded by
4751 (comint-snapshot-last-prompt, comint-output-filter):
4752 Use comint-last-prompt.
4754 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4756 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4757 (frameset-save): Check validity of the resulting frameset.
4759 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4761 * ido.el (ido-record-command): Add doc string.
4763 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4765 * frameset.el (frameset): Do not disable creation of the default
4766 frameset-p predicate. Doc fix.
4767 (frameset-valid-p): New function, copied from the old predicate-p.
4768 Add additional checks.
4769 (frameset-restore): Check with frameset-valid-p.
4770 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4771 (frameset-name, frameset-description, frameset-properties)
4772 (frameset-states): Add docstring.
4773 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4774 (frameset-filter-alist): Doc fixes.
4776 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4778 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4780 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4782 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4783 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4784 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4785 (byte-compile-normal-call): Remove obsolescence check.
4787 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4789 * frameset.el (frameset-restore): Doc fix.
4791 * register.el (frameset-frame-id, frameset-frame-with-id)
4792 (frameset-p, frameset-restore, frameset-save): Declare.
4793 (register-alist): Document framesets.
4794 (frameset-session-filter-alist): Declare.
4795 (frameset-to-register): New function.
4796 (jump-to-register): Implement jumping to framesets. Doc fix.
4797 (describe-register-1): Describe framesets.
4799 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4801 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4803 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4804 Use lexical-binding.
4806 * frameset.el (frameset): Use type vector, not list (incompatible
4807 change). Do not declare a new constructor, use the default one.
4808 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4809 `name' and `description', respectively, and add read-only slot
4810 `timestamp'. Doc fixes.
4811 (frameset-copy, frameset-persistent-filter-alist)
4812 (frameset-filter-alist, frameset-switch-to-gui-p)
4813 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4814 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4815 (frameset-filter-iconified, frameset-keep-original-display-p):
4817 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4818 Rename from frameset-filter-(save|restore)-param. All callers changed.
4820 (frameset-p): Adapt to change to vector and be more thorough.
4821 Change arg name to OBJECT. Doc fix.
4822 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4823 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4824 All callers changed.
4825 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4826 All callers changed.
4827 (frameset--record-minibuffer-relationships): Rename from
4828 frameset--process-minibuffer-frames. All callers changed.
4829 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4830 Use new default constructor (again). Doc fix.
4831 (frameset--find-frame-if): Rename from `frameset--find-frame.
4832 All callers changed.
4833 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4834 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4836 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4837 PARAMETERS and WINDOW-STATE, respectively.
4838 (frameset-restore): Add new keyword argument PREDICATE.
4839 Reset frameset--target-display to nil. Doc fix.
4841 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4843 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4845 (bat-mode-syntax-table): Mark \n as end-of-comment.
4846 (bat-font-lock-keywords): Remove comment rule.
4848 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4849 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4851 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4852 (byte-compile-callargs-warn): Use `push'.
4853 (byte-compile-arglist-warn): Ignore higher-order "calls".
4854 (byte-compile-file-form-autoload): Use `pcase'.
4855 (byte-compile-function-form): If quoting a symbol, check that it exists.
4857 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4859 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4860 and add a few popular commands found in batch files.
4861 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4862 (dos-mode): Doc fixes.
4864 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4866 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4867 (dos-mode): Use setq-local. Add space after "rem".
4868 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4869 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4871 2013-08-07 Arni Magnusson <arnima@hafro.is>
4873 * progmodes/dos.el: New file.
4874 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4877 2013-08-06 Glenn Morris <rgm@gnu.org>
4879 * calendar/calendar.el: Add new faces, and day-header-array.
4880 (calendar-weekday-header, calendar-weekend-header)
4881 (calendar-month-header): New faces.
4882 (calendar-day-header-construct): New function.
4883 (calendar-day-header-width): Also :set calendar-day-header-array.
4884 (calendar-american-month-header, calendar-european-month-header)
4885 (calendar-iso-month-header): Use calendar- faces.
4886 (calendar-generate-month):
4887 Use calendar-day-header-array for day headers; apply faces to them.
4888 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4889 (calendar-abbrev-construct): Add optional maxlen argument.
4890 (calendar-day-name-array): Doc fix.
4891 (calendar-day-name-array, calendar-abbrev-length)
4892 (calendar-day-abbrev-array):
4893 Also :set calendar-day-header-array, and maybe redraw.
4894 (calendar-day-header-array): New option. (Bug#15007)
4895 (calendar-font-lock-keywords): Set to nil and make obsolete.
4896 (calendar-day-name): Add option to use header array.
4898 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4900 * net/shr.el (shr-render-td): Remove debugging.
4901 (shr-render-td): Make width computation consistent by defaulting
4902 all zero-width columns to 10 characters. This may not be optimal,
4903 but it's at least consistent.
4904 (shr-make-table-1): Redo last change to fix the real problem in
4907 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4909 * files.el (cache-long-line-scans):
4910 Make obsolete alias to `cache-long-scans'.
4912 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4914 * frameset.el (frameset, frameset-filter-alist)
4915 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4916 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4917 (frameset-compute-pos): Rename from frameset--compute-pos,
4919 (frameset-move-onscreen): Use frameset-compute-pos.
4920 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4922 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4923 Fix typos in docstrings.
4925 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4927 * frame.el (get-other-frame): Tiny cleanup.
4929 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4931 * vc/vc.el (vc-default-ignore-completion-table):
4932 Silence byte-compiler warning.
4934 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4935 slot , which can indeed be nil.
4936 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4937 Move entry for `left' from persistent to live filter alist.
4938 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4940 (frameset-filter-params): When restoring a frame, copy items added to
4941 `filtered', to avoid unwittingly modifying the original parameters.
4942 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4943 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4945 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4946 to use looking-at-p instead of looking-at. (Bug#15028)
4948 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4950 Revert introduction of isearch-filter-predicates (bug#14714).
4951 Rely on add-function instead.
4952 * isearch.el (isearch-filter-predicates): Rename it back to
4953 isearch-filter-predicate.
4954 (isearch-message-prefix): Use advice-function-mapc and advice
4955 properties to get the isearch-message-prefix.
4956 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4957 instead of run-hook-with-args-until-failure.
4958 (isearch-filter-visible): Not obsolete any more.
4959 * loadup.el: Preload nadvice.
4960 * replace.el (perform-replace): Revert to funcall
4961 instead of run-hook-with-args-until-failure.
4962 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4963 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4964 dired-isearch-filenames-toggle; make it into a proper minor mode.
4965 Use add/remove-function.
4966 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4967 Call the minor-mode rather than add/remove-hook.
4968 (dired-isearch-filter-filenames):
4969 Remove isearch-message-prefix property.
4970 * info.el (Info--search-loop): New function, extracted from Info-search.
4971 Funcall isearch-filter-predicate instead of
4972 run-hook-with-args-until-failure isearch-filter-predicates.
4973 (Info-search): Use it.
4974 (Info-mode): Use isearch-filter-predicate instead of
4975 isearch-filter-predicates.
4977 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4979 Do not call to `selected-window' where it is assumed by default.
4980 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4981 `window-hscroll', `window-width', `window-height', `window-buffer',
4982 `window-frame', `window-start', `window-point', `next-window'
4983 and `window-display-table'.
4984 * abbrev.el (abbrev--default-expand):
4985 * bs.el (bs--show-with-configuration):
4986 * buff-menu.el (Buffer-menu-mouse-select):
4987 * calc/calc.el (calc):
4988 * calendar/calendar.el (calendar-generate-window):
4989 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4991 * comint.el (send-invisible, comint-dynamic-complete-filename)
4992 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4993 * completion.el (complete):
4994 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4995 * disp-table.el (describe-current-display-table):
4996 * doc-view.el (doc-view-insert-image):
4997 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4998 * ehelp.el (with-electric-help):
4999 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5000 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5001 * emacs-lisp/helper.el (Helper-help-scroller):
5002 * emulation/cua-base.el (cua--post-command-handler-1):
5003 * eshell/esh-mode.el (eshell-output-filter):
5004 * ffap.el (ffap-gnus-wrapper):
5005 * help-macro.el (make-help-screen):
5006 * hilit-chg.el (highlight-compare-buffers):
5007 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5008 * hl-line.el (global-hl-line-highlight):
5009 * icomplete.el (icomplete-simple-completing-p):
5010 * isearch.el (isearch-done):
5011 * jit-lock.el (jit-lock-stealth-fontify):
5012 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5013 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5014 * mpc.el (mpc-tagbrowser, mpc):
5015 * net/rcirc.el (rcirc-any-buffer):
5016 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5017 * play/landmark.el (landmark-max-width, landmark-max-height):
5018 * play/zone.el (zone):
5019 * progmodes/compile.el (compilation-goto-locus):
5020 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5021 * progmodes/etags.el (find-tag-other-window):
5022 * progmodes/fortran.el (fortran-column-ruler):
5023 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5024 * progmodes/verilog-mode.el (verilog-point-text):
5025 * reposition.el (reposition-window):
5026 * rot13.el (toggle-rot13-mode):
5027 * server.el (server-switch-buffer):
5028 * shell.el (shell-dynamic-complete-command)
5029 (shell-dynamic-complete-environment-variable):
5030 * simple.el (insert-buffer, set-selective-display)
5031 (delete-completion-window):
5032 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5033 (speedbar-recenter):
5034 * startup.el (fancy-splash-head):
5035 * textmodes/ispell.el (ispell-command-loop):
5036 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5037 * tutorial.el (help-with-tutorial):
5038 * vc/add-log.el (add-change-log-entry):
5039 * vc/compare-w.el (compare-windows):
5040 * vc/ediff-help.el (ediff-indent-help-message):
5041 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5042 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5043 (ediff-setup-control-frame):
5044 * vc/emerge.el (emerge-position-region):
5045 * vc/pcvs-util.el (cvs-bury-buffer):
5046 * window.el (walk-windows, mouse-autoselect-window-select):
5047 * winner.el (winner-set-conf, winner-undo): Related users changed.
5049 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5051 * frameset.el (frameset--set-id): Doc fix.
5052 (frameset-frame-id, frameset-frame-id-equal-p)
5053 (frameset-locate-frame-id): New functions.
5054 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5055 (frameset-restore): Use them.
5057 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5059 Do not call to `selected-frame' where it is assumed by default.
5060 Affected functions are `raise-frame', `redraw-frame',
5061 `frame-first-window', `frame-terminal' and `delete-frame'.
5062 * calendar/appt.el (appt-disp-window):
5063 * epg.el (epg-wait-for-completion):
5064 * follow.el (follow-delete-other-windows-and-split)
5065 (follow-avoid-tail-recenter):
5066 * international/mule.el (set-terminal-coding-system):
5067 * mail/rmail.el (rmail-mail-return):
5068 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5069 * progmodes/f90.el (f90-add-imenu-menu):
5070 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5071 * server.el (server-switch-buffer):
5072 * simple.el (delete-completion-window):
5074 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5075 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5076 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5077 * vc/ediff.el (ediff-documentation): Related users changed.
5078 * frame.el (selected-terminal): Remove the leftover.
5080 2013-08-05 Glenn Morris <rgm@gnu.org>
5082 * calendar/calendar.el (calendar-generate-month):
5083 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5084 (calendar-generate-month, calendar-font-lock-keywords):
5085 Fix for calendar-day-header-width > length of any day name.
5087 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5089 * desktop.el (desktop-clear): Use new name of sort predicate.
5091 * frameset.el (frameset): Add docstring. Move :version property to its
5093 (frameset-copy): Rename from copy-frameset.
5094 (frameset-p): Check more thoroughly.
5095 (frameset-prop): Do not check for :version, which is no longer a prop.
5096 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5097 Use new :never value instead of t.
5098 (frameset-filter-alist): Expand and clarify docstring.
5099 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5100 (frameset-filter-minibuffer, frameset-filter-save-param)
5101 (frameset-filter-restore-param, frameset-filter-iconified):
5102 Add pointer to docstring of frameset-filter-alist.
5103 (frameset-filter-params): Rename filter values to be more meaningful:
5104 :never instead of t, and reverse the meanings of :save and :restore.
5105 (frameset--process-minibuffer-frames): Clarify error message.
5106 (frameset-save): Avoid unnecessary and confusing call to framep.
5107 Use new BOA constructor for framesets.
5108 (frameset--reuse-list): Doc fix.
5109 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5110 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5111 (frameset-minibufferless-first-p): Doc fix.
5112 Rename from frameset-sort-frames-for-deletion.
5113 (frameset-restore): Doc fixes. Use new function names.
5114 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5116 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5118 * desktop.el (desktop-restore-forces-onscreen)
5119 (desktop-restore-reuses-frames): Document :keyword constant values.
5120 (desktop-filter-parameters-alist): Remove, now identical to
5121 frameset-filter-alist.
5122 (desktop--filter-tty*): Remove, moved to frameset.el.
5123 (desktop-save-frameset, desktop-restore-frameset):
5124 Do not pass :filters argument.
5126 * frameset.el (frameset-live-filter-alist)
5127 (frameset-persistent-filter-alist): New variables.
5128 (frameset-filter-alist): Use them. Add autoload cookie.
5129 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5130 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5131 `frameset--id' (it's supposed to be internal to frameset.el).
5132 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5133 (frameset--initial-params): New function.
5134 (frameset--get-frame): Use it. Doc fix.
5135 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5136 Accept :all, not 'all.
5137 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5138 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5139 with fbound symbols. Fix frame id matching, and remove matching ids if
5140 the frame being restored is deleted. Obey :delete.
5142 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5144 * subr.el (macrop): New function.
5145 (text-clone--maintaining): New var.
5146 (text-clone--maintain): Rename from text-clone-maintain. Use it
5147 instead of inhibit-modification-hooks.
5149 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5150 a proxy, so as handle autoloads and redefinitions of the target.
5151 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5153 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5154 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5155 (pcase--mutually-exclusive-p): New function.
5156 (pcase--split-consp): Use it.
5157 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5158 mutually exclusive with the current predicate.
5160 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5161 (edebug-macrop): Remove. Use `macrop' instead.
5162 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5164 * eshell/esh-cmd.el (eshell-macrop):
5165 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5167 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5169 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5170 (advice-mapc): New function, using it.
5171 (advice-function-member-p): New function.
5172 (advice--normalize): Store the cdr in advice--saved-rewrite since
5173 that's the part that will be changed.
5174 (advice--symbol-function): New function.
5175 (advice-remove): Handle removal before the function is defined.
5176 Adjust to new advice--saved-rewrite.
5177 (advice-member-p): Use advice-function-member-p and
5178 advice--symbol-function.
5180 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5182 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5183 (frameset-filter-minibuffer): Doc fix.
5184 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5185 (frameset--set-id, frameset--process-minibuffer-frames)
5186 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5187 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5189 * desktop.el (desktop-clear): Only delete frames when called
5190 interactively and desktop-restore-frames is non-nil. Doc fix.
5191 (desktop-read): Set desktop-saved-frameset to nil.
5193 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5195 * vc/vc.el (vc-ignore): Rewrite.
5196 (vc-default-ignore-completion-table):
5198 (vc--add-line, vc--remove-regexp): New functions.
5200 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5201 (vc-svn-ignore-completion-table): New function.
5203 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5204 (vc-hg-ignore-completion-table):
5205 (vc-hg-find-ignore-file): New functions.
5207 * vc/vc-git.el (vc-git-ignore): Rewrite.
5208 (vc-git-ignore-completion-table):
5209 (vc-git-find-ignore-file): New functions.
5211 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5213 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5214 (vc-bzr-ignore-completion-table):
5215 (vc-bzr-find-ignore-file): New functions.
5217 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5219 * frameset.el (frameset-prop): New function and setter.
5220 (frameset-save): Do not modify frame list passed by the caller.
5222 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5224 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5226 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5228 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5229 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5231 * custom.el (custom-initialize-default, custom-initialize-set)
5232 (custom-initialize-reset, custom-initialize-changed): Affect the
5233 toplevel-default-value (bug#6275, bug#14586).
5234 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5237 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5239 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5240 Add cl-def* expressions.
5242 * frameset.el (frameset-filter-params): Fix order of arguments.
5244 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5246 Move code related to saving frames to frameset.el.
5247 * desktop.el: Require frameset.
5248 (desktop-restore-frames): Doc fix.
5249 (desktop-restore-reuses-frames): Rename from
5250 desktop-restoring-reuses-frames.
5251 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5252 (desktop-clear): Clear frames too.
5253 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5254 (desktop--filter-tty*, desktop-save, desktop-read):
5255 Use frameset functions.
5256 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5257 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5258 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5259 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5260 (desktop--process-minibuffer-frames, desktop-save-frames)
5261 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5262 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5263 (desktop--sort-states, desktop-restoring-frames-p)
5264 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5265 (desktop-restoring-frameset-p, desktop-restore-frameset)
5266 (desktop--check-dont-save, desktop-save-frameset): New functions.
5267 (desktop--app-id): New constant.
5268 (desktop-first-buffer, desktop-buffer-ok-count)
5269 (desktop-buffer-fail-count): Move before first use.
5270 * frameset.el: New file.
5272 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5274 * files.el: Use lexical-binding.
5275 (dir-locals-read-from-file): Remove unused `err' variable.
5276 (hack-dir-local-variables--warned-coding): New var.
5277 (hack-dir-local-variables): Use it to avoid repeated warnings.
5278 (make-backup-file-name--default-function): New function.
5279 (make-backup-file-name-function): Use it as default.
5280 (buffer-stale--default-function): New function.
5281 (buffer-stale-function): Use it as default.
5282 (revert-buffer-insert-file-contents--default-function): New function.
5283 (revert-buffer-insert-file-contents-function): Use it as default.
5284 (insert-directory): Avoid add-to-list.
5286 * autorevert.el (auto-revert-handler): Simplify.
5287 Use buffer-stale--default-function.
5289 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5291 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5293 * whitespace.el (whitespace-ensure-local-variables): New function.
5294 (whitespace-cleanup-region): Call it.
5295 (whitespace-turn-on): Call it.
5297 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5299 Complete file name handlers.
5301 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5302 (tramp-handle-verify-visited-file-modtime)
5303 (tramp-handle-file-notify-rm-watch): New functions.
5304 (tramp-call-process): Do not bind `default-directory'.
5306 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5307 Order alphabetically.
5308 [access-file, add-name-to-file, dired-call-process]:
5309 [dired-compress-file, file-acl, file-notify-rm-watch]:
5310 [file-ownership-preserved-p, file-selinux-context]:
5311 [make-directory-internal, make-symbolic-link, set-file-acl]:
5312 [set-file-selinux-context, set-visited-file-modtime]:
5313 [verify-visited-file-modtime]: Add handler.
5314 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5316 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5317 [file-notify-add-watch, file-notify-rm-watch]:
5318 [set-file-times, set-visited-file-modtime]:
5319 [verify-visited-file-modtime]: Add handler.
5320 (with-tramp-gvfs-error-message)
5321 (tramp-gvfs-handle-set-visited-file-modtime)
5322 (tramp-gvfs-fuse-file-name): Remove.
5323 (tramp-gvfs-handle-file-notify-add-watch)
5324 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5325 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5327 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5328 Order alphabetically.
5329 [file-notify-rm-watch ]: Use default Tramp handler.
5330 [executable-find]: Remove private handler.
5331 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5332 `default-directory'.
5333 (tramp-sh-handle-executable-find)
5334 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5335 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5336 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5337 Do not use `format' in `tramp-message'.
5339 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5340 [file-notify-rm-watch, set-visited-file-modtime]:
5341 [verify-visited-file-modtime]: Add handler.
5342 (tramp-smb-call-winexe): Do not bind `default-directory'.
5344 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5346 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5348 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5350 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5352 (log-view-diff-changeset): Same.
5353 (log-view-diff-common): Call backend command `previous-revision'
5354 to find out the previous revision, in both cases. Swap the
5355 variables `to' and `fr', so that `fr' usually refers to the
5356 earlier revision (Bug#14989).
5358 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5360 * ibuf-ext.el (ibuffer-filter-by-filename):
5361 Make it work with dired buffers too.
5363 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5365 * emacs-lisp/re-builder.el (reb-color-display-p):
5366 * files.el (save-buffers-kill-terminal):
5367 * net/browse-url.el (browse-url):
5368 * server.el (server-save-buffers-kill-terminal):
5369 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5370 Prefer nil to selected-frame for the first arg of frame-parameter.
5372 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5374 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5376 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5378 * minibuffer.el (completion--twq-all): Try and preserve each
5379 completion's case choice (bug#14907).
5381 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5383 * net/network-stream.el (open-network-stream): Mention the new
5384 :nogreeting parameter.
5385 (network-stream-open-starttls): Use the :nogreeting parameter
5388 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5390 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5391 more natural than popping.
5393 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5394 (shr-urlify): Highlight under mouse.
5396 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5398 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5400 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5402 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5405 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5406 point-min==1. Fix search string. Fix parentheses missing.
5408 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5409 assume point-min==1. Fix search string. Fix parentheses missing.
5411 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5413 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5416 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5418 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5419 initial frame is minibuffer-less. (Bug#14841)
5421 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5423 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5426 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5427 (tramp-maybe-open-connection): Use it.
5429 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5431 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5432 minimal set of parameters passed when creating a frame, because
5433 the minibuffer status of a frame cannot be changed later.
5435 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5437 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5438 replace-regexp-in-string and inadvertent omissions in previous change.
5439 (todo-filter-items): Ensure only file names are comma-separated in
5440 name of filtered items buffer.
5442 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5444 * desktop.el: Optionally force offscreen frames back onscreen.
5445 (desktop-restoring-reuses-frames): New option.
5446 (desktop--compute-pos, desktop--move-onscreen): New functions.
5447 (desktop--make-frame): Use desktop--move-onscreen.
5449 2013-07-27 Alan Mackenzie <acm@muc.de>
5451 Fontify a Java generic method as a function.
5452 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5455 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5457 * calendar/todo-mode.el: Add command to rename todo files.
5458 (todo-rename-file): New command.
5459 (todo-key-bindings-t): Add key binding for it. Change the
5460 bindings of todo-filter-regexp-items(-multifile) to use `x'
5461 instead of `r', since the latter is better suited to the new
5464 2013-07-27 Alan Mackenzie <acm@muc.de>
5466 Make Java try-with-resources statement parse properly.
5467 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5468 (c-block-stmt-1-2-key): New language constants/variables.
5469 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5470 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5471 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5472 with c-block-stmt-1-2-key.
5474 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5476 * desktop.el (desktop--make-frame): Apply most frame parameters after
5477 creating the frame to force (partially or totally) offscreen frames to
5478 be restored as such.
5480 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5482 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5485 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5487 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5488 `base' arg of backtrace-frame.
5490 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5492 * simple.el (list-processes): Doc fix.
5494 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5496 * desktop.el (desktop--select-frame):
5497 Try harder to reuse existing frames.
5499 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5501 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5502 (edebug-eval): Use backtrace-eval.
5503 (edebug--display, edebug--recursive-edit): Don't let-bind the
5504 edebug-outer-* vars that keep track of variables we locally let-bind.
5505 (edebug-outside-excursion): Don't restore outside values of locally
5507 (edebug--display): Use user-error.
5508 (cl-lexical-debug, cl-debug-env): Remove.
5510 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5512 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5513 are restored to be sure that they are visible before deleting any
5516 2013-07-26 Matthias Meulien <orontee@gmail.com>
5518 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5519 vc-print-root-log. (Bug#14948)
5521 2013-07-26 Richard Stallman <rms@gnu.org>
5523 Add aliases for encrypting mail.
5524 * epa.el (epa-mail-aliases): New option.
5525 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5526 Bind inhibit-read-only so read-only text doesn't ruin everything.
5527 (epa-mail-default-recipients): New subroutine broken out.
5528 Handle epa-mail-aliases.
5530 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5532 Add support for lexical variables to the debugger's `e' command.
5533 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5534 vars, except for debugger-outer-match-data.
5535 (debugger-frame-number): Move check for "on a function call" from
5536 callers into it. Add `skip-base' argument.
5537 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5538 (debugger-env-macro): Only reset the state stored in non-variables,
5539 i.e. current-buffer and match-data.
5540 (debugger-eval-expression): Rewrite using backtrace-eval.
5541 * subr.el (internal--called-interactively-p--get-frame): Remove.
5542 (called-interactively-p):
5543 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5544 `base' arg of backtrace-frame instead.
5546 2013-07-26 Glenn Morris <rgm@gnu.org>
5548 * align.el (align-regexp): Doc fix. (Bug#14857)
5549 (align-region): Explicit error if subexpression missing/does not match.
5551 * simple.el (global-visual-line-mode):
5552 Do not duplicate the mode lighter. (Bug#14858)
5554 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5556 * window.el (display-buffer): In display-buffer bind
5557 split-window-keep-point to t, bug#14829.
5559 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5561 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5562 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5563 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5564 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5566 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5567 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5569 2013-07-25 Glenn Morris <rgm@gnu.org>
5571 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5573 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5575 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5576 parameter to modify-frame-parameters if the value has not changed;
5577 this is a workaround for bug#14949.
5578 (desktop--make-frame): On cl-delete-if call, check parameter name,
5581 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5583 * vc/vc.el (vc-ignore): New function.
5585 * vc/vc-svn.el (vc-svn-ignore): New function.
5587 * vc/vc-hg.el (vc-hg-ignore): New function.
5589 * vc/vc-git.el (vc-git-ignore): New function.
5591 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5592 (vc-dir-ignore): New function.
5594 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5595 (cvs-append-to-ignore): Move here from pcvs.el.
5597 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5599 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5601 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5603 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5604 (desktop-restore-frames): Warn when deleting an existing frame failed.
5606 2013-07-24 Glenn Morris <rgm@gnu.org>
5608 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5610 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5612 * filenotify.el (file-notify-supported-p):
5613 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5616 * autorevert.el (auto-revert-use-notify):
5617 (auto-revert-notify-add-watch):
5618 * net/tramp.el (tramp-file-name-for-operation):
5619 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5620 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5621 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5622 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5623 Remove `file-notify-supported-p' entry.
5625 2013-07-24 Glenn Morris <rgm@gnu.org>
5627 * printing.el: Replace all uses of deleted ps-windows-system,
5628 ps-lp-system, ps-flatten-list with lpr- versions.
5630 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5632 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5633 checked with memq (bug#14935).
5635 * files.el (revert-buffer-function): Use a non-nil default.
5636 (revert-buffer-preserve-modes): Declare var to
5637 provide access to the `preserve-modes' argument.
5638 (revert-buffer): Let-bind it.
5639 (revert-buffer--default): New function, extracted from revert-buffer.
5641 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5643 * lpr.el: Signal print errors more prominently.
5644 (print-region-function): Don't default to nil.
5645 (lpr-print-region): New function, extracted from print-region-1.
5646 Check lpr's return value and signal an error in case of problem.
5647 (print-region-1): Use it.
5648 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5650 (ps-printer-name): Default to nil.
5651 (ps-printer-name-option): Default to lpr-printer-switch.
5652 (ps-print-region-function): Don't default to nil.
5653 (ps-postscript-code-directory): Simplify default.
5654 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5655 (ps-string-list, ps-eval-switch, ps-flatten-list)
5656 (ps-flatten-list-1): Remove.
5657 (ps-multibyte-buffer): Avoid setq.
5658 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5659 (print-region-function, ps-print-region-function): Don't set them here.
5661 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5663 * ido.el (ido-fractionp):
5664 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5665 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5666 (ido-max-directory-size, ido-max-dir-file-cache)
5667 (ido-decorations): Doc fix.
5669 * ansi-color.el: Fix old URL.
5671 2013-07-23 Michael R. Mauger <michael@mauger.com>
5673 * progmodes/sql.el: Version 3.3
5674 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5675 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5676 (sql-interactive-remove-continuation-prompt): Rewrite, use
5677 functions above. Fix continuation prompt and complete output line
5679 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5680 redirected output buffer.
5681 (sql-mode): Restore deleted code (Bug#13591).
5683 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5685 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5687 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5689 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5691 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5692 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5693 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5695 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5697 * desktop.el (desktop-clear): Simplify; remove useless checks
5698 against invalid buffer names.
5699 (desktop-list*): Use cl-list*.
5700 (desktop-buffer-info, desktop-create-buffer): Simplify.
5702 2013-07-23 Leo Liu <sdl.web@gmail.com>
5704 * bookmark.el (bookmark-make-record): Restore NAME as a default
5707 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5709 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5710 extracted from autoload--insert-text.
5711 (autoload--insert-text): Remove.
5712 (autoload--print-cookie-text): New function, extracted from
5713 autoload--insert-cookie-text.
5714 (autoload--insert-cookie-text): Remove.
5715 (autoload-generate-file-autoloads): Adjust calls accordingly.
5717 * winner.el (winner-hook-installed-p): Remove.
5718 (winner-mode): Simplify accordingly.
5720 * subr.el (add-to-list): Fix compiler-macro when `append' is
5721 not constant. Don't use `cl-member' for the base case.
5723 * progmodes/subword.el: Fix boundary case (bug#13758).
5724 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5726 (subword-backward-regexp): Make it a constant.
5727 (subword-forward-internal): Don't treat a trailing capital as the
5728 beginning of a word.
5730 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5732 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5733 global value of tabulated-list-revert-hook (bug#14930).
5735 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5737 * desktop.el: Require 'cl-lib.
5738 (desktop-before-saving-frames-functions): New hook.
5739 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5740 for frames being saved. Rename from desktop--save-minibuffer-frames.
5741 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5742 Do not save frames with non-nil `desktop-dont-save' parameter.
5743 Filter out deleted frames.
5744 (desktop--find-frame): Use cl-find-if.
5745 (desktop--select-frame): Use cl-(first|second|third) to access values
5747 (desktop--make-frame): Use cl-delete-if.
5748 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5749 (desktop-restore-frames): Use cl-(first|second|third) to access values
5750 of desktop-mini. Look for visible frame at the end, not while
5753 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5754 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5755 Use string-match-p, looking-at-p (bug#14927).
5757 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5759 * desktop.el (desktop-saved-frame-states):
5760 Rename from desktop--saved-states; all users changed.
5761 (desktop-save-frames): Rename from desktop--save-frames.
5762 Do not save state to desktop file.
5763 (desktop-save): Save desktop-saved-frame-states to desktop file
5765 (desktop-restoring-frames-p): New function.
5766 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5767 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5768 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5770 * desktop.el: Correctly restore iconified frames.
5771 (desktop--filter-iconified-position): New function.
5772 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5774 2013-07-20 Glenn Morris <rgm@gnu.org>
5776 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5777 Let `message' do the formatting.
5778 (def-gdb-preempt-display-buffer): Add explicit format.
5780 * image-dired.el (image-dired-track-original-file):
5781 Use with-current-buffer.
5782 (image-dired-track-thumbnail): Use with-current-buffer.
5783 Avoid changing point of wrong window.
5785 * image-dired.el (image-dired-track-original-file):
5786 Avoid changing point of wrong window. (Bug#14909)
5788 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5790 * progmodes/gdb-mi.el (gdb-done-or-error):
5791 Guard against "%" in gdb output. (Bug#14127)
5793 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5795 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5798 * international/mule.el (coding-system-iso-2022-flags): Fix last
5801 2013-07-20 Kenichi Handa <handa@gnu.org>
5803 * international/mule.el (coding-system-iso-2022-flags):
5804 Add `8-bit-level-4'. (Bug#8522)
5806 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5808 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5811 * net/eww.el (eww-process-text-input): Allow inputting when the
5812 point is at the start of the line, as the properties aren't
5815 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5818 2013-07-19 Richard Stallman <rms@gnu.org>
5820 * epa.el (epa-popup-info-window): Doc fix.
5822 * subr.el (split-string): New arg TRIM.
5824 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5826 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5827 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5829 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5831 * filenotify.el (file-notify--library): Rename from
5832 `file-notify-support'. Do not autoload. Adapt all uses.
5833 (file-notify-supported-p): New defun.
5835 * autorevert.el (auto-revert-use-notify):
5836 Use `file-notify-supported-p' instead of `file-notify-support'.
5838 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5840 * net/tramp.el (tramp-file-name-for-operation):
5841 Add `file-notify-supported-p'.
5843 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5845 (tramp-sh-file-name-handler-alist): Add it as handler for
5846 `file-notify-supported-p '.
5848 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5849 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5850 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5851 Add `ignore' as handler for `file-notify-*' functions.
5853 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5855 * simple.el (line-move-partial, line-move): Don't start vscroll or
5856 scroll-up if the current line is not taller than the window.
5859 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5861 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5862 highlight question marks in the method names as strings.
5863 (ruby-block-beg-keywords): Inline.
5864 (ruby-font-lock-keyword-beg-re): Extract from
5865 `ruby-font-lock-keywords'.
5867 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5869 * frame.el (blink-cursor-blinks): New defcustom.
5870 (blink-cursor-blinks-done): New defvar.
5871 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5872 (blink-cursor-timer-function): Check if number of blinks has been
5874 (blink-cursor-suspend, blink-cursor-check): New defuns.
5876 2013-07-15 Glenn Morris <rgm@gnu.org>
5878 * edmacro.el (edmacro-format-keys): Fix previous change.
5880 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5882 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5883 The hack didn't work outside English locales anyway.
5885 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5887 * simple.el (define-alternatives): Rename from alternatives-define,
5888 per RMS' suggestion.
5890 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5892 * desktop.el (desktop-restore-frames): Change default to t.
5893 (desktop-restore-in-current-display): Now offer more options.
5894 (desktop-restoring-reuses-frames): New customization option.
5895 (desktop--saved-states): Doc fix.
5896 (desktop-filter-parameters-alist): New variable, renamed and expanded
5897 from desktop--excluded-frame-parameters.
5898 (desktop--target-display): New variable.
5899 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5900 (desktop--filter-tty*, desktop--filter-*-color)
5901 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5902 (desktop--filter-save-desktop-parm)
5903 (desktop-restore-in-original-display-p): New functions.
5904 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5905 (desktop--save-minibuffer-frames): New function, inspired by a similar
5906 function from Martin Rudalics.
5907 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5908 (desktop--restore-in-this-display-p): Remove.
5909 (desktop--find-frame): Rename from desktop--find-frame-in-display
5910 and add predicate argument.
5911 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5912 (desktop--reuse-list): New variable.
5913 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5915 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5917 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5919 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5921 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5923 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5924 Highlight conversion methods on Kernel.
5926 2013-07-13 Alan Mackenzie <acm@muc.de>
5928 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5929 and comment it out. This out-commenting enables certain C++
5930 declarations to be parsed correctly.
5932 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5934 * international/mule.el (define-coding-system): Doc fix.
5936 * simple.el (default-font-height): Don't call font-info if the
5937 frame's default font didn't change since the frame was created.
5940 2013-07-13 Leo Liu <sdl.web@gmail.com>
5942 * ido.el (ido-read-file-name): Guard against non-symbol value.
5944 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5946 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5949 2013-07-13 Leo Liu <sdl.web@gmail.com>
5951 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5952 ido-set-matches call. (Bug#6852)
5954 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5956 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5957 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5959 (ruby-font-lock-keywords): Distinguish calls to functions with
5960 module-like names from module references. Highlight character
5963 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5965 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5966 (gdb-send): Handle continued commands. (Bug#14847)
5968 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5970 * desktop.el (desktop--v2s): Remove unused local variable.
5971 (desktop-save-buffer): Make defvar-local; adjust docstring.
5972 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5973 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5975 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5977 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5979 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5981 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5984 2013-07-12 Glenn Morris <rgm@gnu.org>
5986 * doc-view.el: Require cl-lib at runtime too.
5987 (doc-view-remove-if): Remove.
5988 (doc-view-search-next-match, doc-view-search-previous-match):
5991 * edmacro.el: Require cl-lib at runtime too.
5992 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5993 (edmacro-mismatch, edmacro-subseq): Remove.
5995 * shadowfile.el: Require cl-lib.
5996 (shadow-remove-if): Remove.
5997 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6000 * wid-edit.el: Require cl-lib.
6001 (widget-choose): Use cl-remove-if.
6002 (widget-remove-if): Remove.
6004 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6005 (ebrowse-delete-if-not): Remove.
6006 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6007 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6008 Use cl-delete-if-not.
6010 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6012 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6013 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6015 2013-07-12 Leo Liu <sdl.web@gmail.com>
6017 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6019 2013-07-11 Glenn Morris <rgm@gnu.org>
6021 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6022 (edebug-gensym-index, edebug-gensym):
6023 Remove reimplementation of cl-gensym.
6024 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6026 * thumbs.el: Require cl-lib at run-time too.
6027 (thumbs-gensym-counter, thumbs-gensym):
6028 Remove reimplementation of cl-gensym.
6029 (thumbs-temp-file): Use cl-gensym.
6031 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6032 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6033 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6034 (ert--union, ert--gensym-counter, ert--gensym-counter)
6035 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6036 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6037 (ert-make-test-unbound, ert--expand-should-1)
6038 (ert--expand-should, ert--should-error-handle-error)
6039 (should-error, ert--explain-equal-rec)
6040 (ert--plist-difference-explanation, ert-select-tests)
6041 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6042 Use cl-lib functions rather than reimplementations.
6044 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6046 * net/tramp.el (tramp-methods): Extend docstring.
6047 (tramp-connection-timeout): New defcustom.
6048 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6049 (with-tramp-progress-reporter): Simplify.
6050 (tramp-process-actions): Improve messages.
6052 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6053 * net/tramp-sh.el (tramp-maybe-open-connection):
6054 Use `tramp-connection-timeout'.
6055 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6058 2013-07-11 Leo Liu <sdl.web@gmail.com>
6060 * ido.el (ido-read-file-name): Conform to the requirements of
6061 read-file-name. (Bug#11861)
6062 (ido-read-directory-name): Conform to the requirements of
6063 read-directory-name.
6065 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6067 * subr.el (delay-warning): New function.
6069 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6071 * simple.el (default-line-height): New function.
6072 (line-move-partial, line-move): Use it instead of computing the
6074 (line-move-partial): Always compute ROWH. If the last line is
6075 partially-visible, but its text is completely visible, allow
6076 cursor to enter such a partially-visible line.
6078 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6080 Improve error messages. (Bug#14808)
6082 * net/tramp.el (tramp-current-connection): New defvar, moved from
6084 (tramp-message-show-progress-reporter-message): Remove, not
6086 (tramp-error-with-buffer): Show message in minibuffer.
6087 Discard input before waiting. Reset connection timestamp.
6088 (with-tramp-progress-reporter): Improve messages.
6089 (tramp-process-actions): Use progress reporter. Delete process in
6090 case of error. Improve messages.
6092 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6093 Call `tramp-error-with-buffer' with vector and buffer.
6094 (tramp-current-connection): Remove.
6095 (tramp-maybe-open-connection): The car of
6096 `tramp-current-connection' are the first 3 slots of the vector.
6098 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6100 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6101 inside continued strings.
6103 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6105 Timestamp fixes for undo (Bug#14824).
6106 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6108 2013-07-10 Leo Liu <sdl.web@gmail.com>
6110 * files.el (require-final-newline): Allow safe local value.
6113 2013-07-09 Leo Liu <sdl.web@gmail.com>
6115 * ido.el (ido-read-directory-name): Handle fallback.
6116 (ido-read-file-name): Update DIR to ido-current-directory.
6118 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6120 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6122 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6123 "autoload". Remove "warn lower camel case" section, previously
6124 commented out. Highlight negation char. Do not highlight the
6125 target in singleton method definitions.
6127 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6129 * faces.el (tty-setup-hook): Declare the hook.
6131 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6132 and detect when a guard/pred depends on local vars (bug#14773).
6133 (pcase--u1): Adjust caller.
6135 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6137 * simple.el (line-move-partial, line-move): Account for
6139 (line-move-partial): Avoid setting vscroll when the last
6140 partially-visible line in window is of default height.
6142 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6144 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6147 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6149 * subr.el (read-quoted-char): Remove unused local variable `char'.
6151 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6153 * ediff.el (ediff-version): Version update.
6154 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6155 (ediff-merge-with-ancestor-command, ediff-directories-command)
6156 (ediff-directories3-command, ediff-merge-directories-command)
6157 (ediff-merge-directories-with-ancestor-command): New functions.
6158 All are command-line interfaces to ediff: to facilitate calling
6159 Emacs with the appropriate ediff functions invoked.
6161 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6162 (viper-save-kill-buffer): Check if buffer is modified.
6164 * viper.el (viper-version): Version update.
6165 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6167 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6169 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6170 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6171 (viper-intercept-ESC-key): Simplify.
6172 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6173 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6174 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6175 (viper-setup-ESC-to-escape): New functions.
6176 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6177 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6179 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6181 * simple.el (default-font-height, window-screen-lines):
6183 (line-move, line-move-partial): Use them instead of
6184 frame-char-height and window-text-height. This makes scrolling
6185 text smoother when the buffer's default face uses a font that is
6186 different from the frame's default font.
6188 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6190 * files.el (write-file): Do not display confirm dialog for NS,
6191 it does its own dialog, which can't be cancelled (Bug#14578).
6193 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6195 * simple.el (line-move-partial): Adjust the row returned by
6196 posn-at-point for the current window-vscroll. (Bug#14567)
6198 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6200 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6201 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6204 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6206 * window.el (window-state-put-stale-windows): New variable.
6207 (window--state-put-2): Save list of windows without matching buffer.
6208 (window-state-put): Remove "bufferless" windows if possible.
6210 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6212 * simple.el (alternatives-define): Remove leftover :group keyword.
6215 2013-07-06 Leo Liu <sdl.web@gmail.com>
6217 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6218 (ido-enable-virtual-buffers): New variable.
6219 (ido-buffer-internal, ido-toggle-virtual-buffers)
6220 (ido-make-buffer-list): Use it.
6221 (ido-exhibit): Support turning on and off virtual buffers
6224 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6226 * simple.el (alternatives-define): New macro.
6228 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6230 * subr.el (read-quoted-char): Use read-key.
6231 (sit-for): Let read-event decode tty input (bug#14782).
6233 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6235 * calendar/todo-mode.el: Add handling of file deletion, both by
6236 mode command and externally. Fix various related bugs.
6237 Clarify Commentary and improve some documentation strings and code.
6238 (todo-delete-file): New command.
6239 (todo-check-file): New function.
6240 (todo-show): Handle external deletion of the file we're trying to
6241 show (bug#14688). Replace called-interactively-p by an optional
6242 prefix argument to avoid problematic interaction with catch form
6243 when byte compiled (bug#14702).
6244 (todo-quit): Handle external deletion of the archive's todo file.
6245 Make sure the buffer that was visiting the archive file is still
6246 live before trying to bury it.
6247 (todo-category-completions): Handle external deletion of any
6248 category completion files.
6249 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6250 of todo files, in case of external deletion.
6251 (todo-add-file): Replace unnecessary setq by let-binding.
6252 (todo-find-archive): Check whether there are any archives.
6253 Replace unnecessary setq by let-binding.
6254 (todo-archive-done-item): Use find-file-noselect to get the
6255 archive buffer whether or not the archive already exists.
6256 Remove superfluous code. Use file size instead of buffer-file-name to
6257 check if the archive is new; if it is, update list of archives.
6258 (todo-default-todo-file): Allow nil to be a valid value for when
6259 there are no todo files.
6260 (todo-reevaluate-default-file-defcustom): Use corrected definition
6261 of todo-default-todo-file.
6262 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6263 (todo-delete-category, todo-show-categories-table)
6264 (todo-category-number): Clarify comment.
6265 (todo-filter-items): Clarify documentation string.
6266 (todo-show-current-file, todo-display-as-todo-file)
6267 (todo-reset-and-enable-done-separator): Tweak documentation string.
6268 (todo-done-separator): Make separator length window-width, since
6269 bug#2749 is now fixed.
6271 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6273 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6274 Support both "gvfs-monitor-dir" and "inotifywait".
6275 (tramp-sh-file-inotifywait-process-filter): Rename from
6276 `tramp-sh-file-notify-process-filter'.
6277 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6278 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6280 2013-07-05 Leo Liu <sdl.web@gmail.com>
6282 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6284 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6286 * frame.el (display-pixel-height, display-pixel-width)
6287 (display-mm-height, display-mm-width): Mention behavior on
6288 multi-monitor setups in docstrings.
6289 (w32-display-monitor-attributes-list): Declare function.
6290 (display-monitor-attributes-list): Use it.
6292 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6294 * filenotify.el: New package.
6296 * autorevert.el (top): Require filenotify.el.
6297 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6299 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6300 (auto-revert-notify-handler): Use `file-notify-*' functions.
6302 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6304 * net/tramp.el (tramp-file-name-for-operation):
6305 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6307 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6308 for `file-notify-add-watch' and `file-notify-rm-watch'.
6309 (tramp-process-sentinel): Improve trace.
6310 (tramp-sh-handle-file-notify-add-watch)
6311 (tramp-sh-file-notify-process-filter)
6312 (tramp-sh-handle-file-notify-rm-watch)
6313 (tramp-get-remote-inotifywait): New defuns.
6315 2013-07-03 Juri Linkov <juri@jurta.org>
6317 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6318 call of `occur-read-primary-args' to interactive spec.
6320 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6321 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6323 2013-07-03 Matthias Meulien <orontee@gmail.com>
6325 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6326 `Buffer-menu-multi-occur'. Add it to the menu.
6327 (Buffer-menu-mode): Document it in docstring.
6328 (Buffer-menu-multi-occur): New command. (Bug#14673)
6330 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6332 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6333 keywords and built-ins.
6335 2013-07-03 Glenn Morris <rgm@gnu.org>
6337 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6339 Make info-xref checks case-sensitive by default
6340 * info.el (Info-find-node, Info-find-in-tag-table)
6341 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6342 Add option for exact case matching of nodes.
6343 * info-xref.el (info-xref): New custom group.
6344 (info-xref-case-fold): New option.
6345 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6347 2013-07-03 Leo Liu <sdl.web@gmail.com>
6349 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6351 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6353 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6354 middle of block statement initially, lower the depth. Remove
6355 FIXME comment, not longer valid. Remove middle of block statement
6356 detection, no need to do that anymore since we've been using
6357 `ruby-parse-region' here.
6359 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6361 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6363 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6365 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6367 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6369 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6370 (desktop-restore-in-current-display): New customization option.
6371 (desktop--excluded-frame-parameters): Add `font'.
6372 (desktop--save-frames): Rename from desktop--save-windows.
6373 (desktop--restore-in-this-display-p): New function.
6374 (desktop--make-full-frame): Remove unwanted width/height from
6375 full(width|height) frames.
6376 (desktop--restore-frames): Rename from desktop--restore-windows.
6377 Obey desktop-restore-current-display. Do not delete old frames or
6378 select a new frame unless we were able to restore at least one frame.
6380 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6382 * files.el (find-file-noselect): Simplify conditional expression.
6384 * remember.el (remember-append-to-file):
6385 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6387 Add `remember-notes' function to store random notes across Emacs
6389 * remember.el (remember-data-file): Add :set callback to affect
6390 notes buffer (if any).
6391 (remember-notes): New command.
6392 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6393 New defcustoms for the `remember-notes' function.
6394 (remember-notes-save-and-bury-buffer): New command.
6395 (remember-notes-mode-map): New variable.
6396 (remember-mode): New minor mode.
6397 (remember-notes--kill-buffer-query): New function.
6398 * startup.el (initial-buffer-choice): Add notes to custom type.
6400 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6402 * bindings.el (right-char, left-char): Don't call sit-for, this is
6403 no longer needed. Use arithmetic comparison only for numerical
6406 * international/mule-cmds.el (select-safe-coding-system):
6407 Handle the case of FROM being a string correctly. (Bug#14755)
6409 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6411 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6412 progression on degenerate tables.
6413 (shr-rescale-image): ImageMagick animated images currently don't work.
6415 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6417 Some fixes and improvements for desktop frame restoration.
6418 It is still experimental and disabled by default.
6419 * desktop.el (desktop--save-windows): Put the selected frame at
6420 the head of the list.
6421 (desktop--make-full-frame): New function.
6422 (desktop--restore-windows): Try to re-select the frame that was
6423 selected upon saving. Do not abort if some frames fail to restore,
6424 just show an error message and continue. Set up maximized frames
6425 so they have default non-maximized dimensions.
6427 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6429 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6430 Don't start heredoc inside a string or comment.
6432 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6434 * bindings.el (visual-order-cursor-movement): New defcustom.
6435 (right-char, left-char): Provide visual-order cursor motion by
6436 calling move-point-visually. Update the doc strings.
6438 2013-06-28 Kenichi Handa <handa@gnu.org>
6440 * international/mule.el (define-coding-system): New coding system
6441 properties :inhibit-null-byte-detection,
6442 :inhibit-iso-escape-detection, and :prefer-utf-8.
6443 (set-buffer-file-coding-system): If :charset-list property of
6444 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6445 appropriate for setting.
6447 * international/mule-cmds.el (select-safe-coding-system):
6448 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6449 multibyte characters, return utf-8 (or one of its siblings).
6451 * international/mule-conf.el (prefer-utf-8): New coding system.
6452 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6455 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6457 * net/shr.el (shr-render-region): New function.
6459 * net/eww.el: Autoload `eww-browse-url'.
6461 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6463 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6464 Adapt to `package-desc-version' being a list.
6465 Use `package--ac-desc-version' to retrieve version from a package
6468 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6470 New experimental feature to save&restore window and frame setup.
6471 * desktop.el (desktop-save-windows): New defcustom.
6472 (desktop--saved-states): New var.
6473 (desktop--excluded-frame-parameters): New defconst.
6474 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6475 (desktop--restore-windows, desktop--save-windows): New functions.
6476 (desktop-save): Call `desktop--save-windows'.
6477 (desktop-read): Call `desktop--restore-windows'.
6479 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6481 * net/shr.el (add-face-text-property): Remove compat definition.
6483 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6485 * info.el (Info-try-follow-nearest-node): Move search for footnote
6486 above search for node name to prevent missing a footnote (bug#14717).
6488 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6490 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6492 2013-06-27 Leo Liu <sdl.web@gmail.com>
6494 * net/eww.el (eww-read-bookmarks): Check file size.
6496 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6498 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6499 advice--pending if newdef is nil or an autoload (bug#13820).
6500 (advice-mapc): New function.
6502 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6504 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6506 (eww-mode-map): Add a menu bar.
6507 (eww-add-bookmark): New command.
6508 (eww-bookmark-mode): New mode and commands.
6509 (eww-add-bookmark): Remove newlines from the title.
6510 (eww-bookmark-browse): Don't bug out if it's the only window.
6512 2013-06-26 Glenn Morris <rgm@gnu.org>
6514 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6515 (hfy-size): Handle ttys. (Bug#14668)
6517 * info-xref.el: Update for Texinfo 5 change in *note format.
6518 (info-xref-node-re, info-xref-note-re): New constants.
6519 (info-xref-check-buffer): Use info-xref-note-re.
6521 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6523 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6525 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6526 nil terminate the loop (bug#14718).
6528 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6530 * net/eww.el: Rework history traversal. When going forward/back,
6531 put these actions into the history, too, so that they can be
6533 (eww-render): Move the history reset to the correct buffer.
6535 2013-06-25 Juri Linkov <juri@jurta.org>
6537 * files-x.el (modify-dir-local-variable): Change the header comment
6538 in the file with directory local variables. (Bug#14692)
6540 * files-x.el (read-file-local-variable-value): Add `default'.
6543 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6545 * net/eww.el (eww-make-unique-file-name): Create a unique file
6546 name before saving to entering `y' accidentally asynchronously.
6548 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6550 * net/eww.el (eww-download): New command and keystroke.
6552 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6554 * net/eww.el (eww-copy-page-url): Change name of command.
6556 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6557 be more consistent with Info and dired.
6559 * net/eww.el (eww-mode-map): Ditto.
6561 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6563 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6564 packages from archives.
6565 (package-archive-contents): Change format; include obsolete packages.
6566 (package-desc): Use `dir' to mark builtin packages.
6567 (package--from-builtin): Set the `dir' field to `builtin'.
6568 (generated-autoload-file, version-control): Declare.
6569 (package-compute-transaction): Change first arg and return value to be
6570 lists of package-descs. Adjust to new package-archive-contents format.
6571 (package--add-to-archive-contents): Adjust to new
6572 package-archive-contents format.
6573 (package-download-transaction): Arg is now a list of package-descs.
6574 (package-install): If `pkg' is a package name, pass it as
6575 a requirement, so it is subject to the usual (e.g. disabled) checks.
6576 (describe-package): Accept package-desc as well.
6577 (describe-package-1): Describe a specific package-desc. Add links to
6578 other package-descs for the same package name.
6579 (package-menu-describe-package): Pass the actual package-desc.
6580 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6582 (package-desc-status): New function.
6583 (package-menu--refresh): New function, extracted
6584 from package-menu--generate.
6585 (package-menu--generate): Use it.
6586 (package-delete): Update package-alist.
6587 (package-menu-execute): Don't call package-initialize.
6589 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6590 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6591 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6592 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6593 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6594 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6596 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6598 * window.el (window--state-get-1): Workaround for bug#14527.
6599 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6601 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6603 * net/eww.el (eww-back-url): Implement the history by stashing all
6604 the data into a list.
6605 (eww-forward-url): Allow going forward in the history, too.
6607 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6609 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6610 for values and use read--expression for expressions (bug#14710).
6611 (read-file-local-variable): Avoid setq.
6612 (read-file-local-variable-mode): Use minor-mode-list.
6614 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6616 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6619 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6621 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6622 Update imenu-support when dialect changes.
6624 2013-06-25 Leo Liu <sdl.web@gmail.com>
6626 * ido.el (ido-read-internal): Allow forward slash on windows.
6628 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6630 * net/eww.el (eww): Start of strings is \\`, not ^.
6632 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6634 * net/shr.el (shr-browse-url): Fix interactive spec.
6636 * net/eww.el (eww): Add a trailing slash to domain names.
6638 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6640 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6642 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6644 * net/shr.el (shr-browse-url): Use an external browser if given a
6647 * net/eww.el (eww-external-browser): Move to shr.
6649 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6651 * net/eww.el (eww): Work more correctly for file: URLs.
6652 (eww-detect-charset): Allow quoted charsets.
6653 (eww-yank-page-url): New command and keystroke.
6655 2013-06-24 Daiki Ueno <ueno@gnu.org>
6657 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6658 file name of gpg executable.
6659 (epg-context-program): New function.
6660 (epg-context-home-directory): New function.
6661 (epg-context-set-program): New function.
6662 (epg-context-set-home-directory): New function.
6663 (epg--start): Use `epg-context-program' instead of
6665 (epg--list-keys-1): Likewise.
6667 2013-06-24 Leo Liu <sdl.web@gmail.com>
6669 * ido.el (ido-read-internal): Fix bug#14620.
6671 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6673 * faces.el (face-documentation): Simplify.
6674 (read-face-attribute, tty-find-type, x-resolve-font-name):
6675 Use `string-match-p'.
6676 (list-faces-display): Use `string-match-p'. Simplify.
6677 (face-spec-recalc): Check face to avoid face alias loops.
6678 (read-color): Use `string-match-p' and non-capturing parenthesis.
6680 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6682 * net/shr.el (shr-rescale-image): Use the new
6683 :max-width/:max-height functionality.
6685 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6687 * net/eww.el (eww-search-prefix): New variable.
6689 (eww-external-browser): New variable.
6690 (eww-mode-map): New keystroke.
6691 (eww-browse-with-external-browser): New command.
6693 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6695 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6697 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6698 Don't skip aligning the next header field when padding is 0;
6699 otherwise, field width is not respected unless the title is as
6702 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6704 * emacs-lisp/package.el (package-el-version): Remove.
6705 (package-process-define-package): Fix inf-loop.
6706 (package-install): Allow symbols as arguments again.
6708 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6710 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6711 add some more keyword-like methods.
6712 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6714 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6716 * bs.el (bs-buffer-show-mark): Make defvar-local.
6717 (bs-mode): Use setq-local.
6719 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6720 (emacs-lock--try-unlocking): Make defvar-local.
6722 2013-06-22 Glenn Morris <rgm@gnu.org>
6724 * play/cookie1.el (cookie-apropos): Minor simplification.
6726 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6728 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6730 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6731 `regexp-opt', it breaks the build during dumping.
6733 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6735 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6736 Highlight keyword-like methods on Kernel and Module with
6737 font-lock-builtin-face.
6738 (auto-mode-alist): Consolidate different entries into one regexp
6739 and add more *file-s.
6741 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6743 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6745 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6746 (diary-entry): Use it in the action of this button type instead of
6749 * calendar/todo-mode.el: New version.
6750 (todo-add-category): Append new category to end of file and give
6751 it the highest number, instead of putting it at the beginning and
6752 giving it 0. Incorporate noninteractive functionality.
6753 (todo-forward-category): Adapt to 1-based category numbering.
6754 Allow skipping over archived categories.
6755 (todo-backward-category): Derive from todo-forward-category.
6756 (todo-backward-item, todo-forward-item): Make noninteractive and
6757 delegate interactive part to new commands. Make sensitive to done items.
6758 (todo-categories): Make value an alist of category names and
6759 vectors of item counts.
6760 (todo-category-beg): Make a defconst.
6761 (todo-category-number): Use 1 instead of 0 as initial value.
6762 (todo-category-select): Make sensitive to overlays, optional item
6763 highlighting and done items.
6764 (todo-delete-item): Make sensitive to overlays and marked and done items.
6765 (todo-edit-item): Make sensitive to overlays and editing of
6766 date/time header optional. Add format checks.
6767 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6768 no-op if point is not on an item. Advertise using todo-edit-quit.
6769 (todo-edit-mode): Make sensitive to new format, font-locking, and
6770 multiple todo files.
6771 (todo-insert-item, todo-insert-item-here): Derive from
6772 todo-basic-insert-item and extend functionality.
6773 (todo-item-end, todo-item-start): Make sensitive to done items.
6774 (todo-item-string): Don't return text properties. Restore point.
6775 (todo-jump-to-category): Make sensitive to multiple todo files and
6776 todo archives. Use extended category completion.
6777 (todo-lower-item, todo-raise-item): Rename to *-priority and
6778 derive from todo-set-item-priority.
6779 (todo-mode): Derive from special-mode. Make sensitive to new
6780 format, font-locking and multiple todo files. Make read-only.
6781 (todo-mode-map): Don't suppress digit keys, so they can supply
6782 prefix arguments. Add many new key bindings.
6783 (todo-prefix): Insert as an overlay instead of file text.
6784 Change semantics from diary date expression to purely visual mark.
6785 (todo-print): Rename to todo-print-buffer. Make buffer display
6786 features printable. Remove option to restrict number of items
6787 printed. Add option to print to file.
6788 (todo-print-function): Rename to todo-print-buffer-function.
6789 (todo-quit): Extend to handle exiting new todo modes.
6790 (todo-remove-item): Make sensitive to overlays.
6791 (todo-save): Extend to buffers of filtered items.
6792 (todo-show): Make sensitive to done items, multiple todo files and
6793 new todo modes. Offer to convert legacy todo file before creating
6794 first new todo file.
6795 (todo-show-priorities): Rename to todo-top-priorities.
6796 Change semantics of value 0.
6797 (todo-top-priorities): Rename to todo-filter-top-priorities,
6798 derive from todo-filter-items and extend functionality.
6799 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6800 and extend functionality to other types of filtered items.
6801 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6802 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6803 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6804 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6805 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6806 (todo-edit-mode-hook, todo-entry-prefix-function)
6807 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6808 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6809 (todo-initials, todo-insert-threshold, todo-item-string-start)
6810 (todo-line-string, todo-menu, todo-mode-hook)
6811 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6812 (todo-print-priorities, todo-remove-separator)
6813 (todo-save-top-priorities-too, todo-string-count-lines)
6814 (todo-string-multiline-p, todo-time-string-format)
6815 (todo-tmp-buffer-name): Remove.
6816 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6817 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6818 (todo-edit-category-diary-inclusion)
6819 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6820 (todo-edit-file, todo-edit-item-date-day)
6821 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6822 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6823 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6824 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6825 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6826 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6827 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6828 (todo-filter-top-priorities-multifile, todo-find-archive)
6829 (todo-find-filtered-items-file, todo-go-to-source-item)
6830 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6831 (todo-jump-to-archive-category, todo-lower-category)
6832 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6833 (todo-move-category, todo-move-item, todo-next-button)
6834 (todo-next-item, todo-padded-string, todo-powerset)
6835 (todo-previous-button, todo-previous-item)
6836 (todo-print-buffer-to-file, todo-raise-category)
6837 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6838 (todo-set-category-number, todo-set-item-priority)
6839 (todo-set-top-priorities-in-category)
6840 (todo-set-top-priorities-in-file, todo-show-categories-table)
6841 (todo-sort-categories-alphabetically-or-numerically)
6842 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6843 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6844 (todo-toggle-item-header, todo-toggle-item-highlighting)
6845 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6846 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6847 (todo-unarchive-items, todo-unmark-category): New commands.
6848 (todo-absolute-file-name, todo-add-to-buffer-list)
6849 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6850 (todo-basic-insert-item, todo-category-completions)
6851 (todo-category-number, todo-category-string-matcher-1)
6852 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6853 (todo-check-format, todo-clear-matches)
6854 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6855 (todo-current-category, todo-date-string-matcher)
6856 (todo-define-insertion-command, todo-diary-expired-matcher)
6857 (todo-diary-goto-entry, todo-diary-item-p)
6858 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6859 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6860 (todo-done-item-section-p, todo-done-separator)
6861 (todo-done-string-matcher, todo-files, todo-filter-items)
6862 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6863 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6864 (todo-insert-category-line, todo-insert-item-from-calendar)
6865 (todo-insert-sort-button, todo-insert-with-overlays)
6866 (todo-insertion-command-name, todo-insertion-key-bindings)
6867 (todo-label-to-key, todo-longest-category-name-length)
6868 (todo-make-categories-list, todo-mode-external-set)
6869 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6870 (todo-modes-set-3, todo-multiple-filter-files)
6871 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6872 (todo-read-category, todo-read-date, todo-read-dayname)
6873 (todo-read-file-name, todo-read-time)
6874 (todo-reevaluate-category-completions-files-defcustom)
6875 (todo-reevaluate-default-file-defcustom)
6876 (todo-reevaluate-filelist-defcustoms)
6877 (todo-reevaluate-filter-files-defcustom)
6878 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6879 (todo-reset-done-separator, todo-reset-done-separator-string)
6880 (todo-reset-done-string, todo-reset-global-current-todo-file)
6881 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6882 (todo-reset-prefix, todo-set-categories)
6883 (todo-set-date-from-calendar, todo-set-show-current-file)
6884 (todo-set-top-priorities, todo-short-file-name)
6885 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6886 (todo-total-item-counts, todo-update-buffer-list)
6887 (todo-update-categories-display, todo-update-categories-sexp)
6888 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6890 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6892 (todo-categories, todo-display, todo-edit, todo-faces)
6893 (todo-filtered): New defgroups.
6894 (todo-archived-only, todo-button, todo-category-string, todo-date)
6895 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6896 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6897 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6898 (todo-add-item-if-new-category, todo-always-add-time-string)
6899 (todo-categories-align, todo-categories-archived-label)
6900 (todo-categories-category-label, todo-categories-diary-label)
6901 (todo-categories-done-label, todo-categories-number-separator)
6902 (todo-categories-todo-label, todo-categories-totals-label)
6903 (todo-category-completions-files, todo-completion-ignore-case)
6904 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6905 (todo-done-separator-string, todo-done-string)
6906 (todo-files-function, todo-filter-done-items, todo-filter-files)
6907 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6908 (todo-initial-category, todo-initial-file, todo-item-mark)
6909 (todo-legacy-date-time-regexp, todo-mode-line-function)
6910 (todo-nondiary-marker, todo-number-prefix)
6911 (todo-print-buffer-function, todo-show-current-file)
6912 (todo-show-done-only, todo-show-first, todo-show-with-done)
6913 (todo-skip-archived-categories, todo-top-priorities-overrides)
6914 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6915 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6917 (todo-category-done, todo-date-pattern, todo-date-string-start)
6918 (todo-diary-items-buffer, todo-done-string-start)
6919 (todo-filtered-items-buffer, todo-item-start)
6920 (todo-month-abbrev-array, todo-month-name-array)
6921 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6922 (todo-top-priorities-buffer): New defconsts.
6923 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6924 (todo-categories-with-marks, todo-category-string-face)
6925 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6926 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6927 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6928 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6929 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6930 (todo-font-lock-keywords, todo-global-current-todo-file)
6931 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6932 (todo-insertion-commands-args)
6933 (todo-insertion-commands-args-genlist)
6934 (todo-insertion-commands-names, todo-insertion-map)
6935 (todo-key-bindings-t, todo-key-bindings-t+a)
6936 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6937 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6938 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6939 (todo-visited): New variables.
6941 2013-06-21 Glenn Morris <rgm@gnu.org>
6943 * play/cookie1.el (cookie-apropos): Add optional display argument.
6944 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6945 (psychoanalyze-pinhead): Use cookie-doctor.
6947 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6949 * emacs-lisp/package.el (tar-get-file-descriptor)
6950 (tar--extract): Declare.
6952 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6954 Extend flymake's warning predicate to be a function (bug#14217).
6955 * progmodes/flymake.el (flymake-warning-predicate): New.
6956 (flymake-parse-line): Use it.
6957 (flymake-warning-re): Make obsolete alias to
6958 `flymake-warning-predicate'.
6960 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6962 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6963 (package-obsolete-list): Remove.
6964 (package-activate): Remove min-version argument. Add `force' argument.
6965 Adjust to new package-alist format.
6966 (package-mark-obsolete): Remove.
6967 (package-unpack): Force reload of the package's autoloads.
6968 (package-installed-p): Check builtins if the installed package is not
6970 (package-initialize): Don't reset package-obsolete-list.
6971 Don't specify which package version to activate.
6972 (package-process-define-package, describe-package-1)
6973 (package-menu--generate): Adjust to new package-alist format.
6975 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6977 * allout-widgets.el (allout-widgets-mode-off)
6978 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6979 (allout-widgets-post-command-business)
6980 (allout-widgets-after-copy-or-kill-function)
6981 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6982 (allout-decorate-item-and-context)
6983 (allout-graphics-modification-handler): Fix typos in docstrings.
6984 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6986 * cmuscheme.el (scheme-start-file): Doc fix.
6987 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6988 (scheme-input-filter): Use `string-match-p'.
6990 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6992 * dired-x.el: Use Dired consistently in docstrings.
6994 * dired.el: Use Dired consistently in docstrings.
6995 (dired-readin, dired-mode): Use `setq-local'.
6996 (dired-switches-alist): Make defvar-local.
6997 (dired-buffers-for-dir): Use `zerop'.
6998 (dired-safe-switches-p, dired-switches-escape-p)
6999 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7000 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7001 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7002 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7003 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7004 (dired-toggle-marks, dired-mark-files-containing-regexp)
7005 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7006 (dired-flag-auto-save-files, dired-flag-backup-files):
7008 (dired-mark-files-regexp, dired-build-subdir-alist):
7009 Use `string-match-p', `looking-at-p'.
7011 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7012 (direct-print-region-helper): Use `string-match-p'.
7014 2013-06-21 Leo Liu <sdl.web@gmail.com>
7016 * comint.el (comint-redirect-results-list-from-process):
7019 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7021 * net/eww.el (eww-update-header-line-format): Quote % characters.
7023 2013-06-21 Glenn Morris <rgm@gnu.org>
7025 * play/cookie1.el (cookie): New custom group.
7026 (cookie-file): New option.
7027 (cookie-check-file): New function.
7028 (cookie): Make it interactive. Make start and end messages optional.
7029 Interactively, display the result. Default to cookie-file.
7030 (cookie-insert): Default to cookie-file.
7031 (cookie-snarf): Make start and end messages optional.
7032 Default to cookie-file. Use with-temp-buffer.
7033 (cookie-read): Rename from read-cookie.
7034 Make start and end messages optional. Default to cookie-file.
7035 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7037 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7038 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7040 2013-06-21 Leo Liu <sdl.web@gmail.com>
7042 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7044 2013-06-21 Glenn Morris <rgm@gnu.org>
7046 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7048 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7049 Daniel Hackney <dan@haxney.org>
7051 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7052 Consolidate the single-file vs tarball code.
7053 (package-desc-suffix): New function.
7054 (package-desc-full-name): Don't bother inlining it.
7055 (package-load-descriptor): Return the new package-desc.
7056 (package-mark-obsolete): Remove unused arg `package'.
7057 (package-unpack): Make it work for single files as well.
7058 Make it update package-alist.
7059 (package--make-autoloads-and-stuff): Rename from
7060 package--make-autoloads-and-compile. Don't compile any more.
7061 (package--compile): New function.
7062 (package-generate-description-file): New function, extracted from
7063 package-unpack-single.
7064 (package-unpack-single): Remove.
7065 (package--with-work-buffer): Add indentation and debugging info.
7066 (package-download-single): Remove.
7067 (package-install-from-archive): Rename from package-download-tar, make
7068 it take a pkg-desc, and make it work for single files as well.
7069 (package-download-transaction): Simplify.
7070 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7071 external tar program.
7072 (package-install-from-buffer): Remove `pkg-desc' argument.
7073 Use package-tar-file-info for tar-mode buffers.
7074 (package-install-file): Simplify accordingly.
7075 (package-archive-base): Change to take a pkg-desc.
7076 * tar-mode.el (tar--check-descriptor): New function, extracted from
7078 (tar-get-descriptor): Use it.
7079 (tar-get-file-descriptor): New function.
7080 (tar--extract): New function, extracted from tar-extract.
7081 (tar--extract): Use it.
7082 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7083 case the summary uses non-ascii. Adjust to new calling convention of
7084 package-tar-file-info.
7086 2013-06-21 Leo Liu <sdl.web@gmail.com>
7088 * comint.el (comint-redirect-results-list-from-process):
7089 Fix random delay. (Bug#14681)
7091 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7093 * profiler.el (profiler-format-number): Use log, not log10.
7095 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7097 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7099 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7101 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7102 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7104 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7105 (AUTOGENEL): ... here.
7106 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7107 (cl--defsubst-expand): Use it.
7109 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7111 * subr.el (log10): Move here from C code, and declare as obsolete.
7112 All uses of (log10 X) replaced with (log X 10).
7114 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7116 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7117 Declare with `defvar-local'.
7118 (tabulated-list-use-header-line, tabulated-list-entries)
7119 (tabulated-list-padding, tabulated-list-printer)
7120 (tabulated-list-sort-key): Declare with `defvar-local'.
7121 (tabulated-list-init-header, tabulated-list-print-fake-header):
7124 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7126 * arc-mode.el (archive-mode): Add `archive-write-file' to
7127 `write-contents-functions' also for remote files. (Bug#14652)
7129 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7131 * cus-edit.el (custom-commands): Fix typos.
7132 (custom-display): Fix tooltip text.
7133 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7134 Fix typos in docstrings.
7135 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7136 (custom-unlispify-menu-entry, custom-magic-value-create)
7137 (custom-add-see-also, custom-group-value-create): Use ?\s.
7138 (custom-guess-type, customize-apropos, editable-field)
7139 (custom-face-value-create): Use `string-match-p'.
7140 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7142 * custom.el (custom-load-symbol): Use `string-match-p'.
7144 * ansi-color.el: Convert to lexical binding.
7145 (ansi-colors): Fix URL.
7146 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7147 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7148 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7150 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7152 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7154 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7156 2013-06-19 Tom Tromey <tromey@redhat.com>
7158 * net/eww.el (eww-top-url): Remove.
7159 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7160 (eww-render): Set new variables. Don't set eww-top-url.
7161 (eww-handle-link): Handle "prev", "home", and "contents".
7162 Downcase the rel text.
7163 (eww-top-url): Choose best top URL.
7165 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7167 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7168 relying in widget.el. Using widget.el leads to too many
7169 user interface inconsistencies.
7170 (eww-self-insert): Implement entering commands in text fields.
7171 (eww-process-text-input): New function to make text input field editing
7173 (eww-submit): Rewrite to use the new-style form methods.
7174 (eww-select-display): Display the correct selected item.
7175 (eww-change-select): Implement changing the select value.
7176 (eww-toggle-checkbox): Implement radio/checkboxes.
7177 (eww-update-field): Fix compilation error.
7178 (eww-tag-textarea): Implement <textarea>.
7180 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7181 we don't shadow mode-specific bindings.
7183 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7186 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7188 2013-06-19 Glenn Morris <rgm@gnu.org>
7190 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7192 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7194 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7197 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7199 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7201 * net/browse-url.el (browse-url-browser-function):
7202 `eww-browse-url' has the right calling signature, `eww' does not.
7204 2013-06-19 Glenn Morris <rgm@gnu.org>
7206 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7207 Only eval autoloaded macros.
7208 (byte-compile-autoload): Only give the macro warning for macros.
7210 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7211 (ps-underlined-faces): Declare.
7213 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7214 (speedbar-add-supported-extension): Declare.
7216 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7217 Don't include a date stamp in the header of the generated file;
7218 it leads to needless differences between output files.
7220 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7222 * net/secrets.el (secrets-struct-secret-content-type):
7223 Replace check of introspection data by a test call of "CreateItem".
7224 Some servers do not offer introspection.
7226 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7228 * electric.el (electric-pair-mode): Improve interaction with
7229 electric-layout-mode.
7230 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7231 (electric-pair-syntax): Use text-mode-syntax-table in comments
7233 (electric-pair--insert): New function.
7234 (electric-pair-post-self-insert-function): Use it and
7235 electric--after-char-pos.
7237 2013-06-19 Leo Liu <sdl.web@gmail.com>
7239 * progmodes/octave.el (octave-help): Fix regexp.
7241 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7243 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7244 (shr-table-horizontal-line): Allow nil as a value, and change the
7246 (shr-insert-table-ruler): Respect the nil value.
7248 2013-06-18 Tom Tromey <tromey@barimba>
7250 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7252 (eww-open-file): New defun.
7253 (eww-render): Initialize new variables.
7254 (eww-display-html): Handle "link" and "a".
7255 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7256 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7257 (eww-back-url): Rename from eww-previous-url.
7258 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7261 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7263 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7264 Distinguish ternary operator tokens from slash symbol and slash
7267 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7269 Convert symbol prettification into minor mode and global minor mode.
7271 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7272 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7273 (prettify-symbols--keywords): Rename from
7274 `prog-prettify-symbols-alist' and make a local defvar.
7275 (prettify-symbols--compose-symbol): Rename from
7276 `prog--prettify-font-lock-compose-symbol'.
7277 (prettify-symbols--make-keywords): Rename from
7278 `prog-prettify-font-lock-symbols-keywords' and simplify.
7279 (prog-prettify-install): Remove.
7280 (prettify-symbols-mode): New minor mode, based on
7281 `prog-prettify-install'.
7282 (turn-on-prettify-symbols-mode): New function.
7283 (global-prettify-symbols-mode): New globalized minor mode.
7285 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7286 * progmodes/cfengine.el (cfengine3-mode):
7287 * progmodes/perl-mode.el (perl-mode): Don't call
7288 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7290 2013-06-18 Juri Linkov <juri@jurta.org>
7292 * files-x.el (modify-file-local-variable-message): New function.
7293 (modify-file-local-variable)
7294 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7295 and call `modify-file-local-variable-message' when it's non-nil.
7296 (add-file-local-variable, delete-file-local-variable)
7297 (add-file-local-variable-prop-line)
7298 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7299 and use it. (Bug#9820)
7301 2013-06-18 Juri Linkov <juri@jurta.org>
7303 * emulation/vi.el (vi-shell-op):
7304 * emulation/vip.el (vip-execute-com, ex-command):
7305 * emulation/viper-cmd.el (viper-exec-bang):
7306 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7307 the call of `shell-command-on-region'. (Bug#14637)
7309 * simple.el (shell-command-on-region): Doc fix.
7311 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7313 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7316 2013-06-18 Glenn Morris <rgm@gnu.org>
7318 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7320 * newcomment.el (comment-search-forward, comment-search-backward):
7321 Doc fix. (Bug#14376)
7323 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7325 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7326 (buffer-face-mode-invoke): Doc fix.
7328 2013-06-18 Matthias Meulien <orontee@gmail.com>
7330 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7331 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7333 2013-06-18 Glenn Morris <rgm@gnu.org>
7335 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7336 Replace obsolete function generic-make-keywords with its expansion.
7338 * progmodes/python.el (ffap-alist): Declare.
7340 * textmodes/reftex.el (bibtex-mode-map): Declare.
7342 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7344 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7345 (package-unpack, package-unpack-single): Return the pkg-dir.
7346 (package-download-transaction): Use it to update package-alist.
7348 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7350 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7353 2013-06-17 Juri Linkov <juri@jurta.org>
7355 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7357 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7359 * emacs-lisp/package.el (package-load-descriptor):
7360 Remove `with-syntax-table' call, `read' doesn't need it.
7361 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7363 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7365 * startup.el (command-line): Expand package name returned by
7366 `package--description-file' (bug#14639).
7368 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7370 * emacs-lisp/package.el (package-load-descriptor): Do not call
7371 `emacs-lisp-mode', just use its syntax table.
7373 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7375 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7376 `font-lock-extra-managed-props' if any prettifying keyword is added.
7377 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7378 (prog-mode): Use `setq-local'.
7380 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7382 * international/characters.el (standard-case-table): Set syntax of ?»
7383 and ?« to punctuation.
7385 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7387 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7388 Save relevant match data before calling `syntax-ppss' (bug#14595).
7390 2013-06-15 Juri Linkov <juri@jurta.org>
7392 * files-x.el (modify-file-local-variable-prop-line): Add local
7393 variables to the end of the existing comment on the first line.
7394 Use `file-auto-mode-skip' to skip interpreter magic line,
7395 and also skip XML declaration.
7397 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7399 * startup.el (package--builtin-versions): New var.
7400 (package-subdirectory-regexp): Remove.
7401 (package--description-file): Hard code its value instead.
7403 * emacs-lisp/package.el: Don't activate packages older than builtin.
7404 (package-obsolete-list): Rename from package-obsolete-alist, and make
7405 it into a simple list of package-desc.
7406 (package-strip-version): Remove.
7407 (package-built-in-p): Use package--builtin-versions.
7408 (package-mark-obsolete): Simplify.
7409 (package-process-define-package): Mark it obsolete if older than the
7411 (package-handle-response): Use line-end-position.
7412 (package-read-archive-contents, package--download-one-archive):
7414 (package--add-to-archive-contents): Skip if older than the builtin or
7416 (package-menu-describe-package): Fix last change.
7417 (package-list-unversioned): New var.
7418 (package-menu--generate): Use it.
7420 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7421 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7422 (autoload-builtin-package-versions): New variable.
7423 (autoload-generate-file-autoloads): Use them.
7424 Remove the list of autoloaded functions/macros from the
7425 (autoload...) comments.
7427 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7429 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7431 * simple.el (line-move-partial): Don't jump to the next screen
7432 line as soon as it becomes visible. Instead, continue enlarging
7433 the vscroll until the portion of a tall screen line that's left on
7434 display is about the height of the frame's default font.
7437 2013-06-15 Glenn Morris <rgm@gnu.org>
7439 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7440 compilation-error-regexp-alist void, or local while let-bound.
7442 * progmodes/make-mode.el (makefile-mode-syntax-table):
7443 Treat "=" as punctuation. (Bug#14614)
7445 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7447 * help-fns.el (describe-variable):
7448 Add extra line for permanent-local variables.
7450 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7452 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7453 Add export, import, library. (Bug#9164)
7454 (library): Set indent function.
7456 2013-06-14 Glenn Morris <rgm@gnu.org>
7458 * term/xterm.el (xterm--query):
7459 Stop after first matching handler. (Bug#14615)
7461 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7463 Add support for dired in saveplace.
7464 * dired.el (dired-initial-position-hook): New variable.
7465 (dired-initial-position): Call hook to place cursor position.
7466 * saveplace.el (save-place-to-alist): Add dired position.
7467 (save-place-dired-hook): New function.
7469 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7471 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7472 through a symbol rather than letrec.
7474 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7475 (package-desc): Add `dir' field.
7476 (package-desc-full-name): New function.
7477 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7478 (package-maybe-load-descriptor): Remove.
7479 (package-load-all-descriptors): Just call package-load-descriptor.
7480 (package--disabled-p): New function.
7481 (package-desc-vers, package-desc-doc): Remove aliases.
7482 (package--dir): Remove function.
7483 (package-activate): Check if a package is disabled.
7484 (package-process-define-package): New function, extracted from
7486 (define-package): Turn into a place holder.
7487 (package-unpack-single, package-tar-file-info):
7488 Use package--description-file.
7489 (package-compute-transaction): Use package--disabled-p.
7490 (package-download-transaction): Don't call
7491 package-maybe-load-descriptor since they're all loaded anyway.
7492 (package-install): Change argument to be a pkg-desc.
7493 (package-delete): Use a single pkg-desc argument.
7494 (describe-package-1): Use package-desc-dir instead of package--dir.
7495 Use package-desc property instead of package-symbol.
7496 (package-install-button-action): Adjust accordingly.
7497 (package--push): Rewrite.
7498 (package-menu--print-info): Adjust accordingly. Change the ID format
7500 (package-menu-describe-package, package-menu-get-status)
7501 (package-menu--find-upgrades, package-menu-mark-upgrades)
7502 (package-menu-execute, package-menu--name-predicate):
7504 * startup.el (package--description-file): New function.
7505 (command-line): Use it.
7506 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7507 Use package-desc-version.
7509 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7510 (byte-compile-preprocess): Use it.
7511 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7512 can't quite recognize.
7513 (byte-compile-add-to-list): Remove.
7514 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7515 (cconv-closure-convert): Add assertion.
7517 * emacs-lisp/map-ynp.el: Use lexical-binding.
7518 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7519 Factor out some repeated code.
7521 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7523 * subr.el (with-eval-after-load): New macro.
7524 (eval-after-load): Allow form to be a function.
7525 take advantage of lexical-binding.
7526 (do-after-load-evaluation): Use dolist and adjust to new format.
7527 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7529 2013-06-13 Juri Linkov <juri@jurta.org>
7531 * replace.el (perform-replace): Display "symbol " and other search
7532 modes from `isearch-message-prefix' in the *Help* buffer.
7534 * isearch.el (isearch-query-replace): Add " symbol" and other
7535 possible search modes from `isearch-message-prefix' to the prompt.
7536 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7537 when reading a regexp to collect.
7539 2013-06-13 Juri Linkov <juri@jurta.org>
7541 * isearch.el (word-search-regexp): Match whitespace if the search
7542 string begins or ends in whitespace. The LAX arg is applied to
7543 both ends of the search string. Use `regexp-quote' and explicit
7544 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7545 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7546 boundaries are replaced with symbol boundaries, and characters
7547 between symbols match non-word non-symbol syntax. (Bug#14602)
7549 2013-06-13 Juri Linkov <juri@jurta.org>
7551 * isearch.el (isearch-del-char): Don't exceed the length of
7552 `isearch-string' by the prefix arg. (Bug#14563)
7554 2013-06-13 Juri Linkov <juri@jurta.org>
7556 * isearch.el (isearch-yank-word, isearch-yank-line)
7557 (isearch-char-by-name, isearch-quote-char)
7558 (isearch-printing-char, isearch-process-search-char):
7559 Add optional count prefix arg. (Bug#14563)
7561 * international/isearch-x.el
7562 (isearch-process-search-multibyte-characters):
7563 Add optional count prefix arg.
7565 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7567 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7568 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7571 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7573 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7575 2013-06-13 Glenn Morris <rgm@gnu.org>
7577 * startup.el (tty-handle-args):
7578 Don't just discard "--" and anything after. (Bug#14608)
7580 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7582 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7584 Implement changes in Secret Service API. Make it backward compatible.
7585 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7586 (secrets-create-item): Use it. Prefix properties with interface.
7588 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7590 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7591 (term-emulate-terminal): Respect term-suppress-hard-newline.
7593 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7595 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7596 Only remove a `thumb-file' overlay. (Bug#14548)
7598 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7600 * mail/reporter.el (reporter-submit-bug-report):
7601 Handle missing package-name. (Bug#14600)
7603 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7605 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7606 (reftex-citation-prompt, reftex-default-bibliography)
7607 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7608 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7609 (reftex-bib-sort-author, reftex-bib-sort-year)
7610 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7611 (reftex-extract-bib-entries-from-thebibliography)
7612 (reftex-get-bibkey-default, reftex-get-bib-names)
7613 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7614 (reftex-format-bib-entry, reftex-parse-bibitem)
7615 (reftex-format-bibitem, reftex-do-citation)
7616 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7617 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7618 (reftex-insert-bib-matches, reftex-format-citation)
7619 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7620 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7621 existing comments into docstrings.
7623 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7625 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7627 2013-06-12 Andreas Schwab <schwab@suse.de>
7629 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7630 for auto-save files.
7632 2013-06-12 Glenn Morris <rgm@gnu.org>
7634 * ido.el (ido-delete-ignored-files): Remove.
7635 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7636 Go back to calling ido-ignore-item-p directly.
7638 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7640 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7642 * ido.el (ido-delete-ignored-files): New function,
7643 split from ido-make-file-list-1.
7644 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7645 (ido-make-file-list-1): Use ido-delete-ignored-files.
7647 2013-06-12 Leo Liu <sdl.web@gmail.com>
7649 * progmodes/octave.el (inferior-octave-startup)
7650 (inferior-octave-completion-table)
7651 (inferior-octave-track-window-width-change)
7652 (octave-eldoc-function-signatures, octave-help)
7653 (octave-find-definition): Use single quoted strings.
7654 (inferior-octave-startup-args): Change default value.
7655 (inferior-octave-startup): Do not hard code "-i" and
7656 "--no-line-editing".
7657 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7658 (inferior-octave-directory-tracker): Use it.
7659 (octave-goto-function-definition): Robustify.
7660 (octave-help): Support highlighting operators in 'See also'.
7661 (octave-find-definition): Find subfunctions only in Octave mode.
7663 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7665 * help-fns.el (help-fns--compiler-macro): If the handler function is
7666 named, then put a link to it.
7667 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7668 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7670 (cl-eval-when): Simplify debug spec.
7671 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7672 compiler-macro function instead of setting `compiler-macro-file'.
7674 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7676 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7677 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7679 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7680 Daniel Hackney <dan@haxney.org>
7682 First part of Daniel Hackney's patch to package.el.
7683 * emacs-lisp/package.el: Use defstruct.
7684 (package-desc): New, main struct.
7685 (package--bi-desc, package--ac-desc): New structs, used to describe the
7686 format in external files.
7687 (package-desc-vers): Replace with package-desc-version accessor.
7688 (package-desc-doc): Replace with package-desc-summary accessor.
7689 (package-activate-1): Remove `package' arg since the pkg-vec now
7691 (define-package): Use package-desc-from-define.
7692 (package-unpack-single): Change file-name arg to be a symbol.
7693 (package--add-to-archive-contents): Use package-desc-create and new
7694 accessor functions to package--ac-desc.
7695 (package-buffer-info, package-tar-file-info): Return a package-desc.
7696 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7697 arg to be a package-desc.
7698 (package-install-file): Adjust accordingly. Use \' to match EOS.
7699 (package--from-builtin): New function.
7700 (describe-package-1, package-menu--generate): Use it.
7701 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7702 (package-generate-autoloads): Idem and return the name of the file.
7703 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7704 Change pkg-info arg to be a package-desc.
7705 Use package-make-ac-desc.
7706 (package-upload-file): Use \' to match EOS.
7707 * finder.el (finder-compile-keywords): Use package-make-builtin.
7709 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7711 * vc/vc.el (vc-deduce-fileset): Change error message.
7712 (vc-read-backend): New function.
7713 (vc-next-action): Use it.
7715 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7717 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7718 (prolog-font-lock-keywords): Use regexp-opt instead.
7719 Don't manually highlight strings.
7720 (prolog-mode-variables): Simplify comment-start-skip.
7721 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7723 * emacs-lisp/generic.el (generic--normalise-comments)
7724 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7725 (generic-mode-set-comments): Use them.
7726 (generic-bracket-support): Use setq-local.
7727 (generic-make-keywords-list): Declare obsolete.
7729 2013-06-11 Glenn Morris <rgm@gnu.org>
7731 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7732 Prettify after setting font-lock-defaults. (Bug#14574)
7734 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7736 * replace.el (query-replace, occur-read-regexp-defaults-function)
7738 * subr.el (declare-function, number-sequence, local-set-key)
7739 (substitute-key-definition, locate-user-emacs-file)
7740 (with-silent-modifications, split-string, eval-after-load):
7741 Fix typos, remove unneeded backslashes and reflow some docstrings.
7743 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7745 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7746 default for Elisp files.
7748 2013-06-11 Glenn Morris <rgm@gnu.org>
7750 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7751 although define-derived-mode was doing this anyway. (Bug#14583)
7753 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7755 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7756 Fix make-variable-buffer-local call to refer to the correct variable.
7758 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7760 * eshell/em-term.el (eshell-visual-commands)
7761 (eshell-visual-subcommands, eshell-visual-options):
7762 Add summary line to docstrings. Add cross-references.
7764 2013-06-10 Glenn Morris <rgm@gnu.org>
7766 * epa.el (epa-read-file-name): New function. (Bug#14510)
7767 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7769 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7771 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7772 output redirection to be ignored with visual commands.
7774 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7776 * eshell/em-term.el (eshell-visual-command-p): New function.
7777 (eshell-term-initialize): Move long lambda to separate function
7778 eshell-visual-command-p.
7779 * eshell/em-dirs.el (eshell-dirs-initialise):
7780 * eshell/em-script.el (eshell-script-initialize):
7781 Add missing #' to lambda.
7783 2013-06-08 Leo Liu <sdl.web@gmail.com>
7785 * progmodes/octave.el (octave-add-log-current-defun): New function.
7786 (octave-mode): Set add-log-current-defun-function.
7787 (octave-goto-function-definition): Do not move point if not found.
7788 (octave-find-definition): Enhance to try subfunctions first.
7790 2013-06-08 Glenn Morris <rgm@gnu.org>
7792 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7793 (byte-compile-backward-char, byte-compile-backward-word):
7794 Improve previous change, to handle non-explicit nil.
7796 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7798 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7799 (smie--opener/closer-at-point): New function.
7800 (smie--matching-block-data): Use it. Don't match from right after an
7801 opener or right before a closer. Obey smie-blink-matching-inners.
7802 Don't signal a mismatch for repeated inners like "switch..case..case".
7804 2013-06-07 Leo Liu <sdl.web@gmail.com>
7806 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7808 (octave-function-header-regexp): Fix. (Bug#14570)
7809 (octave-help-mode-finish-hook, octave-help-mode-finish):
7810 Remove. Just use temp-buffer-show-hook.
7812 * newcomment.el (comment-search-backward): Revert last change.
7815 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7817 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7819 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7820 through xargs, to avoid failure due to MS-Windows limitations on
7821 command-line length.
7823 2013-06-06 Glenn Morris <rgm@gnu.org>
7825 * font-lock.el (lisp-font-lock-keywords-2):
7826 Treat user-error like error.
7828 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7829 (byte-compile-backward-char, byte-compile-backward-word):
7830 Handle explicit nil arguments. (Bug#14565)
7832 2013-06-05 Alan Mackenzie <acm@muc.de>
7834 * isearch.el (isearch-allow-prefix): New user option.
7835 (isearch-other-meta-char): Don't exit isearch when a prefix
7836 argument is typed whilst `isearch-allow-prefix' is non-nil.
7839 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7841 * autorevert.el (auto-revert-notify-handler): Use memq.
7842 Hide assertion failure.
7844 * skeleton.el: Use cl-lib.
7845 (skeleton-further-elements): Use defvar-local.
7846 (skeleton-insert): Use cl-progv.
7848 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7850 * progmodes/prog-mode.el (prog-prettify-symbols)
7851 (prog-prettify-install): Update docstrings.
7853 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7855 * simple.el: Move all the prog-mode code to prog-mode.el.
7856 * progmodes/prog-mode.el: New file.
7857 * loadup.el: Add prog-mode.el.
7859 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7861 * simple.el (prog-prettify-symbols): Add version.
7862 (prog-prettify-install): Add convenience function to prettify symbols.
7864 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7865 (perl--augmented-font-lock-keywords-1)
7866 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7867 variables and use it.
7869 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7870 (cfengine3-mode): Remove unneeded variable and use it.
7872 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7873 (lisp--augmented-font-lock-keywords-1)
7874 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7875 Remove unneeded variables and use it.
7877 2013-06-05 João Távora <joaotavora@gmail.com>
7879 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7880 to point when opening the connection. (Bug#14380)
7882 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7884 * subr.el (load-history-regexp, load-history-filename-element)
7885 (eval-after-load, after-load-functions, do-after-load-evaluation)
7886 (eval-next-after-load, display-delayed-warnings)
7887 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7888 definition of save-match-data.
7889 (overriding-local-map): Remove accidental obsolescence declaration.
7891 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7893 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7895 Generalize symbol prettify support to prog-mode and implement it
7896 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7897 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7898 (prog--prettify-font-lock-compose-symbol)
7899 (prog-prettify-font-lock-symbols-keywords): New variables and
7900 functions to support symbol prettification.
7901 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7902 (lisp--augmented-font-lock-keywords-1)
7903 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7904 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7905 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7906 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7907 Implement prettify of -> => :: strings.
7908 * progmodes/perl-mode.el (perl-prettify-symbols)
7909 (perl--font-lock-compose-symbol)
7910 (perl--font-lock-symbols-keywords): Move to prog-mode.
7911 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7912 (perl-font-lock-keywords-1)
7913 (perl-font-lock-keywords-2): Remove explicit prettify support.
7914 (perl--augmented-font-lock-keywords)
7915 (perl--augmented-font-lock-keywords-1)
7916 (perl--augmented-font-lock-keywords-2, perl-mode):
7917 Implement prettify support.
7919 2013-06-05 Leo Liu <sdl.web@gmail.com>
7921 Re-implement smie matching block highlight using
7922 show-paren-data-function. (Bug#14395)
7923 * emacs-lisp/smie.el (smie-matching-block-highlight)
7924 (smie--highlight-matching-block-overlay)
7925 (smie--highlight-matching-block-lastpos)
7926 (smie-highlight-matching-block)
7927 (smie-highlight-matching-block-mode): Remove.
7928 (smie--matching-block-data-cache): New variable.
7929 (smie--matching-block-data): New function.
7930 (smie-setup): Use smie--matching-block-data for
7931 show-paren-data-function.
7933 * progmodes/octave.el (octave-mode-menu): Fix.
7934 (octave-find-definition): Skip garbage lines.
7936 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7938 Fix compilation error with simultaneous dynamic+lexical scoping.
7939 Add warning when a defvar appears after the first let-binding.
7940 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7941 (byte-compile-close-variables): Initialize it.
7942 (byte-compile--declare-var): New function.
7943 (byte-compile-file-form-defvar)
7944 (byte-compile-file-form-define-abbrev-table)
7945 (byte-compile-file-form-custom-declare-variable): Use it.
7946 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7947 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7948 (byte-compile-bind): Handle dynamic bindings that shadow
7950 (byte-compile-unbind): Make arg non-optional.
7951 (byte-compile-let): Simplify.
7952 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7953 (cconv--analyse-function, cconv-analyse-form): Populate it.
7954 Protect byte-compile-bound-variables to limit the scope of defvars.
7955 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7956 Remove unneeded rule for `declare'.
7958 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7959 so as to avoid depending on cl-adjoin at run-time.
7960 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7962 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7963 (macroexp--warn-and-return): Use it.
7965 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7967 * lisp/subr.el: Convert to lexical binding.
7968 (overriding-local-map): Make obsolete.
7969 (add-to-list): Doc fix. Add compiler macro.
7970 (read-key): Swap values of local maps.
7972 2013-06-05 Leo Liu <sdl.web@gmail.com>
7974 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7976 2013-06-04 Leo Liu <sdl.web@gmail.com>
7978 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7979 (compilation-auto-jump): Suppress the "Mark set" message to give
7980 way to exit message.
7982 2013-06-04 Alan Mackenzie <acm@muc.de>
7984 Remove faulty optimisation from indentation calculation.
7985 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7986 search limit based on 2000 characters back from indent-point.
7988 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7990 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7992 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7994 * emacs-lisp/lisp.el: Use lexical-binding.
7995 (lisp--local-variables-1, lisp--local-variables): New functions.
7996 (lisp--local-variables-completion-table): New var.
7997 (lisp-completion-at-point): Use it complete let-bound vars.
7999 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8000 eagerly (bug#14422).
8002 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8004 * autorevert.el (auto-revert-notify-enabled)
8005 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8006 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8007 (auto-revert-notify-handler): Handle also gfilenotify.
8009 * subr.el (file-notify-handle-event): New defun. Replacing ...
8010 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8013 2013-06-03 Juri Linkov <juri@jurta.org>
8015 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8016 `M-s h .'. (Bug#14427)
8018 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8019 command `hi-lock-face-symbol-at-point'.
8020 (hi-lock-face-symbol-at-point): New command.
8021 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8022 (hi-lock-menu): Add `highlight-symbol-at-point'.
8023 (hi-lock-mode): Doc fix.
8025 * isearch.el (isearch-forward-symbol-at-point): New command.
8026 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8027 (isearch-highlight-regexp): Add a regexp which matches
8028 words/symbols for word/symbol mode.
8030 * subr.el (find-tag-default-bounds): New function with the body
8031 mostly moved from `find-tag-default'.
8032 (find-tag-default): Move most code to `find-tag-default-bounds',
8033 call it and apply `buffer-substring-no-properties' afterwards.
8035 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8037 * eshell/em-term.el (eshell-term-initialize):
8038 Use `cl-intersection' rather than `intersection'.
8040 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8042 * vc/log-view.el: Doc fix.
8043 (log-view-mode-map): Copy keymap from `special-mode-map'.
8045 2013-06-02 Eric Ludlam <zappo@gnu.org>
8047 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8048 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8049 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8050 (eieio-unbound, eieio-default-superclass)
8051 (eieio--define-field-accessors, method-static, method-before)
8052 (method-primary, method-after, method-num-lists)
8053 (method-generic-before, method-generic-primary)
8054 (method-generic-after, method-num-slots)
8055 (eieio-specialized-key-to-generic-key)
8056 (eieio--check-type, class-v, class-p)
8057 (eieio-class-name, define-obsolete-function-alias)
8058 (eieio-class-parents-fast, eieio-class-children-fast)
8059 (same-class-fast-p, class-constructor, generic-p)
8060 (generic-primary-only-p, generic-primary-only-one-p)
8061 (class-option-assoc, class-option, eieio-object-p)
8062 (class-abstract-p, class-method-invocation-order)
8063 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8064 (eieio-class-un-autoload, eieio-defclass)
8065 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8066 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8067 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8068 (eieio-defgeneric-reset-generic-form)
8069 (eieio-defgeneric-form-primary-only)
8070 (eieio-defgeneric-reset-generic-form-primary-only)
8071 (eieio-defgeneric-form-primary-only-one)
8072 (eieio-defgeneric-reset-generic-form-primary-only-one)
8073 (eieio-unbind-method-implementations)
8074 (eieio--defmethod, eieio--typep)
8075 (eieio-perform-slot-validation, eieio-validate-slot-value)
8076 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8077 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8078 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8079 (eieio-slot-name-index, eieio-class-slot-name-index)
8080 (eieio-set-defaults, eieio-initarg-to-attribute)
8081 (eieio-attribute-to-initarg, eieio-c3-candidate)
8082 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8083 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8084 (eieio-class-precedence-list, eieio-generic-call-methodname)
8085 (eieio-generic-call-arglst, eieio-generic-call-key)
8086 (eieio-generic-call-next-method-list)
8087 (eieio-pre-method-execution-functions, eieio-generic-call)
8088 (eieio-generic-call-primary-only, eieiomt-method-list)
8089 (eieiomt-optimizing-obarray, eieiomt-install)
8090 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8091 (eieio-generic-form, eieio-defmethod, make-obsolete)
8092 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8093 (defclass): Remove `eval-and-compile' from macro.
8094 (call-next-method, shared-initialize): Instead of using
8095 `scoped-class' variable, use new eieio--scoped-class, and
8096 eieio--with-scoped-class.
8097 (initialize-instance): Rename local variable 'scoped-class' to
8098 'this-class' to remove ambiguitity from old global.
8100 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8102 (eieio--scoped-class-stack): New variable.
8103 (eieio--scoped-class): New fcn.
8104 (eieio--with-scoped-class): New scoping macro.
8105 (eieio-defclass): Use pushnew instead of add-to-list.
8106 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8107 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8108 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8109 `scoped-class' variable, use new eieio--scoped-class, and
8110 eieio--with-scoped-class.
8112 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8114 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8116 * eshell/esh-ext.el (eshell-external-command): Pass args to
8117 `eshell-find-interpreter'.
8118 (eshell-find-interpreter): Add new second parameter ARGS.
8120 * eshell/em-script.el (eshell-script-initialize): Add second arg
8121 to the function added as MATCH to `eshell-interpreter-alist'.
8123 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8124 the function added as MATCH to `eshell-interpreter-alist'.
8126 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8127 (eshell-visual-options): New defcustom.
8128 (eshell-escape-control-x): Adapt docstring.
8129 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8130 `eshell-visual-options' in addition to `eshell-visual-commands'.
8131 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8133 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8135 * progmodes/python.el (python-indent-block-enders): Add break,
8136 continue and raise keywords.
8138 2013-06-01 Glenn Morris <rgm@gnu.org>
8140 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8142 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8143 * progmodes/cc-cmds.el (delete-forward-p):
8144 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8145 * progmodes/cc-engine.el (buffer-syntactic-context):
8146 * progmodes/cc-fonts.el (face-property-instance):
8147 * progmodes/cc-mode.el (set-keymap-parents):
8148 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8149 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8150 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8151 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8152 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8154 * progmodes/cc-vars.el (other): Emacs has this widget since
8155 at least 21.1, so don't (re)define it.
8157 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8158 Replace the obsolete alias pcomplete-arg-quote-list.
8160 2013-06-01 Leo Liu <sdl.web@gmail.com>
8162 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8164 (inferior-octave-minimal-columns)
8165 (inferior-octave-last-column-width): New variables.
8166 (inferior-octave-track-window-width-change): New function.
8167 (inferior-octave-mode): Adjust column width so that Octave output,
8168 for example from 'ls', can fit into the window nicely.
8170 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8172 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8173 Highlight expansions inside regexp literals.
8175 2013-05-31 Glenn Morris <rgm@gnu.org>
8177 * obsolete/sym-comp.el (symbol-complete):
8178 Replace obsolete completion-annotate-function.
8180 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8182 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8184 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8185 New function, checks if point is inside a literal that allows
8186 expression expansion.
8187 (ruby-syntax-propertize-expansion): Use it.
8188 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8191 2013-05-30 Juri Linkov <juri@jurta.org>
8193 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8195 (isearch-invisible): New variable.
8196 (isearch-forward): Doc fix.
8197 (isearch-mode): Set `isearch-invisible'
8198 to the value of `search-invisible'.
8199 (isearch-toggle-case-fold): Doc fix.
8200 (isearch-toggle-invisible): New command.
8201 (isearch-query-replace): Let-bind `search-invisible'
8202 to the value of `isearch-invisible'.
8203 (isearch-search): Use `isearch-invisible' instead of
8204 `search-invisible'. Let-bind `search-invisible'
8205 to the value of `isearch-invisible'. (Bug#11378)
8207 2013-05-30 Juri Linkov <juri@jurta.org>
8209 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8210 call when `query-flag' is nil and `search-invisible' is non-nil.
8213 2013-05-30 Glenn Morris <rgm@gnu.org>
8215 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8217 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8218 (cc-require): Suppress spurious "noruntime" warnings.
8219 (cc-require-when-compile): Use fboundp, for sake of compiler.
8221 * progmodes/cc-mode.el: Move load of cc-vars before that of
8222 cc-langs (which in turn loads cc-vars), to quieten compiler.
8224 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8226 * paren.el: Simplify the code.
8227 (show-paren-mode): Always start the timer.
8228 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8229 (show-paren--overlay, show-paren--overlay-1): Rename from
8230 show-paren-overlay and show-paren-overlay-1, and initialize to an
8231 overlay rather than to nil.
8232 (show-paren-function): Misc cleanup and simplifications.
8234 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8236 * paren.el (show-paren-data-function): New hook.
8237 (show-paren--default): New function, extracted from show-paren-function.
8238 (show-paren-function): Use show-paren-data-function.
8240 2013-05-30 Glenn Morris <rgm@gnu.org>
8242 * ielm.el (ielm-map, ielm-complete-symbol):
8243 Use completion-at-point rather than obsolete functions.
8244 (inferior-emacs-lisp-mode): Doc fix.
8245 Set completion-at-point-functions, rather than
8246 comint-dynamic-complete-functions.
8248 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8249 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8250 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8252 * image.el (image-animated-p): Tweak definition.
8254 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8255 (rlogin-process-connection-type): Tweak default. Add set-after.
8256 (rlogin-host): Doc fix.
8257 (rlogin): Tweak prompt.
8258 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8260 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8261 * progmodes/tcl.el (inferior-tcl-mode-map):
8262 Use completion-at-point rather than obsolete alias.
8264 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8266 * minibuffer.el (read-file-name-completion-ignore-case):
8267 Move before completion--in-region, for eager macro expansion.
8269 2013-05-29 Juri Linkov <juri@jurta.org>
8271 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8272 for total count of matching lines. Add `global-matches' for total
8273 count of matches. Rename `matches' to `lines' for count of
8274 matching lines. Add `matches' for count of matches.
8275 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8276 to `prev-line' for line number of prev match endpt.
8277 Increment `matches' for every match. Print the number of
8278 matching lines in the header.
8279 (occur-context-lines): Rename `lines' to `curr-line'.
8280 Rename `prev-lines' to `prev-line'. (Bug#14017)
8282 2013-05-29 Juri Linkov <juri@jurta.org>
8284 * replace.el (perform-replace): Add `skip-read-only-count',
8285 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8286 Increment them for corresponding conditions and report the number
8287 of skipped occurrences in the final message. (Bug#11746)
8288 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8289 (replace-string, replace-regexp): Doc fix.
8291 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8293 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8295 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8296 prog-mode-map (bug#14504).
8298 2013-05-29 Leo Liu <sdl.web@gmail.com>
8300 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8301 (octave-help): Small simplification.
8303 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8304 off the highlight first.
8306 2013-05-29 Glenn Morris <rgm@gnu.org>
8308 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8309 Handle idlwave-last-system-routine-info-cons-cell being nil.
8311 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8312 (idlwave-write-paths): Simplify via with-temp-buffer.
8314 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8315 * emulation/cua-rect.el: Also load cua-base at run time.
8317 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8318 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8319 (cperl-imenu-on-info): Require imenu.
8321 2013-05-28 Alan Mackenzie <acm@muc.de>
8323 Handle "capitalised keywords" correctly.
8324 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8326 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8328 * eshell/em-unix.el: Add -r option to cp.
8330 2013-05-28 Glenn Morris <rgm@gnu.org>
8332 * vc/vc-arch.el (vc-exec-after): Declare.
8333 (vc-switches): Autoload.
8334 * vc/vc-bzr.el: No need to require vc when compiling.
8335 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8336 (vc-resynch-buffer, vc-dir-refresh): Declare.
8337 (vc-setup-buffer, vc-switches): Autoload.
8338 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8339 (vc-resynch-buffer): Declare.
8340 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8341 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8342 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8343 (grep-read-regexp, grep-read-files, grep-expand-template)
8344 (vc-dir-refresh): Declare.
8345 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8346 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8347 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8348 * vc/vc-mtn.el (vc-exec-after): Declare.
8349 (vc-switches): Autoload.
8350 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8351 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8352 (vc-file-tree-walk): Declare.
8353 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8354 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8355 (vc-tag-precondition, vc-rename-master): Autoload.
8356 * vc/vc-svn.el (vc-exec-after): Declare.
8357 (vc-switches, vc-setup-buffer): Autoload.
8358 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8360 (vc-resynch-buffer): Declare.
8362 * obsolete/fast-lock.el (byte-compile-warnings):
8363 Don't warn about obsolete features in this obsolete file.
8365 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8366 Move definition before use.
8368 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8369 (dun-unix-verbs): Remove dun-zippy.
8370 (dun-zippy): Remove function.
8372 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8374 2013-05-27 Juri Linkov <juri@jurta.org>
8376 * replace.el (replace-search): New function with code moved out
8377 from `perform-replace'.
8378 (replace-highlight, replace-dehighlight): Move function definitions
8379 up closer to `replace-search'. (Bug#11746)
8381 2013-05-27 Juri Linkov <juri@jurta.org>
8383 * replace.el (perform-replace): Ignore invisible matches.
8384 In addition to checking `query-replace-skip-read-only', also
8385 filter out matches by calling `run-hook-with-args-until-failure'
8386 on `isearch-filter-predicates', and also check `search-invisible'
8387 for t or call `isearch-range-invisible'.
8388 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8390 2013-05-27 Juri Linkov <juri@jurta.org>
8392 * isearch.el (isearch-filter-predicates): Rename from
8393 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8394 (isearch-message-prefix): Display text from the property
8395 `isearch-message-prefix' of the currently active filters.
8396 (isearch-search): Don't compare `isearch-filter-predicate' with
8397 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8398 on `isearch-filter-predicates'. Also check `search-invisible' for t
8399 or call `isearch-range-invisible'.
8400 (isearch-filter-visible): Make obsolete.
8401 (isearch-lazy-highlight-search):
8402 Call `run-hook-with-args-until-failure' on
8403 `isearch-filter-predicates' and use `isearch-range-invisible'.
8405 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8406 `isearch-filter-predicates' instead of `funcall'ing
8407 `isearch-filter-predicate'.
8408 (Info-mode): Set `Info-isearch-filter' to
8409 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8411 * dired-aux.el (dired-isearch-filter-predicate-orig):
8413 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8414 (dired-isearch-filenames-end): Add and remove
8415 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8416 instead of changing the value of `isearch-filter-predicate'.
8417 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8418 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8419 Put property `isearch-message-prefix' to "filename " on
8420 `dired-isearch-filter-filenames'.
8422 * wdired.el (wdired-change-to-wdired-mode):
8423 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8424 locally instead of changing `isearch-filter-predicate'.
8425 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8427 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8429 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8430 return the commit hash (Bug#14459). Also set the
8431 `vc-git-detached' property.
8432 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8433 (vc-git-mode-line-string): Use the same help-echo format whether
8434 in detached mode or not, because we know the actual revision now.
8435 When in detached mode, shorten the revision to 7 chars.
8437 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8439 * emacs-lisp/easy-mmode.el (define-minor-mode):
8440 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8441 mode hook and provide a docstring.
8443 2013-05-27 Alan Mackenzie <acm@muc.de>
8445 Remove spurious syntax-table text properties inserted by C-y.
8446 * progmodes/cc-mode.el (c-after-change): Also clear hard
8447 syntax-table property with value nil.
8449 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8451 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8452 when reading the events; the buffer layout shall not be changed.
8454 2013-05-27 Leo Liu <sdl.web@gmail.com>
8456 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8458 (inferior-octave-directory-tracker): Automatically re-sync
8460 (octave-help): Improve handling of 'See also'.
8462 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8464 * doc-view.el: Minor naming convention tweaks.
8465 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8467 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8468 even if there's no `display' property yet (bug#14435).
8470 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8472 * subr.el (unmsys--file-name): Rename from reveal-filename.
8474 * Makefile.in (custom-deps, finder-data, autoloads)
8475 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8476 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8477 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8479 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8481 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8482 error-completion on the first 2 args of condition-case (bug#14446).
8485 2013-05-25 Leo Liu <sdl.web@gmail.com>
8487 * comint.el (comint-previous-matching-input): Do not flood the
8488 *Messages* buffer with trivial messages.
8490 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8492 * progmodes/flymake.el (flymake-nop): Don't return a string.
8493 (flymake-set-at): Fix typo.
8495 * simple.el (read--expression): New function, extracted from
8496 eval-expression. Set completion-at-point-functions (bug#14465).
8497 (eval-expression, eval-minibuffer): Use it.
8499 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8501 * progmodes/flymake.el (flymake-save-buffer-in-file)
8502 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8503 (flymake-selected-frame, flymake-log, flymake-ins-after)
8504 (flymake-set-at, flymake-get-buildfile-from-cache)
8505 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8506 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8507 Refine the doc string.
8508 (flymake-get-file-name-mode-and-masks): Reformat.
8509 (flymake-get-real-file-name-function): Fix a minor bug.
8511 2013-05-24 Juri Linkov <juri@jurta.org>
8513 * progmodes/grep.el (grep-mode-font-lock-keywords):
8514 Support =linenumber= format used by git-grep for lines with
8515 function names. (Bug#13549)
8517 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8519 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8520 0 after a semi-colon; it works better for smie-auto-fill.
8521 (octave--indent-new-comment-line): New function.
8522 (octave-indent-new-comment-line): Use it (indirectly).
8523 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8524 modify comment-line-break-function.
8526 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8527 (smie-setup): Use add-function to set it.
8529 2013-05-24 Sam Steingold <sds@gnu.org>
8531 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8532 argument (before the `interactive' argument).
8534 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8536 * image-mode.el (image-mode-winprops): Add winprops to
8537 image-mode-winprops-alist before running
8538 image-mode-new-window-functions.
8539 * doc-view.el (doc-view-new-window-function): Don't delay
8540 doc-view-goto-page via timers (bug#14435).
8542 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8544 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8545 (doc-view-desktop-save-buffer): New function.
8546 (doc-view-restore-desktop-buffer): New function.
8547 (desktop-buffer-mode-handlers):
8548 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8550 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8551 `desktop-save-buffer' function.
8553 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8555 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8556 (tramp-gvfs-file-name-handler): Raise a user error when
8557 `tramp-gvfs-enabled' is nil.
8558 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8559 Do not raise a user error when loading package. (Bug#14447)
8561 * net/xesam.el: Move to obsolete/.
8563 2013-05-24 Glenn Morris <rgm@gnu.org>
8565 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8567 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8569 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8570 (Info-find-node, Man-getpage-in-background): Declare.
8572 * mail/unrmail.el (unrmail):
8573 Replace obsolete detect-coding-with-priority.
8575 * net/socks.el (socks-split-string): Use this rather than split-string.
8576 (socks-nslookup-host): Update for above change.
8577 (dynamic-choice, s5-dynamic-choice-match)
8578 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8579 Comment out unused code.
8581 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8582 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8583 (gud-tooltip-echo-area): Make obsolete.
8584 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8586 * progmodes/js.el (js--optimize-arglist): Declare.
8588 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8590 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8591 (ediff-window-C): Declare.
8593 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8594 Tweak requires to silence compiler.
8596 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8597 (he-search-string, he-tried-table, he-expand-list)
8598 (he-init-string, he-string-member, he-substitute-string)
8599 (he-reset-string): Declare.
8601 * obsolete/options.el (list-options): Use custom-variable-p,
8602 rather than obsolete alias.
8604 2013-05-23 Sam Steingold <sds@gnu.org>
8606 * simple.el (shell-command-on-region): Pass the `replace' argument
8607 down to `call-process-region' to comply with the doc as reported on
8608 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8610 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8612 * emacs-lisp/smie.el (smie-indent-forward-token)
8613 (smie-indent-backward-token): Handle string tokens (bug#14381).
8615 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8617 * ielm.el (ielm-menu): New menu.
8618 (inferior-emacs-lisp-mode): Set comment-start.
8620 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8622 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8623 Fix deactivate action.
8625 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8626 Add cleveref macros.
8628 * lisp/textmodes/reftex-parse.el
8629 (reftex-locate-bibliography-files): Accept options for
8630 bibliography commands.
8631 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8632 Add addbibresource. Basic Biblatex support.
8634 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8636 * net/tramp-gvfs.el (top):
8637 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8638 when loading package. (Bug#14447)
8640 2013-05-23 Glenn Morris <rgm@gnu.org>
8642 * progmodes/js.el: No need to load comint when compiling.
8643 (ring-insert, comint-send-string, comint-send-input)
8644 (comint-last-input-end, ido-chop): Declare.
8646 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8647 * vc/ediff-mult.el: Adjust requires.
8648 (ediff-directories-internal, ediff-directory-revisions-internal)
8649 (ediff-patch-file-internal): Declare.
8650 * vc/ediff-ptch.el: Adjust requires.
8651 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8652 (ediff-find-file): Autoload.
8653 * vc/ediff-util.el: No need to load ediff when compiling.
8654 (ediff-regions-internal): Declare.
8655 * vc/ediff-wind.el: Adjust requires.
8656 (ediff-compute-toolbar-width): Define when compiling.
8657 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8658 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8659 (dired-get-filename, dired-get-marked-files)
8660 (ediff-last-dir-patch, ediff-patch-default-directory)
8661 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8662 (ediff-patch-buffer-internal): Declare.
8664 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8665 (ispell-process, ispell-buffer-local-words, lm-summary)
8666 (lm-section-start, lm-section-end): Declare.
8667 (checkdoc-ispell-init): Simplify.
8669 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8670 (he-string-member, he-reset-string, he-substitute-string): Declare.
8672 * eshell/em-ls.el: Adjust requires.
8673 (eshell-glob-regexp): Declare.
8674 * eshell/em-tramp.el: Adjust requires.
8675 (eshell-parse-command): Autoload.
8676 * eshell/em-xtra.el: Adjust requires.
8677 (eshell-parse-command): Autoload.
8678 * eshell/esh-ext.el: Adjust requires.
8679 (eshell-parse-command, eshell-close-handles): Autoload.
8680 * eshell/esh-io.el: Adjust requires.
8681 (eshell-output-filter): Autoload.
8682 * eshell/esh-util.el: No need to load tramp when compiling.
8683 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8685 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8686 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8687 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8688 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8689 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8690 * eshell/esh-opt.el, eshell/esh-proc.el:
8691 * eshell/esh-var.el: Adjust requires.
8692 * eshell/eshell.el: Do not require esh-util twice.
8693 (eshell-add-input-to-history): Declare.
8694 (eshell-command): Check history module is active before using it.
8696 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8698 2013-05-22 Leo Liu <sdl.web@gmail.com>
8700 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8702 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8704 * autorevert.el (auto-revert-notify-add-watch)
8705 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8706 it indicates changes in file modification time.
8708 2013-05-22 Glenn Morris <rgm@gnu.org>
8710 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8711 Always delete the autoloaded function from the noruntime and
8712 unresolved functions lists.
8714 * allout.el: No need to load epa, epg, overlay when compiling.
8715 (epg-context-set-passphrase-callback, epg-list-keys)
8716 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8717 (epg-key-user-id-list): Declare.
8719 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8720 (viper-set-parsing-style-toggling-macro)
8721 (viper-set-emacs-state-searchstyle-macros):
8722 Use called-interactively-p on Emacs.
8723 (viper-looking-back): Make it an obsolete alias. Update callers.
8724 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8725 Use looking-back rather than viper-looking-back.
8726 (viper-tmp-insert-at-eob, viper-enlarge-region)
8727 (viper-read-string-with-history, viper-register-to-point)
8728 (viper-append-to-register, viper-change-state-to-vi)
8729 (viper-backward-char-carefully, viper-forward-char-carefully)
8730 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8731 (viper-change-state-to-emacs): Declare.
8732 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8733 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8734 * emulation/viper-mous.el: Do not load viper-cmd.
8735 (viper-backward-char-carefully, viper-forward-char-carefully)
8736 (viper-forward-word, viper-adjust-window): Declare.
8738 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8740 * progmodes/idlw-help.el (idlwave-help-fontify):
8741 Use called-interactively-p.
8743 * term/w32console.el (w32-get-console-codepage)
8744 (w32-get-console-output-codepage): Declare.
8746 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8747 Remove unnecessary declarations.
8748 (dframe-message): Doc fix.
8750 * info.el (dframe-select-attached-frame, dframe-current-frame):
8753 * speedbar.el (speedbar-message): Make it an obsolete alias.
8755 (speedbar-with-attached-buffer)
8756 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8757 (speedbar-with-writable): Use backquote.
8758 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8759 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8760 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8761 rather than speedbar- aliases.
8762 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8763 (speedbar-make-specialized-keymap, speedbar-insert-button)
8764 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8765 (speedbar-do-function-pointer): Declare.
8766 (rmail-speedbar-button, rmail-speedbar-find-file)
8767 (rmail-speedbar-move-message):
8768 Use dframe-with-attached-buffer rather than speedbar- alias.
8769 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8770 (dframe-message, speedbar-make-specialized-keymap)
8771 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8772 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8773 (speedbar-insert-button, dframe-select-attached-frame)
8774 (dframe-maybee-jump-to-attached-frame)
8775 (speedbar-change-initial-expansion-list)
8776 (speedbar-previously-used-expansion-list-name): Declare.
8777 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8778 Use dframe-message, dframe-with-attached-buffer rather than
8780 (gud-sentinel): Silence compiler.
8781 * progmodes/vhdl-mode.el (speedbar-refresh)
8782 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8783 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8784 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8785 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8786 (speedbar-file-lists, speedbar-make-tag-line)
8787 (speedbar-line-directory, speedbar-goto-this-file)
8788 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8789 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8790 (speedbar-make-button, speedbar-reset-scanners)
8791 (speedbar-files-item-info, speedbar-line-text)
8792 (speedbar-find-file-in-frame, speedbar-set-timer)
8793 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8794 (speedbar-with-writable): Do not (re)define it.
8795 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8796 rather than speedbar- alias.
8798 2013-05-21 Leo Liu <sdl.web@gmail.com>
8800 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8802 (octave-mode): Tweak fill-nobreak-predicate.
8803 (inferior-octave-startup): Check process to avoid infinite loop.
8804 (inferior-octave): Pop to buffer first to show abornmal process
8807 2013-05-21 Glenn Morris <rgm@gnu.org>
8809 * printing.el (pr-menu-bar): Define when compiling.
8811 2013-05-21 Leo Liu <sdl.web@gmail.com>
8813 * progmodes/octave.el (octave-auto-fill): Remove.
8814 (octave-indent-new-comment-line): Improve.
8815 (octave-mode): Use auto fill mode through
8816 comment-line-break-function and fill-nobreak-predicate.
8817 (octave-goto-function-definition): Support DEFUN_DLD.
8818 (octave-beginning-of-defun): Small tweak.
8819 (octave-help): Show parent directory.
8821 2013-05-21 Glenn Morris <rgm@gnu.org>
8823 * files.el (dired-unmark):
8824 * progmodes/gud.el (gdb-input): Update declarations.
8826 * calculator.el (electric, ehelp): No need to load when compiling.
8827 (Electric-command-loop, electric-describe-mode): Declare.
8829 * doc-view.el (doc-view-current-converter-processes): Move before use.
8831 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8832 Move MODE-set-explicitly definition before use.
8834 * international/mule-diag.el (mule-diag):
8835 Don't use obsolete window-system-version.
8837 * mail/feedmail.el (smtpmail): No need to load when compiling.
8838 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8840 * mail/mail-utils.el (rfc822): No need to load when compiling.
8841 (rfc822-addresses): Autoload it.
8842 (mail-strip-quoted-names): Trivial simplification.
8844 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8845 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8847 * net/snmp-mode.el (tempo): Don't duplicate requires.
8849 * progmodes/prolog.el (info): No need to load when compiling.
8850 (comint): Require before shell requires it.
8851 (Info-goto-node): Autoload it.
8852 (Info-follow-nearest-node): Declare.
8853 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8855 * textmodes/artist.el (picture-mode-exit): Declare.
8857 * textmodes/reftex-parse.el (reftex-parse-from-file):
8858 Trivial rewrite so the compiler can parse it better.
8860 2013-05-20 Leo Liu <sdl.web@gmail.com>
8862 * progmodes/octave.el (octave-help-mode-map)
8863 (octave-help-mode-finish-hook): New variables.
8864 (octave-help-mode, octave-help-mode-finish): New functions.
8865 (octave-help): Use octave-help-mode.
8867 2013-05-20 Glenn Morris <rgm@gnu.org>
8869 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8871 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8873 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8874 start at point, so that expansion starting right after opening
8875 slash in a regexp is recognized.
8876 (ruby-syntax-before-regexp-re): New defvar, extracted from
8877 ruby-syntax-propertize-function. Since the value of this regexp
8878 is looked up at runtime now, we should be able to turn
8879 `ruby-syntax-methods-before-regexp' into a defcustom later.
8880 (ruby-syntax-propertize-function): Split regexp matching into two
8881 parts, for opening and closing slashes. That allows us to skip
8882 over string interpolations and support multiline regexps.
8883 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8884 for them, which calls `ruby-syntax-propertize-expansion'.
8885 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8886 call to `ruby-syntax-propertize-function'.
8887 (ruby-syntax-propertize-expansion): Extracted from
8888 `ruby-syntax-propertize-expansions'. Handles one expansion.
8889 (ruby-syntax-propertize-percent-literal): Leave point right after
8890 the percent symbol, so that the expression expansion rule can
8891 propertize the contents.
8892 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8894 (ruby-syntax-propertize-expansions): Remove.
8896 2013-05-18 Juri Linkov <juri@jurta.org>
8898 * man.el (Man-default-man-entry): Remove `-' from the end
8899 of the default value. (Bug#14400)
8901 2013-05-18 Glenn Morris <rgm@gnu.org>
8903 * comint.el (comint-password-prompt-regexp):
8904 Allow "password for XXX" where XXX contains colons (eg https://...).
8906 2013-05-18 Leo Liu <sdl.web@gmail.com>
8908 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8909 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8910 (octave-source-directories): Don't check process.
8911 (octave-source-directories, octave-find-definition): Doc fix.
8913 2013-05-18 Glenn Morris <rgm@gnu.org>
8915 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8916 Remove backspace/delete bindings. (Bug#14392)
8918 * cus-dep.el (custom-make-dependencies): Sort the output.
8919 (custom-versions-load-alist): Convert comment to doc.
8921 2013-05-17 Leo Liu <sdl.web@gmail.com>
8923 * newcomment.el (comment-search-backward): Stricter in finding
8924 comment start. (Bug#14303)
8926 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8927 (octave-comment-start-skip): Properly anchored.
8929 2013-05-17 Leo Liu <sdl.web@gmail.com>
8931 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8932 Clean up when turned off. (Bug#14395)
8933 (smie--highlight-matching-block-overlay): No longer buffer-local.
8934 (smie-highlight-matching-block): Adjust.
8936 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8938 Doc string fix for "nanoseconds" (Bug#14406).
8939 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8940 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8942 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8944 * calc/calc-units.el (math-extract-units): Preserve powers
8947 2013-05-17 Leo Liu <sdl.web@gmail.com>
8949 * subr.el (delete-consecutive-dups): New function.
8950 * ido.el (ido-set-matches-1): Use it.
8951 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8952 * ido.el (ido-remove-consecutive-dups): Remove.
8954 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8956 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8957 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8958 regexp-opt's `words'.
8960 2013-05-16 Leo Liu <sdl.web@gmail.com>
8962 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8963 (smie--highlight-matching-block-overlay)
8964 (smie--highlight-matching-block-lastpos)
8965 (smie--highlight-matching-block-timer): New variables.
8966 (smie-highlight-matching-block): New function.
8967 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8968 (smie-setup): Conditionally enable smie-blink-matching-open.
8970 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8972 Sync with upstream verilog-mode r840.
8973 * progmodes/verilog-mode.el (verilog-mode-version)
8974 (verilog-mode-release-date): Update.
8975 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8976 (verilog-sig-tieoff): Fix string error on
8977 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8978 (verilog-read-decls): Fix parameters confusing
8979 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8981 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8983 * subr.el (reveal-filename): New function.
8985 * loadup.el: Compute Emacs executable versions on MS-Windows,
8986 where executables have the .exe extension. Add a hard link
8987 emacs-XX.YY.ZZ.exe on MS-Windows.
8989 * Makefile.in (XARGS_LIMIT): New variable.
8990 (custom-deps, finder-data, autoloads)
8991 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8992 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8993 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8994 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8996 2013-05-16 Leo Liu <sdl.web@gmail.com>
8998 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8999 (octave-mode-menu, octave-mode-map): Remove its uses.
9001 2013-05-16 Reto Zimmermann <reto@gnu.org>
9003 Sync with upstream vhdl mode v3.34.2.
9004 * progmodes/vhdl-mode.el: Use `push' throughout.
9005 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9006 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9007 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9008 (vhdl-actual-generic-name): New option to derive actual generic name.
9009 (vhdl-port-paste-signals): Replace formal by actual generics.
9010 (vhdl-beautify): New name for old group vhdl-align. Update users.
9011 (vhdl-beautify-options): New option.
9012 (vhdl-last-input-event): New compat alias. Use throughout.
9013 (vhdl-goto-line): Replace user level function `goto-line'.
9014 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9015 vhdl-fix-statement-buffer.
9016 (vhdl-create-mode-menu): Add some entries.
9017 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9018 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9019 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9020 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9021 to force statements on one line.
9022 (vhdl-remove-trailing-spaces-region):
9023 New, split from vhdl-remove-trailing-spaces.
9024 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9025 Respect vhdl-beautify-options.
9026 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9027 (vhdl-update-sensitivity-list): Not add with index if exists without.
9028 Not include array index with signal. Ignore keywords in comments.
9029 (vhdl-get-visible-signals): Regexp tweaks.
9030 (vhdl-template-component-inst): Handle empty library.
9031 (vhdl-template-type): Add template for 'enum' type.
9032 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9033 Use vhdl-replace-string.
9034 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9035 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9036 (vhdl-speedbar-initialize): Update for above name change.
9037 (vhdl-compose-wire-components): Fix in handling of constants.
9038 (vhdl-error-regexp-emacs-alist): New variable.
9039 (vhdl-error-regexp-add-emacs): New function;
9040 adds support for new compile.el (Emacs 22+)
9041 (vhdl-generate-makefile-1): Change target order for single lib. units.
9042 Allow use of absolute file names.
9044 2013-05-16 Leo Liu <sdl.web@gmail.com>
9046 * simple.el (prog-indent-sexp): Indent enclosing defun.
9048 2013-05-15 Glenn Morris <rgm@gnu.org>
9050 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9051 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9052 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9053 (whitespace-highlight): Move to whitespace group.
9055 * comint.el (comint-source):
9056 * pcmpl-linux.el (pcmpl-linux):
9057 * shell.el (shell-faces):
9058 * eshell/esh-opt.el (eshell-opt):
9059 * international/ccl.el (ccl): Remove empty custom groups.
9061 * completion.el (dynamic-completion-mode):
9062 * jit-lock.el (jit-lock-debug-mode):
9063 * minibuffer.el (completion-in-region-mode):
9064 * type-break.el (type-break-mode-line-message-mode)
9065 (type-break-query-mode):
9066 * emulation/tpu-edt.el (tpu-edt-mode):
9067 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9068 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9069 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9071 * term/xterm.el (xterm): Change parent group to terminals.
9073 * master.el (master): Remove empty custom group.
9074 (master-mode): Remove unused :group argument.
9075 * textmodes/refill.el (refill): Remove empty custom group.
9076 (refill-mode): Remove unused :group argument.
9078 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9080 * cus-dep.el: Provide a feature.
9081 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9082 Don't mistakenly ignore files whose basenames match a basename
9083 from preloaded-file-list (eg cedet/ede/simple.el).
9084 Add a fallback method for getting :group.
9086 2013-05-15 Juri Linkov <juri@jurta.org>
9088 * isearch.el (isearch-char-by-name): Rename from
9089 `isearch-insert-char-by-name'. Doc fix.
9090 (isearch-forward): Mention `isearch-char-by-name' in
9091 the docstring. (Bug#13348)
9093 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9094 `exit-minibuffer' instead of
9095 `isearch-nonincremental-exit-minibuffer'.
9096 (isearch-edit-string): Remove mention of
9097 `isearch-nonincremental-exit-minibuffer' from docstring.
9098 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9099 (isearch-forward-exit-minibuffer)
9100 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9102 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9104 * loadup.el: Just use unversioned DOC.
9106 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9107 literals as extending to EOB.
9108 (nxml-last-fontify-end): Remove unused variable.
9109 (nxml-after-change1): Use with-silent-modifications.
9110 (nxml-extend-after-change-region): Simplify.
9111 (nxml-extend-after-change-region1): Remove function.
9112 (nxml-after-change1): Don't adjust for dependent regions.
9113 (nxml-fontify-matcher): Simplify.
9114 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9115 (xmltok-add-dependent): Remove function.
9116 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9117 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9118 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9119 unclosed <[[, <?, comment, and other literals as extending to EOB.
9120 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9121 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9123 (rng-do-some-validation-1): Don't mark dependent regions.
9124 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9125 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9126 (nxml-clear-dependent-regions): Remove functions.
9127 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9128 (nxml-ensure-scan-up-to-date):
9129 Don't clear&mark dependent regions.
9131 2013-05-15 Leo Liu <sdl.web@gmail.com>
9133 * progmodes/octave.el (octave-goto-function-definition):
9134 Improve and fix callers.
9136 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9138 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9139 the setter (bug#14387).
9141 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9142 surrounding group (bug#14402).
9144 2013-05-14 Juri Linkov <juri@jurta.org>
9146 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9149 2013-05-14 Glenn Morris <rgm@gnu.org>
9151 * progmodes/f90.el (f90-imenu-generic-expression):
9152 Fix typo in 2013-05-08 change. (Bug#14402)
9154 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9156 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9157 Remove signals for which replies are never received.
9159 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9161 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9162 (gdb-handler-alist, gdb-handler-number): Remove variables.
9163 (gdb-handler-list): New variable.
9164 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9165 (gdb-pending-handler-p, gdb-handle-reply)
9166 (gdb-remove-all-pending-triggers): New functions.
9167 (gdb-discard-unordered-replies): New defcustom.
9168 (gdb-handler): New defstruct.
9169 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9170 instead of gdb-pending-triggers. Update docstring.
9171 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9172 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9173 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9174 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9175 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9176 (gdb-frame-handler): Pending triggers are now automatically managed.
9177 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9179 (gdb-input): Automatically handles pending triggers. Update docstring.
9180 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9181 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9183 (gdb-done-or-error): Now use gdb-handle-reply.
9185 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9187 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9190 2013-05-14 Glenn Morris <rgm@gnu.org>
9192 * subr.el (user-emacs-directory-warning): New option.
9193 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9195 2013-05-14 Leo Liu <sdl.web@gmail.com>
9197 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9199 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9200 (octave-font-lock-texinfo-comment): Fix invalid search bound
9201 error: wrong side of point.
9203 2013-05-14 Glenn Morris <rgm@gnu.org>
9205 * progmodes/flymake.el (flymake-xml-program): New option.
9206 (flymake-xml-init): Use it.
9208 * term/xterm.el: Provide a feature.
9210 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9212 2013-05-13 Glenn Morris <rgm@gnu.org>
9214 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9215 Add compat aliases as a hack workaround. (Bug#14384)
9217 2013-05-13 Leo Liu <sdl.web@gmail.com>
9219 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9221 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9223 (octave-comment-start-skip): Include %!.
9224 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9226 2013-05-12 Leo Liu <sdl.web@gmail.com>
9228 * progmodes/octave.el (inferior-octave-startup): Store the value
9229 of __octave_srcdir__ for octave-source-directories.
9230 (inferior-octave-check-process): New function refactored out of
9231 inferior-octave-send-list-and-digest.
9232 (octave-source-directories)
9233 (octave-find-definition-filename-function): New variables.
9234 (octave-source-directories)
9235 (octave-find-definition-default-filename): New functions.
9236 (octave-find-definition): Improve to find functions implemented in C++.
9238 2013-05-12 Glenn Morris <rgm@gnu.org>
9240 * calendar/diary-lib.el (diary-outlook-format-1):
9241 Don't include dayname in the output. (Bug#14349)
9243 2013-05-11 Glenn Morris <rgm@gnu.org>
9245 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9247 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9248 Treat cc-provide like provide.
9250 2013-05-11 Kevin Ryde <user42@zip.com.au>
9252 * cus-dep.el (custom-make-dependencies):
9253 Use generated-autoload-load-name for the sake of files such
9254 such cedet/semantic/bovine/c.el, where the base file name
9255 is not in load-path. (Bug#5277)
9257 2013-05-11 Glenn Morris <rgm@gnu.org>
9259 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9262 2013-05-11 Leo Liu <sdl.web@gmail.com>
9264 * progmodes/octave.el (octave-indent-comment): Improve.
9265 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9266 (octave-eldoc-function-signatures, octave-eldoc-function):
9268 (octave-mode, inferior-octave-mode): Add eldoc support.
9270 2013-05-11 Richard Stallman <rms@gnu.org>
9272 * epa.el (epa-decrypt-file): Take output file name as argument
9273 and read it using `interactive'.
9275 2013-05-11 Leo Liu <sdl.web@gmail.com>
9277 * progmodes/octave.el (octave-beginning-of-line)
9278 (octave-end-of-line): Check before using up-list because it jumps
9279 out of more syntactic contructs since moving to smie.
9280 (octave-indent-comment): New function.
9281 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9282 (octave-begin-keywords, octave-end-keywords)
9283 (octave-reserved-words, octave-smie-bnf-table)
9284 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9286 2013-05-11 Glenn Morris <rgm@gnu.org>
9288 * faces.el (internal-face-x-get-resource):
9289 * frame.el (ns-display-monitor-attributes-list):
9290 * calc/calc-aent.el (math-to-radians-2):
9291 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9294 * calc/calc-menu.el: Make it loadable in isolation.
9296 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9297 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9298 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9299 (eudc-bbdb-query-internal): Require 'bbdb.
9301 * lpr.el (lpr-headers-switches):
9302 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9304 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9306 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9308 * term.el (term-set-escape-char): Make it idempotent.
9310 2013-05-10 Leo Liu <sdl.web@gmail.com>
9312 * progmodes/octave.el (inferior-octave-completion-table):
9313 No longer a function and all uses changed. Use cache to speed up
9314 completion due to bug#11906.
9315 (octave-beginning-of-defun): Re-write to be more general.
9317 2013-05-10 Glenn Morris <rgm@gnu.org>
9319 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9321 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9323 * comint.el (comint-redirect-send-command-to-process): Use :around
9324 rather than :override for comint-redirect-filter.
9325 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9326 Call it instead of comint-redirect-original-filter-function (which
9327 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9329 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9331 * frame.el (display-monitor-attributes-list): Add NS case.
9332 (ns-display-monitor-attributes-list): Declare.
9334 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9336 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9338 2013-05-09 Glenn Morris <rgm@gnu.org>
9340 * international/fontset.el (vertical-centering-font-regexp):
9343 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9345 * bookmark.el (bookmark-search-delay):
9346 * cus-start.el (vertical-centering-font-regexp):
9347 * ps-mule.el (ps-mule-font-info-database-default):
9348 * ps-print.el (ps-default-fg, ps-default-bg):
9349 * type-break.el (type-break-good-break-interval):
9350 * whitespace.el (whitespace-indentation-regexp)
9351 (whitespace-space-after-tab-regexp):
9352 * emacs-lisp/testcover.el (testcover-1value-functions)
9353 (testcover-noreturn-functions, testcover-progn-functions)
9354 (testcover-prog1-functions):
9355 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9356 * eshell/em-glob.el (eshell-glob-translate-alist):
9357 * play/tetris.el (tetris-tty-colors):
9358 * progmodes/cpp.el (cpp-face-default-list):
9359 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9360 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9361 (idlwave-help-browser-generic-args):
9362 * progmodes/make-mode.el (makefile-special-targets-list):
9363 * progmodes/python.el (python-shell-virtualenv-path):
9364 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9365 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9366 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9367 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9368 * textmodes/reftex-vars.el (reftex-format-label-function):
9369 * textmodes/remember.el (remember-diary-file): Fix custom types.
9371 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9374 2013-05-09 Leo Liu <sdl.web@gmail.com>
9376 * progmodes/octave.el (inferior-octave-completion-at-point):
9377 Restore file completion. (Bug#14300)
9378 (inferior-octave-startup): Fix incorrect highlighting for the
9381 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9383 * progmodes/ruby-mode.el: First cut at SMIE support.
9384 (ruby-use-smie): New var.
9385 (ruby-smie-grammar): New constant.
9386 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9387 (ruby-smie--forward-token, ruby-smie--backward-token)
9388 (ruby-smie-rules): New functions.
9389 (ruby-mode-variables): Setup SMIE if applicable.
9391 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9393 * simple.el (line-move-visual): Signal beginning/end of buffer
9394 only if vertical-motion moved less than it was requested. Avoids
9395 silly incorrect error messages when there are display strings with
9396 multiple newlines at EOL.
9398 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9400 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9401 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9402 (prolog-char-quote-workaround):
9403 * progmodes/cperl-mode.el (cperl-under-as-char):
9404 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9406 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9408 (vhdl-mode-syntax-table-init): Remove.
9410 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9413 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9415 (ld-script-font-lock-keywords):
9416 Change regexps to use things like \_< and \_>.
9418 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9419 Change all regexps to use things like \_< and \_>.
9421 * progmodes/autoconf.el (autoconf-definition-regexp)
9422 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9423 Handle a _ with symbol syntax.
9424 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9426 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9427 Consolidate declaration.
9428 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9430 (ada-create-syntax-table): Remove.
9431 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9432 already has the right syntax nowadays.
9433 (ada-goto-next-word): Don't change the syntax of "_".
9435 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9438 2013-05-08 Sam Steingold <sds@gnu.org>
9440 * thingatpt.el (thing-at-point): Accept optional second argument
9441 NO-PROPERTIES to strip the text properties from the return value.
9442 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9443 to `thing-at-point' instead of stripping the properties ourselves.
9444 Also, when `thing-at-point' fails to find a url, prepend "http://"
9445 to the filename at point on the assumption that the user is
9446 pointing at something like gnu.org/gnu.
9448 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9450 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9451 * faces.el (crm-separator):
9452 Silence byte-compiler.
9454 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9455 (tool-bar-map): Remove unneeded defvars.
9457 2013-05-08 Leo Liu <sdl.web@gmail.com>
9459 Re-work a fix for bug#10994 based on Le Wang's patch.
9460 * ido.el (ido-remove-consecutive-dups): New helper.
9461 (ido-completing-read): Use it.
9462 (ido-chop): Revert fix for bug#10994.
9464 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9466 * cus-edit.el (custom-save-variables):
9467 Pretty-print long values. (Bug#14187)
9469 2013-05-08 Glenn Morris <rgm@gnu.org>
9471 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9472 (m4-mode-syntax-table): Init in the defvar.
9473 (m4-mode-abbrev-table): Let define-derived-mode define it.
9475 2013-05-08 Tom Tromey <tromey@redhat.com>
9477 * progmodes/m4-mode.el (m4-mode-syntax-table):
9478 Do not treat "_" as word constituent. (Bug#14167)
9480 2013-05-07 Glenn Morris <rgm@gnu.org>
9482 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9483 Remove explicit eshell-isearch-cancel-map.
9485 * progmodes/f90.el (f90-smart-end-names): New option.
9486 (f90-smart-end): Doc fix.
9487 (f90-end-block-optional-name): New constant.
9488 (f90-block-match): Respect f90-smart-end-names.
9490 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9492 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9493 about implicit semi-colons (bug#14218).
9495 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9497 * frame.el (display-monitor-attributes-list)
9498 (frame-monitor-attributes): New functions.
9500 2013-05-06 Leo Liu <sdl.web@gmail.com>
9502 * progmodes/octave.el (octave-syntax-propertize-function): Change
9503 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9504 (octave-font-lock-keywords): Use octave-operator-regexp.
9505 (octave-completion-at-point): Rename from
9506 octave-completion-at-point-function.
9507 (inferior-octave-directory-tracker): Robustify.
9508 (octave-text-functions): Remove and fix its uses. No such things
9511 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9513 * emacs-lisp/trace.el (trace--display-buffer): New function.
9514 (trace-make-advice): Use it.
9516 2013-05-06 Juri Linkov <juri@jurta.org>
9518 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9519 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9521 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9522 in the help string. (Bug#12985)
9524 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9526 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9528 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9530 * progmodes/perl-mode.el: Add support for here documents.
9531 (perl-syntax-propertize-function): Match here-doc markers.
9532 (perl-syntax-propertize-special-constructs): Find their end.
9533 (perl-imenu-generic-expression): Use [:alnum:].
9535 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9536 (advice--add-function): Refresh the advice if already present
9539 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9541 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9543 2013-05-06 Glenn Morris <rgm@gnu.org>
9545 * w32-fns.el (w32-charset-info-alist): Declare.
9547 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9548 of its defcustom properties.
9549 (eshell-cmpl-initialize): No need to load pcomplete.
9551 * generic-x.el: No need to require comint when compiling.
9553 * net/eudc-export.el: Make it loadable without bbdb.
9554 (top-level): Use require rather than load-library.
9555 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9556 (eudc-batch-export-records-to-bbdb)
9557 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9560 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9562 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9563 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9564 some tweaks, instead.
9566 2013-05-05 Leo Liu <sdl.web@gmail.com>
9568 * progmodes/octave.el (octave-font-lock-keywords)
9569 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9570 (inferior-octave-send-list-and-digest): Improve error message.
9571 (octave-mode, inferior-octave-mode): Use setq-local.
9572 (octave-help): Set info-lookup-mode.
9574 2013-05-05 Richard Stallman <rms@gnu.org>
9576 * vc/compare-w.el (compare-windows-whitespace):
9577 Treat no-break space as whitespace.
9579 * mail/rmailsum.el (rmail-summary-rmail-update):
9580 Detect empty summary and don't change selected message.
9581 (rmail-summary-goto-msg): Likewise.
9583 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9584 Doc fixes, rename args.
9586 2013-05-05 Alan Mackenzie <acm@muc.de>
9588 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9590 2013-05-05 Juri Linkov <juri@jurta.org>
9592 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9593 to not add the length of the summary segment to the return value.
9596 2013-05-05 Leo Liu <sdl.web@gmail.com>
9598 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9599 (inferior-octave-output-filter): Remove.
9600 (octave-send-region, inferior-octave-startup): Fix callers.
9601 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9602 (octave-binary-file-extensions): New user variable.
9603 (octave-find-definition): Confirm if opening binary files.
9604 (octave-help-file): Use octave-find-definition to get the binary
9606 (octave-help): Adjust for octave-help-file change.
9608 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9610 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9611 Merge the two entries that handle function definitions.
9612 (pascal--syntax-propertize): New const.
9613 (pascal-mode): Use it. Use setq-local.
9615 2013-05-04 Glenn Morris <rgm@gnu.org>
9617 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9618 (diary-from-outlook): Respect diary-from-outlook-function.
9620 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9622 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9623 Move the declaration from C.
9624 (read-minibuffer, eval-minibuffer): Move from C.
9625 (completion-setup-function): Avoid minibuffer-completion-contents.
9627 2013-05-03 Leo Liu <sdl.web@gmail.com>
9629 * progmodes/octave.el (octave-font-lock-keywords): Do not
9630 dehighlight 'end' in comments or strings.
9631 (octave-completing-read, octave-goto-function-definition):
9633 (octave-help-buffer): New user variable.
9634 (octave-help-file, octave-help-function): New button types.
9635 (octave-help): New command and bind it to C-h ;.
9636 (octave-find-definition): New command and bind it to M-.
9637 (user-error): Alias to error if not defined.
9639 2013-05-02 Leo Liu <sdl.web@gmail.com>
9641 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9643 (octave-font-lock-keywords): Include [ and {.
9645 2013-05-02 Leo Liu <sdl.web@gmail.com>
9647 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9648 (inferior-octave): Remove calling comint-mode and return the buffer.
9649 (inferior-octave-startup): Cosmetic changes.
9651 2013-05-02 Leo Liu <sdl.web@gmail.com>
9653 * progmodes/octave.el (octave-syntax-propertize-function):
9654 Include the case when ' is at line beginning. (Bug#14336)
9656 2013-05-02 Glenn Morris <rgm@gnu.org>
9658 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9659 * desktop.el (vc-dir-mode): Just autoload it here.
9661 2013-05-02 Alan Mackenzie <acm@muc.de>
9663 Eliminate variable c-standard-font-lock-fontify-region-function.
9664 * progmodes/cc-mode.el
9665 (c-standard-font-lock-fontify-region-function): Remove.
9666 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9668 2013-05-01 Leo Liu <sdl.web@gmail.com>
9670 * progmodes/octave.el: Compatible with older emacs-24 releases.
9671 (inferior-octave-has-built-in-variables): Remove. Built-in
9672 variables were removed from Octave in 2007.
9673 (inferior-octave-startup): Fix uses.
9674 (comint-line-beginning-position): Remove compatibility code for
9677 2013-05-01 Juri Linkov <juri@jurta.org>
9679 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9681 2013-05-01 Juri Linkov <juri@jurta.org>
9683 * comint.el (comint-previous-matching-input): Don't print message
9684 "History item: %d" when `isearch-mode' is active.
9685 (comint-history-isearch-message): Print message "History item: %d"
9686 when `comint-input-ring-index' is not empty and this function is
9687 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9689 2013-05-01 Leo Liu <sdl.web@gmail.com>
9691 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9692 definitions. Use completion-at-point to insert keywords.
9693 (octave-abbrev-start): Remove.
9694 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9696 2013-04-30 Leo Liu <sdl.web@gmail.com>
9698 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9701 2013-04-30 Alan Mackenzie <acm@muc.de>
9703 Handle arbitrarily long C++ member initialisation lists.
9704 * progmodes/cc-engine.el (c-back-over-member-initializers):
9706 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9707 (most) member init lists.
9709 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9711 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9714 2013-04-30 Leo Liu <sdl.web@gmail.com>
9716 * progmodes/octave.el (octave-variables): Remove. No builtin
9717 variables any more. All converted to functions.
9718 (octave-font-lock-keywords, octave-completion-at-point-function):
9720 (octave-font-lock-texinfo-comment): New user variable.
9721 (octave-texinfo-font-lock-keywords): New variable for texinfo
9723 (octave-function-comment-block): New face.
9724 (octave-font-lock-texinfo-comment): New function.
9725 (octave-mode): Font lock texinfo comment block.
9727 2013-04-29 Leo Liu <sdl.web@gmail.com>
9729 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9730 indexing expression.
9731 (octave-continuation-string): Do not use \.
9732 (inferior-octave-complete-impossible): Remove.
9733 (inferior-octave-completion-table)
9734 (inferior-octave-completion-at-point): Remove its uses.
9735 (inferior-octave-startup): completion_matches was introduced to
9736 Octave in 1996 so safe to assume it.
9737 (octave-function-file-comment): Improve to follow how Octave does it.
9738 (octave-update-function-file-comment): Tweak.
9740 2013-04-29 Leo Liu <sdl.web@gmail.com>
9742 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9743 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9744 (octave-function-file-comment): Fix typo.
9745 (octave-sync-function-file-names): Use read-char-choice.
9747 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9749 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9750 to t for the less important warnings.
9752 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9754 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9756 2013-04-27 Glenn Morris <rgm@gnu.org>
9758 * vc/log-view.el (log-view-current-entry):
9759 Treat "---" separator lines as part of the following rev. (Bug#14169)
9761 2013-04-27 Juri Linkov <juri@jurta.org>
9763 * subr.el (read-number): Doc fix about using it by interactive
9764 code letter `n'. (Bug#14254)
9766 2013-04-27 Juri Linkov <juri@jurta.org>
9768 * desktop.el (desktop-auto-save-timeout): New option.
9769 (desktop-file-checksum): New variable.
9770 (desktop-save): Add optional arg `auto-save' and don't auto-save
9772 (desktop-auto-save-timer): New variable.
9773 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9774 (after-init-hook): Call `desktop-auto-save-set-timer'.
9775 Suggested by Reuben Thomas <rrt@sc3d.org> in
9776 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9778 2013-04-27 Leo Liu <sdl.web@gmail.com>
9780 * progmodes/octave.el (octave-function-file-p)
9781 (octave-skip-comment-forward, octave-function-file-comment)
9782 (octave-update-function-file-comment): New functions.
9783 (octave-mode-map): Bind C-c ; to
9784 octave-update-function-file-comment.
9785 (octave-mode-menu): Add octave-update-function-file-comment.
9786 (octave-mode, inferior-octave-mode): Fix doc-string.
9787 (octave-insert-defun): Conform to Octave's coding convention.
9790 * files.el (basic-save-buffer): Don't let errors in
9791 before-save-hook prevent saving buffer.
9793 2013-04-20 Roland Winkler <winkler@gnu.org>
9795 * faces.el (read-face-name): Use completing-read if arg multiple
9798 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9800 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9801 displayed, move point to after the totals line.
9802 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9805 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9807 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9808 Add current dir to the load-path.
9809 (package-generate-autoloads): Don't rely on
9810 autoload-ensure-default-file.
9812 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9814 * textmodes/remember.el (remember-store-in-files): Document that
9815 the file name format is passed to `format-time-string'.
9817 2013-04-26 Leo Liu <sdl.web@gmail.com>
9819 * progmodes/octave.el (octave-sync-function-file-names): New function.
9820 (octave-mode): Use it in before-save-hook.
9822 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9824 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9827 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9828 \n and comment, even if it's not an implicit ; (bug#14218).
9830 2013-04-26 Glenn Morris <rgm@gnu.org>
9832 * subr.el (read-number): Once more use `read' rather than
9833 `string-to-number', to trap non-numeric input. (Bug#14254)
9835 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9837 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9838 Use `syntax-multiline' text property consistently instead of
9839 `font-lock-multiline'. (Bug#14237)
9841 2013-04-26 Glenn Morris <rgm@gnu.org>
9843 * emacs-lisp/shadow.el (list-load-path-shadows):
9844 No longer necessary to check for duplicate simple.el, since
9845 2012-07-07 change to init_lread to not include installation lisp
9846 directories in load-path when running uninstalled. (Bug#14270)
9848 2013-04-26 Leo Liu <sdl.web@gmail.com>
9850 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9851 (octave-mode, inferior-octave-mode): Use setq-local.
9852 (octave-not-in-string-or-comment-p): Rename to
9853 octave-in-string-or-comment-p.
9854 (octave-in-comment-p, octave-in-string-p)
9855 (octave-in-string-or-comment-p): Replace defsubst with defun.
9857 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9859 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9861 2013-04-25 Bastien Guerry <bzg@gnu.org>
9863 * textmodes/remember.el (remember-data-directory)
9864 (remember-directory-file-name-format): Fix custom types.
9866 2013-04-25 Leo Liu <sdl.web@gmail.com>
9868 * progmodes/octave.el (octave-completion-at-point-function):
9869 Make use of inferior octave process.
9870 (octave-initialize-completions): Remove.
9871 (inferior-octave-completion-table): New function.
9872 (inferior-octave-completion-at-point): Use it.
9873 (octave-completion-alist): Remove.
9875 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9877 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9878 (opascal-mode-syntax-table): New var.
9879 (opascal-literal-kind, opascal-is-literal-end)
9880 (opascal-literal-token-at): Rewrite.
9881 (opascal--literal-start-re, opascal-font-lock-keywords)
9882 (opascal--syntax-propertize): New constants.
9883 (opascal-font-lock-defaults): Adjust.
9884 (opascal-mode): Use them. Set comment-<foo> variables as well.
9885 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9886 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9887 (delphi-other-face, opascal-other-face): Remove face variables.
9888 (opascal-save-state): Remove macro.
9889 (opascal-fontifying-progress-step): Remove constant.
9890 (opascal--ignore-changes): Remove var.
9891 (opascal-set-token-property, opascal-parse-next-literal)
9892 (opascal-is-stable-literal, opascal-complete-literal)
9893 (opascal-is-literal-start, opascal-face-of)
9894 (opascal-parse-region, opascal-parse-region-until-stable)
9895 (opascal-fontify-region, opascal-after-change)
9896 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9897 (opascal-debug-parse-region, opascal-debug-parse-window)
9898 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9899 (opascal-debug-fontify-buffer): Remove.
9900 (opascal-debug-mode-map): Adjust accordingly.
9902 2013-04-25 Leo Liu <sdl.web@gmail.com>
9904 Merge octave-mod.el and octave-inf.el into octave.el with some
9906 * progmodes/octave.el: New file renamed from octave-mod.el.
9907 * progmodes/octave-inf.el: Merged into octave.el.
9908 * progmodes/octave-mod.el: Renamed to octave.el.
9910 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9912 * textmodes/reftex-vars.el
9913 (reftex-label-ignored-macros-and-environments): New defcustom.
9915 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9917 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9919 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9920 (smie-indent-keyword): Improve the check to ensure that the next
9921 comment is really on the same line.
9922 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9924 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9925 semi-colons if the line is not otherwise empty (bug#14218).
9927 2013-04-25 Glenn Morris <rgm@gnu.org>
9929 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9931 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9933 * progmodes/opascal.el (opascal-set-token-property): Rename from
9934 opascal-set-text-properties and only set `token' (bug#14134).
9935 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9936 (opascal-literal-text-properties): Remove.
9937 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9940 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9942 * textmodes/remember.el (remember-handler-functions): Add an
9943 option for a new handler `remember-store-in-files'.
9944 (remember-data-directory, remember-directory-file-name-format):
9946 (remember-store-in-files): New function to store remember notes
9947 as separate files within a directory.
9949 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9951 * progmodes/compile.el (compilation-next-error-function):
9952 Pass "formats" to compilation-find-file (bug#11777).
9954 2013-04-24 Glenn Morris <rgm@gnu.org>
9956 * vc/vc-bzr.el (vc-bzr-print-log):
9957 * vc/vc-hg.el (vc-hg-print-log):
9958 * vc/vc-svn.el (vc-svn-print-log):
9959 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9961 * vc/vc-bzr.el (vc-bzr-print-log):
9962 * vc/vc-cvs.el (vc-cvs-print-log):
9963 * vc/vc-git.el (vc-git-print-log):
9964 * vc/vc-hg.el (vc-hg-print-log):
9965 * vc/vc-mtn.el (vc-mtn-print-log):
9966 * vc/vc-rcs.el (vc-rcs-print-log):
9967 * vc/vc-sccs.el (vc-sccs-print-log):
9968 * vc/vc-svn.el (vc-svn-print-log):
9969 * vc/vc.el (vc-print-log-internal): Doc fixes.
9971 2013-04-23 Glenn Morris <rgm@gnu.org>
9973 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9974 Remove venerable code attempting to avoid substitute-command-keys.
9976 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9978 * textmodes/reftex-vars.el (reftex-label-regexps):
9979 Call `reftex-compile-variables' after changes to this variable.
9981 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9983 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9984 Use lexical-binding.
9985 (jit-lock-force-redisplay): Use markers, check buffer's continued
9986 existence and beware narrowed buffers.
9987 (jit-lock-fontify-now): Adjust call accordingly.
9989 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9991 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9992 to avoid misleading the user.
9994 2013-04-22 Leo Liu <sdl.web@gmail.com>
9996 * info-look.el: Prefer latex2e.info. (Bug#14240)
9998 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10000 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10002 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10003 * net/tramp.el (tramp-call-process): ... here.
10004 (tramp-set-completion-function, tramp-parse-putty):
10005 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10006 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10007 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10008 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10009 (tramp-call-local-coding-command): Use `tramp-call-process'
10010 instead of `tramp-compat-call-process'.
10012 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10013 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10014 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10015 (tramp-find-inline-compress): Improve traces.
10016 (tramp-maybe-send-script): Check for Perl binary.
10017 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10019 2013-04-22 Daiki Ueno <ueno@gnu.org>
10021 * epg.el (epg-context-pinentry-mode): New function.
10022 (epg-context-set-pinentry-mode): New function.
10023 (epg--start): Pass --pinentry-mode option to gpg command.
10025 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10027 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10028 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10029 `completion-at-point'. (Bug#13774)
10031 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10032 default key binding for `describe-distribution' has been moved to
10033 `C-h C-o'. (Bug#13970)
10035 2013-04-21 Glenn Morris <rgm@gnu.org>
10037 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10039 (vc-print-log): Clarify interactive prompt.
10041 2013-04-20 Glenn Morris <rgm@gnu.org>
10043 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10044 No longer include timestamp etc information.
10046 2013-04-20 Roland Winkler <winkler@gnu.org>
10048 * faces.el (read-face-name): Bug fix, return just one face if arg
10049 multiple is nil. (Bug#14209)
10051 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10053 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10054 (remove-function): Autoload.
10056 * comint.el (comint-redirect-original-filter-function): Remove.
10057 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10058 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10059 (vc-cvs-annotate-command):
10060 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10061 * progmodes/prolog.el (prolog-consult-compile):
10062 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10063 Use add/remove-function instead.
10064 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10065 (gud-tooltip-process-output, gud-tooltip-tips):
10066 Use add/remove-function instead.
10067 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10068 (scheme-interaction-mode, exit-scheme-interaction-mode):
10069 Use add/remove-function instead.
10071 * vc/vc-dispatcher.el: Use lexical-binding.
10072 (vc--process-sentinel): Rename from vc-process-sentinel.
10073 Change last arg to be the code to run. Don't use vc-previous-sentinel
10074 and vc-sentinel-commands any more.
10075 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10076 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10078 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10080 * progmodes/sh-script.el (sh-imenu-generic-expression):
10081 Handle function names with a single character. (Bug#14111)
10083 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10085 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10086 for subroutines defined in an eval (bug#14182).
10088 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10090 * bookmark.el (bookmark-completing-read): Improve handling of empty
10091 string (bug#14176).
10093 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10095 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10097 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10099 New faster Imenu implementation (bug#14058).
10100 * progmodes/python.el:
10101 (python-imenu-prev-index-position):
10102 (python-imenu-format-item-label-function)
10103 (python-imenu-format-parent-item-label-function)
10104 (python-imenu-format-parent-item-jump-label-function):
10106 (python-imenu-format-item-label)
10107 (python-imenu-format-parent-item-label)
10108 (python-imenu-format-parent-item-jump-label)
10109 (python-imenu--put-parent, python-imenu--build-tree)
10110 (python-imenu-create-index, python-imenu-create-flat-index)
10111 (python-util-popn): New functions.
10112 (python-mode): Set imenu-create-index-function to
10113 python-imenu-create-index.
10115 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10117 * winner.el (winner-active-region): Use region-active-p, activate-mark
10118 and deactivate-mark (bug#14225).
10120 * simple.el (deactivate-mark): Don't inline it.
10122 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10124 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10126 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10128 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10129 file extensions from the archive-mode entry in order to prefer
10130 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10132 2013-04-18 Leo Liu <sdl.web@gmail.com>
10134 * bindings.el (help-event-list): Add ?\?.
10136 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10138 * subr.el (with-wrapper-hook): Declare obsolete.
10139 * simple.el (filter-buffer-substring-function): New hook.
10140 (filter-buffer-substring): Use it.
10141 (filter-buffer-substring-functions): Mark obsolete.
10142 * minibuffer.el (completion-in-region-function): New hook.
10143 (completion-in-region): Use it.
10144 (completion-in-region-functions): Mark obsolete.
10145 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10146 * abbrev.el (abbrev-expand-function): New hook.
10147 (expand-abbrev): Use it.
10148 (abbrev-expand-functions): Mark obsolete.
10149 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10150 and :filter-return.
10152 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10154 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10155 and do not care about match data.
10157 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10159 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10160 completion tables when completing error conditions and
10161 `declare' arguments.
10162 (lisp-complete-symbol, field-complete): Mark as obsolete.
10163 (check-parens): Unmatched parens are user errors.
10164 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10166 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10168 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10169 command changed buffer (ie. `flyspell-pre-buffer' is not current
10170 buffer), which prevents making decisions based on invalid value of
10171 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10172 cause an error when `flyspell-pre-point' was nil after switching
10174 (flyspell-post-command-hook): No longer needs to change buffers when
10175 checking pre-word. While at it remove unnecessary progn.
10177 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10179 * textmodes/ispell.el (ispell-add-per-file-word-list):
10180 Fix `flyspell-correct-word-before-point' error when accepting
10181 words and `coment-padding' is an integer by using
10182 `comment-normalize-vars' (Bug #14214).
10184 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10186 New defun movement commands.
10187 * progmodes/python.el (python-nav--syntactically)
10188 (python-nav--forward-defun, python-nav-backward-defun)
10189 (python-nav-forward-defun): New functions.
10191 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10193 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10194 (python-syntax-context): Use named compiler-macro for backwards
10195 compatibility with Emacs 24.x.
10197 2013-04-17 Leo Liu <sdl.web@gmail.com>
10199 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10200 octave-hide-process-buffer.
10202 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10204 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10207 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10209 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10210 Fix adjustment of offset when receiving incomplete responses from GDB
10213 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10215 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10216 python-mode-abbrev-table.
10217 (python-skeleton-define): Adjust accordingly.
10218 (python-mode-abbrev-table): New table that inherits from it so that
10219 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10221 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10222 (abbrev-symbol): Use it.
10223 (abbrev--before-point): Use it since we already handle inheritance.
10225 2013-04-16 Leo Liu <sdl.web@gmail.com>
10227 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10228 binding to info-lookup-symbol.
10230 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10232 * minibuffer.el (completion--twq-all):
10233 * term/ns-win.el (ns-initialize-window-system):
10234 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10236 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10238 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10241 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10243 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10245 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10246 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10248 (ruby-end-of-defun): Remove the unused arg, change the docstring
10249 to reflect that this function is only used as the value of
10250 `end-of-defun-function'.
10251 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10252 to reflect an earlier change that beginning/end-of-defun functions
10253 jump between methods in a class definition, as well as top-level
10256 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10258 * minibuffer.el (minibuffer-complete): Don't just scroll
10259 a *Completions* that's been iconified.
10260 (minibuffer-force-complete): Make sure repetitions do cycle when going
10261 through completion-in-region -> minibuffer-complete.
10263 2013-04-15 Alan Mackenzie <acm@muc.de>
10265 Correct the placement of c-cpp-delimiters when there're #s not at
10268 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10269 place a submatch around the #.
10270 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10271 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10274 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10276 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10277 (advice--member-p): New arg `name'.
10278 (advice--add-function, advice-member-p): Use it (bug#14202).
10280 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10282 Reformulate java imenu-generic-expression.
10283 The old expression contained ill formed regexps.
10285 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10286 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10287 (cc-imenu-java-method-arg-regexp): New defconsts.
10288 (cc-imenu-java-build-type-args-regex): New defun.
10289 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10290 handling of spaces in the regexp.
10292 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10294 * textmodes/ispell.el (ispell-command-loop): Remove
10295 flyspell highlight of a word when ispell accepts it (bug #14178).
10297 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10299 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10300 uses code from the previous `ange-ftp-run-real-handler'.
10301 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10302 only in case that function exist. This is needed for proper
10303 unloading of Tramp.
10305 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10307 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10309 * textmodes/reftex.el (reftex-compile-variables): Use it.
10311 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10313 * files.el (normal-mode): Only use default major-mode if no other mode
10316 * emacs-lisp/trace.el (trace-values): New function.
10318 * files.el: Allow : in local variables (bug#14089).
10319 (hack-local-variable-regexp): New var.
10320 (hack-local-variables-prop-line, hack-local-variables): Use it.
10322 2013-04-13 Roland Winkler <winkler@gnu.org>
10324 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10325 data before it gets modified by bibtex-beginning-of-entry.
10327 2013-04-13 Roland Winkler <winkler@gnu.org>
10329 * textmodes/bibtex.el (bibtex-url): Doc fix.
10331 2013-04-13 Roland Winkler <winkler@gnu.org>
10333 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10334 does not visit a BibTeX file, exclude it from the list of buffers
10335 returned by bibtex-initialize.
10337 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10339 * window.el (split-window): Remove interactive form, since as a
10340 command this function is a special case of split-window-below.
10341 Correct doc string.
10343 2013-04-12 Roland Winkler <winkler@gnu.org>
10345 * faces.el (read-face-name): Do not override value of arg default.
10346 Allow single faces and strings as default values. Remove those
10347 elements from return value that are not faces.
10348 (describe-face): Simplify.
10349 (face-at-point): New optional args thing and multiple so that this
10350 function can provide the same functionality previously provided by
10352 (make-face-bold, make-face-unbold, make-face-italic)
10353 (make-face-unitalic, make-face-bold-italic, invert-face)
10354 (modify-face, read-face-and-attribute): Use face-at-point.
10356 * cus-edit.el (customize-face, customize-face-other-window)
10357 * cus-theme.el (custom-theme-add-face)
10358 * face-remap.el (buffer-face-set)
10359 * facemenu.el (facemenu-set-face): Use face-at-point.
10361 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10363 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10365 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10367 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10368 off leading { and trailing } from field values.
10370 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10372 * emacs-lisp/timer.el (timer--check): New function.
10373 (timer--time, timer-set-function, timer-event-handler): Use it.
10374 (timer-set-idle-time): Simplify.
10375 (timer--activate): CSE.
10376 (timer-event-handler): Give more info in error message.
10377 (internal-timer-start-idle): New function, moved from C.
10379 * mpc.el (mpc-proc): Add `restart' argument.
10380 (mpc-proc-cmd): Use it.
10381 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10382 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10385 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10387 * progmodes/sh-script.el: Implement `sh-mode' own
10388 `add-log-current-defun-function' (bug#14112).
10389 (sh-current-defun-name): New function.
10390 (sh-mode): Use the function.
10392 2013-04-09 Bastien Guerry <bzg@gnu.org>
10394 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10396 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10398 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10400 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10403 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10405 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10408 2013-04-07 Leo Liu <sdl.web@gmail.com>
10410 * pcmpl-x.el: New file.
10412 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10414 Do not set x-display-name until X connection is established.
10415 This is needed to prevent from weird situation described at
10416 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10417 * frame.el (make-frame): Set x-display-name after call to
10418 window system initialization function, not before.
10419 * term/x-win.el (x-initialize-window-system): Add optional
10420 display argument and use it.
10421 * term/w32-win.el (w32-initialize-window-system):
10422 * term/ns-win.el (ns-initialize-window-system):
10423 * term/pc-win.el (msdos-initialize-window-system):
10424 Add compatible optional display argument.
10426 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10428 * files.el (normal-backup-enable-predicate): On MS-Windows and
10429 MS-DOS compare truenames of temporary-file-directory and of the
10430 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10431 don't fail comparison by compare-strings. Also, compare file
10432 names case-insensitively on MS-Windows and MS-DOS.
10434 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10436 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10437 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10439 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10441 * whitespace.el (whitespace-color-on, whitespace-color-off):
10442 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10444 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10446 * ispell.el (ispell-set-spellchecker-params):
10447 Really set `ispell-args' for all equivs.
10449 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10451 * ido.el (ido-completions): Use extra elements of ido-decorations
10453 (ido-decorations): Update docstring.
10455 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10457 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10458 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10459 nil during initialization, in order not to miss changes since the
10460 file was opened. (Bug#14140)
10462 2013-04-05 Leo Liu <sdl.web@gmail.com>
10464 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10466 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10468 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10470 2013-04-04 Glenn Morris <rgm@gnu.org>
10472 * electric.el (electric-pair-inhibit-predicate): Add :version.
10474 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10476 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10477 when a package is required several times (bug#14082).
10479 2013-04-04 Roland Winkler <winkler@gnu.org>
10481 * faces.el (read-face-name): Behave as promised by the docstring.
10482 Assume that arg default is a list of faces.
10483 (describe-face): Call read-face-name with list of default faces.
10485 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10487 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10488 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10489 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10491 (bookmark-exit-hook-internal): Save even if list is empty.
10493 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10495 * emacs-lisp/package.el (package-pinned-packages): New var.
10496 (package--add-to-archive-contents): Obey it (bug#14118).
10498 2013-04-03 Alan Mackenzie <acm@muc.de>
10500 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10501 Also adapt to the new values of element 7 of a parse state.
10503 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10504 parameter `not-in-delimiter'. Handle being inside comment opener.
10505 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10506 character in case we're typing a '*' after a '/'.
10507 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10508 instead by passing the parameter to c-state-pp-to-literal.
10510 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10511 for elt. 7 of a parse state.
10513 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10515 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10516 * international/latin1-disp.el, international/mule-util.el:
10517 * language/cyril-util.el, language/european.el, language/ind-util.el:
10518 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10519 * language/tibetan.el, language/viet-util.el:
10520 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10522 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10524 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10525 (electric-pair-post-self-insert-function): Use it.
10526 (electric-pair-default-inhibit): New function, extracted from
10527 electric-pair-post-self-insert-function.
10529 2013-03-31 Roland Winkler <winkler@gnu.org>
10531 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10533 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10535 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10537 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10539 Un-indent after "pass" and "return" statements (Bug#13888)
10540 * progmodes/python.el (python-indent-block-enders): New var.
10541 (python-indent-calculate-indentation): Use it.
10543 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10545 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10546 defun. Defining it as defalias could introduce too eager
10547 byte-compiler optimization. (Bug#14030)
10549 2013-03-30 Chong Yidong <cyd@gnu.org>
10551 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10553 2013-03-30 Leo Liu <sdl.web@gmail.com>
10555 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10556 (kmacro-execute-from-register): Pass the keyboard macro to
10557 kmacro-call-macro or repeating won't work correctly.
10559 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10561 * progmodes/subword.el: Back to using `forward-symbol'.
10563 * subr.el (forward-whitespace, forward-symbol)
10564 (forward-same-syntax): Move from thingatpt.el.
10566 2013-03-29 Leo Liu <sdl.web@gmail.com>
10568 * kmacro.el (kmacro-to-register): New command.
10569 (kmacro-execute-from-register): New function.
10570 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10572 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10574 * mpc.el: Use defvar-local and setq-local.
10575 (mpc--proc-connect): Connection failures are not bugs.
10576 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10577 (mpc-volume-map): Bind to the up-events.
10579 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10581 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10582 instead of `forward-symbol'.
10584 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10586 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10587 (edebug--recursive-edit): Use it.
10588 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10589 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10591 2013-03-28 Leo Liu <sdl.web@gmail.com>
10593 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10595 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10597 * facemenu.el (list-colors-callback): New defvar.
10598 (list-colors-redisplay): New function.
10599 (list-colors-display): Install list-colors-redisplay as the
10600 revert-buffer-function. (Bug#14063)
10602 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10604 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10605 and suffixes don't overlap (bug#14061).
10607 * case-table.el: Use lexical-binding.
10608 (case-table-get-table): New function.
10609 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10611 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10613 * progmodes/subword.el: Add `superword-mode' to do word motion
10614 over symbol_words (parallels and leverages `subword-mode' which
10615 does word motion inside MixedCaseWords).
10617 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10619 * eshell/em-unix.el: Move su and sudo to...
10620 * eshell/em-tramp.el: ...Eshell tramp module.
10622 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10624 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10625 Change return value to be a sexp. Delay `get-buffer' to after
10626 restoring the desktop (bug#13951).
10628 2013-03-26 Leo Liu <sdl.web@gmail.com>
10630 * register.el: Move semantic tag handling back to
10631 cedet/semantic/senator.el. (Bug#14052)
10633 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10635 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10636 into the prompt either (bug#13963).
10638 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10640 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10641 part of "(error-foo)".
10643 2013-03-24 Juri Linkov <juri@jurta.org>
10645 * replace.el (list-matching-lines-prefix-face): New defcustom.
10646 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10647 `occur-engine' if `face-differs-from-default-p' returns t.
10648 (occur-engine): Add `,' inside backquote construct to evaluate
10649 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10650 Pass `prefix-face' to the functions `occur-context-lines' and
10651 `occur-engine-add-prefix'.
10652 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10653 `prefix-face' and propertize the prefix with `prefix-face'.
10656 2013-03-24 Leo Liu <sdl.web@gmail.com>
10658 * nxml/rng-valid.el (rng-validate-while-idle)
10659 (rng-validate-quick-while-idle): Guard against deleted buffer.
10662 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10663 is the last entry in kill-buffer-hook.
10665 * files.el (kill-buffer-hook): Doc fix.
10667 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10669 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10670 Make it safe-local.
10672 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10674 2013-03-23 Leo Liu <sdl.web@gmail.com>
10676 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10679 * nxml/rng-valid.el (rng-validate-mode)
10680 (rng-after-change-function, rng-do-some-validation):
10681 * nxml/rng-maint.el (rng-validate-buffer):
10682 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10683 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10684 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10685 (nxml-extend-after-change-region): Use with-silent-modifications.
10687 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10690 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10691 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10692 timer-idle-list. (Bug#13999)
10694 2013-03-23 Juri Linkov <juri@jurta.org>
10696 * info.el (info-index-match): New face.
10697 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10698 main pattern and add text properties with the new face to matches
10699 in index entries relative to the beginning of the index entry.
10702 2013-03-21 Eric Ludlam <zappo@gnu.org>
10704 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10705 Inhibit read only while inserting objects.
10707 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10709 * progmodes/cfengine.el: Update docs to mention
10710 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10711 symbol motion. Remove "_" from the word syntax.
10713 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10715 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10716 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10718 2013-03-20 Juri Linkov <juri@jurta.org>
10720 * info.el (Info-next-reference-or-link)
10721 (Info-prev-reference-or-link): New functions.
10722 (Info-next-reference, Info-prev-reference): Use them.
10723 (Info-try-follow-nearest-node): Handle footnote navigation.
10724 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10726 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10728 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10729 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10731 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10733 Suppress unnecessary non-ASCII chatter during build process.
10734 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10735 (batch-skkdic-convert): Suppress most of the chatter.
10736 It's not needed so much now that machines are faster,
10737 and its non-ASCII component was confusing; see Dmitry Gutov in
10738 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10740 2013-03-20 Leo Liu <sdl.web@gmail.com>
10742 * ido.el (ido-chop): Fix bug#10994.
10744 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10746 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10748 (whitespace-color-on, whitespace-color-off):
10749 Use `font-lock-fontify-buffer' (Bug#13817).
10751 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10753 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10754 remapping in mode-line.
10755 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10757 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10759 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10760 value for `whitespace-line' face (Bug#13875).
10761 (whitespace-font-lock-keywords): Change description.
10762 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10763 the constructed keywords instead.
10764 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10766 2013-03-19 Leo Liu <sdl.web@gmail.com>
10768 * progmodes/compile.el (compilation-display-error): New command.
10769 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10772 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10774 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10776 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10778 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10780 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10782 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10784 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10785 * net/tramp-gvfs.el (top):
10786 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10787 (tramp-handle-shell-command): Use it.
10788 (tramp-dissect-file-name): Raise an error when hostname is a
10789 method name, and neither method nor user is specified.
10791 * net/trampver.el: Update release number.
10793 2013-03-18 Leo Liu <sdl.web@gmail.com>
10795 Make sure eldoc can be turned off properly.
10796 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10798 (eldoc-display-message-p): Revert last change.
10799 (eldoc-display-message-no-interference-p)
10800 (eldoc-print-current-symbol-info): Tweak.
10802 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10804 * doc-view.el (doc-view-new-window-function): Check the new window
10805 overlay's display property instead the char property of the
10806 buffer's first char. Use `with-selected-window' instead of
10807 `save-window-excursion' with `select-window'.
10808 (doc-view-document->bitmap): Check the current doc-view overlay's
10809 display property instead the char property of the buffer's first char.
10811 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10813 Automate the build of ja-dic.el (Bug#13984).
10814 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10815 from the input, rather than assume that it's been done for us by the
10816 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10817 the current date into a ja-dic.el comment, as that complicates
10818 regression testing.
10820 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10822 * whitespace.el: Fix double evaluation.
10823 (whitespace-space, whitespace-hspace, whitespace-tab)
10824 (whitespace-newline, whitespace-trailing, whitespace-line)
10825 (whitespace-space-before-tab, whitespace-indentation)
10826 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10828 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10829 (whitespace-color-on): Use a single font-lock-add-keywords call.
10830 Fix double-evaluation of face variables.
10832 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10834 * net/tramp-adb.el (tramp-adb-parse-device-names):
10835 Use `start-process' instead of `call-process'. Otherwise, the
10836 function might be blocked under MS Windows. (Bug#13299)
10838 2013-03-17 Leo Liu <sdl.web@gmail.com>
10840 Extend eldoc to display info in the mode-line. (Bug#13978)
10841 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10842 (eldoc-mode-line-string): New variable.
10843 (eldoc-minibuffer-message): New function.
10844 (eldoc-message-function): New variable.
10845 (eldoc-message): Use it.
10846 (eldoc-display-message-p)
10847 (eldoc-display-message-no-interference-p):
10848 Support eldoc-post-insert-mode.
10850 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10851 (eval-expression): Run it.
10853 2013-03-17 Roland Winkler <winkler@gnu.org>
10855 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10856 strings in the list of return values.
10858 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10860 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10861 radix before checking for HMS forms.
10863 2013-03-16 Leo Liu <sdl.web@gmail.com>
10865 * progmodes/scheme.el: Add indentation and font-locking for λ.
10868 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10870 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10871 token before point (bug#13942).
10873 2013-03-16 Leo Liu <sdl.web@gmail.com>
10875 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10877 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10879 * startup.el (command-line-normalize-file-name): Fix handling of
10880 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10881 <xfq.free@gmail.com> in
10882 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10884 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10886 Sync with Tramp 2.2.7.
10888 * net/trampver.el: Update release number.
10890 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10892 * doc-view.el: Fix bug#13887.
10893 (doc-view-insert-image): Don't modify overlay associated to
10894 non-live windows, and implement horizontal centering of image in
10895 case it's smaller than the window.
10896 (doc-view-new-window-function): Force redisplay of new windows on
10899 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10901 * saveplace.el (save-place-alist-to-file): Don't sort
10902 `save-place-alist', just pretty-print it (bug#13882).
10904 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10906 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10907 Check whether `default-file-name-coding-system' is bound.
10908 It isn't in XEmacs.
10910 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10912 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10913 backquotes for `obsolete' (bug#13929).
10915 * international/mule.el (find-auto-coding): Include file name in
10916 obsolescence warning (bug#13922).
10918 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10920 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10921 for CFEngine 3-specific indentation.
10922 (cfengine3-indent-line): Use it. Fix up category regex.
10923 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10925 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10927 * type-break.el (type-break-file-name):
10928 * textmodes/remember.el (remember-data-file):
10929 * strokes.el (strokes-file):
10930 * shadowfile.el (shadow-initialize):
10931 * saveplace.el (save-place-file):
10932 * ps-bdf.el (bdf-cache-file):
10933 * progmodes/idlwave.el (idlwave-config-directory):
10934 * net/quickurl.el (quickurl-url-file):
10935 * international/kkc.el (kkc-init-file-name):
10936 * ido.el (ido-save-directory-list-file):
10937 * emulation/viper.el (viper-custom-file-name):
10938 * emulation/vip.el (vip-startup-file):
10939 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10940 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10942 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10944 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10945 * language/thai-word.el: Switch to UTF-8.
10947 See ChangeLog.16 for earlier changes.
10949 ;; Local Variables:
10953 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10955 This file is part of GNU Emacs.
10957 GNU Emacs is free software: you can redistribute it and/or modify
10958 it under the terms of the GNU General Public License as published by
10959 the Free Software Foundation, either version 3 of the License, or
10960 (at your option) any later version.
10962 GNU Emacs is distributed in the hope that it will be useful,
10963 but WITHOUT ANY WARRANTY; without even the implied warranty of
10964 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10965 GNU General Public License for more details.
10967 You should have received a copy of the GNU General Public License
10968 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.