1 2013-12-14 Martin Rudalics <rudalics@gmx.at>
3 * window.el (display-buffer-below-selected): Never split window
4 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
8 * emacs-lisp/package.el (package--prepare-dependencies): New function.
9 (package-buffer-info): Use it (bug#15108).
11 * icomplete.el (icomplete-completions): Make sure the prefix is already
12 displayed elsewhere before hiding it.
14 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
16 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
17 open-paren tokens when preceded by a open-paren, too.
18 (ruby-smie-rules): Handle virtual indentation after open-paren
19 tokens specially. If there is code between it and eol, return the
20 column where is starts (Bug#16118).
22 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
24 * progmodes/cfengine.el: Fix `add-hook' doc.
25 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
26 (cfengine3--current-word): Fix parameters.
27 (cfengine3-make-syntax-cache): Simplify further.
28 (cfengine3-completion-function, cfengine3--current-function):
29 Use `assq' for symbols.
30 (cfengine3--current-function): Fix `cfengine3--current-word' call.
32 2013-12-13 Glenn Morris <rgm@gnu.org>
34 * loadup.el (load-path): Warn if site-load or site-init changes it.
35 No more need to reset it when bootstrapping.
37 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
39 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
40 locations for cf-promises.
41 (cfengine-mode-syntax-functions-regex): New caching variable.
42 (cfengine3-fallback-syntax): Fallback syntax for cases where
43 cf-promises doesn't run.
44 (cfengine3--current-word): Reimplement using
45 `cfengine-mode-syntax-functions-regex'.
46 (cfengine3-completion-function, cfengine3--current-function):
47 Use `cfengine3-make-syntax-cache' directly.
48 (cfengine3-clear-syntax-cache): New function.
49 (cfengine3-make-syntax-cache): Simplify and create
50 `cfengine-mode-syntax-functions-regex' on demand.
51 (cfengine3-format-function-docstring): Don't call
52 `cfengine3-make-syntax-cache' explicitly.
54 2013-12-13 Martin Rudalics <rudalics@gmx.at>
56 Fix windmove-find-other-window broken after pixelwise resizing
58 * windmove.el (windmove-other-window-loc): Revert change from
60 (windmove-find-other-window): Call window-in-direction.
61 * window.el (window-in-direction): New arguments SIGN, WRAP and
62 MINI to emulate original windmove-find-other-window behavior.
64 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
66 * simple.el (blink-matching--overlay): New variable.
67 (blink-matching-open): Instead of moving point, highlight the
68 matching paren with an overlay
69 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
71 * faces.el (paren-showing-faces, show-paren-match)
72 (show-paren-mismatch): Move from paren.el.
74 2013-12-13 Leo Liu <sdl.web@gmail.com>
76 * indent.el (indent-region): Disable progress reporter in
77 minibuffer. (Bug#16108)
79 * bindings.el (visual-order-cursor-movement): Fix version.
81 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
83 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
84 Also match after beginning of line.
85 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
86 files. Thanks to Russell Sim. (Bug#15378)
88 2013-12-13 Juri Linkov <juri@jurta.org>
90 * simple.el <Keypad support>: Remove key bindings duplicated
91 with bindings.el. (Bug#14397)
93 2013-12-13 Juri Linkov <juri@jurta.org>
95 * comint.el (comint-mode-map): Replace `delete-char' with
96 `delete-forward-char'. (Bug#16109)
98 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
100 * progmodes/python.el (python-indent-calculate-indentation):
101 Fix de-denters cornercase. (Bug#15731)
103 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
105 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
106 (advice--make): Pay attention to `depth'.
107 (advice--make-1): Don't autoload commands eagerly.
108 * emacs-lisp/elp.el (elp-instrument-function):
109 * emacs-lisp/trace.el (trace-function-internal):
110 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
112 * iswitchb.el (iswitchb-mode): Don't belittle ido.
114 2013-12-12 Eli Zaretskii <eliz@gnu.org>
116 * term/w32-win.el (w32-handle-dropped-file):
117 * startup.el (normal-top-level):
118 * net/browse-url.el (browse-url-file-url):
119 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
120 decode file names using 'utf-8' rather than
121 file-name-coding-system.
123 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
125 * progmodes/python.el (python-indent-context)
126 (python-indent-calculate-indentation): Fix auto-identation
127 behavior for comment blocks. (Bug#15916)
129 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
131 * progmodes/python.el (python-indent-calculate-indentation):
132 When determining indentation, don't treat "return", "pass", etc., as
133 operators when they are just string constituents. (Bug#15812)
135 2013-12-12 Juri Linkov <juri@jurta.org>
137 * uniquify.el (uniquify-buffer-name-style): Change default to
138 `post-forward-angle-brackets'.
140 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
141 `uniquify'. Change default to `post-forward-angle-brackets'.
143 2013-12-11 Glenn Morris <rgm@gnu.org>
145 * emacs-lisp/package.el (finder-list-matches):
146 Autoload rather than falsely declaring.
148 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
150 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
151 (eww-mode-map): Use them.
153 2013-12-11 Martin Rudalics <rudalics@gmx.at>
155 * window.el (display-buffer-in-side-window): Fix doc-string
158 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
160 * vc/vc-git.el: Silence byte-compiler warnings.
161 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
162 (log-edit-set-header): Declare.
164 2013-12-11 Eli Zaretskii <eliz@gnu.org>
166 * Makefile.in (custom-deps, finder-data): Run output file names
167 through unmsys--file-name. (Bug#16099)
169 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
171 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
172 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
174 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
175 instead of deleting the selection "by hand" (bug#16098).
176 Rely on insert-for-yank to yank rectangles.
177 (cua-highlight-region-shift-only): Mark obsolete.
178 (cua-mode): Don't enable/disable transient-mark-mode,
179 shift-select-mode (cua-mode works both with and without them), and
180 pc-selection-mode (obsolete).
181 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
182 (cua--deactivate-rectangle): Deactivate it.
184 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
185 (delete-selection-helper): Make sure yank starts at the top of the
187 (minibuffer-keyboard-quit): Use region-active-p.
189 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
191 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
192 to `delete' (bug#16109).
194 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
196 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
197 info manual and show keybindings and set `:group' keyword.
199 2013-12-11 Juri Linkov <juri@jurta.org>
201 * delsel.el (delete-active-region): Let-bind `this-command'
202 to prevent `kill-region' from changing its original value.
203 (delete-selection-helper): Handle `overwrite-mode' for the type
204 `kill' exactly the same way as for the type `t'.
205 (insert-char, quoted-insert, reindent-then-newline-and-indent):
206 Support more commands. (Bug#13312)
208 2013-12-11 Juri Linkov <juri@jurta.org>
210 * bindings.el: Map kp keys to non-kp keys systematically
211 with basic modifiers control, meta and shift. (Bug#14397)
213 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
215 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
216 "Close browser" menu items. Fix wrong function of "List
219 2013-12-11 Juri Linkov <juri@jurta.org>
221 * misearch.el (multi-isearch-buffers): Set the value of
222 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
223 arg of isearch-forward to t.
224 (multi-isearch-buffers-regexp): Set the value of
225 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
226 arg of isearch-forward-regexp to t.
227 (multi-isearch-files): Set the value of
228 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
229 arg of isearch-forward to t.
230 (multi-isearch-files-regexp): Set the value of
231 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
232 arg of isearch-forward-regexp to t. (Bug#16035)
234 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
235 arg of isearch-forward to t.
236 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
237 arg of isearch-forward-regexp to t.
238 (dired-isearch-filter-filenames): Remove unnecessary check for
239 `dired-isearch-filenames'.
241 * comint.el (comint-history-isearch-backward):
242 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
243 (comint-history-isearch-backward-regexp):
244 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
246 2013-12-10 Eli Zaretskii <eliz@gnu.org>
248 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
249 unmsys--file-name. (Bug#16099)
251 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
253 * emacs-lisp/package.el (package-keyword-button-action):
254 Remove finder.el require dependency.
256 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
258 * emacs-lisp/package.el: Require finder.el.
259 (describe-package-1): Add keyword buttons.
260 (package-make-button): New convenience function.
261 (package-keyword-button-action): Keyword button action using
262 `finder-list-matches'
264 2013-12-09 Eli Zaretskii <eliz@gnu.org>
266 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
269 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
271 * autorevert.el (auto-revert-notify-add-watch): Do not handle
274 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
276 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
277 after the end of a percent literal.
279 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
281 * progmodes/ruby-mode.el (ruby-forward-string): Document.
282 Handle caret-delimited strings (Bug#16079).
284 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
286 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
287 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
288 `ruby-parse-partial' (Bug#16078).
290 2013-12-09 Leo Liu <sdl.web@gmail.com>
292 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
294 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
296 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
297 (js-switch-indent-offset): New option.
298 (js--proper-indentation): Use it. And handle the case when
299 "default" is actually a key in an object literal.
300 (js--same-line): New function.
301 (js--multi-line-declaration-indentation): Use it.
302 (js--indent-in-array-comp, js--array-comp-indentation):
304 (js--proper-indentation): Use them, to handle array comprehension
307 2013-12-08 Leo Liu <sdl.web@gmail.com>
309 * progmodes/flymake.el (flymake-highlight-line): Re-write.
310 (flymake-make-overlay): Remove arg MOUSE-FACE.
311 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
313 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
315 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
317 (redisplay-highlight-region-function): Use it.
319 * emulation/cua-base.el (cua--explicit-region-start)
320 (cua--last-region-shifted): Remove.
321 (cua--deactivate): Use deactivate-mark.
322 (cua--pre-command-handler-1): Don't handle shift-selection.
323 (cua--post-command-handler-1): Don't change transient-mark-mode.
324 (cua--select-keymaps): Use region-active-p rather than
325 cua--explicit-region-start or cua--last-region-shifted.
326 (cua-mode): Enable shift-select-mode.
328 2013-12-08 Leo Liu <sdl.web@gmail.com>
330 * progmodes/flymake.el (flymake-popup-current-error-menu):
331 Rename from flymake-display-err-menu-for-current-line. Reimplement.
332 (flymake-posn-at-point-as-event, flymake-popup-menu)
333 (flymake-make-emacs-menu): Remove. (Bug#16077)
335 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
337 * rect.el (rectangle-mark-mode): Activate mark even if
338 transient-mark-mode is off (bug#16066).
339 (rectangle--highlight-for-redisplay): Fix boundary condition when point
340 is > mark and at bolp.
342 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
343 (region-extract-function): Use it.
344 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
345 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
347 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
348 kill-ring-save, kill-region, delete-char, delete-forward-char.
349 Ignore self-insert-iso.
351 * emulation/cua-gmrk.el (cua--init-global-mark):
352 Ignore `self-insert-iso'.
354 * emulation/cua-base.el (cua--prefix-copy-handler)
355 (cua--prefix-cut-handler): Rely on region-extract-function rather than
356 checking cua--rectangle.
357 (cua-delete-region): Use region-extract-function.
358 (cua-replace-region): Delete function.
359 (cua-copy-region, cua-cut-region): Obey region-extract-function.
360 (cua--pre-command-handler-1): Don't do the delete-selection thing.
361 (cua--self-insert-char-p): Ignore `self-insert-iso'.
362 (cua--init-keymaps): Don't remap delete-selection commands.
363 (cua-mode): Use delete-selection-mode instead of rolling our own
366 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
367 Obey region-extract-function.
369 Make registers and delete-selection-mode work on rectangles.
370 * register.el (describe-register-1): Don't modify the register's value.
371 (copy-to-register): Obey region-extract-function.
372 * delsel.el (delete-active-region): Obey region-extract-function.
374 2013-12-08 Leo Liu <sdl.web@gmail.com>
376 * progmodes/flymake.el (flymake, flymake-error-bitmap)
377 (flymake-warning-bitmap, flymake-fringe-indicator-position)
378 (flymake-compilation-prevents-syntax-check)
379 (flymake-start-syntax-check-on-newline)
380 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
381 (flymake-start-syntax-check-on-find-file, flymake-log-level)
382 (flymake-xml-program, flymake-master-file-dirs)
383 (flymake-master-file-count-limit)
384 (flymake-allowed-file-name-masks): Relocate.
385 (flymake-makehash, flymake-float-time)
386 (flymake-replace-regexp-in-string, flymake-split-string)
387 (flymake-get-temp-dir): Remove.
388 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
389 (flymake-current-row, flymake-selected-frame)
390 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
391 related functions. (Bug#16077)
393 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
395 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
397 2013-12-07 Tassilo Horn <tsdh@gnu.org>
399 * help-fns.el (describe-function-1): Use new advice-* functions
400 rather than old ad-* functions. Fix function type description and
401 source links for advised functions and subrs.
403 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
405 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
407 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
409 * progmodes/compile.el (compilation-start):
410 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
412 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
413 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
415 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
417 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
418 Touch up the last change.
420 2013-12-06 Leo Liu <sdl.web@gmail.com>
422 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
423 (inferior-octave-startup): Always use "octave> " for prompt.
424 (octave-goto-function-definition)
425 (octave-sync-function-file-names)
426 (octave-find-definition-default-filename): Remove redundant backquotes.
428 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
430 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
432 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
433 where appropriate already.
434 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
435 end of method names (Bug#15874).
437 2013-12-06 Juri Linkov <juri@jurta.org>
439 * isearch.el (isearch--saved-overriding-local-map):
440 New internal variable.
441 (isearch-mode): Set it to the initial value of
442 `overriding-terminal-local-map'.
443 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
444 with `isearch--saved-overriding-local-map'. (Bug#16035)
446 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
448 * progmodes/octave.el (inferior-octave-completion-table):
449 Turn back into function, use `completion-table-with-cache'
450 (Bug#11906). Update all references.
452 * minibuffer.el (completion-table-with-cache): New function.
454 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
456 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
458 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
460 * net/eww.el (eww-current-source): New variable to store page
462 (eww-display-html, eww-mode, eww-save-history)
463 (eww-restore-history): Use it.
464 (eww-view-source): New command to view page source.
465 Opportunistically uses `html-mode' to highlight the buffer.
466 (eww-mode-map): Install it.
468 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
470 * net/dbus.el (dbus-unregister-service)
471 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
473 (dbus-unregister-service): Skip :serial entries in
474 `dbus-registered-objects-table'.
475 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
477 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
479 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
480 around keywords with extra `split-string' argument.
482 2013-12-04 Martin Rudalics <rudalics@gmx.at>
484 * windmove.el (windmove-other-window-loc): Handle navigation
485 between windows (excluding the minibuffer window - Bug#16017).
487 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
489 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
490 in D-Bus type syntax.
491 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
492 preserve unibyte strings. (Bug#16048)
494 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
496 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
497 Call force-mode-line-update is the proper buffer (bug#16042).
499 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
501 * vc/log-edit.el (log-edit-add-new-comment): Rename to
502 `log-edit-remember-comment', make argument optional. Adjust all
504 (log-edit-mode): Add `log-edit-remember-comment' to
505 `kill-buffer-hook' locally.
506 (log-edit-kill-buffer): Don't remember comment explicitly since
507 the buffer is killed anyway.
509 2013-12-04 Juri Linkov <juri@jurta.org>
511 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
512 add-hook and remove-hook for multi-buffer search. (Bug#16035)
514 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
516 * notifications.el (notifications-close-notification): Call the
517 D-Bus method with ID being a `:uint32'. (Bug#16030)
519 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
521 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
523 2013-12-03 Juri Linkov <juri@jurta.org>
525 * progmodes/compile.el (compilation-start): Rename window alist
526 entry `no-display-ok' to `allow-no-window'.
528 * simple.el (shell-command): Add window alist entry
529 `allow-no-window' to `display-buffer'.
530 (async-shell-command): Doc fix.
532 * window.el (display-buffer-no-window): New action function.
533 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
535 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
537 * vc/log-edit.el (log-edit-set-header): Extract from
538 `log-edit-toggle-header'.
539 (log-edit-extract-headers): Separate the summary, when extracted
540 from header, from the rest of the message with an empty line.
542 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
543 line, if present, to the Summary header.
545 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
547 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
548 in current-buffer (bug#16029).
550 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
552 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
553 (debugger-mode-map): Bind it.
554 (debugger--backtrace-base): New function.
555 (debugger-eval-expression): Use it.
556 (debugger-frame-number): Skip local vars when present.
557 (debugger--locals-visible-p, debugger--insert-locals)
558 (debugger--show-locals, debugger--hide-locals): New functions.
560 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
562 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
564 (tramp-get-remote-locale): New defun.
565 (tramp-open-connection-setup-interactive-shell): Use it.
567 2013-12-02 Leo Liu <sdl.web@gmail.com>
569 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
571 * progmodes/sh-script.el (sh-shell-process):
572 * progmodes/octave.el (inferior-octave-process-live-p):
573 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
574 (gdb-inferior-io-sentinel):
575 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
577 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
579 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
580 `save-selected-window' to `log-edit-hide-buf'. This makes
581 `log-edit-show-files' idempotent.
582 (log-edit-show-files): Mark the new window as dedicated.
584 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
586 * vc/log-edit.el (log-edit-mode-map): Add binding for
587 `log-edit-kill-biffer'.
588 (log-edit-hide-buf): Add a FIXME comment.
589 (log-edit-add-new-comment): New function, extracted from
591 (log-edit-done, log-edit-add-to-changelog): Use it.
592 (log-edit-kill-buffer): New command.
594 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
596 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
597 instead of killing the buffer.
599 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
601 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
603 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
605 * net/eww.el (eww-form-checkbox-selected-symbol)
606 (eww-form-checkbox-symbol): New customizable variable.
607 (eww-form-checkbox, eww-toggle-checkbox):
608 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
610 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
611 (shr--get-media-pref, shr--extract-best-source): New function.
612 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
613 no :src tag was specified.
615 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
616 (eww-render): Handle `eww-use-external-browser-for-content-type'.
617 Use \\` to match beginning of string instead of ^.
618 (eww-browse-with-external-browser): Provide optional URL parameter.
619 (eww-render): Set `eww-current-title' back to "".
621 * net/shr.el (shr-tag-video): Display content for video if no
623 (shr-tag-audio): Add support for <audio> tag.
625 * net/eww.el (eww-text-input-types): : New const.
626 (eww-process-text-input): Treat input types in
627 `eww-text-input-types' as text.
629 * net/shr.el (shr-tag-table): Fix comment typo.
631 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
633 * net/eww.el (eww-follow-link): New command to avoid reloading
634 pages when we follow #target links (bug#15243).
635 (eww-quit): Special mode buffers shouldn't query before exiting.
637 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
639 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
642 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
644 * net/eww.el (eww-restore-history): Update the window title after
645 moving in the history.
646 (eww-current-dom): New variable used to save the current DOM.
648 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
650 * vc/log-edit.el (log-edit-mode-map): Add binding for
651 `log-edit-beginning-of-line'.
652 (log-edit-setup-add-author): New user option.
653 (log-edit-beginning-of-line): New command.
654 (log-edit): Move major mode call above the contents setup so that
655 the local variable values are already applied.
656 (log-edit): Only insert "Author: " when
657 `log-edit-setup-add-author' is non-nil.
658 (log-edit): When SETUP is non-nil, position point after ": "
659 instead of point-min.
661 2013-12-01 Glenn Morris <rgm@gnu.org>
663 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
665 2013-11-30 Eli Zaretskii <eliz@gnu.org>
667 * startup.el (fancy-splash-frame): On MS-Windows, trigger
668 redisplay to make sure the initial frame gets a chance to become
671 2013-11-30 Martin Rudalics <rudalics@gmx.at>
673 Support resizing frames and windows pixelwise.
674 * cus-start.el (frame-resize-pixelwise)
675 (window-resize-pixelwise): New entries.
676 * emacs-lisp/debug.el (debug): Use window-total-height instead
677 of window-total-size.
678 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
679 * help.el (describe-bindings-internal): Call help-buffer
680 (temp-buffer-max-width): New option.
681 (resize-temp-buffer-window, help-window-setup)
682 (with-help-window): Rewrite.
683 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
685 * window.el (frame-char-size, window-min-pixel-height)
686 (window-safe-min-pixel-height, window-safe-min-pixel-width)
687 (window-min-pixel-width, window-safe-min-pixel-size)
688 (window-combination-p, window-safe-min-size)
689 (window-resizable-p, window--size-to-pixel)
690 (window--pixel-to-size, window--resize-apply-p): New functions.
691 (window-safe-min-height): Fix doc-string.
692 (window-size, window-min-size, window--min-size-1)
693 (window-sizable, window-sizable-p, window--min-delta-1)
694 (window-min-delta, window--max-delta-1, window-max-delta)
695 (window--resizable, window--resizable-p, window-resizable)
696 (window-full-height-p, window-full-width-p, window-at-side-p)
697 (window--in-direction-2, window-in-direction)
698 (window--resize-reset-1, window--resize-mini-window)
699 (window-resize, window-resize-no-error)
700 (window--resize-child-windows-normal)
701 (window--resize-child-windows, window--resize-siblings)
702 (window--resize-this-window, window--resize-root-window)
703 (window--resize-root-window-vertically)
704 (adjust-window-trailing-edge, enlarge-window, shrink-window)
705 (maximize-window, minimize-window, delete-window)
706 (quit-restore-window, window-split-min-size, split-window)
707 (balance-windows-2, balance-windows)
708 (balance-windows-area-adjust, balance-windows-area)
709 (window--state-get-1, window-state-get, window--state-put-1)
710 (window--state-put-2, window-state-put)
711 (display-buffer-record-window, window--display-buffer):
712 Make functions handle pixelwise sizing of windows.
713 (display-buffer--action-function-custom-type)
714 (display-buffer-fallback-action):
715 Add display-buffer-in-previous-window.
716 (display-buffer-use-some-window): Resize window to height it had
718 (fit-window-to-buffer-horizontally): New option.
719 (fit-frame-to-buffer): Describe new values.
720 (fit-frame-to-buffer-bottom-margin): Replace with
721 fit-frame-to-buffer-margins.
722 (window--sanitize-margin): New function.
723 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
724 using window-text-pixel-size.
726 2013-11-30 Glenn Morris <rgm@gnu.org>
728 * emacs-lisp/bytecomp.el (byte-compile-form):
729 Make the `interactive-only' warning like the `obsolete' one.
730 * comint.el (comint-run):
731 * files.el (insert-file-literally, insert-file):
732 * replace.el (replace-string, replace-regexp):
733 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
734 (goto-line, insert-buffer, next-line, previous-line):
735 Tweak `interactive-only' spec.
737 Stop keeping (most) generated cedet grammar files in the repository.
738 * Makefile.in (semantic): New.
739 (compile-main): Depend on semantic.
741 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
743 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
744 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
746 * uniquify.el (uniquify-buffer-name-style): Change default.
748 * loadup.el: Preload "uniquify".
750 * time.el (display-time-update): Update all mode lines (bug#15999).
752 * electric.el (electric-indent-mode): Enable by default.
753 * loadup.el: Preload "electric".
755 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
757 * emacs-lisp/helpers.el (string-empty-p): New function.
758 (string-blank-p): New function.
760 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
762 * imenu.el (imenu--index-alist): Add missing dot to the docstring
765 2013-11-29 Andreas Politz <politza@fh-trier.de>
766 * imenu.el (imenu--subalist-p): Don't error on non-conses and
767 allow non-lambda lists as functions.
768 (imenu--in-alist): Don't recurse into non-subalists.
769 (imenu): Don't pass function itself as an argument (Bug#14029).
771 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
773 * progmodes/python.el (python-mode-map): Remove binding for ":".
774 (python-indent-electric-colon): Remove command.
775 (python-indent-post-self-insert-function): Integrate the previous code
776 of python-indent-electric-colon. Make it conditional on
777 electric-indent-mode.
778 (python-mode): Add ?: to electric-indent-chars.
779 Move python-indent-post-self-insert-function to the end of
780 post-self-insert-hook.
782 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
784 * doc-view.el (doc-view-goto-page): Update mode-line.
786 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
788 2013-11-27 Glenn Morris <rgm@gnu.org>
790 * international/charprop.el, international/uni-bidi.el:
791 * international/uni-category.el, international/uni-combining.el:
792 * international/uni-comment.el, international/uni-decimal.el:
793 * international/uni-decomposition.el, international/uni-digit.el:
794 * international/uni-lowercase.el, international/uni-mirrored.el:
795 * international/uni-name.el, international/uni-numeric.el:
796 * international/uni-old-name.el, international/uni-titlecase.el:
797 * international/uni-uppercase.el:
798 Remove generated files from VCS repository.
800 2013-11-27 Eli Zaretskii <eliz@gnu.org>
802 * filenotify.el (file-notify-add-watch): Don't special-case
803 w32notify when computing the directory to watch.
805 2013-11-27 Glenn Morris <rgm@gnu.org>
807 Make bootstrap without generated uni-*.el files possible again.
808 * loadup.el: Update command-line-args checking for unidata-gen.
809 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
810 * composite.el, international/characters.el:
811 Handle unicode tables being undefined.
813 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
814 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
815 (compile-main): Depend on leim rule.
817 * loadup.el: Move leim-list.el to leim/ subdirectory.
818 * startup.el (normal-top-level): No more leim directory.
819 * international/ja-dic-cnv.el (skkdic-convert):
820 Disable version-control and autoloads in output files.
821 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
822 Disable version-control and autoloads in output files.
823 * leim/quail: Move here from ../leim.
824 * leim/quail/hangul.el (hangul-input-method-activate):
826 (generated-autoload-load-name): Set file-local value.
827 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
828 (generated-autoload-load-name): Set file-local value.
830 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
832 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
833 (eww-add-bookmark): ask confirmation when add to bookmarks
834 (eww-quit): ask confirmation before quitting eww
836 2013-11-26 Eli Zaretskii <eliz@gnu.org>
838 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
839 reading output from Diff on MS-Windows and MS-DOS.
841 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
843 * emacs-lisp/helpers.el (string-reverse): New function.
845 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
847 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
848 names on MS Windows, like "/[::1]:".
850 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
853 2013-11-26 Glenn Morris <rgm@gnu.org>
855 * progmodes/python.el (python-indent-guess-indent-offset):
856 Avoid corner-case error. (Bug#15975)
858 Preload leim-list.el. (Bug#4789)
859 * loadup.el: Load leim-list.el when found.
860 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
862 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
864 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
866 * emacs-lisp/helpers.el (string-join): New function.
868 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
870 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
871 Mark as obsolete and replace it with a symbol property.
872 (byte-compile-form): Use new 'interactive-only property.
873 * comint.el, files.el, replace.el, simple.el:
874 Apply new 'interactive-only properly.
876 2013-11-25 Martin Rudalics <rudalics@gmx.at>
878 * window.el (display-buffer-at-bottom): Make sure that
879 split-window-sensibly creates the new window on bottom
882 2013-11-23 David Kastrup <dak@gnu.org>
884 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
885 on the conflict markers when available.
886 (smerge--get-marker): New function.
887 (smerge-end-re, smerge-base-re): Add subgroup.
889 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
891 * frame.el (handle-focus-in, handle-focus-out): Add missing
894 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
896 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
897 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
899 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
901 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
902 (gomoku--last-pos): New var.
903 (gomoku--intangible-chars): New const.
904 (gomoku--intangible): New function.
905 (gomoku-mode): Use it. Derive from special-mode.
906 (gomoku-move-up): Adjust line count.
907 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
908 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
909 Simplify accordingly.
911 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
912 Remove blink-cursor code.
913 (blink-cursor-timer-function, blink-cursor-suspend):
914 Don't special-case GUIs.
915 (blink-cursor-mode): Use focus-in/out-hook.
917 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
919 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
920 work when annotation is invisible (Bug#13886).
922 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
924 * json.el (json-alist-p): Only return non-nil if the alist has
925 simple keys (Bug#13518).
927 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
929 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
930 when control-statement is the first statement in a buffer (Bug#15956).
932 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
934 * imenu.el (imenu-generic-skip-comments-and-strings):
935 New option (Bug#15560).
936 (imenu--generic-function): Use it.
938 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
940 * minibuffer.el (completion--in-region-1): Scroll the correct
943 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
945 * emacs-lisp/helpers.el: Add some string helpers.
946 (string-trim-left): Removes leading whitespace.
947 (string-trim-right): Removes trailing whitespace.
948 (string-trim): Removes leading and trailing whitespace.
950 * subr.el (string-suffix-p): New function.
952 2013-11-23 Glenn Morris <rgm@gnu.org>
954 * progmodes/python.el (python-shell-send-file):
955 Add option to delete file when done. (Bug#15647)
956 (python-shell-send-string, python-shell-send-region): Use it.
958 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
960 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
961 to set buffer-read-only to t, never to nil. (Bug#15938)
963 * textmodes/tex-mode.el (latex-noindent-environments):
964 Add safe-local-variable property. (Bug#15936)
966 2013-11-23 Glenn Morris <rgm@gnu.org>
968 * textmodes/enriched.el (enriched-mode): Doc fix.
969 * emacs-lisp/authors.el (authors-renamed-files-alist):
970 Add enriched.doc -> enriched.txt.
972 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
974 2013-11-22 Leo Liu <sdl.web@gmail.com>
976 * progmodes/octave.el (inferior-octave-startup): Spit out error
979 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
981 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
984 (ruby-encoding-magic-comment-style): Add :version.
986 2013-11-22 Leo Liu <sdl.web@gmail.com>
988 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
990 (octave-help-mode): Adapt to change to help-mode-finish to use
991 derived-mode-p on 2013-09-17.
992 (inferior-octave-prompt): Also match octave-gui.
993 (octave-kill-process): Don't ask twice. (Bug#10564)
995 2013-11-22 Leo Liu <sdl.web@gmail.com>
997 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
998 (inferior-octave-startup, inferior-octave-check-process)
999 (inferior-octave-track-window-width-change)
1000 (octave-completion-at-point, octave-eldoc-function): Use it.
1001 (octave-kill-process): Provide confirmation. (Bug#10564)
1003 2013-11-21 Leo Liu <sdl.web@gmail.com>
1005 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1006 Fix obsolete variable comment-use-global-state.
1008 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1010 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1011 Add `octave-source-file'.
1012 (octave-source-file): New function. (Bug#15935)
1014 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1016 * net/eww.el (eww-local-regex): New variable.
1017 (eww): Use it to detect localhost and similar.
1019 2013-11-21 Leo Liu <sdl.web@gmail.com>
1021 Add completion for command `ag'.
1022 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1023 (pcomplete/ag): New function.
1024 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1026 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1028 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1030 (make-obsolete): Remove interactive spec.
1032 2013-11-21 Glenn Morris <rgm@gnu.org>
1034 * startup.el (command-line-1): Use path-separator with -L.
1036 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1038 * emacs-lisp/package.el (describe-package-1): Add package archive
1041 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1043 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1044 Change default to "# encoding: %s" to differentiate it from the
1045 default Ruby encoding comment template.
1047 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1049 * ses.el (ses-mode): Doc fix. (Bug#14748)
1051 2013-11-20 Leo Liu <sdl.web@gmail.com>
1053 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1055 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1057 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1058 when rebase or bisect are in progress.
1060 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1062 * filenotify.el (file-notify-add-watch): Doc fix.
1064 2013-11-19 Leo Liu <sdl.web@gmail.com>
1066 * obsolete/rcompile.el: Mark obsolete.
1068 * progmodes/compile.el (compilation-start)
1069 (compilation-goto-locus, compilation-find-file):
1070 Pass no-display-ok and handle nil value from display-buffer.
1073 * window.el (display-buffer-alist, display-buffer): Document the
1074 new parameter no-display-ok. Return either a window or nil
1075 but never a non-window value.
1077 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1079 * electric.el (electric-indent-mode-map): Remove.
1080 (electric-indent-mode): Change the global-map instead (bug#15915).
1082 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1085 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1087 * emacs-lisp/nadvice.el (remove-function): Align with
1088 add-function's behavior.
1090 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1091 (gdb--string-regexp): New constant.
1092 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1093 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1094 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1096 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1097 Adjust use accordingly.
1098 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1100 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1102 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1103 interpolation curlies (Bug#15914).
1105 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1107 * calc/calc.el (calc-context-sensitive-enter): New variable.
1108 (calc-enter): Use `calc-context-sensitive-enter'.
1110 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1112 * progmodes/cfengine.el: Version bump.
1113 (cfengine-cf-promises): New defcustom to locate cf-promises.
1114 (cfengine3-vartypes): Add new "data" type.
1115 (cfengine3--current-word): New function to get current name-like
1117 (cfengine3--current-function): New function to look up a CFEngine
1118 function's definition.
1119 (cfengine3-format-function-docstring): New function.
1120 (cfengine3-make-syntax-cache): New function.
1121 (cfengine3-documentation-function): New function: ElDoc glue.
1122 (cfengine3-completion-function): New function: completion glue.
1123 (cfengine3-mode): Set `compile-command',
1124 `eldoc-documentation-function', and add to
1125 `completion-at-point-functions'.
1127 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1129 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1130 `tramp-current-connection'.
1132 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1134 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1135 nil/self/true/false with "end of symbol".
1137 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1139 * subr.el (version-regexp-alist): Fix a typo.
1141 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1143 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1144 "en_US.utf8" and "LC_CTYPE" to "".
1145 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1146 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1148 2013-11-15 Leo Liu <sdl.web@gmail.com>
1150 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1152 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1154 * progmodes/gud.el (ctl-x-map):
1155 Remove C-x SPC binding. (Bug#12342)
1156 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1158 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1160 * subr.el (version-regexp-alist):
1161 Recognize hg, svn and darcs versions as snapshot versions.
1163 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1164 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1165 (ruby--encoding-comment-required-p): Extract from
1166 `ruby-mode-set-encoding'.
1167 (ruby-mode-set-encoding): Add the ability to always insert an
1168 utf-8 encoding comment. Fix and simplify coding comment update
1171 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1173 * net/tramp-gvfs.el (top): Run init code only when
1174 `tramp-gvfs-enabled' is not nil.
1175 (tramp-gvfs-enabled): Check also :system bus.
1177 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1179 Sync with upstream verilog-mode revision 78e66ba.
1180 * progmodes/verilog-mode.el (verilog-end-of-defun)
1181 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1182 (verilog-get-end-of-defun): Remove unused argument.
1183 (verilog-comment-depth): Remove unused local `e'.
1184 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1185 Don't pass arg to verilog-get-end-of-defun.
1187 2013-11-14 Glenn Morris <rgm@gnu.org>
1189 * obsolete/assoc.el (aget): Prefix dynamic variable.
1191 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1193 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1195 * widget.el, hfy-cmap.el: Remove bogus package version number.
1197 2013-11-13 Glenn Morris <rgm@gnu.org>
1199 * replace.el (replace-eval-replacement):
1200 Try to give more helpful error message. (Bug#15836)
1202 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1203 (archive-7z-update): Avoid custom type mismatches.
1205 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1207 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1209 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1210 address can be empty.
1212 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1213 Accept nil SWITCHES.
1214 (tramp-gvfs-handle-write-region): Implement APPEND.
1216 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1218 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1219 binary "|" operator and closing block args delimiter.
1220 Remove FIXME comment referring to Ruby 1.8-only syntax.
1221 (ruby-smie--implicit-semi-p): Not after "|" operator.
1222 (ruby-smie--closing-pipe-p): New function.
1223 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1224 (ruby-smie-rules): Indent after "|".
1226 2013-11-12 Glenn Morris <rgm@gnu.org>
1228 * ps-print.el (ps-face-attribute-list):
1229 Handle anonymous faces. (Bug#15827)
1231 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1233 * window.el (display-buffer-other-frame): Fix doc-string.
1236 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1240 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1242 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1243 (tramp-sh-handle-file-local-copy): Don't write a message when
1244 saving temporary files.
1246 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1247 both directories are remote.
1248 (tramp-smb-handle-directory-files): Do not return double entries.
1249 Do not expand full file names.
1250 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1251 (tramp-smb-handle-write-region): Implement APPEND.
1252 (tramp-smb-get-stat-capability): Fix a stupid bug.
1254 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1256 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1258 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1260 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1261 throwing error over malformed let/let* (bug#15814).
1263 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1265 * iswitchb.el (iswitchb-mode): Mark obsolete.
1267 2013-11-11 Glenn Morris <rgm@gnu.org>
1269 * international/uni-bidi.el, international/uni-category.el:
1270 * international/uni-name.el, international/uni-numeric.el:
1271 Regenerate for Unicode 6.3.0.
1273 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1275 * net/tramp.el (tramp-methods):
1276 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1277 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1279 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1281 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1282 Force highlighting text after Summary keyword in doc face for rpm.
1284 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1286 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1287 available and the word has no wildcards, append one to the grep pattern.
1288 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1289 (ispell-complete-word): Call `ispell-lookup-words' with the value
1290 independent of `ispell-look-p'.
1292 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1294 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1296 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1299 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1301 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1302 (ruby-font-lock-keywords): Use backquote.
1304 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1306 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1307 (ruby-smie--backward-token): Only consider full-string matches.
1309 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1311 * faces.el (describe-face): Add distant-foreground.
1313 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1315 * progmodes/ruby-mode.el: Improve encoding comment handling.
1316 (ruby-encoding-magic-comment-style): New option.
1317 (ruby-custom-encoding-magic-comment-template): New option.
1318 (ruby--insert-coding-comment, ruby--detect-encoding):
1319 New functions extracted from `ruby-mode-set-encoding'.
1320 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1321 to control the style of the auto-inserted encoding comment.
1323 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1325 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1326 Use `smie-backward-sexp' with token argument.
1328 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1330 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1331 Remove instrumentation code.
1333 2013-11-08 Glenn Morris <rgm@gnu.org>
1335 * progmodes/autoconf.el (autoconf-mode):
1336 Tweak comment-start-skip. (Bug#15822)
1338 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1340 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1341 at bobp (bug#15826).
1342 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1344 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1346 * man.el (Man-start-calling): New macro, extracted from
1347 Man-getpage-in-background.
1348 (Man-getpage-in-background): Use it.
1349 (Man-update-manpage): New command.
1350 (Man-mode-map): Bind it.
1352 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1354 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1355 of "and", "or", "&&" and "||".
1356 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1357 argument. Prohibit opening curly brace because it could only be a
1358 block opener in that position.
1359 (ruby-smie--forward-token, ruby-smie--backward-token):
1360 Separate "|" from "&" or "*" going after it. That can happen in block
1362 (ruby-smie--indent-to-stmt): New function, seeks the end of
1363 previous statement or beginning of buffer.
1364 (ruby-smie-rules): Use it.
1365 (ruby-smie-rules): Check if there's a ":" before a curly block
1366 opener candidate; if there is, it's a hash.
1368 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1370 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1371 (cl--block-wrapper): Fix last accidental change.
1373 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1375 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1376 Instrument, in order to hunt failure on hydra.
1378 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1380 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1381 malformed bindings form (bug#15814).
1383 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1385 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1386 "." compared to " @ ". This incidentally fixes some indentation
1388 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1389 (ruby-smie-grammar): New tokens: "and" and "or".
1390 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1391 Exclude "and" and "or". Remove "do" in order to work around token
1393 (ruby-smie-rules): Add all infix tokens. Handle the case of
1394 beginning-of-buffer.
1396 2013-11-06 Glenn Morris <rgm@gnu.org>
1398 * Makefile.in (setwins_almost, setwins_for_subdirs):
1399 Avoid accidental matches.
1401 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1403 * menu-bar.el (popup-menu): Use key-binding.
1405 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1407 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1408 menus, support also the menus produced by minor modes.
1411 2013-11-06 Leo Liu <sdl.web@gmail.com>
1413 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1414 DISTANCE to bound the search. All uses changed. (Bug#15808)
1416 2013-11-06 Glenn Morris <rgm@gnu.org>
1418 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1419 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1420 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1422 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1424 * electric.el (electric-indent-just-newline): New command.
1425 (electric-indent-mode-map): New keymap.
1426 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1427 Re-add :group which weren't redundant.
1429 * electric.el (electric-indent-local-mode): New minor mode.
1430 (electric-indent-functions-without-reindent): New var.
1431 (electric-indent-post-self-insert-function): Use it.
1432 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1434 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1436 * international/quail.el (quail-help): Be more explicit about the
1437 meaning of the labels shown on the keys. (Bug#15800)
1439 * startup.el (normal-top-level): Load the subdirs.el files before
1440 setting the locale environment. (Bug#15805)
1442 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1444 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1445 via arguments so as to get the right ones (bug#15418).
1447 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1449 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1451 Fix problems found while writing a test suite.
1453 * net/tramp-compat.el (tramp-compat-load): New defun.
1454 * net/tramp.el (tramp-handle-load): Use it.
1456 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1457 "(numberp ok-if-already-exists)" correctly.
1459 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1461 * international/characters.el (glyphless-char-display-control):
1464 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1466 * progmodes/python.el (python-mode):
1467 * progmodes/scheme.el (scheme-mode):
1468 * progmodes/prolog.el (prolog-mode):
1469 * progmodes/ruby-mode.el (ruby-mode):
1470 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1471 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1473 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1475 * rect.el (rectangle--highlight-for-redisplay):
1476 * emacs-lisp/smie.el (smie--next-indent-change):
1477 Use buffer-chars-modified-tick.
1479 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1481 * electric.el (electric-indent-post-self-insert-function):
1482 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1484 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1486 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1488 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1490 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1493 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1495 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1497 * progmodes/python.el: Fix up last change.
1498 (python-shell--save-temp-file): New function.
1499 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1500 `string' comes from the current buffer.
1501 (python-shell-send-string-no-output): Remove `msg' arg.
1502 (python--use-fake-loc): New var.
1503 (python-shell-buffer-substring): Obey it. Try to compensate for the
1504 extra coding line added by python-shell--save-temp-file.
1505 (python-shell-send-region): Use python-shell--save-temp-file and
1506 python-shell-send-file directly. Add `nomain' argument.
1507 (python-shell-send-buffer): Use python-shell-send-region.
1508 (python-electric-pair-string-delimiter): New function.
1509 (python-mode): Use it.
1511 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1513 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1514 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1515 environment and decoding all of the default-directory's to here
1517 (command-line): Decode also argv[0].
1519 * loadup.el: Error out if default-directory is a multibyte string
1520 when we are dumping.
1522 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1524 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1526 * emacs-lisp/package.el (package-menu-mode)
1527 (package-menu--print-info, package-menu--archive-predicate):
1528 Add Archive column to package list.
1530 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1532 Fix problems found while writing a test suite.
1534 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1535 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1536 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1537 to nil when running original file name handler. Otherwise,
1538 there are problems with constructs like "$$FOO".
1540 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1543 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1545 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1547 * subr.el (version<, version<=, version=):
1548 Update docstrings with information for snapshot versions.
1550 * helpers.el: New library for misc helper functions.
1551 (hash-table-keys): New function returning a list of hash keys.
1552 (hash-table-values): New function returning a list of hash values.
1554 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1556 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1557 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1559 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1561 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1562 checking whether point is after a 1-letter word.
1564 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1566 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1567 Don't infloop when expanding region over `multiline' syntax-type that
1568 begins a line (bug#15778).
1570 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1572 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1573 Make it into a proper minor mode.
1574 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1575 (rectangle-mark-mode-map): New keymap.
1576 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1578 2013-11-04 Glenn Morris <rgm@gnu.org>
1580 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1582 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1584 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1585 (ruby-smie-rules): Use smie-rule-parent instead.
1587 * emacs-lisp/smie.el (smie-rule-parent): Always call
1588 smie-indent-virtual rather than only for hanging tokens.
1589 (smie--next-indent-change): New helper command.
1591 2013-11-03 Glenn Morris <rgm@gnu.org>
1593 * Makefile.in (abs_srcdir): Remove.
1594 (emacs): Unset EMACSLOADPATH.
1596 2013-11-02 Glenn Morris <rgm@gnu.org>
1598 * Makefile.in (EMACS): Use a relative filename.
1599 (abs_top_builddir): Remove.
1600 (custom-deps, finder-data, autoloads): Use --chdir.
1602 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1604 Use relative filenames in TAGS files.
1605 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1606 (lisptagsfiles4, TAGS): Use relative file names.
1607 (TAGS-LISP): Remove.
1608 (maintainer-clean): No more TAGS-LISP file.
1610 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1611 (lisptagsfiles4): Use absolute filenames again.
1612 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1613 Remove all *loaddefs files, not just the first. Remove esh-groups.
1614 (maintainer-clean): Delete TAGS, TAGS-LISP.
1616 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1618 * emacs-lisp/package.el (package-version-join):
1619 Recognize snapshot versions.
1621 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1623 * subr.el (version-regexp-alist): Add support for snapshot versions.
1625 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1627 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1628 New function, replacement for `smie-rule-parent' for when we want to
1629 skip over our direct parent if it's an assignment token..
1630 (ruby-smie-rules): Use it.
1632 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1634 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1635 unconditionally. Remove now unnecessary forward declarations.
1636 Remove XEmacs-specific setup.
1637 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1638 (ruby-font-lock-syntactic-keywords)
1639 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1640 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1641 (ruby-here-doc-end-syntax): Remove.
1642 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1643 defined as function.
1645 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1647 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1649 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1651 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1652 table and abbrev table, `define-derived-mode' does that for us
1655 2013-11-01 Glenn Morris <rgm@gnu.org>
1657 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1658 files is atomic for some time, so no parallel compilation issues).
1660 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1662 * faces.el (face-x-resources): Add :distant-foreground.
1663 (region): Use :distant-foreground for gtk and ns.
1665 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1667 Allow multiple bibliographies when BibLaTeX is used rather than
1669 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1670 (reftex-locate-bibliography-files): Us it.
1672 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1674 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1675 allow comments in pbm files.
1677 * term/w32-win.el (dynamic-library-alist): Support newer versions
1678 of libjpeg starting with v7: look only for the DLL from the
1679 version against which Emacs was built.
1680 Support versions of libpng beyond 1.4.x.
1681 Support libtiff v4.x.
1683 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1685 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1686 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1688 (ruby-deep-arglist): Add property :type.
1690 2013-10-31 Glenn Morris <rgm@gnu.org>
1692 * Makefile.in (custom-deps, finder-data): No need to setq the target
1693 variables, we are in the right directory and the defaults work fine.
1695 2013-10-30 Glenn Morris <rgm@gnu.org>
1697 * Makefile.in (autoloads): Do not use abs_lisp.
1699 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1700 `newline' does not respect `standard-output', so use `princ'.
1702 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1704 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1705 * buff-menu.el (Buffer-menu--unmark): New function.
1706 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1708 2013-10-30 Glenn Morris <rgm@gnu.org>
1710 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1712 * emacs-lisp/package.el (lm-homepage): Declare.
1714 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1717 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1719 * Makefile.in (finder-data, autoloads, update-subdirs)
1720 (compile-main, compile-clean, compile-always, bootstrap-clean):
1721 Check return value of cd.
1722 (compile-calc): Remove.
1724 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1726 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1728 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1729 (byte-compile-and-folded): New function.
1730 (=, <, >, <=, >=): Use it.
1732 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1733 (path-separator, null-device, buffer-file-coding-system)
1734 (lpr-headers-switches): Check system-type before modifying them.
1735 (find-buffer-file-type-coding-system): Mark obsolete.
1736 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1737 find-file-not-found-set-buffer-file-coding-system.
1738 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1739 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1740 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1741 (w32-direct-print-region-helper, w32-direct-print-region-function)
1742 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1743 * startup.el (normal-top-level-add-subdirs-to-load-path):
1744 * ps-print.el (ps-print-region-function):
1745 * lpr.el (print-region-function): Use new name.
1747 * subr.el (custom-declare-variable-early): Remove function.
1748 (custom-declare-variable-list): Remove var.
1749 (error, user-error): Remove `while' loop.
1750 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1751 (user-emacs-directory-warning, locate-user-emacs-file):
1753 * simple.el (read-quoted-char-radix, read-quoted-char):
1754 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1756 * custom.el (custom-declare-variable-list): Don't process
1757 custom-declare-variable-list.
1759 * progmodes/python.el (python-shell-get-buffer): New function.
1760 (python-shell-get-process): Use it.
1761 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1762 Python which encoding was used. Don't split-string since we only care
1763 about the first line. Return the temp-file, if applicable.
1764 (python-shell-send-region): Tell compile.el how to turn locations in
1765 the temp-file into locations in the source buffer.
1767 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1769 * subr.el (undefined): Add missing behavior from the C code for
1772 * rect.el: Use lexical-binding. Add new rectangular region support.
1773 (rectangle-mark): New command.
1774 (rectangle--region): New var.
1775 (deactivate-mark-hook): Reset rectangle--region.
1776 (rectangle--extract-region, rectangle--insert-for-yank)
1777 (rectangle--highlight-for-redisplay)
1778 (rectangle--unhighlight-for-redisplay): New functions.
1779 (region-extract-function, redisplay-unhighlight-region-function)
1780 (redisplay-highlight-region-function): Use them to handle
1782 * simple.el (region-extract-function): New var.
1783 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1784 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1785 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1786 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1787 (redisplay-unhighlight-region-function)
1788 (redisplay-highlight-region-function): New vars.
1789 (redisplay--update-region-highlight): New function.
1790 (pre-redisplay-function): Use it.
1791 (exchange-point-and-mark): Don't deactivate the mark before
1792 reactivate-it anyway.
1793 * comint.el (comint-kill-region): Remove yank-handler argument.
1794 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1795 (delete-char): Remove property, since it's now part of their
1797 (self-insert-iso): Remove property since this command doesn't exist.
1799 * emacs-lisp/package.el (package--download-one-archive)
1800 (describe-package-1): Don't query the user about final newline.
1802 2013-10-29 Daniel Colascione <dancol@dancol.org>
1804 * net/tramp.el (tramp-methods): Document new functionality.
1805 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1806 tramp-hostname-checker if method provides one instead of scanning
1807 argument list for "%h" to decide hostname acceptability.
1809 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1811 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1812 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1813 Handle COPY-CONTENTS. (Bug#15737)
1815 2013-10-28 Daiki Ueno <ueno@gnu.org>
1818 (epa-file-cache-passphrase-for-symmetric-encryption):
1819 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1821 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1823 * image.el (defimage):
1824 (image-load-path): Doc fixes.
1826 2013-10-27 Alan Mackenzie <acm@muc.de>
1828 Indent statements in macros following "##" correctly.
1829 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1830 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1832 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1834 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1836 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1838 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1839 after `=' is probably a new expression.
1841 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1843 * man.el (man-imenu-title): New option.
1844 (Man-mode-map): Add menu. (Bug#15722)
1845 (Man-mode): Add imenu to menu.
1847 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1849 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1850 specific in what the first arg can be: a non-keyword word,
1851 string/regexp/percent literal opener, opening paren, or unary
1852 operator followed directly by word.
1854 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1856 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1857 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1858 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1859 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1860 Remove vars, they do not apply any more.
1861 (prolog-mode-abbrev-table): Remove redundant declaration.
1862 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1863 (prolog-use-smie): Remove.
1864 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1865 supported by prolog-electric-if-then-else-flag.
1866 (prolog-mode-variables, prolog-menu): Use setq-local.
1867 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1868 Remove binding to `Backspace' since this key doesn't exist anyway.
1869 Remove bindings for electric self-inserting keys.
1870 (prog-mode): Assume it's defined.
1871 (prolog-post-self-insert): New function.
1872 (prolog-mode): Use it.
1873 (prolog-indent-line, prolog-indent-level)
1874 (prolog-find-indent-of-matching-paren)
1875 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1876 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1877 (prolog-goto-next-paren, prolog-in-string-or-comment)
1878 (prolog-tokenize, prolog-inside-mline-comment)
1879 (prolog-find-start-of-mline-comment): Remove functions.
1880 (prolog-find-unmatched-paren, prolog-clause-end)
1881 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1882 (prolog-electric--if-then-else): Rename from
1883 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1884 (prolog-tokenize-searchkey): Remove const.
1885 (prolog-clause-info): Use forward-sexp.
1886 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1887 (prolog-electric-if-then-else): Remove commands.
1888 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1889 for use in post-self-insert-hook.
1890 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1891 for use in post-self-insert-hook.
1892 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1893 for use in post-self-insert-hook.
1894 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1895 adapt it for use in post-self-insert-hook.
1897 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1899 * emacs-lisp/ert.el (ert-run-tests-interactively):
1900 Use `completing-read'. (Bug#9756)
1902 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1904 * simple.el (line-move): Call line-move-1 instead of
1905 line-move-visual when the current window hscroll is zero, but
1906 temporary-goal-column indicates we will need to hscroll as result
1907 of the movement. (Bug#15712)
1909 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1911 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1912 capitalization. Use :visible instead of :active.
1913 Fix `ruby-indent-exp' reference. Add menu items for the generic
1914 commands that are used with SMIE.
1915 (ruby-do-end-to-brace): Insert space after `{'.
1917 2013-10-25 John Anthony <john@jo.hnanthony.com>
1919 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1921 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1923 2013-10-25 Glenn Morris <rgm@gnu.org>
1925 * vc/vc.el (vc-print-log): Don't use a working revision unless
1926 one was explicitly specified. (Bug#15322)
1928 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1930 * subr.el (add-to-list): Preserve return value in compiler-macro
1933 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1935 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1936 result. Ask user to retry using '-all' flag. (Bug#15701)
1938 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1940 * emacs-lisp/smie.el: New smie-config system.
1941 (smie-config): New defcustom.
1942 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1943 (smie-config-guess, smie-config-save): New commands.
1944 (smie-config--mode-local, smie-config--buffer-local)
1945 (smie-config--trace, smie-config--modefuns): New vars.
1946 (smie-config--advice, smie-config--mode-hook)
1947 (smie-config--setter, smie-config-local, smie-config--get-trace)
1948 (smie-config--guess-value, smie-config--guess): New functions.
1949 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1950 text properties. Treat "string fence" syntax like string syntax.
1952 * progmodes/sh-script.el (sh-use-smie): Change default.
1953 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1954 (sh-var-value): Simplify by CSE.
1955 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1956 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1958 (sh-guess-basic-offset): Use cl-incf.
1959 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1961 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1963 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1966 2013-10-24 Glenn Morris <rgm@gnu.org>
1968 * Makefile.in (abs_top_srcdir): Remove.
1969 (update-subdirs): Use relative path to update-subdirs.
1971 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1973 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1974 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1975 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1976 Call unmsys--file-name before expand-file-name, not after it.
1978 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1980 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1981 (ert-test-skipped): New error.
1982 (ert-skip, ert-stats-skipped): New defuns.
1983 (ert--skip-unless): New macro.
1984 (ert-test-skipped): New struct.
1985 (ert--run-test-debugger, ert-test-result-type-p)
1986 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1987 (ert--stats-set-test-and-result, ert-char-for-test-result)
1988 (ert-string-for-test-result, ert-run-tests-batch)
1989 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1990 Handle skipped tests. (Bug#9803)
1992 2013-10-24 Glenn Morris <rgm@gnu.org>
1994 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1996 * Makefile.in (abs_top_srcdir): New, set by configure.
1997 (update-subdirs): Correct build-aux location.
1999 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2001 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2002 value, whether we could auto-deduce `backend', or not.
2004 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2005 with parameters" example. Simplify the "is it block or is it
2006 hash" check, but also make it more thorough.
2008 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2010 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2012 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2014 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2017 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2020 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2022 * progmodes/compile.el (compilation-directory-matcher)
2023 (compilation-page-delimiter):
2024 Support GNU Make-4.0 directory quoting. (Bug#15678)
2026 2013-10-23 Leo Liu <sdl.web@gmail.com>
2028 * ido.el (ido-tidy): Handle read-only text.
2030 2013-10-23 Glenn Morris <rgm@gnu.org>
2032 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2033 (emacs, compile, compile-always):
2034 Quote entities that might contain whitespace.
2035 (custom-deps, finder-data, autoloads): Use abs_lisp.
2036 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2037 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2038 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2040 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2042 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2043 Use `following-char'.
2045 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2047 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2048 * progmodes/ruby-mode.el (ruby-smie-rules):
2049 Remove corresponding workaround. Fix indentation rule of ";" so it
2050 also applies when ";" is the parent.
2052 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2054 * frame.el (display-screens, display-pixel-height)
2055 (display-pixel-width, display-mm-width, display-backing-store)
2056 (display-save-under, display-planes, display-color-cells)
2057 (display-visual-class, display-monitor-attributes-list):
2058 Mention the optional ‘display’ argument in doc strings.
2060 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2062 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2063 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2065 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2067 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2068 TODO. Add "." after " @ ".
2069 (ruby-smie--at-dot-call): New function. Checks if point at method
2070 call with explicit target.
2071 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2072 to the method name tokens when it precedes them.
2073 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2074 (ruby-smie-rules): Add rule for indentation before and after "."
2077 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2079 * textmodes/remember.el (remember-diary-extract-entries):
2082 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2085 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2087 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2088 (ruby-smie--implicit-semi-p): Add new operator chars.
2090 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2092 (ruby-smie--args-separator-p): Check that there's no newline
2093 between method call and its arguments.
2095 2013-10-20 Alan Mackenzie <acm@muc.de>
2097 Allow comma separated lists after Java "implements".
2099 * progmodes/cc-engine.el (c-backward-over-enum-header):
2101 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2102 from a "disallowed" list in enum fontification.
2104 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2106 * startup.el (default-frame-background-mode): Remove unused defvar.
2108 * progmodes/verilog-mode.el (verilog-mode): Don't set
2109 comment-indent-function globally.
2111 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2113 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2114 Move Info menu item creation to ns-win.el.
2116 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2119 * menu-bar.el: Move GNUStep specific menus...
2121 * term/ns-win.el (ns-initialize-window-system): ... to here.
2123 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2125 * simple.el (newline): Only run post-self-insert-hook when
2126 called interactively.
2128 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2130 * icomplete.el (icomplete-with-completion-tables): Add :version.
2132 2013-10-19 Alan Mackenzie <acm@muc.de>
2134 Fix fontification bugs with constructors and const.
2136 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2137 CASE 2) Remove the check for the absence of a suffix construct
2138 after a function declaration with only types (no identifiers) in
2139 the parentheses. Also, accept a function declaration with just a
2140 type inside the parentheses, if this type can be positively
2141 recognised as such, or if a prefix keyword like "explicit" nails
2142 down the construct as a declaration.
2144 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2146 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2147 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2148 the problem whereby selecting a menu item that leads to a
2149 minibuffer prompt moves the cursor out of the minibuffer window,
2150 making it hard to type at the prompt. Suggested by Stefan Monnier
2151 <monnier@iro.umontreal.ca>.
2153 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2155 * menu-bar.el: Don't make Services menu.
2157 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2159 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2160 (ffap-alist): Use ffap-c++-mode for c++-mode.
2161 (ffap-c++-path): New variable.
2162 (ffap-c++-mode): New function.
2164 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2166 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2168 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2170 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2171 introduced on 2013-09-08, which results in an infinite loop
2172 requesting a password.
2174 2013-10-18 Glenn Morris <rgm@gnu.org>
2176 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2178 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2180 Sync with upstream verilog-mode revision 1a6ecec7.
2181 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2182 (verilog-mode-release-date): Remove.
2183 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2184 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2185 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2186 (verilog-auto-tieoff-ignore-regexp)
2187 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2188 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2189 (verilog-signals-with, verilog-dir-cache-preserving)
2190 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2192 (verilog-case-fold): New option, to control case folding in
2193 regexp searches, bug597.
2194 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2195 (verilog-string-match-fold, verilog-in-paren-count)
2196 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2197 (verilog-at-close-struct-p): New functions.
2198 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2199 (verilog-forward-sexp, verilog-set-auto-endcomments):
2200 (verilog-leap-to-case-head): Handle "unique0" case.
2201 (verilog-in-constraint-re): New constant.
2202 (verilog-keywords, verilog-type-font-keywords):
2203 Add some SystemVerilog 1800-2012 keywords.
2204 (verilog-label-be): Remove unimplemented argument, bug669.
2205 (verilog-batch-execute-func): When batch expanding clear
2206 create-lockfiles to prevent spurious user locks when a file ends
2208 (verilog-calculate-indent, verilog-calc-1)
2209 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2210 (verilog-do-indent): Fix indentation of nested constraints
2212 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2213 (verilog-auto-inst-param): Use verilog-string-match-fold.
2214 (verilog-read-inst-module-matcher):
2215 Fix AUTOINST on gate primitives with #1.
2216 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2217 Reads all user-defined typed variables.
2218 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2219 (verilog-signals-matching-regexp)
2220 (verilog-signals-not-matching-regexp, verilog-auto):
2221 Respect verilog-case-fold.
2222 (verilog-diff-report): Fix line count.
2223 (verilog-auto-assign-modport): Remove unused local `modi'.
2224 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2225 better handle multidimensional arrays.
2226 Fix packed array ports misadding bit index in AUTOINST, bug637.
2227 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2228 to not double-declare existing outputs and inputs, respectively.
2229 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2230 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2231 (verilog-sk-uvm-component): New skeleton.
2232 (verilog-submit-bug-report): Add verilog-case-fold,
2233 remove verilog-mode-release-date.
2235 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2237 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2240 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2242 * textmodes/remember.el (remember): set buffer-offer-save in
2243 remember buffers (bug#13566).
2245 2013-10-18 Daniel Colascione <dancol@dancol.org>
2247 When evaluating forms in ielm, direct standard output to ielm
2248 buffer. Add new ielm-return-for-effect command. Remove trailing
2249 whitespace throughout.
2251 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2252 (ielm-return-for-effect): New command.
2253 (ielm-send-input): Accept optional `for-effect' parameter.
2254 (ielm-eval-input): Accept optional `for-effect' parameter.
2255 Bind `standard-output' to stream we create using
2256 `ielm-standard-output-impl'. Suppress printing result when
2258 (ielm-standard-output-impl): New function.
2259 (inferior-emacs-lisp-mode): Explain new features in documentation.
2261 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2265 * net/tramp.el (tramp-debug-message): Do not check for connection
2267 (tramp-message): Use "vector" connection property.
2269 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2270 (tramp-equal-remote, tramp-eshell-directory-change)
2271 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2272 (tramp-adb-handle-rename-file)
2273 * net/tramp-cmds.el (tramp-list-remote-buffers)
2274 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2275 * net/tramp-compat.el (tramp-compat-process-running-p)
2276 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2277 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2278 (tramp-gvfs-handle-rename-file)
2279 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2280 (tramp-set-file-uid-gid)
2281 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2282 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2285 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2286 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2287 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2288 (tramp-gw-open-network-stream): Suppress unrelated traces.
2290 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2291 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2292 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2293 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2294 connection property.
2296 * net/tramp-cache.el (top): Suppress traces when reading
2299 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2300 Refactor common code. Improve debug message.
2301 (tramp-maybe-open-connection)
2302 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2303 connection buffer too early.
2305 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2306 from `tramp-smb-actions-with-acl'.
2307 (tramp-smb-actions-set-acl): New defconst.
2308 (tramp-smb-handle-copy-directory)
2309 (tramp-smb-action-get-acl): New defun, renamed from
2310 `tramp-smb-action-with-acl'.
2311 (tramp-smb-action-set-acl): New defun.
2312 (tramp-smb-handle-set-file-acl): Rewrite.
2314 2013-10-17 Glenn Morris <rgm@gnu.org>
2316 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2318 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2320 * skeleton.el (skeleton-newline): Remove.
2321 (skeleton-internal-1): Use (insert "\n") instead.
2323 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2326 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2327 forward-sexp-function while we redo its job (bug#15613).
2329 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2331 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2332 represented by lists.
2334 2013-10-16 Glenn Morris <rgm@gnu.org>
2336 * tmm.el (tmm--history): New dynamic variable.
2337 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2339 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2341 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2342 (tramp-smb-errors): Add error messages.
2343 (tramp-smb-actions-with-acl): New defconst.
2344 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2345 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2346 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2347 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2348 (tramp-smb-get-stat-capability): Fix tests.
2350 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2352 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2355 2013-10-16 Glenn Morris <rgm@gnu.org>
2357 * ansi-color.el (ansi-color-drop-regexp):
2358 Add 1J, 1K, 2K. (Bug#15617)
2360 * files.el (hack-local-variables--warned-lexical): New.
2361 (hack-local-variables):
2362 Warn about misplaced lexical-binding. (Bug#15616)
2364 * net/eww.el (eww-render): Always set eww-current-url,
2365 and update header line. (Bug#15622)
2366 (eww-display-html): ... Rather than just doing it here.
2368 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2370 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2371 menu navigations commands.
2373 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2375 * progmodes/subword.el (subword-capitalize): Be careful when
2376 the search for [[:alpha:]] fails (bug#15580).
2378 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2380 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2381 to commands that scroll the menu.
2383 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2385 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2386 Handle methods ending with `?' and `!'.
2388 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2390 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2391 `japanese-cp932' to `cp932' to fix the problem where saving a
2392 source file written in Shift_JIS twice would end up having
2393 `coding: japanese-cp932' which Ruby could not recognize.
2394 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2395 in `ruby-encoding-map'.
2396 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2397 doesn't need to be explicitly declared in magic comment.
2398 (ruby-encoding-map): Add type declaration for better customize UI.
2400 2013-10-13 Glenn Morris <rgm@gnu.org>
2402 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2403 Occur buffers are read-only. http://bugs.debian.org/720775
2405 * emacs-lisp/authors.el (authors-fixed-entries):
2406 Comment out old alpha stuff.
2408 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2410 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2411 to `after-save-hook' instead of `before-save-hook'.
2412 (ruby-mode-set-encoding): Use the value of coding system used to
2413 write the file. Call `basic-save-buffer-1' after modifying the
2416 2013-10-13 Alan Mackenzie <acm@muc.de>
2418 Fix indentation/fontification of Java enum with
2419 "implements"/generic.
2421 * progmodes/cc-engine.el (c-backward-over-enum-header):
2422 Extracted from the three other places and enhanced to handle generics.
2423 (c-inside-bracelist-p): Uses new function above.
2424 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2426 (c-font-lock-enum-tail): Uses new function above.
2428 2013-10-13 Kenichi Handa <handa@gnu.org>
2430 * international/mule-cmds.el (select-safe-coding-system): Remove a
2431 superfluous condition in chekcing whether a coding system is safe
2434 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2436 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2438 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2440 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2442 2013-10-13 Glenn Morris <rgm@gnu.org>
2444 * menu-bar.el (menu-bar-update-buffers):
2445 Unify Buffers menu prompt string. (Bug#15576)
2447 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2449 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2451 (authors-fixed-entries): Use accented form of name.
2453 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2455 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2456 method calls (bug#15594).
2457 (ruby-smie--args-separator-p): New function.
2458 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2459 recognize paren-free method calls.
2461 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2462 internals of universal-argument.
2464 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2466 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2467 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2468 dropped menu on second mouse click on the menu bar.
2470 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2472 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2473 (explicit-shell-file-name): Declare.
2474 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2475 (sh-completion-at-point-function): New function.
2477 (sh-smie--keyword-p): Remove unused argument.
2478 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2480 (sh-set-shell): Always setup SMIE, even if we use the
2481 old indentation code.
2483 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2485 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2487 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2488 predicate would return nil are almost non-existent.
2489 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2491 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2492 cache also after commands that modify the buffer but don't move
2495 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2497 * env.el (substitute-env-in-file-name): New function.
2498 (substitute-env-vars): Extend the meaning of the optional arg.
2500 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2502 * term/w32-win.el (dynamic-library-alist): Define separate lists
2503 of GIF DLLs for versions before and after 5.0.0 of giflib.
2506 2013-10-10 João Távora <joaotavora@gmail.com>
2508 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2509 not locked, use last revision and current source as
2510 defaults. (Bug#15569)
2512 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2514 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2517 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2519 * window.el (pop-to-buffer-same-window): Fix doc-string.
2522 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2524 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2526 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2528 * calendar/icalendar.el (icalendar-import-file):
2529 Fix interactive spec. (Bug#15482)
2531 2013-10-10 Glenn Morris <rgm@gnu.org>
2533 * desktop.el (desktop-save): Default to saving in .emacs.d,
2534 since PWD is no longer in desktop-path by default. (Bug#15319)
2536 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2537 now that text mode has a menu with the same entry.
2538 (menu-bar-text-mode-auto-fill): Remove now unused func.
2539 * textmodes/text-mode.el (text-mode-map):
2540 Use auto-fill help text from menu-bar.el.
2542 2013-10-10 John Anthony <john@jo.hnanthony.com>
2544 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2546 2013-10-09 Juri Linkov <juri@jurta.org>
2548 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2549 instead of this-command-keys. Add universal-argument-more and
2550 universal-argument-minus to the list of prefix commands. (Bug#15568)
2552 2013-10-09 Glenn Morris <rgm@gnu.org>
2554 * vc/vc-svn.el (vc-svn-create-repo):
2555 Expand paths in file://... url. (Bug#15446)
2557 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2559 (authors): Remove unused local variables.
2561 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2563 * profiler.el: Create a more coherent calltree from partial backtraces.
2564 (profiler-format): Hide the tail with `invisible' so that C-s can still
2565 find the hidden elements.
2566 (profiler-calltree-depth): Don't recurse so enthusiastically.
2567 (profiler-function-equal): New hash-table-test.
2568 (profiler-calltree-build-unified): New function.
2569 (profiler-calltree-build): Use it.
2570 (profiler-report-make-name-part): Indent the calltree less.
2571 (profiler-report-mode): Add visibility specs for profiler-format.
2572 (profiler-report-expand-entry, profiler-report-toggle-entry):
2573 Expand the whole subtree when provided with a prefix arg.
2575 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2577 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2579 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2580 hanging iuwu-mod token.
2581 (ruby-smie--forward-token): Do not include a dot after a token in
2583 (ruby-smie--backward-token): Likewise.
2585 2013-10-08 Juri Linkov <juri@jurta.org>
2587 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2588 to isearch-other-control-char.
2589 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2590 and isearch-post-command-hook to post-command-hook.
2591 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2592 and isearch-post-command-hook from post-command-hook.
2593 (isearch-unread-key-sequence)
2594 (isearch-reread-key-sequence-naturally)
2595 (isearch-lookup-scroll-key, isearch-other-control-char)
2596 (isearch-other-meta-char): Remove functions.
2597 (isearch-pre-command-hook, isearch-post-command-hook):
2598 New functions based on isearch-other-meta-char rewritten
2599 relying on the new behavior of overriding-terminal-local-map
2600 that does not replace the local keymaps any more. (Bug#15200)
2602 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2604 Support menus on text-mode terminals.
2605 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2608 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2610 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2611 Move here from mouse.el.
2612 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2614 (tty-menu-navigation-map): New map for TTY menu navigation.
2616 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2618 * frame.el (display-mouse-p): Report text-mode mouse as available
2620 (display-popup-menus-p): Report availability if mouse is
2621 available; don't condition on window-system.
2623 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2624 (tty-menu-selected-face): New faces.
2626 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2628 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2629 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2630 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2631 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2633 (lisp-mode-variables): New `elisp' argument.
2634 (emacs-lisp-mode): Use it.
2635 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2636 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2638 * indent.el: Use lexical-binding.
2639 (indent-region): Add progress reporter.
2640 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2642 (indent--next-tab-stop): New function to implement this behavior.
2643 (tab-to-tab-stop, move-to-tab-stop): Use it.
2645 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2647 * indent.el (indent-rigidly--current-indentation): New function.
2648 (indent-rigidly-map): New var.
2649 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2651 2013-10-08 Bastien Guerry <bzg@gnu.org>
2653 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2655 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2657 * progmodes/perl-mode.el: Use lexical-binding.
2658 Remove redundant :group args.
2659 (perl-nochange): Change default to be closer to other major modes's
2661 (perl-indent-line): Don't consider text on current line as a
2662 valid beginning of function from which to indent.
2664 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2665 with more than one argument (bug#15538).
2667 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2669 * vc/pcvs.el: Use lexical-binding.
2670 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2671 environment of `eval'.
2672 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2673 than a list of expressions. Adjust callers.
2674 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2676 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2678 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2679 case of the dot in a chained method call being on the following line.
2681 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2683 * electric.el (electric-indent-inhibit): New var.
2684 (electric-indent-post-self-insert-function): Use it.
2685 * progmodes/python.el (python-mode): Set it.
2687 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2690 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2692 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2693 (css-mode): Use electric-indent-chars.
2695 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2696 (font-lock-beg, font-lock-end): Move before first use.
2697 (nxml-mode): Use syntax-propertize-function.
2698 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2699 (nxml-extend-after-change-region): Remove.
2700 * nxml/xmltok.el: Use lexical-binding.
2701 (xmltok-save): Use `declare'.
2702 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2703 * nxml/nxml-util.el: Use lexical-binding.
2704 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2706 * nxml/nxml-ns.el: Use lexical-binding.
2707 (nxml-ns-save): Use `declare'.
2708 (nxml-ns-prefixes-for): Avoid add-to-list.
2709 * nxml/rng-match.el: Use lexical-binding.
2710 (rng--ipattern): Use cl-defstruct.
2711 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2712 (rng-cons-group-after, rng-subst-group-after)
2713 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2714 Use closures instead of `(lambda...).
2716 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2718 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2721 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2722 Use `tramp-handle-insert-file-contents'.
2723 (tramp-gvfs-handle-insert-file-contents): Remove function.
2725 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2726 Use `save-restriction' in order to keep markers.
2728 * net/trampver.el: Update release number.
2730 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2732 * progmodes/compile.el (compilation-parse-errors):
2733 Use compilation--put-prop.
2734 (compilation--ensure-parse): Check compilation-multiline.
2736 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2738 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2741 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2743 * progmodes/ruby-mode.el: Fix recently added tests.
2744 (ruby-smie-grammar): Add - and +.
2745 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2746 (ruby-smie--backward-id): New functions.
2747 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2748 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2751 2013-10-07 Leo Liu <sdl.web@gmail.com>
2753 * register.el (register-preview-delay)
2754 (register-preview-functions): New variables.
2755 (register-read-with-preview, register-preview)
2756 (register-describe-oneline): New functions.
2757 (point-to-register, window-configuration-to-register)
2758 (frame-configuration-to-register, jump-to-register)
2759 (number-to-register, view-register, insert-register)
2760 (copy-to-register, append-to-register, prepend-to-register)
2761 (copy-rectangle-to-register): Use register-read-with-preview to
2762 read register. (Bug#15525)
2764 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2766 * net/network-stream.el (network-stream-open-starttls): Don't add
2767 --insecure if it's already present, because that gnutls-cli
2768 rejects getting that parameter twice.
2770 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2772 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2775 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2777 * newcomment.el (comment-use-global-state): Change default value
2778 to t, mark obsolete (Bug#15251).
2779 (comment-beginning): In addition to `comment-to-syntax', check the
2780 value of `comment-use-global-state'.
2782 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2784 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2785 (ruby-comment-column): Follow the global default, by default.
2786 (ruby-smie-grammar): Add assignment syntax.
2787 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2788 open-paren, a comma, or a \.
2789 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2790 and line continuations.
2791 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2792 followed by implicit semi-colons. Add rule for string concatenation
2793 and for indentation at BOB.
2794 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2796 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2797 calling next-sexp, since next-token may have skipped chars which
2798 next-sexp doesn't know should be skipped!
2800 2013-10-05 Leo Liu <sdl.web@gmail.com>
2802 * progmodes/octave.el (octave-send-region):
2803 Call compilation-forget-errors.
2805 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2807 * vc/vc-svn.el (vc-svn-find-admin-dir):
2808 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2809 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2810 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2811 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2813 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2815 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2817 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2819 * subr.el (read-passwd): Hide chars even when called within a context
2820 where after-change-functions is disabled (bug#15501).
2821 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2822 until we removed ourself from overriding-terminal-local-map.
2824 2013-10-04 Leo Liu <sdl.web@gmail.com>
2826 * progmodes/octave.el (inferior-octave-mode):
2827 Call compilation-forget-errors.
2829 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2831 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2833 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2835 * net/secrets.el (secrets-create-collection): Add optional
2836 argument ALIAS. Use proper Label keyword. Append ALIAS as
2837 dbus-call-method argument. (Bug#15516)
2839 2013-10-04 Leo Liu <sdl.web@gmail.com>
2841 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2842 (inferior-octave-compilation-font-lock-keywords): New variables.
2843 (compilation-error-regexp-alist)
2844 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2845 (inferior-octave-mode): Use compilation-shell-minor-mode.
2847 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2849 * minibuffer.el (completion--replace): Be careful that `end' might be
2852 2013-10-03 Daiki Ueno <ueno@gnu.org>
2854 Add support for package signature checking.
2855 * emacs-lisp/package.el (url-http-file-exists-p)
2856 (epg-make-context, epg-context-set-home-directory)
2857 (epg-verify-string, epg-context-result-for)
2858 (epg-signature-status, epg-signature-to-string)
2859 (epg-check-configuration, epg-configuration)
2860 (epg-import-keys-from-file): Declare.
2861 (package-check-signature): New user option.
2862 (package-unsigned-archives): New user option.
2863 (package-desc): Add `signed' field.
2864 (package-load-descriptor): Set `signed' field if .signed file exists.
2865 (package--archive-file-exists-p): New function.
2866 (package--check-signature): New function.
2867 (package-install-from-archive): Check package signature.
2868 (package--download-one-archive): Check archive signature.
2869 (package-delete): Remove .signed file.
2870 (package-import-keyring): New command.
2871 (package-refresh-contents): Import default keyring.
2872 (package-desc-status): Add "unsigned" status.
2873 (describe-package-1, package-menu--print-info)
2874 (package-menu-mark-delete, package-menu--find-upgrades)
2875 (package-menu--status-predicate): Support "unsigned" status.
2877 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2879 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2880 the new compilation scheme using the new byte-codes.
2882 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2883 (byte-pophandler): New byte codes.
2884 (byte-goto-ops): Adjust accordingly.
2885 (byte-compile--use-old-handlers): New var.
2886 (byte-compile-catch): Use new byte codes depending on
2887 byte-compile--use-old-handlers.
2888 (byte-compile-condition-case--old): Rename from
2889 byte-compile-condition-case.
2890 (byte-compile-condition-case--new): New function.
2891 (byte-compile-condition-case): New function that dispatches depending
2892 on byte-compile--use-old-handlers.
2893 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2896 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2897 Optimize under `condition-case' and `catch' if
2898 byte-compile--use-old-handlers is nil.
2899 (disassemble-offset): Handle new bytecodes.
2901 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2903 * subr.el (error): Use `declare'.
2904 (decode-char, encode-char): Use advertised-calling-convention instead
2905 of the docstring to discourage use of the `restriction' arg.
2907 2013-10-03 Daiki Ueno <ueno@gnu.org>
2909 * epg.el (epg-verify-file): Add a comment saying that it does not
2910 notify verification error as a return value nor a signal.
2911 (epg-verify-string): Ditto.
2913 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2915 * progmodes/compile.el (compilation-start): Try globbing the arg to
2918 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2920 Sync with Tramp 2.2.8.
2922 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2923 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2924 * net/trampver.el: Update release number.
2926 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2928 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2929 and default-process-coding-system for darwin only.
2931 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2933 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2935 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2937 * vc/vc-git.el (vc-git-grep): Disable pager.
2939 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2941 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2942 Use :url instead of :homepage, as per
2943 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2945 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2946 non-nil, use `syntax-ppss' (Bug#15251).
2948 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2950 * progmodes/octave.el (inferior-octave-startup-file):
2951 Prefer ~/.emacs.d/init_octave.m.
2953 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2955 * emacs-lisp/package.el (package-desc-from-define):
2956 Accept additional arguments as plist, convert them to an alist and store
2957 them in the `extras' slot.
2958 (package-generate-description-file): Convert extras alist back to
2959 plist and append to the `define-package' form arguments.
2960 (package--alist-to-plist): New function.
2961 (package--ac-desc): Add `extras' slot.
2962 (package--add-to-archive-contents): Check if the archive-contents
2963 vector is long enough, and if it is, pass its `extras' slot value
2964 to `package-desc-create'.
2965 (package-buffer-info): Call `lm-homepage', pass the returned value
2966 to `package-desc-from-define'.
2967 (describe-package-1): Render the homepage button (Bug#13291).
2969 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2970 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2972 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2974 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2975 and default-process-coding-system to utf-8-unix (Bug#15402).
2977 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2979 * subr.el (looking-back): Do not recommend using looking-back.
2981 2013-09-28 Alan Mackenzie <acm@muc.de>
2983 Fix indentation/fontification of Java enum with "implements".
2985 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2986 regexp which matches "implements", etc., in Java.
2987 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2988 specifier clauses coming after "enum".
2989 * progmodes/cc-fonts.el (c-font-lock-declarations)
2990 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2993 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2995 * faces.el (region): Change ns_selection_color to
2996 ns_selection_fg_color, add ns_selection_bg_color.
2998 2013-09-28 Leo Liu <sdl.web@gmail.com>
3000 * progmodes/octave.el (inferior-octave-completion-table)
3001 (inferior-octave-completion-at-point): Minor tweaks.
3003 * textmodes/ispell.el (ispell-lookup-words): Rename from
3004 lookup-words. (Bug#15460)
3005 (lookup-words): Obsolete.
3006 (ispell-complete-word, ispell-command-loop): All uses changed.
3008 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3010 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3011 (octave-mode-menu): Add octave-send-buffer.
3012 (octave-send-buffer): New function.
3014 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3016 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3018 (octave-mode-menu): Add octave-lookfor.
3019 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3021 (octave-lookfor): New function.
3023 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3025 * emacs-lisp/cl-macs.el:
3026 (cl--loop-destr-temps): Remove.
3027 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3029 (cl--loop-set-iterator-function): New function.
3030 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3031 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3032 Bind `it' with `let' instead of substituting it with `cl-subst'.
3033 (cl--unused-var-p): New function.
3034 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3035 Eliminate some unused variable warnings (bug#15326).
3037 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3039 * doc-view.el (doc-view-scale-reset): Rename from
3040 `doc-view-reset-zoom-level'.
3041 (doc-view-scale-adjust): New command.
3042 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3043 `doc-view-scale-adjust'.
3045 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3047 * doc-view.el (doc-view-reset-zoom-level): New command.
3048 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3049 zoom commands (bug#15466).
3051 2013-09-26 Kenichi Handa <handa@gnu.org>
3053 * international/quail.el (quail-help): Make it not a command.
3055 2013-09-26 Leo Liu <sdl.web@gmail.com>
3057 * minibuffer.el (completion-all-sorted-completions): Make args
3058 optional as they are.
3060 2013-09-25 Daniel Colascione <dancol@dancol.org>
3062 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3063 specs are and that they're not evaluated.
3065 2013-09-24 Sam Steingold <sds@gnu.org>
3067 * midnight.el (clean-buffer-list-kill-regexps)
3068 (clean-buffer-list-kill-buffer-names): Update for the new Man
3069 buffer naming which includes the object name.
3071 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3073 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3074 (eshell-parse-command, eshell-parse-pipeline): Use it since
3075 eshell-separate-commands requires a dynamic scoped var.
3076 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3078 2013-09-23 Leo Liu <sdl.web@gmail.com>
3080 * autoinsert.el (auto-insert-alist): Make the value of
3081 lexical-binding match its file setting.
3083 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3085 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3087 * autoarg.el (autoarg-kp-digit-argument):
3088 * electric.el (Electric-command-loop):
3089 * kmacro.el (kmacro-step-edit-insert):
3090 Do not set universal-argument-num-events.
3092 2013-09-22 Leo Liu <sdl.web@gmail.com>
3094 * files.el (interpreter-mode-alist): Add octave.
3096 2013-09-21 Alan Mackenzie <acm@muc.de>
3098 C++: fontify identifier in declaration following "public:" correctly.
3099 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3100 to match "public", etc.
3101 (c-decl-prefix-re): Add ":" into the C++ value.
3102 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3103 bit. Add a check for a ":" preceded by "public", etc.
3105 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3107 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3108 recognized by GDB 7.5 and later.
3110 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3112 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3114 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3116 * subr.el (internal--call-interactively): New const.
3117 (called-interactively-p): Use it (bug#3984).
3119 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3121 * vc/pcvs.el (cvs-mode-ignore):
3122 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3123 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3125 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3127 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3128 (eshell-ls-orig-insert-directory): Remove.
3129 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3130 (eshell-ls-use-in-dired): Use advice-add/remove.
3131 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3132 Add `orig-fun' arg for use in :around advice.
3133 Make it check (redundantly) eshell-ls-use-in-dired.
3135 2013-09-19 Glenn Morris <rgm@gnu.org>
3137 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3139 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3141 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3143 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3145 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3146 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3147 (tramp-get-remote-python): New defuns.
3148 (tramp-get-remote-uid-with-perl)
3149 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3150 contributed by yary <not.com@gmail.com> (tiny change).
3151 (tramp-get-remote-uid-with-python)
3152 (tramp-get-remote-gid-with-python): New defuns. Python code
3153 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3154 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3156 2013-09-19 Glenn Morris <rgm@gnu.org>
3158 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3160 * eshell/em-unix.el (eshell-remove-entries):
3161 Rename argument to avoid name-clash with global `top-level'.
3163 * eshell/esh-proc.el (eshell-kill-process-function):
3164 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3165 (eshell-reset-after-proc): Remove unused arg `proc'.
3167 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3168 (directory-files-and-attributes): Mark unused arg.
3170 * eshell/em-unix.el (eshell-remove-entries):
3171 Remove unused arg `path'. Update callers.
3173 * eshell/em-hist.el (eshell-hist-parse-arguments):
3174 Remove unused arg `silent'. Update callers.
3176 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3177 Fix (f)boundp mix-up.
3179 * eshell/em-smart.el (eshell-smart-scroll-window)
3180 (eshell-disable-after-change):
3181 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3183 2013-09-18 Alan Mackenzie <acm@muc.de>
3185 Fix fontification of type when followed by "const".
3186 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3187 "known" types from fontification.
3189 2013-09-18 Glenn Morris <rgm@gnu.org>
3191 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3192 (chart-face-list): Drop Emacsen without display-color-p.
3194 * net/eww.el (libxml-parse-html-region): Declare.
3195 (eww-display-html): Explicit error if no libxml2 support.
3197 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3199 * image.el (image-type-from-buffer, image-multi-frame-p):
3200 Remove --without-x warning/error.
3202 * mouse.el (mouse-yank-primary):
3203 * term.el (term-mouse-paste):
3204 Reorder to silence --without-x compilation.
3206 * mpc.el (doc-view-mode): Silence --without-x compilation.
3208 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3209 Silence --without-x compilation.
3211 * progmodes/gud.el (gud-find-file, gud-mode):
3212 Silence --without-x compilation.
3213 (tooltip-mode): Declare.
3215 * wdired.el (dired-backup-overwrite): Remove declaration.
3216 (wdired-mode-map): Add doc string.
3218 * custom.el (x-get-resource): Declare.
3220 * eshell/em-glob.el (ange-cache):
3221 * eshell/em-unix.el (ange-cache): Declare.
3223 * faces.el (x-display-list, x-open-connection, x-get-resource):
3226 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3227 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3230 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3232 * net/gnutls.el (gnutls-log-level): Declare.
3234 * net/shr.el (image-size, image-animate): Declare.
3236 * simple.el (font-info): Declare.
3238 * subr.el (x-popup-dialog): Declare.
3240 * term/common-win.el (x-select-enable-primary)
3241 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3244 * term/ns-win.el (x-handle-args): Declare.
3246 * term/x-win.el (x-select-enable-clipboard): Declare.
3248 * term/w32-win.el (create-default-fontset): Declare.
3250 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3253 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3254 (fit-frame-to-buffer): Explicit error if --without-x.
3255 (mouse-autoselect-window-select): Silence compiler.
3257 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3259 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3260 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3261 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3262 * eshell/esh-util.el (eshell-sublist):
3263 Remove unused local variables.
3265 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3267 * textmodes/two-column.el: Make 2C-split work for --without-x.
3268 (scroll-bar-columns): Autoload.
3269 (top-level): Require fringe when compiling.
3271 2013-09-18 Leo Liu <sdl.web@gmail.com>
3273 * subr.el (add-hook): Robustify to handle closure as well.
3275 2013-09-17 Glenn Morris <rgm@gnu.org>
3277 * simple.el (messages-buffer-mode-map): Unbind "g".
3279 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3281 * help-mode.el (help-mode-finish): Use derived-mode-p.
3282 Remove obsolete highlighting.
3284 * play/life.el (life-mode): Use define-derived-mode. Derive from
3286 (life): Let-bind inhibit-read-only.
3287 (life-setup): Avoid `setq'. Use `life-mode'.
3289 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3290 which should not be needed any more.
3291 (package-menu-refresh, package-menu-describe-package): Use user-error.
3293 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3294 (eshell-post-rewrite-command-hook): Make obsolete.
3295 (eshell-parse-command): Simplify.
3296 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3297 (eshell--cmd): Declare.
3298 (eshell-parse-pipeline): Remove unused var `final-p'.
3299 Pass a dynvar to eshell-post-rewrite-command-hook.
3300 Implement the new eshell-post-rewrite-command-function.
3301 (eshell-invoke-directly): Remove unused arg `input'.
3302 * eshell/esh-io.el (eshell-io-initialize):
3303 Use eshell-post-rewrite-command-function (bug#15399).
3304 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3305 adjust to new calling convention.
3306 (eshell-create-handles): Rename args to avoid clashing with dynvar
3309 2013-09-17 Glenn Morris <rgm@gnu.org>
3311 * simple.el (messages-buffer-mode): New major mode.
3312 (messages-buffer): New function.
3313 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3314 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3315 (ert-run-test): Use `messages-buffer' function.
3316 (ert--force-message-log-buffer-truncation): Ignore read-only.
3317 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3318 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3320 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3322 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3324 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3326 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3328 * icomplete.el (icomplete-in-buffer): New var.
3329 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3330 vars and replace them with functions.
3331 (icomplete-minibuffer-setup): Adjust accordingly.
3332 (icomplete--completion-table, icomplete--completion-predicate)
3333 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3335 (icomplete-forward-completions, icomplete-backward-completions)
3336 (icomplete-simple-completing-p, icomplete-exhibit)
3337 (icomplete-completions): Use them.
3338 (icomplete--in-region-buffer): New var.
3339 (icomplete--in-region-setup): New function.
3340 (icomplete-mode): Use it.
3342 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3344 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3345 return args and options.
3346 (eshell-eval-using-options): Use the new return value of
3347 eshell--do-opts to set the options's vars in their scope.
3348 (eshell--set-option): Rename from eshell-set-option.
3350 (eshell--process-option): Rename from eshell-process-option.
3352 (eshell--process-args): Use an `opt-vals' alist to store the options's
3353 values during their processing and return them additionally to the
3356 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3358 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3359 continuation character an operator, as far as indentation is
3360 concerned (Bug#15369).
3362 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3364 * window.el (window--state-put-2): Don't process buffer state
3365 when buffer doesn't exist any more (Bug#15382).
3367 2013-09-15 Glenn Morris <rgm@gnu.org>
3369 * eshell/em-unix.el (eshell/rm):
3370 Make -f ignore missing files. (Bug#15373)
3372 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3373 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3374 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3376 2013-09-14 Glenn Morris <rgm@gnu.org>
3378 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3380 2013-09-13 Glenn Morris <rgm@gnu.org>
3382 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3383 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3385 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3387 * frame.el (x-focus-frame): Mark as declared in frame.c.
3389 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3391 * ls-lisp.el: Use advice-add.
3392 (original-insert-directory): Remove.
3393 (ls-lisp--insert-directory): Rename from insert-directory; add
3394 `orig-fun' argument.
3395 (insert-directory): Advise.
3397 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3399 * term.el (term-emulate-terminal): Decode the command string
3400 before passing it to term-command-hook. (Bug#15337)
3402 2013-09-13 Glenn Morris <rgm@gnu.org>
3404 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3406 * eshell/esh-ext.el (eshell-search-path): Declare.
3408 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3409 Otherwise an error occurs if eshell-dirs module not loaded.
3411 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3413 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3415 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3416 `tramp-check-proper-host'. Check for a valid method name.
3418 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3419 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3420 * net/tramp-sh.el (tramp-maybe-open-connection):
3421 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3423 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3424 also for hash values.
3426 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3428 * term/ns-win.el (parameters): Don't declare as dynamic.
3429 (before-make-frame-hook): Don't add ineffective function.
3431 * eshell/*.el: Use lexical-binding (bug#15231).
3433 2013-09-12 Kenichi Handa <handa@gnu.org>
3435 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3437 2013-09-12 Glenn Morris <rgm@gnu.org>
3439 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3440 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3442 * subr.el (do-after-load-evaluation): Also give compiler warnings
3443 when obsolete files are used (except by obsolete files).
3445 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3446 in the status output, assume `filename' is the first. (Bug#15322)
3448 * vc/vc.el (vc-deduce-fileset): Doc fix.
3450 * calc/calc-help.el (Info-goto-node):
3451 * progmodes/cperl-mode.el (Info-find-node):
3452 * vc/ediff.el (Info-goto-node): Update declarations.
3454 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3456 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3457 (vc-bzr-pull): Require vc-dispatcher.
3458 * vc/vc-git.el (vc-compilation-mode): Declare.
3459 (vc-git-pull): Require vc-dispatcher.
3461 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3463 * progmodes/octave.el (help-button-action): Declare.
3465 * shell.el (shell-directory-tracker): Output error as a message
3466 rather than just returning it as a string.
3467 (shell-process-pushd): Remove useless use of message.
3469 * dframe.el (dframe-timer-fn):
3470 * files.el (dir-locals-read-from-file):
3471 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3473 * reveal.el (reveal-post-command):
3474 * saveplace.el (load-save-place-alist-from-file):
3475 * shell.el (shell-resync-dirs):
3476 * w32-common-fns.el (x-get-selection-value):
3477 * emacs-lisp/copyright.el (copyright-find-copyright):
3478 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3479 * emulation/tpu-edt.el (tpu-copy-keyfile):
3480 * play/bubbles.el (bubbles--mark-neighbourhood):
3481 * progmodes/executable.el
3482 (executable-make-buffer-file-executable-if-script-p):
3483 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3485 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3487 Cleanup Eshell to rely less on dynamic scoping.
3488 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3489 last-value, and ext-command here. Bind `args' closer to `body'.
3490 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3491 (eshell--args): Declare new dynamic var.
3492 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3493 last-value, and ext-command. Pass `args' to `body'.
3494 (eshell-process-args): Bind eshell--args.
3495 (eshell-set-option): Use eshell--args.
3496 * eshell/eshell.el (eshell): Use derived-mode-p.
3497 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3498 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3499 (eshell-glob-function): Declare.
3500 * eshell/esh-util.el: Require cl-lib.
3501 (eshell-read-hosts-file): Avoid add-to-list.
3502 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3504 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3506 (eshell/diff): Remove unused var `err'.
3507 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3509 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3510 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3512 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3513 Move declaration before first use.
3514 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3515 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3518 2013-09-12 Glenn Morris <rgm@gnu.org>
3520 * term/ns-win.el (global-map): Remove binding for ispell-next,
3521 deleted 1999-05-29. (Bug#15357)
3523 2013-09-11 Glenn Morris <rgm@gnu.org>
3525 * echistory.el (electric-command-history): Remove call to deleted func.
3527 * play/landmark.el (landmark-mode): Fix typos.
3529 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3530 Check cvs-sort-ignore-file is bound.
3532 * savehist.el: No need for cl when compiling on Emacs.
3534 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3536 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3538 (eshell-self-insert-command, eshell-send-invisible):
3539 Remove unused argument.
3540 (eshell-handle-control-codes): Remove unused var `orig'.
3541 Avoid delete-backward-char.
3543 * files.el (set-auto-mode): Simplify a bit further.
3545 2013-09-11 Glenn Morris <rgm@gnu.org>
3547 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3548 (set-auto-mode): Don't regexp-quote elements.
3549 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3550 * progmodes/cc-mode.el (interpreter-mode-alist):
3551 * progmodes/ruby-mode.el (interpreter-mode-alist):
3552 Revert previous change.
3554 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3556 * play/snake.el (snake-mode):
3557 * play/mpuz.el (mpuz-mode):
3558 * play/landmark.el (lm-mode):
3559 * play/blackbox.el (blackbox-mode):
3560 * play/5x5.el (5x5-mode):
3561 * obsolete/options.el (Edit-options-mode):
3562 * net/quickurl.el (quickurl-list-mode):
3563 * net/newst-treeview.el (newsticker-treeview-mode):
3564 * mail/rmailsum.el (rmail-summary-mode):
3565 * mail/mspools.el (mspools-mode):
3566 * locate.el (locate-mode):
3567 * ibuffer.el (ibuffer-mode):
3568 * emulation/ws-mode.el (wordstar-mode):
3569 * emacs-lisp/debug.el (debugger-mode):
3570 * array.el (array-mode):
3571 * net/eudc.el (eudc-mode): Use define-derived-mode.
3572 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3573 Move initialization into declaration.
3574 (mairix-searches-mode): Use define-derived-mode.
3575 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3576 (eudc-edit-hotlist): Use dolist.
3577 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3578 (Man-mode): Use define-derived-mode.
3579 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3580 (Info-edit-mode): Use define-derived-mode.
3581 (Info-cease-edit): Use Info-mode.
3582 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3584 (eshell-mode): Use define-derived-mode.
3585 * chistory.el (command-history-mode-map): Rename from
3586 command-history-map.
3587 (command-history-mode): Use define-derived-mode.
3588 (Command-history-setup): Remove function.
3589 * calc/calc.el (calc-trail-mode-map): New var.
3590 (calc-trail-mode): Use define-derived-mode.
3591 (calc-trail-buffer): Set calc-main-buffer manually.
3592 * bookmark.el (bookmark-insert-annotation): New function.
3593 (bookmark-edit-annotation): Use it.
3594 (bookmark-edit-annotation-mode): Make it a proper major mode.
3595 (bookmark-send-edited-annotation): Use derived-mode-p.
3596 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3597 closer to its ideal place. Use \' to match EOS.
3599 * profiler.el (profiler-calltree-find): Use function-equal.
3601 2013-09-10 Glenn Morris <rgm@gnu.org>
3603 * files.el (interpreter-mode-alist): Convert to regexps.
3604 (set-auto-mode): Adapt for this. (Bug#15306)
3605 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3606 Comment out unused variable.
3607 * progmodes/cc-mode.el (interpreter-mode-alist):
3608 * progmodes/python.el (interpreter-mode-alist):
3609 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3610 * progmodes/sh-script.el (sh-set-shell):
3611 No longer use interpreter-mode-alist to get list of shells.
3613 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3615 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3617 * simple.el: Use set-temporary-overlay-map for universal-argument.
3618 (universal-argument-map): Don't use default-bindings (bug#15317).
3619 Bind switch-frame explicitly. Replace universal-argument-minus with
3620 a conditional binding.
3621 (universal-argument-num-events, saved-overriding-map): Remove.
3622 (restore-overriding-map): Remove.
3623 (universal-argument--mode): Rename from save&set-overriding-map,
3625 (universal-argument, universal-argument-more, negative-argument)
3626 (digit-argument): Adjust accordingly.
3627 (universal-argument-minus): Remove.
3628 (universal-argument-other-key): Remove.
3630 * subr.el (with-demoted-errors): Add `format' argument.
3632 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3634 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3635 `tramp-cleanup-connection'.
3637 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3638 parameters KEEP-DEBUG and KEEP-PASSWORD.
3640 * net/tramp.el (tramp-file-name-handler):
3641 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3642 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3643 (tramp-maybe-open-connection):
3644 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3645 Use `tramp-cleanup-connection'.
3647 * net/tramp-sh.el (tramp-maybe-open-connection):
3648 Catch 'uname-changed inside the progress reporter.
3650 2013-09-10 Glenn Morris <rgm@gnu.org>
3652 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3654 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3655 returns "alternate access method" in mode (eg "-rw-r--r--.").
3657 2013-09-08 Glenn Morris <rgm@gnu.org>
3659 * saveplace.el (load-save-place-alist-from-file):
3660 Demote errors. (Bug#15305)
3662 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3664 Improve compatibility with older Emacsen, and XEmacs.
3666 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3667 only if it is bound. It isn't for XEmacs.
3668 (with-tramp-progress-reporter): Do not let-bind `result'.
3669 This yields to scoping errors in XEmacs.
3670 (tramp-handle-make-auto-save-file-name): New function, moved from
3673 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3674 for `make-auto-save-file-name'.
3675 (tramp-adb--gnu-switches-to-ash):
3676 Use `tramp-compat-replace-regexp-in-string'.
3678 * net/tramp-cache.el (tramp-cache-print): Call
3679 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3681 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3682 bound. It isn't for XEmacs.
3684 * net/tramp-compat.el (tramp-compat-copy-file):
3685 Catch `wrong-number-of-arguments' error.
3686 (tramp-compat-replace-regexp-in-string): New defun.
3688 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3689 for `make-auto-save-file-name'.
3690 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3692 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3693 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3694 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3696 * net/tramp-gw.el (tramp-gw-open-network-stream):
3697 Use `tramp-compat-replace-regexp-in-string'.
3699 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3700 Call `tramp-handle-make-auto-save-file-name'.
3701 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3702 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3703 (tramp-sh-file-inotifywait-process-filter):
3704 Use `tramp-compat-replace-regexp-in-string'.
3705 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3707 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3708 for `make-auto-save-file-name'.
3709 (tramp-smb-handle-copy-directory):
3710 Call `tramp-compat-replace-regexp-in-string'.
3711 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3712 (tramp-smb-handle-copy-file): Improve error message.
3713 (tramp-smb-handle-rename-file): Rename directly only in case
3714 `newname' does not exist yet. This is a restriction of smbclient.
3715 (tramp-smb-maybe-open-connection): Rerun the function only when
3716 `auth-sources' is non-nil.
3718 2013-09-08 Kenichi Handa <handa@gnu.org>
3720 * international/characters.el: Set category "^" (Combining) for
3723 2013-09-07 Alan Mackenzie <acm@muc.de>
3725 Correctly fontify Java class constructors.
3726 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3728 (c-recognize-typeless-decls): Set the Java value to t.
3729 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3730 While handling a "(", add a check for, effectively, Java, and handle a
3731 "typeless" declaration there.
3733 2013-09-07 Roland Winkler <winkler@gnu.org>
3735 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3736 field subtitle for entry type book.
3738 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3740 * minibuffer.el: Make minibuffer-complete call completion-in-region
3741 rather than other way around.
3742 (completion--some, completion-pcm--find-all-completions):
3743 Don't delay signals when debugging.
3744 (minibuffer-completion-contents): Beware fields within the
3745 minibuffer contents.
3746 (completion-all-sorted-completions): Use defvar-local.
3747 (completion--do-completion, completion--cache-all-sorted-completions)
3748 (completion-all-sorted-completions, minibuffer-force-complete):
3749 Add args `beg' and `end'.
3750 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3751 (minibuffer-complete): Use completion-in-region.
3752 (completion-complete-and-exit): New fun, extracted from
3753 minibuffer-complete-and-exit.
3754 (minibuffer-complete-and-exit): Use it.
3755 (completion--complete-and-exit): Rename from
3756 minibuffer--complete-and-exit.
3757 (completion-in-region--single-word): New function, extracted from
3758 minibuffer-complete-word.
3759 (minibuffer-complete-word): Use it.
3760 (display-completion-list): Make `common-substring' argument obsolete.
3761 (completion--in-region): Call completion--in-region-1 instead of
3762 minibuffer-complete.
3763 (completion-help-at-point): Pass boundaries to
3764 minibuffer-completion-help as args rather than via an overlay.
3765 (completion-pcm--string->pattern): Use `any-delim'.
3766 (completion-pcm--optimize-pattern): New function.
3767 (completion-pcm--pattern->regex): Handle `any-delim'.
3768 * icomplete.el (icomplete-forward-completions)
3769 (icomplete-backward-completions, icomplete-completions):
3770 Adjust calls to completion-all-sorted-completions and
3771 completion--cache-all-sorted-completions.
3772 (icomplete-with-completion-tables): Default to t.
3773 * emacs-lisp/crm.el (crm--current-element): Rename from
3774 crm--select-current-element. Don't put an overlay but return the
3776 (crm--completion-command): Take two new args to bind to the boundaries.
3777 (crm-completion-help): Adjust accordingly.
3778 (crm-complete): Use completion-in-region.
3779 (crm-complete-word): Use completion-in-region--single-word.
3780 (crm-complete-and-exit): Use completion-complete-and-exit.
3782 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3784 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3787 2013-09-06 Juri Linkov <juri@jurta.org>
3789 * info.el (Info-display-images-node): When image file doesn't exist
3790 display text version of the image if it's provided in the Info file.
3791 Otherwise, display the location of missing image from SRC attribute.
3792 Add help-echo text property from ALT attribute. (Bug#15279)
3794 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3796 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3797 (edit-abbrevs-mode): Use define-derived-mode.
3799 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3800 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3802 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3803 Use define-derived-mode.
3805 * epg.el (epg-start-encrypt): Minor CSE simplification.
3807 2013-09-06 William Xu <william.xwl@gmail.com>
3809 * arc-mode.el: Add support for 7za (bug#15264).
3810 (archive-7z-program): New var.
3811 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3812 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3813 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3815 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3819 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3820 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3821 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3822 (tramp-postfix-host-format, tramp-file-name-regexp)
3823 (tramp-completion-file-name-regexp)
3824 (tramp-completion-dissect-file-name)
3825 (tramp-handle-substitute-in-file-name): Remove 'url case.
3826 (tramp-file-name-regexp-url)
3827 (tramp-completion-file-name-regexp-url): Remove constants.
3829 2013-09-06 Glenn Morris <rgm@gnu.org>
3831 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3833 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3835 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3836 keywords" below "here-doc beginnings" (Bug#15270).
3838 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3840 * subr.el (pop): Use `car-safe'.
3841 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3842 to detect unused `pop' return value.
3844 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3846 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3847 (python-fill-string): Remove unused var `marker'.
3848 (python-skeleton-add-menu-items): Remove unused var `items'.
3850 * international/mule-cmds.el: Require CL.
3851 (find-coding-systems-for-charsets): Avoid add-to-list.
3852 (sanitize-coding-system-list): New function, extracted from
3853 select-safe-coding-system-interactively.
3854 (select-safe-coding-system-interactively): Use it.
3855 (read-input-method-name): Accept symbols for `default'.
3857 * emacs-lisp/advice.el (defadvice): Add indent rule.
3859 2013-09-05 Daniel Hackney <dan@haxney.org>
3863 * net/browse-url.el:
3866 * net/eudcb-ldap.el:
3879 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3880 byte compiler. Remove some unused let-bound variables.
3882 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3884 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3885 a "ref-cell", since it gets better optimized (bug#14883).
3887 2013-09-05 Glenn Morris <rgm@gnu.org>
3889 * progmodes/cc-awk.el (c-forward-sws): Declare.
3891 2013-09-04 Glenn Morris <rgm@gnu.org>
3893 * generic-x.el [rul-generic-mode]: Require cc-mode.
3894 (c++-mode-syntax-table): Declare.
3895 (rul-generic-mode-syntax-table): Init in the defvar.
3897 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3899 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3900 (vc-do-command, vc-set-async-update):
3901 * vc/vc-mtn.el (vc-mtn-dir-status):
3902 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3903 (vc-hg-pull, vc-hg-merge-branch):
3904 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3905 (vc-git-merge-branch):
3906 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3907 (vc-cvs-dir-status-files):
3908 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3909 (vc-bzr-dir-status-files):
3910 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3911 * vc/vc-annotate.el: Use lexical-binding.
3912 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3913 (vc-sentinel-movepoint): Declare.
3914 (vc-annotate): Don't use `goto-line'.
3915 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3916 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3917 (vc-sentinel-movepoint): Declare.
3918 * vc/vc-svn.el: Use lexical-binding.
3919 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3921 * vc/vc-rcs.el: Use lexical-binding.
3923 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3924 `deleted'. Don't drop errors silently.
3926 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3928 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3930 * vc/vc.el (vc-ignore): Rewrite.
3931 (vc-default-ignore): New function.
3932 (vc-default-ignore-completion-table): Use find-ignore-file.
3934 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3935 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3936 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3937 Remove. Most code moved to vc.el.
3939 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3941 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3942 * net/tramp-smb.el (tramp-smb-get-file-entries):
3943 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3944 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3946 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3948 (eww-change-select): Remove unused var `properties'.
3949 (eww-make-unique-file-name): Remove unused var `base'.
3951 * finder.el (finder-compile-keywords): Don't mess with windows.
3953 * calculator.el (calculator-funcall): Fix typo in last change.
3955 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3957 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3958 <pkg>-autoloads.el file stop us.
3960 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3961 warnings, and factor out common code.
3963 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3965 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3966 two-character operators and whether the character preceding them
3967 changes their meaning (Bug#15208).
3969 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3971 Format code sent to Python shell for robustness.
3972 * progmodes/python.el (python-shell-buffer-substring):
3974 (python-shell-send-region, python-shell-send-buffer): Use it.
3976 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3978 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3979 * net/tramp.el (tramp-user-error): ... here.
3980 (tramp-find-method, tramp-check-proper-host)
3981 (tramp-dissect-file-name, tramp-debug-message)
3982 (tramp-handle-shell-command):
3983 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3984 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3986 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3988 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3990 * avoid.el (mouse-avoidance-point-position)
3991 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3994 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3996 * progmodes/python.el (python-shell-completion-get-completions):
3997 Drop use of deleted `comint-last-prompt-overlay'.
3998 (python-nav-if-name-main): New command.
4000 2013-09-01 Glenn Morris <rgm@gnu.org>
4002 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4003 Avoid leading space in $wins. Otherwise the sed command used by
4004 eg compile-main ends up containing "/*.el". (Bug#15170)
4006 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4008 2013-08-30 Glenn Morris <rgm@gnu.org>
4010 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4011 Fix is-this-a-directory logic. (Bug#15220)
4013 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4015 * textmodes/css-mode.el: Use SMIE.
4016 (css-smie-grammar): New var.
4017 (css-smie--forward-token, css-smie--backward-token)
4018 (css-smie-rules): New functions.
4019 (css-mode): Use them.
4020 (css-navigation-syntax-table): Remove var.
4021 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4022 (css-indent-calculate, css-indent-line): Remove functions.
4024 Misc changes to reduce use of `(lambda...); and other cleanups.
4025 * cus-edit.el: Use lexical-binding.
4026 (customize-push-and-save, customize-apropos)
4027 (custom-buffer-create-internal): Use closures.
4028 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4029 * progmodes/ada-xref.el: Use setq.
4030 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4031 * dframe.el: Use lexical-binding.
4032 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4033 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4034 * descr-text.el: Use lexical-binding.
4035 (describe-text-widget, describe-text-sexp, describe-property-list):
4037 * comint.el (comint-history-isearch-push-state): Use a closure.
4038 * calculator.el: Use lexical-binding.
4039 (calculator-number-to-string): Make it work with lexical-binding.
4040 (calculator-funcall): Same and use cl-letf.
4042 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4043 (lisp--company-doc-string, lisp--company-location): New functions.
4044 (lisp-completion-at-point): Use them to improve Company support.
4046 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4047 params of lambda expressions.
4048 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4049 (ruby-smie--opening-pipe-p): New function.
4050 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4051 symbols and matched |...| for formal params.
4052 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4053 from being treated as hanging. Handle "rescue".
4055 2013-08-29 Glenn Morris <rgm@gnu.org>
4057 * progmodes/cc-engine.el (c-pull-open-brace):
4058 Move definition before use.
4060 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4062 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4063 are immutable. Don't use `unsafe' any more.
4064 (cl--defsubst-expand): Don't substitute at the same time as keeping
4065 a residual unused let-binding. Don't use `unsafe' any more.
4067 2013-08-29 Glenn Morris <rgm@gnu.org>
4069 * calendar/cal-china.el (calendar-chinese-year-cache):
4072 * nxml/nxml-util.el (nxml-debug-clear-inside):
4073 Use cl-loop rather than loop.
4075 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4077 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4079 2013-08-28 Glenn Morris <rgm@gnu.org>
4081 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4083 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4085 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4087 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4089 * simple.el (repeat-complex-command--called-interactively-skip):
4091 (repeat-complex-command): Use it (bug#14136).
4093 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4094 (c-define-abbrev-table): Add `doc' argument.
4095 (c-mode-abbrev-table, c++-mode-abbrev-table)
4096 (objc-mode-abbrev-table, java-mode-abbrev-table)
4097 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4098 (awk-mode-abbrev-table): Use it.
4099 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4100 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4101 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4102 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4103 Move initialization into the declaration; and remove any
4106 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4107 and dynamic let binding.
4109 * vc/smerge-mode.el: Remove redundant :group args.
4111 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4114 2013-08-28 Juri Linkov <juri@jurta.org>
4116 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4117 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4118 (isearch-other-meta-char): Handle an undefined shifted printing
4119 character by downshifting it. (Bug#15200)
4121 2013-08-28 Juri Linkov <juri@jurta.org>
4123 * isearch.el (isearch-search): Change regexp error message for
4124 non-regexp searches. (Bug#15166)
4126 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4128 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4129 for portability to hosts where /bin/sh has problems.
4131 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4133 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4135 2013-08-27 Juri Linkov <juri@jurta.org>
4137 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4138 in the keyboard macro. (Bug#15126)
4140 2013-08-27 Juri Linkov <juri@jurta.org>
4142 * isearch.el (isearch-quote-char): Comment out converting unibyte
4143 to multibyte, thus syncing with its `quoted-insert' counterpart.
4146 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4148 * window.el (display-buffer-use-some-window): Add missing
4149 argument in call of get-largest-window (Bug#15185).
4150 Reported by Stephen Leake.
4152 2013-08-27 Glenn Morris <rgm@gnu.org>
4154 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4156 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4158 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4159 from a matcher-function unless there's no more matches (bug#15161).
4161 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4163 * minibuffer.el: Revert change from 2013-08-20.
4165 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4166 with text property `tramp-default', if appropriate.
4167 (tramp-check-proper-host): New defun.
4168 (tramp-dissect-file-name): Do not check hostname. Revert change
4170 (tramp-backtrace): Make VEC-OR-PROC optional.
4172 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4173 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4174 * net/tramp-sh.el (tramp-maybe-open-connection):
4175 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4176 Apply `tramp-check-proper-host'.
4178 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4180 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4181 lambda expression in order to have `describe-variable' display it.
4183 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4185 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4186 BUF can be optional. (Bug#15186)
4188 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4190 * progmodes/flymake.el (flymake-get-real-file-name-function):
4191 Fix broken customization. (Bug#15184)
4193 2013-08-25 Alan Mackenzie <acm@muc.de>
4195 Improve indentation of bracelists defined by macros (without "=").
4197 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4198 expansion begins with "{", regard it as bracelist when it doesn't
4201 Parse C++ inher-intro when there's a template split over 2 lines.
4203 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4204 rigorously the search for "class" etc. followed by ":".
4206 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4207 random languages a regexp which never matches rather than nil.
4209 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4211 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4212 (c-awk-regexp-one-line-possibly-open-char-list-re)
4213 (c-awk-one-line-possibly-open-regexp-re)
4214 (c-awk-one-line-non-syn-ws*-re): Remove.
4215 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4216 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4217 (c-awk-space*-unclosed-regexp-/-re): New constants.
4218 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4219 aren't regexp delimiters.
4221 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4222 handling for a rare situation in AWK Mode involving unterminated
4225 2013-08-23 Glenn Morris <rgm@gnu.org>
4227 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4229 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4231 * files.el (create-file-buffer): If the result would begin with
4232 spaces, prepend a "|" instead of removing them. (Bug#15162)
4234 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4236 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4237 text-properties (bug#15155).
4239 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4241 (calc-keypad-redraw): Remove unused var `pad'.
4242 (calc-keypad-press): Remove unused var `menu'.
4244 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4246 * window.el (display-buffer-pop-up-frame):
4247 Call pop-up-frame-function with BUFFER current so `make-frame' will
4248 use it as the new frame's buffer (Bug#15133).
4250 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4252 * calendar/timeclock.el: Minor cleanups.
4253 (timeclock-ask-before-exiting, timeclock-use-display-time):
4255 (timeclock-modeline-display): Define as alias before the
4257 (timeclock-mode-line-display): Use define-minor-mode.
4258 (timeclock-day-list-template): Make it a function, add an argument.
4259 (timeclock-day-list-required, timeclock-day-list-length)
4260 (timeclock-day-list-debt, timeclock-day-list-span)
4261 (timeclock-day-list-break): Adjust calls accordingly.
4263 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4265 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4266 Use read--expression so that completion works again.
4268 2013-08-21 Sam Steingold <sds@gnu.org>
4270 Add rudimentary inferior shell interaction
4271 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4272 (sh-set-shell): Reset it.
4273 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4274 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4276 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4278 * align.el: Use lexical-binding.
4279 (align-region): Simplify accordingly.
4281 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4283 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4285 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4288 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4292 * net/tramp-cmds.el:
4294 * net/tramp-gvfs.el:
4296 * net/tramp-sh.el: Don't wrap external variable declarations by
4297 `eval-when-compile'.
4299 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4301 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4302 now that Emacs supports ImageMagick animations.
4304 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4306 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4307 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4309 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4311 * window.el (mouse-autoselect-window-select): Do autoselect when
4312 mouse pointer is on margin.
4314 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4316 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4318 2013-08-16 Glenn Morris <rgm@gnu.org>
4320 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4321 Handle "Remote Directory" response of some clients. (Bug#15058)
4323 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4324 Tweak warning. (Bug#14926)
4326 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4327 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4329 * image-mode.el (image-mode-map): Add menu items to reverse,
4330 increase, decrease, reset animation speed.
4331 (image--set-speed, image-increase-speed, image-decrease-speed)
4332 (image-reverse-speed, image-reset-speed): New functions.
4333 (image-mode-map): Add bindings for speed commands.
4335 * image.el (image-animate-get-speed, image-animate-set-speed):
4337 (image-animate-timeout): Respect image :speed property.
4339 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4341 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4342 previous line (bug#15101).
4343 (debugger-eval-expression, debugger-record-expression):
4344 Use read--expression (bug#15102).
4346 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4348 Remove byte compiler warnings, visible when compiling with
4349 `byte-compile-force-lexical-warnings' set to t.
4351 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4352 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4353 (tramp-handle-unhandled-file-name-directory)
4354 (tramp-handle-file-notify-add-watch, tramp-action-login)
4355 (tramp-action-succeed, tramp-action-permission-denied)
4356 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4359 * net/tramp-adb.el (tramp-adb-parse-device-names)
4360 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4361 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4362 (tramp-adb-handle-file-truename): Remove unused arguments.
4364 * net/tramp-cache.el (tramp-flush-directory-property)
4365 (tramp-flush-connection-property, tramp-list-connections)
4366 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4368 * net/tramp-compat.el (tramp-compat-make-temp-file):
4369 Rename FILENAME to F.
4371 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4372 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4373 (tramp-zeroconf-parse-workstation-device-names)
4374 (tramp-zeroconf-parse-webdav-device-names)
4375 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4377 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4378 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4380 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4382 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4383 (tramp-sh-handle-insert-file-contents-literally)
4384 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4386 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4387 Remove unused variables.
4389 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4390 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4391 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4393 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4394 Make them a defconst.
4395 (tramp-uuencode-region): Remove unused variable.
4397 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4399 * frameset.el (frameset--prop-setter): New function.
4400 (frameset-prop): Add gv-setter declaration.
4401 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4402 parameter was already set in FILTERED. Doc fix.
4403 (frameset--record-minibuffer-relationships): Allow saving a
4404 minibufferless frame without its corresponding minibuffer frame.
4405 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4406 frame, if the frame id matches.
4407 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4408 frames before orphaned ones.
4409 (frameset-restore): Warn about orphaned windows, instead of error out.
4411 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4413 * window.el (window-make-atom): Don't overwrite parameter
4415 (display-buffer-in-atom-window): Handle special case where we
4416 split an already atomic window.
4417 (window--major-non-side-window, display-buffer-in-side-window)
4418 (window--side-check): Ignore minibuffer window when walking
4420 (window-deletable-p): Return 'frame only if no other frame uses
4421 our minibuffer window.
4422 (record-window-buffer): Run buffer-list-update-hook.
4423 (split-window): Make sure window--check-frame won't destroy an
4424 existing atomic window in case the new window gets nested
4426 (display-buffer-at-bottom): Ignore minibuffer window when
4427 walking window tree. Don't split a side window.
4428 (pop-to-buffer): Don't set-buffer here, the select-window call
4430 (mouse-autoselect-window-select): Autoselect only if we are in the
4431 text portion of the window.
4433 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4435 * net/shr.el (shr-parse-image-data): New function to grab both the
4436 data itself and the Content-Type.
4437 (shr-put-image): Use it.
4439 * net/eww.el (eww-display-image): Ditto.
4441 * image.el (image-content-type-suffixes): New variable.
4443 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4445 * progmodes/python.el (python-imenu--build-tree)
4446 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4448 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4450 * simple.el (backward-word): Mention the optional argument.
4452 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4454 * frameset.el (frameset--make): Rename constructor from make-frameset.
4455 (frameset-p, frameset-valid-p): Don't autoload.
4456 (frameset-valid-p): Use normal accessors.
4458 2013-08-13 Glenn Morris <rgm@gnu.org>
4460 * progmodes/compile.el (compile-command): Tweak example in doc.
4461 * obsolete/scribe.el (scribe-mode):
4462 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4464 * mail/feedmail.el (feedmail-confirm-outgoing)
4465 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4467 * cus-start.el (truncate-partial-width-windows): Fix type.
4469 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4471 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4473 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4475 * emacs-lisp/timer.el (timer--time-setter): New function.
4476 (timer--time): Use it as gv-setter.
4478 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4479 setter is not a symbol.
4481 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4483 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4484 if sending fails. This makes debugging easier.
4486 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4488 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4489 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4490 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4492 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4494 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4496 2013-08-12 Glenn Morris <rgm@gnu.org>
4498 * format.el (format-annotate-function):
4499 Handle read-only text properties in the source. (Bug#14887)
4501 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4503 * net/eww.el (eww-display-html): Ignore coding system errors.
4504 One web site uses "utf-8lias" as the coding system.
4506 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4508 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4510 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4512 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4513 (tutorial--detailed-help): Remove unused local variables.
4514 (tutorial--save-tutorial-to): Use ignore-errors.
4515 (help-with-tutorial): Use looking-at-p.
4517 * view.el (view-buffer-other-window, view-buffer-other-frame):
4518 Mark unused arguments.
4520 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4521 (woman-select-symbol-fonts, woman, woman-find-file)
4522 (woman-insert-file-contents, woman-non-underline-faces):
4524 (woman1-unquote): Move declaration.
4526 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4527 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4528 argument. Remove unused local variable.
4529 (xml-parse-elem-type): Use string-match-p.
4530 (xml-substitute-numeric-entities): Use ignore-errors.
4532 * calculator.el (calculator): Mark unused argument.
4533 (calculator-paste, calculator-quit, calculator-integer-p):
4535 (calculator-string-to-number, calculator-decimal, calculator-exp)
4536 (calculator-op-or-exp): Use string-match-p.
4538 * dired.el (dired-buffer-more-recently-used-p): Declare.
4539 (dired-insert-set-properties, dired-insert-old-subdirs):
4542 * dired-aux.el (dired-compress): Use ignore-errors.
4543 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4544 (dired-do-async-shell-command, dired-do-shell-command)
4545 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4546 (dired-insert-subdir-validate): Use string-match-p.
4547 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4548 (dired-add-entry): Use string-match-p, looking-at-p.
4549 (dired-insert-subdir-newpos): Remove unused local variable.
4551 * filenotify.el (file-notify-callback): Remove unused local variable.
4553 * filesets.el (filesets-error): Mark unused argument.
4554 (filesets-which-command-p, filesets-filter-dir-names)
4555 (filesets-directory-files, filesets-get-external-viewer)
4556 (filesets-ingroup-get-data): Use string-match-p.
4558 * find-file.el (ff-other-file-name, ff-other-file-name)
4559 (ff-find-the-other-file, ff-cc-hh-converter):
4560 Remove unused local variables.
4561 (ff-get-file-name): Use string-match-p.
4562 (ff-all-dirs-under): Use ignore-errors.
4564 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4565 (follow-select-if-visible): Remove unused local variable.
4567 * forms.el (read-file-filter): Move declaration.
4568 (forms--make-format, forms--make-parser, forms-insert-record):
4569 Quote function with #'.
4570 (forms--update): Use string-match-p. Quote function with #'.
4572 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4573 (help-make-xrefs): Use looking-at-p.
4574 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4576 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4577 (ibuffer-confirm-operation-on): Use string-match-p.
4579 * msb.el (msb-item-handler, msb-dired-item-handler):
4580 Mark unused arguments.
4582 * ses.el (ses-decode-cell-symbol)
4583 (ses-kill-override): Remove unused local variable.
4584 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4585 (ses-load): Use ignore-errors, looking-at-p.
4586 (ses-jump-safe): Use ignore-errors.
4587 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4589 * tabify.el (untabify, tabify): Mark unused arguments.
4591 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4592 Mark unused argument.
4593 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4594 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4596 * emacs-lisp/timer.el (timer--time): Define setter with
4597 gv-define-setter to avoid deprecation warning.
4599 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4600 (*record-cmpl-statistics-p*): Remove (was commented out).
4601 (cmpl-statistics-block): Remove (body was commented out).
4602 All callers changed.
4603 (add-completions-from-buffer, load-completions-from-file):
4604 Remove unused variables.
4606 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4608 * filecache.el (file-cache-delete-file-list):
4609 Print message only when told so.
4610 (file-cache-files-matching): Use #' in mapconcat argument.
4612 * ffap.el (ffap-url-at-point): Fix reference to variable
4613 thing-at-point-default-mail-uri-scheme.
4615 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4617 * subr.el (define-error): New function.
4618 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4619 error-file-not-found and define with define-error.
4620 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4621 and define with define-error.
4622 * userlock.el (file-locked, file-supersession):
4623 * simple.el (mark-inactive):
4624 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4625 * progmodes/ada-mode.el (ada-mode-errors):
4626 * play/life.el (life-extinct):
4627 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4628 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4629 * nxml/rng-util.el (rng-error):
4630 * nxml/rng-uri.el (rng-uri-error):
4631 * nxml/rng-match.el (rng-compile-error):
4632 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4633 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4634 * nxml/nxml-rap.el (nxml-scan-error):
4635 * nxml/nxml-outln.el (nxml-outline-error):
4636 * net/soap-client.el (soap-error):
4637 * net/gnutls.el (gnutls-error):
4638 * net/ange-ftp.el (ftp-error):
4639 * mpc.el (mpc-proc-error):
4640 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4641 (json-number-format, json-string-escape, json-string-format)
4642 (json-key-format, json-object-format):
4643 * jka-compr.el (compression-error):
4644 * international/quail.el (quail-error):
4645 * international/kkc.el (kkc-error):
4646 * emacs-lisp/ert.el (ert-test-failed):
4647 * calc/calc.el (calc-error, inexact-result, math-overflow)
4649 * bookmark.el (bookmark-error-no-filename):
4650 * epg.el (epg-error): Define with define-error.
4652 * time.el (display-time-event-handler)
4653 (display-time-next-load-average): Don't call sit-for since it seems
4654 unnecessary (bug#15045).
4656 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4657 Use #' instead of ' to quote functions.
4658 (checkdoc-output-mode): Use setq-local.
4659 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4660 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4661 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4662 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4663 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4664 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4665 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4666 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4668 * ido.el (ido-completion-help): Fix up compiler warning.
4670 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4672 * frameset.el (frameset-p): Add autoload cookie.
4673 (frameset--jump-to-register): New function, based on code moved from
4675 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4677 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4678 (frameset-restore, frameset-save, frameset-session-filter-alist):
4679 Remove declarations.
4680 (register-alist): Doc fix.
4681 (frameset-to-register): Move to frameset.el.
4682 (jump-to-register, describe-register-1): Remove frameset-specific code.
4684 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4686 * allout-widgets.el (allout-widgets-pre-command-business)
4687 (allout-widgets-post-command-business)
4688 (allout-widgets-after-change-handler)
4689 (allout-decorate-item-and-context, allout-set-boundary-marker)
4690 (allout-body-modification-handler)
4691 (allout-graphics-modification-handler): Mark ignored arguments.
4692 (allout-widgets-post-command-business)
4693 (allout-widgets-exposure-change-processor)
4694 (allout-widgets-exposure-undo-processor)
4695 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4696 (allout-parse-item-at-point, allout-decorate-item-guides)
4697 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4698 * allout.el (epa-passphrase-callback-function): Declare.
4699 (allout-overlay-insert-in-front-handler)
4700 (allout-overlay-interior-modification-handler)
4701 (allout-isearch-end-handler, allout-chart-siblings)
4702 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4703 (allout-yank-processing, allout-process-exposed)
4704 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4705 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4706 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4707 (lisp-indent-defform): Mark ignored arguments.
4708 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4709 (calculate-lisp-indent): Remove unused variables.
4710 * international/characters.el (indian-2-column, arabic-2-column)
4711 (tibetan): Mark ignored arguments.
4712 (use-cjk-char-width-table): Mark ignored arguments.
4713 Remove unused variables.
4714 * international/fontset.el (build-default-fontset-data)
4715 (x-compose-font-name, create-fontset-from-fontset-spec):
4716 Mark ignored arguments.
4717 (fontset-plain-name): Remove unused variables.
4718 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4719 (keyboard-coding-system): Mark ignored arguments.
4720 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4721 * help.el (resize-temp-buffer-window):
4722 * window.el (display-buffer-in-major-side-window)
4723 (display-buffer-in-side-window, display-buffer-in-previous-window):
4724 Remove unused variables.
4725 * isearch.el (isearch-forward-symbol):
4726 * version.el (emacs-bzr-version-bzr):
4727 * international/mule-cmds.el (current-language-environment):
4728 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4730 * term/pc-win.el (x-list-fonts, x-display-planes)
4731 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4732 (x-server-version, x-display-screens, x-display-mm-height)
4733 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4734 (x-selection-owner-p, x-own-selection-internal)
4735 (x-disown-selection-internal, x-get-selection-internal)
4736 (msdos-initialize-window-system):
4737 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4738 * term/x-win.el (x-handle-no-bitmap-icon):
4739 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4740 (vc-default-find-file-hook, vc-default-extra-menu):
4741 Mark ignored arguments.
4743 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4745 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4746 break-condition in the context of the debugged code (bug#12685).
4748 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4751 Do not use an overlay to highlight the last prompt. (Bug#14744)
4752 (comint-mode): Make comint-last-prompt buffer local.
4753 (comint-last-prompt): New variable.
4754 (comint-last-prompt-overlay): Remove. Superseded by
4756 (comint-snapshot-last-prompt, comint-output-filter):
4757 Use comint-last-prompt.
4759 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4761 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4762 (frameset-save): Check validity of the resulting frameset.
4764 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4766 * ido.el (ido-record-command): Add doc string.
4768 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4770 * frameset.el (frameset): Do not disable creation of the default
4771 frameset-p predicate. Doc fix.
4772 (frameset-valid-p): New function, copied from the old predicate-p.
4773 Add additional checks.
4774 (frameset-restore): Check with frameset-valid-p.
4775 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4776 (frameset-name, frameset-description, frameset-properties)
4777 (frameset-states): Add docstring.
4778 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4779 (frameset-filter-alist): Doc fixes.
4781 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4783 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4785 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4787 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4788 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4789 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4790 (byte-compile-normal-call): Remove obsolescence check.
4792 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4794 * frameset.el (frameset-restore): Doc fix.
4796 * register.el (frameset-frame-id, frameset-frame-with-id)
4797 (frameset-p, frameset-restore, frameset-save): Declare.
4798 (register-alist): Document framesets.
4799 (frameset-session-filter-alist): Declare.
4800 (frameset-to-register): New function.
4801 (jump-to-register): Implement jumping to framesets. Doc fix.
4802 (describe-register-1): Describe framesets.
4804 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4806 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4808 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4809 Use lexical-binding.
4811 * frameset.el (frameset): Use type vector, not list (incompatible
4812 change). Do not declare a new constructor, use the default one.
4813 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4814 `name' and `description', respectively, and add read-only slot
4815 `timestamp'. Doc fixes.
4816 (frameset-copy, frameset-persistent-filter-alist)
4817 (frameset-filter-alist, frameset-switch-to-gui-p)
4818 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4819 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4820 (frameset-filter-iconified, frameset-keep-original-display-p):
4822 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4823 Rename from frameset-filter-(save|restore)-param. All callers changed.
4825 (frameset-p): Adapt to change to vector and be more thorough.
4826 Change arg name to OBJECT. Doc fix.
4827 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4828 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4829 All callers changed.
4830 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4831 All callers changed.
4832 (frameset--record-minibuffer-relationships): Rename from
4833 frameset--process-minibuffer-frames. All callers changed.
4834 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4835 Use new default constructor (again). Doc fix.
4836 (frameset--find-frame-if): Rename from `frameset--find-frame.
4837 All callers changed.
4838 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4839 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4841 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4842 PARAMETERS and WINDOW-STATE, respectively.
4843 (frameset-restore): Add new keyword argument PREDICATE.
4844 Reset frameset--target-display to nil. Doc fix.
4846 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4848 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4850 (bat-mode-syntax-table): Mark \n as end-of-comment.
4851 (bat-font-lock-keywords): Remove comment rule.
4853 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4854 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4856 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4857 (byte-compile-callargs-warn): Use `push'.
4858 (byte-compile-arglist-warn): Ignore higher-order "calls".
4859 (byte-compile-file-form-autoload): Use `pcase'.
4860 (byte-compile-function-form): If quoting a symbol, check that it exists.
4862 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4864 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4865 and add a few popular commands found in batch files.
4866 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4867 (dos-mode): Doc fixes.
4869 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4871 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4872 (dos-mode): Use setq-local. Add space after "rem".
4873 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4874 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4876 2013-08-07 Arni Magnusson <arnima@hafro.is>
4878 * progmodes/dos.el: New file.
4879 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4882 2013-08-06 Glenn Morris <rgm@gnu.org>
4884 * calendar/calendar.el: Add new faces, and day-header-array.
4885 (calendar-weekday-header, calendar-weekend-header)
4886 (calendar-month-header): New faces.
4887 (calendar-day-header-construct): New function.
4888 (calendar-day-header-width): Also :set calendar-day-header-array.
4889 (calendar-american-month-header, calendar-european-month-header)
4890 (calendar-iso-month-header): Use calendar- faces.
4891 (calendar-generate-month):
4892 Use calendar-day-header-array for day headers; apply faces to them.
4893 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4894 (calendar-abbrev-construct): Add optional maxlen argument.
4895 (calendar-day-name-array): Doc fix.
4896 (calendar-day-name-array, calendar-abbrev-length)
4897 (calendar-day-abbrev-array):
4898 Also :set calendar-day-header-array, and maybe redraw.
4899 (calendar-day-header-array): New option. (Bug#15007)
4900 (calendar-font-lock-keywords): Set to nil and make obsolete.
4901 (calendar-day-name): Add option to use header array.
4903 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4905 * net/shr.el (shr-render-td): Remove debugging.
4906 (shr-render-td): Make width computation consistent by defaulting
4907 all zero-width columns to 10 characters. This may not be optimal,
4908 but it's at least consistent.
4909 (shr-make-table-1): Redo last change to fix the real problem in
4912 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4914 * files.el (cache-long-line-scans):
4915 Make obsolete alias to `cache-long-scans'.
4917 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4919 * frameset.el (frameset, frameset-filter-alist)
4920 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4921 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4922 (frameset-compute-pos): Rename from frameset--compute-pos,
4924 (frameset-move-onscreen): Use frameset-compute-pos.
4925 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4927 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4928 Fix typos in docstrings.
4930 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4932 * frame.el (get-other-frame): Tiny cleanup.
4934 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4936 * vc/vc.el (vc-default-ignore-completion-table):
4937 Silence byte-compiler warning.
4939 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4940 slot , which can indeed be nil.
4941 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4942 Move entry for `left' from persistent to live filter alist.
4943 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4945 (frameset-filter-params): When restoring a frame, copy items added to
4946 `filtered', to avoid unwittingly modifying the original parameters.
4947 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4948 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4950 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4951 to use looking-at-p instead of looking-at. (Bug#15028)
4953 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4955 Revert introduction of isearch-filter-predicates (bug#14714).
4956 Rely on add-function instead.
4957 * isearch.el (isearch-filter-predicates): Rename it back to
4958 isearch-filter-predicate.
4959 (isearch-message-prefix): Use advice-function-mapc and advice
4960 properties to get the isearch-message-prefix.
4961 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4962 instead of run-hook-with-args-until-failure.
4963 (isearch-filter-visible): Not obsolete any more.
4964 * loadup.el: Preload nadvice.
4965 * replace.el (perform-replace): Revert to funcall
4966 instead of run-hook-with-args-until-failure.
4967 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4968 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4969 dired-isearch-filenames-toggle; make it into a proper minor mode.
4970 Use add/remove-function.
4971 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4972 Call the minor-mode rather than add/remove-hook.
4973 (dired-isearch-filter-filenames):
4974 Remove isearch-message-prefix property.
4975 * info.el (Info--search-loop): New function, extracted from Info-search.
4976 Funcall isearch-filter-predicate instead of
4977 run-hook-with-args-until-failure isearch-filter-predicates.
4978 (Info-search): Use it.
4979 (Info-mode): Use isearch-filter-predicate instead of
4980 isearch-filter-predicates.
4982 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4984 Do not call to `selected-window' where it is assumed by default.
4985 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4986 `window-hscroll', `window-width', `window-height', `window-buffer',
4987 `window-frame', `window-start', `window-point', `next-window'
4988 and `window-display-table'.
4989 * abbrev.el (abbrev--default-expand):
4990 * bs.el (bs--show-with-configuration):
4991 * buff-menu.el (Buffer-menu-mouse-select):
4992 * calc/calc.el (calc):
4993 * calendar/calendar.el (calendar-generate-window):
4994 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4996 * comint.el (send-invisible, comint-dynamic-complete-filename)
4997 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4998 * completion.el (complete):
4999 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5000 * disp-table.el (describe-current-display-table):
5001 * doc-view.el (doc-view-insert-image):
5002 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5003 * ehelp.el (with-electric-help):
5004 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5005 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5006 * emacs-lisp/helper.el (Helper-help-scroller):
5007 * emulation/cua-base.el (cua--post-command-handler-1):
5008 * eshell/esh-mode.el (eshell-output-filter):
5009 * ffap.el (ffap-gnus-wrapper):
5010 * help-macro.el (make-help-screen):
5011 * hilit-chg.el (highlight-compare-buffers):
5012 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5013 * hl-line.el (global-hl-line-highlight):
5014 * icomplete.el (icomplete-simple-completing-p):
5015 * isearch.el (isearch-done):
5016 * jit-lock.el (jit-lock-stealth-fontify):
5017 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5018 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5019 * mpc.el (mpc-tagbrowser, mpc):
5020 * net/rcirc.el (rcirc-any-buffer):
5021 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5022 * play/landmark.el (landmark-max-width, landmark-max-height):
5023 * play/zone.el (zone):
5024 * progmodes/compile.el (compilation-goto-locus):
5025 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5026 * progmodes/etags.el (find-tag-other-window):
5027 * progmodes/fortran.el (fortran-column-ruler):
5028 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5029 * progmodes/verilog-mode.el (verilog-point-text):
5030 * reposition.el (reposition-window):
5031 * rot13.el (toggle-rot13-mode):
5032 * server.el (server-switch-buffer):
5033 * shell.el (shell-dynamic-complete-command)
5034 (shell-dynamic-complete-environment-variable):
5035 * simple.el (insert-buffer, set-selective-display)
5036 (delete-completion-window):
5037 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5038 (speedbar-recenter):
5039 * startup.el (fancy-splash-head):
5040 * textmodes/ispell.el (ispell-command-loop):
5041 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5042 * tutorial.el (help-with-tutorial):
5043 * vc/add-log.el (add-change-log-entry):
5044 * vc/compare-w.el (compare-windows):
5045 * vc/ediff-help.el (ediff-indent-help-message):
5046 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5047 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5048 (ediff-setup-control-frame):
5049 * vc/emerge.el (emerge-position-region):
5050 * vc/pcvs-util.el (cvs-bury-buffer):
5051 * window.el (walk-windows, mouse-autoselect-window-select):
5052 * winner.el (winner-set-conf, winner-undo): Related users changed.
5054 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5056 * frameset.el (frameset--set-id): Doc fix.
5057 (frameset-frame-id, frameset-frame-id-equal-p)
5058 (frameset-locate-frame-id): New functions.
5059 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5060 (frameset-restore): Use them.
5062 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5064 Do not call to `selected-frame' where it is assumed by default.
5065 Affected functions are `raise-frame', `redraw-frame',
5066 `frame-first-window', `frame-terminal' and `delete-frame'.
5067 * calendar/appt.el (appt-disp-window):
5068 * epg.el (epg-wait-for-completion):
5069 * follow.el (follow-delete-other-windows-and-split)
5070 (follow-avoid-tail-recenter):
5071 * international/mule.el (set-terminal-coding-system):
5072 * mail/rmail.el (rmail-mail-return):
5073 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5074 * progmodes/f90.el (f90-add-imenu-menu):
5075 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5076 * server.el (server-switch-buffer):
5077 * simple.el (delete-completion-window):
5079 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5080 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5081 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5082 * vc/ediff.el (ediff-documentation): Related users changed.
5083 * frame.el (selected-terminal): Remove the leftover.
5085 2013-08-05 Glenn Morris <rgm@gnu.org>
5087 * calendar/calendar.el (calendar-generate-month):
5088 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5089 (calendar-generate-month, calendar-font-lock-keywords):
5090 Fix for calendar-day-header-width > length of any day name.
5092 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5094 * desktop.el (desktop-clear): Use new name of sort predicate.
5096 * frameset.el (frameset): Add docstring. Move :version property to its
5098 (frameset-copy): Rename from copy-frameset.
5099 (frameset-p): Check more thoroughly.
5100 (frameset-prop): Do not check for :version, which is no longer a prop.
5101 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5102 Use new :never value instead of t.
5103 (frameset-filter-alist): Expand and clarify docstring.
5104 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5105 (frameset-filter-minibuffer, frameset-filter-save-param)
5106 (frameset-filter-restore-param, frameset-filter-iconified):
5107 Add pointer to docstring of frameset-filter-alist.
5108 (frameset-filter-params): Rename filter values to be more meaningful:
5109 :never instead of t, and reverse the meanings of :save and :restore.
5110 (frameset--process-minibuffer-frames): Clarify error message.
5111 (frameset-save): Avoid unnecessary and confusing call to framep.
5112 Use new BOA constructor for framesets.
5113 (frameset--reuse-list): Doc fix.
5114 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5115 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5116 (frameset-minibufferless-first-p): Doc fix.
5117 Rename from frameset-sort-frames-for-deletion.
5118 (frameset-restore): Doc fixes. Use new function names.
5119 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5121 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5123 * desktop.el (desktop-restore-forces-onscreen)
5124 (desktop-restore-reuses-frames): Document :keyword constant values.
5125 (desktop-filter-parameters-alist): Remove, now identical to
5126 frameset-filter-alist.
5127 (desktop--filter-tty*): Remove, moved to frameset.el.
5128 (desktop-save-frameset, desktop-restore-frameset):
5129 Do not pass :filters argument.
5131 * frameset.el (frameset-live-filter-alist)
5132 (frameset-persistent-filter-alist): New variables.
5133 (frameset-filter-alist): Use them. Add autoload cookie.
5134 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5135 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5136 `frameset--id' (it's supposed to be internal to frameset.el).
5137 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5138 (frameset--initial-params): New function.
5139 (frameset--get-frame): Use it. Doc fix.
5140 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5141 Accept :all, not 'all.
5142 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5143 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5144 with fbound symbols. Fix frame id matching, and remove matching ids if
5145 the frame being restored is deleted. Obey :delete.
5147 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5149 * subr.el (macrop): New function.
5150 (text-clone--maintaining): New var.
5151 (text-clone--maintain): Rename from text-clone-maintain. Use it
5152 instead of inhibit-modification-hooks.
5154 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5155 a proxy, so as handle autoloads and redefinitions of the target.
5156 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5158 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5159 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5160 (pcase--mutually-exclusive-p): New function.
5161 (pcase--split-consp): Use it.
5162 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5163 mutually exclusive with the current predicate.
5165 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5166 (edebug-macrop): Remove. Use `macrop' instead.
5167 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5169 * eshell/esh-cmd.el (eshell-macrop):
5170 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5172 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5174 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5175 (advice-mapc): New function, using it.
5176 (advice-function-member-p): New function.
5177 (advice--normalize): Store the cdr in advice--saved-rewrite since
5178 that's the part that will be changed.
5179 (advice--symbol-function): New function.
5180 (advice-remove): Handle removal before the function is defined.
5181 Adjust to new advice--saved-rewrite.
5182 (advice-member-p): Use advice-function-member-p and
5183 advice--symbol-function.
5185 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5187 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5188 (frameset-filter-minibuffer): Doc fix.
5189 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5190 (frameset--set-id, frameset--process-minibuffer-frames)
5191 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5192 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5194 * desktop.el (desktop-clear): Only delete frames when called
5195 interactively and desktop-restore-frames is non-nil. Doc fix.
5196 (desktop-read): Set desktop-saved-frameset to nil.
5198 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5200 * vc/vc.el (vc-ignore): Rewrite.
5201 (vc-default-ignore-completion-table):
5203 (vc--add-line, vc--remove-regexp): New functions.
5205 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5206 (vc-svn-ignore-completion-table): New function.
5208 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5209 (vc-hg-ignore-completion-table):
5210 (vc-hg-find-ignore-file): New functions.
5212 * vc/vc-git.el (vc-git-ignore): Rewrite.
5213 (vc-git-ignore-completion-table):
5214 (vc-git-find-ignore-file): New functions.
5216 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5218 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5219 (vc-bzr-ignore-completion-table):
5220 (vc-bzr-find-ignore-file): New functions.
5222 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5224 * frameset.el (frameset-prop): New function and setter.
5225 (frameset-save): Do not modify frame list passed by the caller.
5227 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5229 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5231 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5233 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5234 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5236 * custom.el (custom-initialize-default, custom-initialize-set)
5237 (custom-initialize-reset, custom-initialize-changed): Affect the
5238 toplevel-default-value (bug#6275, bug#14586).
5239 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5242 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5244 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5245 Add cl-def* expressions.
5247 * frameset.el (frameset-filter-params): Fix order of arguments.
5249 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5251 Move code related to saving frames to frameset.el.
5252 * desktop.el: Require frameset.
5253 (desktop-restore-frames): Doc fix.
5254 (desktop-restore-reuses-frames): Rename from
5255 desktop-restoring-reuses-frames.
5256 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5257 (desktop-clear): Clear frames too.
5258 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5259 (desktop--filter-tty*, desktop-save, desktop-read):
5260 Use frameset functions.
5261 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5262 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5263 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5264 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5265 (desktop--process-minibuffer-frames, desktop-save-frames)
5266 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5267 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5268 (desktop--sort-states, desktop-restoring-frames-p)
5269 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5270 (desktop-restoring-frameset-p, desktop-restore-frameset)
5271 (desktop--check-dont-save, desktop-save-frameset): New functions.
5272 (desktop--app-id): New constant.
5273 (desktop-first-buffer, desktop-buffer-ok-count)
5274 (desktop-buffer-fail-count): Move before first use.
5275 * frameset.el: New file.
5277 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5279 * files.el: Use lexical-binding.
5280 (dir-locals-read-from-file): Remove unused `err' variable.
5281 (hack-dir-local-variables--warned-coding): New var.
5282 (hack-dir-local-variables): Use it to avoid repeated warnings.
5283 (make-backup-file-name--default-function): New function.
5284 (make-backup-file-name-function): Use it as default.
5285 (buffer-stale--default-function): New function.
5286 (buffer-stale-function): Use it as default.
5287 (revert-buffer-insert-file-contents--default-function): New function.
5288 (revert-buffer-insert-file-contents-function): Use it as default.
5289 (insert-directory): Avoid add-to-list.
5291 * autorevert.el (auto-revert-handler): Simplify.
5292 Use buffer-stale--default-function.
5294 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5296 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5298 * whitespace.el (whitespace-ensure-local-variables): New function.
5299 (whitespace-cleanup-region): Call it.
5300 (whitespace-turn-on): Call it.
5302 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5304 Complete file name handlers.
5306 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5307 (tramp-handle-verify-visited-file-modtime)
5308 (tramp-handle-file-notify-rm-watch): New functions.
5309 (tramp-call-process): Do not bind `default-directory'.
5311 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5312 Order alphabetically.
5313 [access-file, add-name-to-file, dired-call-process]:
5314 [dired-compress-file, file-acl, file-notify-rm-watch]:
5315 [file-ownership-preserved-p, file-selinux-context]:
5316 [make-directory-internal, make-symbolic-link, set-file-acl]:
5317 [set-file-selinux-context, set-visited-file-modtime]:
5318 [verify-visited-file-modtime]: Add handler.
5319 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5321 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5322 [file-notify-add-watch, file-notify-rm-watch]:
5323 [set-file-times, set-visited-file-modtime]:
5324 [verify-visited-file-modtime]: Add handler.
5325 (with-tramp-gvfs-error-message)
5326 (tramp-gvfs-handle-set-visited-file-modtime)
5327 (tramp-gvfs-fuse-file-name): Remove.
5328 (tramp-gvfs-handle-file-notify-add-watch)
5329 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5330 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5332 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5333 Order alphabetically.
5334 [file-notify-rm-watch ]: Use default Tramp handler.
5335 [executable-find]: Remove private handler.
5336 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5337 `default-directory'.
5338 (tramp-sh-handle-executable-find)
5339 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5340 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5341 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5342 Do not use `format' in `tramp-message'.
5344 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5345 [file-notify-rm-watch, set-visited-file-modtime]:
5346 [verify-visited-file-modtime]: Add handler.
5347 (tramp-smb-call-winexe): Do not bind `default-directory'.
5349 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5351 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5353 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5355 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5357 (log-view-diff-changeset): Same.
5358 (log-view-diff-common): Call backend command `previous-revision'
5359 to find out the previous revision, in both cases. Swap the
5360 variables `to' and `fr', so that `fr' usually refers to the
5361 earlier revision (Bug#14989).
5363 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5365 * ibuf-ext.el (ibuffer-filter-by-filename):
5366 Make it work with dired buffers too.
5368 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5370 * emacs-lisp/re-builder.el (reb-color-display-p):
5371 * files.el (save-buffers-kill-terminal):
5372 * net/browse-url.el (browse-url):
5373 * server.el (server-save-buffers-kill-terminal):
5374 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5375 Prefer nil to selected-frame for the first arg of frame-parameter.
5377 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5379 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5381 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5383 * minibuffer.el (completion--twq-all): Try and preserve each
5384 completion's case choice (bug#14907).
5386 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5388 * net/network-stream.el (open-network-stream): Mention the new
5389 :nogreeting parameter.
5390 (network-stream-open-starttls): Use the :nogreeting parameter
5393 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5395 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5396 more natural than popping.
5398 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5399 (shr-urlify): Highlight under mouse.
5401 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5403 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5405 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5407 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5410 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5411 point-min==1. Fix search string. Fix parentheses missing.
5413 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5414 assume point-min==1. Fix search string. Fix parentheses missing.
5416 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5418 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5421 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5423 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5424 initial frame is minibuffer-less. (Bug#14841)
5426 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5428 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5431 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5432 (tramp-maybe-open-connection): Use it.
5434 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5436 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5437 minimal set of parameters passed when creating a frame, because
5438 the minibuffer status of a frame cannot be changed later.
5440 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5442 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5443 replace-regexp-in-string and inadvertent omissions in previous change.
5444 (todo-filter-items): Ensure only file names are comma-separated in
5445 name of filtered items buffer.
5447 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5449 * desktop.el: Optionally force offscreen frames back onscreen.
5450 (desktop-restoring-reuses-frames): New option.
5451 (desktop--compute-pos, desktop--move-onscreen): New functions.
5452 (desktop--make-frame): Use desktop--move-onscreen.
5454 2013-07-27 Alan Mackenzie <acm@muc.de>
5456 Fontify a Java generic method as a function.
5457 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5460 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5462 * calendar/todo-mode.el: Add command to rename todo files.
5463 (todo-rename-file): New command.
5464 (todo-key-bindings-t): Add key binding for it. Change the
5465 bindings of todo-filter-regexp-items(-multifile) to use `x'
5466 instead of `r', since the latter is better suited to the new
5469 2013-07-27 Alan Mackenzie <acm@muc.de>
5471 Make Java try-with-resources statement parse properly.
5472 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5473 (c-block-stmt-1-2-key): New language constants/variables.
5474 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5475 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5476 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5477 with c-block-stmt-1-2-key.
5479 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5481 * desktop.el (desktop--make-frame): Apply most frame parameters after
5482 creating the frame to force (partially or totally) offscreen frames to
5483 be restored as such.
5485 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5487 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5490 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5492 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5493 `base' arg of backtrace-frame.
5495 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5497 * simple.el (list-processes): Doc fix.
5499 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5501 * desktop.el (desktop--select-frame):
5502 Try harder to reuse existing frames.
5504 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5506 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5507 (edebug-eval): Use backtrace-eval.
5508 (edebug--display, edebug--recursive-edit): Don't let-bind the
5509 edebug-outer-* vars that keep track of variables we locally let-bind.
5510 (edebug-outside-excursion): Don't restore outside values of locally
5512 (edebug--display): Use user-error.
5513 (cl-lexical-debug, cl-debug-env): Remove.
5515 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5517 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5518 are restored to be sure that they are visible before deleting any
5521 2013-07-26 Matthias Meulien <orontee@gmail.com>
5523 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5524 vc-print-root-log. (Bug#14948)
5526 2013-07-26 Richard Stallman <rms@gnu.org>
5528 Add aliases for encrypting mail.
5529 * epa.el (epa-mail-aliases): New option.
5530 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5531 Bind inhibit-read-only so read-only text doesn't ruin everything.
5532 (epa-mail-default-recipients): New subroutine broken out.
5533 Handle epa-mail-aliases.
5535 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5537 Add support for lexical variables to the debugger's `e' command.
5538 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5539 vars, except for debugger-outer-match-data.
5540 (debugger-frame-number): Move check for "on a function call" from
5541 callers into it. Add `skip-base' argument.
5542 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5543 (debugger-env-macro): Only reset the state stored in non-variables,
5544 i.e. current-buffer and match-data.
5545 (debugger-eval-expression): Rewrite using backtrace-eval.
5546 * subr.el (internal--called-interactively-p--get-frame): Remove.
5547 (called-interactively-p):
5548 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5549 `base' arg of backtrace-frame instead.
5551 2013-07-26 Glenn Morris <rgm@gnu.org>
5553 * align.el (align-regexp): Doc fix. (Bug#14857)
5554 (align-region): Explicit error if subexpression missing/does not match.
5556 * simple.el (global-visual-line-mode):
5557 Do not duplicate the mode lighter. (Bug#14858)
5559 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5561 * window.el (display-buffer): In display-buffer bind
5562 split-window-keep-point to t, bug#14829.
5564 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5566 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5567 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5568 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5569 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5571 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5572 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5574 2013-07-25 Glenn Morris <rgm@gnu.org>
5576 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5578 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5580 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5581 parameter to modify-frame-parameters if the value has not changed;
5582 this is a workaround for bug#14949.
5583 (desktop--make-frame): On cl-delete-if call, check parameter name,
5586 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5588 * vc/vc.el (vc-ignore): New function.
5590 * vc/vc-svn.el (vc-svn-ignore): New function.
5592 * vc/vc-hg.el (vc-hg-ignore): New function.
5594 * vc/vc-git.el (vc-git-ignore): New function.
5596 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5597 (vc-dir-ignore): New function.
5599 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5600 (cvs-append-to-ignore): Move here from pcvs.el.
5602 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5604 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5606 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5608 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5609 (desktop-restore-frames): Warn when deleting an existing frame failed.
5611 2013-07-24 Glenn Morris <rgm@gnu.org>
5613 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5615 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5617 * filenotify.el (file-notify-supported-p):
5618 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5621 * autorevert.el (auto-revert-use-notify):
5622 (auto-revert-notify-add-watch):
5623 * net/tramp.el (tramp-file-name-for-operation):
5624 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5625 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5626 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5627 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5628 Remove `file-notify-supported-p' entry.
5630 2013-07-24 Glenn Morris <rgm@gnu.org>
5632 * printing.el: Replace all uses of deleted ps-windows-system,
5633 ps-lp-system, ps-flatten-list with lpr- versions.
5635 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5637 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5638 checked with memq (bug#14935).
5640 * files.el (revert-buffer-function): Use a non-nil default.
5641 (revert-buffer-preserve-modes): Declare var to
5642 provide access to the `preserve-modes' argument.
5643 (revert-buffer): Let-bind it.
5644 (revert-buffer--default): New function, extracted from revert-buffer.
5646 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5648 * lpr.el: Signal print errors more prominently.
5649 (print-region-function): Don't default to nil.
5650 (lpr-print-region): New function, extracted from print-region-1.
5651 Check lpr's return value and signal an error in case of problem.
5652 (print-region-1): Use it.
5653 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5655 (ps-printer-name): Default to nil.
5656 (ps-printer-name-option): Default to lpr-printer-switch.
5657 (ps-print-region-function): Don't default to nil.
5658 (ps-postscript-code-directory): Simplify default.
5659 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5660 (ps-string-list, ps-eval-switch, ps-flatten-list)
5661 (ps-flatten-list-1): Remove.
5662 (ps-multibyte-buffer): Avoid setq.
5663 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5664 (print-region-function, ps-print-region-function): Don't set them here.
5666 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5668 * ido.el (ido-fractionp):
5669 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5670 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5671 (ido-max-directory-size, ido-max-dir-file-cache)
5672 (ido-decorations): Doc fix.
5674 * ansi-color.el: Fix old URL.
5676 2013-07-23 Michael R. Mauger <michael@mauger.com>
5678 * progmodes/sql.el: Version 3.3
5679 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5680 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5681 (sql-interactive-remove-continuation-prompt): Rewrite, use
5682 functions above. Fix continuation prompt and complete output line
5684 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5685 redirected output buffer.
5686 (sql-mode): Restore deleted code (Bug#13591).
5688 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5690 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5692 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5694 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5696 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5697 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5698 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5700 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5702 * desktop.el (desktop-clear): Simplify; remove useless checks
5703 against invalid buffer names.
5704 (desktop-list*): Use cl-list*.
5705 (desktop-buffer-info, desktop-create-buffer): Simplify.
5707 2013-07-23 Leo Liu <sdl.web@gmail.com>
5709 * bookmark.el (bookmark-make-record): Restore NAME as a default
5712 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5714 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5715 extracted from autoload--insert-text.
5716 (autoload--insert-text): Remove.
5717 (autoload--print-cookie-text): New function, extracted from
5718 autoload--insert-cookie-text.
5719 (autoload--insert-cookie-text): Remove.
5720 (autoload-generate-file-autoloads): Adjust calls accordingly.
5722 * winner.el (winner-hook-installed-p): Remove.
5723 (winner-mode): Simplify accordingly.
5725 * subr.el (add-to-list): Fix compiler-macro when `append' is
5726 not constant. Don't use `cl-member' for the base case.
5728 * progmodes/subword.el: Fix boundary case (bug#13758).
5729 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5731 (subword-backward-regexp): Make it a constant.
5732 (subword-forward-internal): Don't treat a trailing capital as the
5733 beginning of a word.
5735 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5737 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5738 global value of tabulated-list-revert-hook (bug#14930).
5740 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5742 * desktop.el: Require 'cl-lib.
5743 (desktop-before-saving-frames-functions): New hook.
5744 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5745 for frames being saved. Rename from desktop--save-minibuffer-frames.
5746 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5747 Do not save frames with non-nil `desktop-dont-save' parameter.
5748 Filter out deleted frames.
5749 (desktop--find-frame): Use cl-find-if.
5750 (desktop--select-frame): Use cl-(first|second|third) to access values
5752 (desktop--make-frame): Use cl-delete-if.
5753 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5754 (desktop-restore-frames): Use cl-(first|second|third) to access values
5755 of desktop-mini. Look for visible frame at the end, not while
5758 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5759 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5760 Use string-match-p, looking-at-p (bug#14927).
5762 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5764 * desktop.el (desktop-saved-frame-states):
5765 Rename from desktop--saved-states; all users changed.
5766 (desktop-save-frames): Rename from desktop--save-frames.
5767 Do not save state to desktop file.
5768 (desktop-save): Save desktop-saved-frame-states to desktop file
5770 (desktop-restoring-frames-p): New function.
5771 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5772 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5773 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5775 * desktop.el: Correctly restore iconified frames.
5776 (desktop--filter-iconified-position): New function.
5777 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5779 2013-07-20 Glenn Morris <rgm@gnu.org>
5781 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5782 Let `message' do the formatting.
5783 (def-gdb-preempt-display-buffer): Add explicit format.
5785 * image-dired.el (image-dired-track-original-file):
5786 Use with-current-buffer.
5787 (image-dired-track-thumbnail): Use with-current-buffer.
5788 Avoid changing point of wrong window.
5790 * image-dired.el (image-dired-track-original-file):
5791 Avoid changing point of wrong window. (Bug#14909)
5793 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5795 * progmodes/gdb-mi.el (gdb-done-or-error):
5796 Guard against "%" in gdb output. (Bug#14127)
5798 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5800 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5803 * international/mule.el (coding-system-iso-2022-flags): Fix last
5806 2013-07-20 Kenichi Handa <handa@gnu.org>
5808 * international/mule.el (coding-system-iso-2022-flags):
5809 Add `8-bit-level-4'. (Bug#8522)
5811 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5813 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5816 * net/eww.el (eww-process-text-input): Allow inputting when the
5817 point is at the start of the line, as the properties aren't
5820 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5823 2013-07-19 Richard Stallman <rms@gnu.org>
5825 * epa.el (epa-popup-info-window): Doc fix.
5827 * subr.el (split-string): New arg TRIM.
5829 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5831 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5832 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5834 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5836 * filenotify.el (file-notify--library): Rename from
5837 `file-notify-support'. Do not autoload. Adapt all uses.
5838 (file-notify-supported-p): New defun.
5840 * autorevert.el (auto-revert-use-notify):
5841 Use `file-notify-supported-p' instead of `file-notify-support'.
5843 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5845 * net/tramp.el (tramp-file-name-for-operation):
5846 Add `file-notify-supported-p'.
5848 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5850 (tramp-sh-file-name-handler-alist): Add it as handler for
5851 `file-notify-supported-p '.
5853 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5854 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5855 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5856 Add `ignore' as handler for `file-notify-*' functions.
5858 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5860 * simple.el (line-move-partial, line-move): Don't start vscroll or
5861 scroll-up if the current line is not taller than the window.
5864 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5866 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5867 highlight question marks in the method names as strings.
5868 (ruby-block-beg-keywords): Inline.
5869 (ruby-font-lock-keyword-beg-re): Extract from
5870 `ruby-font-lock-keywords'.
5872 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5874 * frame.el (blink-cursor-blinks): New defcustom.
5875 (blink-cursor-blinks-done): New defvar.
5876 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5877 (blink-cursor-timer-function): Check if number of blinks has been
5879 (blink-cursor-suspend, blink-cursor-check): New defuns.
5881 2013-07-15 Glenn Morris <rgm@gnu.org>
5883 * edmacro.el (edmacro-format-keys): Fix previous change.
5885 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5887 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5888 The hack didn't work outside English locales anyway.
5890 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5892 * simple.el (define-alternatives): Rename from alternatives-define,
5893 per RMS' suggestion.
5895 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5897 * desktop.el (desktop-restore-frames): Change default to t.
5898 (desktop-restore-in-current-display): Now offer more options.
5899 (desktop-restoring-reuses-frames): New customization option.
5900 (desktop--saved-states): Doc fix.
5901 (desktop-filter-parameters-alist): New variable, renamed and expanded
5902 from desktop--excluded-frame-parameters.
5903 (desktop--target-display): New variable.
5904 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5905 (desktop--filter-tty*, desktop--filter-*-color)
5906 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5907 (desktop--filter-save-desktop-parm)
5908 (desktop-restore-in-original-display-p): New functions.
5909 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5910 (desktop--save-minibuffer-frames): New function, inspired by a similar
5911 function from Martin Rudalics.
5912 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5913 (desktop--restore-in-this-display-p): Remove.
5914 (desktop--find-frame): Rename from desktop--find-frame-in-display
5915 and add predicate argument.
5916 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5917 (desktop--reuse-list): New variable.
5918 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5920 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5922 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5924 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5926 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5928 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5929 Highlight conversion methods on Kernel.
5931 2013-07-13 Alan Mackenzie <acm@muc.de>
5933 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5934 and comment it out. This out-commenting enables certain C++
5935 declarations to be parsed correctly.
5937 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5939 * international/mule.el (define-coding-system): Doc fix.
5941 * simple.el (default-font-height): Don't call font-info if the
5942 frame's default font didn't change since the frame was created.
5945 2013-07-13 Leo Liu <sdl.web@gmail.com>
5947 * ido.el (ido-read-file-name): Guard against non-symbol value.
5949 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5951 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5954 2013-07-13 Leo Liu <sdl.web@gmail.com>
5956 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5957 ido-set-matches call. (Bug#6852)
5959 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5961 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5962 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5964 (ruby-font-lock-keywords): Distinguish calls to functions with
5965 module-like names from module references. Highlight character
5968 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5970 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5971 (gdb-send): Handle continued commands. (Bug#14847)
5973 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5975 * desktop.el (desktop--v2s): Remove unused local variable.
5976 (desktop-save-buffer): Make defvar-local; adjust docstring.
5977 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5978 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5980 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5982 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5984 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5986 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5989 2013-07-12 Glenn Morris <rgm@gnu.org>
5991 * doc-view.el: Require cl-lib at runtime too.
5992 (doc-view-remove-if): Remove.
5993 (doc-view-search-next-match, doc-view-search-previous-match):
5996 * edmacro.el: Require cl-lib at runtime too.
5997 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5998 (edmacro-mismatch, edmacro-subseq): Remove.
6000 * shadowfile.el: Require cl-lib.
6001 (shadow-remove-if): Remove.
6002 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6005 * wid-edit.el: Require cl-lib.
6006 (widget-choose): Use cl-remove-if.
6007 (widget-remove-if): Remove.
6009 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6010 (ebrowse-delete-if-not): Remove.
6011 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6012 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6013 Use cl-delete-if-not.
6015 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6017 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6018 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6020 2013-07-12 Leo Liu <sdl.web@gmail.com>
6022 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6024 2013-07-11 Glenn Morris <rgm@gnu.org>
6026 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6027 (edebug-gensym-index, edebug-gensym):
6028 Remove reimplementation of cl-gensym.
6029 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6031 * thumbs.el: Require cl-lib at run-time too.
6032 (thumbs-gensym-counter, thumbs-gensym):
6033 Remove reimplementation of cl-gensym.
6034 (thumbs-temp-file): Use cl-gensym.
6036 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6037 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6038 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6039 (ert--union, ert--gensym-counter, ert--gensym-counter)
6040 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6041 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6042 (ert-make-test-unbound, ert--expand-should-1)
6043 (ert--expand-should, ert--should-error-handle-error)
6044 (should-error, ert--explain-equal-rec)
6045 (ert--plist-difference-explanation, ert-select-tests)
6046 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6047 Use cl-lib functions rather than reimplementations.
6049 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6051 * net/tramp.el (tramp-methods): Extend docstring.
6052 (tramp-connection-timeout): New defcustom.
6053 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6054 (with-tramp-progress-reporter): Simplify.
6055 (tramp-process-actions): Improve messages.
6057 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6058 * net/tramp-sh.el (tramp-maybe-open-connection):
6059 Use `tramp-connection-timeout'.
6060 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6063 2013-07-11 Leo Liu <sdl.web@gmail.com>
6065 * ido.el (ido-read-file-name): Conform to the requirements of
6066 read-file-name. (Bug#11861)
6067 (ido-read-directory-name): Conform to the requirements of
6068 read-directory-name.
6070 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6072 * subr.el (delay-warning): New function.
6074 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6076 * simple.el (default-line-height): New function.
6077 (line-move-partial, line-move): Use it instead of computing the
6079 (line-move-partial): Always compute ROWH. If the last line is
6080 partially-visible, but its text is completely visible, allow
6081 cursor to enter such a partially-visible line.
6083 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6085 Improve error messages. (Bug#14808)
6087 * net/tramp.el (tramp-current-connection): New defvar, moved from
6089 (tramp-message-show-progress-reporter-message): Remove, not
6091 (tramp-error-with-buffer): Show message in minibuffer.
6092 Discard input before waiting. Reset connection timestamp.
6093 (with-tramp-progress-reporter): Improve messages.
6094 (tramp-process-actions): Use progress reporter. Delete process in
6095 case of error. Improve messages.
6097 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6098 Call `tramp-error-with-buffer' with vector and buffer.
6099 (tramp-current-connection): Remove.
6100 (tramp-maybe-open-connection): The car of
6101 `tramp-current-connection' are the first 3 slots of the vector.
6103 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6105 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6106 inside continued strings.
6108 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6110 Timestamp fixes for undo (Bug#14824).
6111 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6113 2013-07-10 Leo Liu <sdl.web@gmail.com>
6115 * files.el (require-final-newline): Allow safe local value.
6118 2013-07-09 Leo Liu <sdl.web@gmail.com>
6120 * ido.el (ido-read-directory-name): Handle fallback.
6121 (ido-read-file-name): Update DIR to ido-current-directory.
6123 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6125 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6127 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6128 "autoload". Remove "warn lower camel case" section, previously
6129 commented out. Highlight negation char. Do not highlight the
6130 target in singleton method definitions.
6132 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6134 * faces.el (tty-setup-hook): Declare the hook.
6136 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6137 and detect when a guard/pred depends on local vars (bug#14773).
6138 (pcase--u1): Adjust caller.
6140 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6142 * simple.el (line-move-partial, line-move): Account for
6144 (line-move-partial): Avoid setting vscroll when the last
6145 partially-visible line in window is of default height.
6147 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6149 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6152 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6154 * subr.el (read-quoted-char): Remove unused local variable `char'.
6156 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6158 * ediff.el (ediff-version): Version update.
6159 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6160 (ediff-merge-with-ancestor-command, ediff-directories-command)
6161 (ediff-directories3-command, ediff-merge-directories-command)
6162 (ediff-merge-directories-with-ancestor-command): New functions.
6163 All are command-line interfaces to ediff: to facilitate calling
6164 Emacs with the appropriate ediff functions invoked.
6166 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6167 (viper-save-kill-buffer): Check if buffer is modified.
6169 * viper.el (viper-version): Version update.
6170 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6172 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6174 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6175 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6176 (viper-intercept-ESC-key): Simplify.
6177 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6178 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6179 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6180 (viper-setup-ESC-to-escape): New functions.
6181 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6182 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6184 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6186 * simple.el (default-font-height, window-screen-lines):
6188 (line-move, line-move-partial): Use them instead of
6189 frame-char-height and window-text-height. This makes scrolling
6190 text smoother when the buffer's default face uses a font that is
6191 different from the frame's default font.
6193 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6195 * files.el (write-file): Do not display confirm dialog for NS,
6196 it does its own dialog, which can't be cancelled (Bug#14578).
6198 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6200 * simple.el (line-move-partial): Adjust the row returned by
6201 posn-at-point for the current window-vscroll. (Bug#14567)
6203 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6205 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6206 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6209 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6211 * window.el (window-state-put-stale-windows): New variable.
6212 (window--state-put-2): Save list of windows without matching buffer.
6213 (window-state-put): Remove "bufferless" windows if possible.
6215 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6217 * simple.el (alternatives-define): Remove leftover :group keyword.
6220 2013-07-06 Leo Liu <sdl.web@gmail.com>
6222 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6223 (ido-enable-virtual-buffers): New variable.
6224 (ido-buffer-internal, ido-toggle-virtual-buffers)
6225 (ido-make-buffer-list): Use it.
6226 (ido-exhibit): Support turning on and off virtual buffers
6229 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6231 * simple.el (alternatives-define): New macro.
6233 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6235 * subr.el (read-quoted-char): Use read-key.
6236 (sit-for): Let read-event decode tty input (bug#14782).
6238 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6240 * calendar/todo-mode.el: Add handling of file deletion, both by
6241 mode command and externally. Fix various related bugs.
6242 Clarify Commentary and improve some documentation strings and code.
6243 (todo-delete-file): New command.
6244 (todo-check-file): New function.
6245 (todo-show): Handle external deletion of the file we're trying to
6246 show (bug#14688). Replace called-interactively-p by an optional
6247 prefix argument to avoid problematic interaction with catch form
6248 when byte compiled (bug#14702).
6249 (todo-quit): Handle external deletion of the archive's todo file.
6250 Make sure the buffer that was visiting the archive file is still
6251 live before trying to bury it.
6252 (todo-category-completions): Handle external deletion of any
6253 category completion files.
6254 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6255 of todo files, in case of external deletion.
6256 (todo-add-file): Replace unnecessary setq by let-binding.
6257 (todo-find-archive): Check whether there are any archives.
6258 Replace unnecessary setq by let-binding.
6259 (todo-archive-done-item): Use find-file-noselect to get the
6260 archive buffer whether or not the archive already exists.
6261 Remove superfluous code. Use file size instead of buffer-file-name to
6262 check if the archive is new; if it is, update list of archives.
6263 (todo-default-todo-file): Allow nil to be a valid value for when
6264 there are no todo files.
6265 (todo-reevaluate-default-file-defcustom): Use corrected definition
6266 of todo-default-todo-file.
6267 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6268 (todo-delete-category, todo-show-categories-table)
6269 (todo-category-number): Clarify comment.
6270 (todo-filter-items): Clarify documentation string.
6271 (todo-show-current-file, todo-display-as-todo-file)
6272 (todo-reset-and-enable-done-separator): Tweak documentation string.
6273 (todo-done-separator): Make separator length window-width, since
6274 bug#2749 is now fixed.
6276 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6278 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6279 Support both "gvfs-monitor-dir" and "inotifywait".
6280 (tramp-sh-file-inotifywait-process-filter): Rename from
6281 `tramp-sh-file-notify-process-filter'.
6282 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6283 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6285 2013-07-05 Leo Liu <sdl.web@gmail.com>
6287 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6289 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6291 * frame.el (display-pixel-height, display-pixel-width)
6292 (display-mm-height, display-mm-width): Mention behavior on
6293 multi-monitor setups in docstrings.
6294 (w32-display-monitor-attributes-list): Declare function.
6295 (display-monitor-attributes-list): Use it.
6297 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6299 * filenotify.el: New package.
6301 * autorevert.el (top): Require filenotify.el.
6302 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6304 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6305 (auto-revert-notify-handler): Use `file-notify-*' functions.
6307 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6309 * net/tramp.el (tramp-file-name-for-operation):
6310 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6312 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6313 for `file-notify-add-watch' and `file-notify-rm-watch'.
6314 (tramp-process-sentinel): Improve trace.
6315 (tramp-sh-handle-file-notify-add-watch)
6316 (tramp-sh-file-notify-process-filter)
6317 (tramp-sh-handle-file-notify-rm-watch)
6318 (tramp-get-remote-inotifywait): New defuns.
6320 2013-07-03 Juri Linkov <juri@jurta.org>
6322 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6323 call of `occur-read-primary-args' to interactive spec.
6325 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6326 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6328 2013-07-03 Matthias Meulien <orontee@gmail.com>
6330 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6331 `Buffer-menu-multi-occur'. Add it to the menu.
6332 (Buffer-menu-mode): Document it in docstring.
6333 (Buffer-menu-multi-occur): New command. (Bug#14673)
6335 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6337 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6338 keywords and built-ins.
6340 2013-07-03 Glenn Morris <rgm@gnu.org>
6342 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6344 Make info-xref checks case-sensitive by default
6345 * info.el (Info-find-node, Info-find-in-tag-table)
6346 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6347 Add option for exact case matching of nodes.
6348 * info-xref.el (info-xref): New custom group.
6349 (info-xref-case-fold): New option.
6350 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6352 2013-07-03 Leo Liu <sdl.web@gmail.com>
6354 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6356 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6358 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6359 middle of block statement initially, lower the depth. Remove
6360 FIXME comment, not longer valid. Remove middle of block statement
6361 detection, no need to do that anymore since we've been using
6362 `ruby-parse-region' here.
6364 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6366 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6368 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6370 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6372 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6374 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6375 (desktop-restore-in-current-display): New customization option.
6376 (desktop--excluded-frame-parameters): Add `font'.
6377 (desktop--save-frames): Rename from desktop--save-windows.
6378 (desktop--restore-in-this-display-p): New function.
6379 (desktop--make-full-frame): Remove unwanted width/height from
6380 full(width|height) frames.
6381 (desktop--restore-frames): Rename from desktop--restore-windows.
6382 Obey desktop-restore-current-display. Do not delete old frames or
6383 select a new frame unless we were able to restore at least one frame.
6385 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6387 * files.el (find-file-noselect): Simplify conditional expression.
6389 * remember.el (remember-append-to-file):
6390 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6392 Add `remember-notes' function to store random notes across Emacs
6394 * remember.el (remember-data-file): Add :set callback to affect
6395 notes buffer (if any).
6396 (remember-notes): New command.
6397 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6398 New defcustoms for the `remember-notes' function.
6399 (remember-notes-save-and-bury-buffer): New command.
6400 (remember-notes-mode-map): New variable.
6401 (remember-mode): New minor mode.
6402 (remember-notes--kill-buffer-query): New function.
6403 * startup.el (initial-buffer-choice): Add notes to custom type.
6405 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6407 * bindings.el (right-char, left-char): Don't call sit-for, this is
6408 no longer needed. Use arithmetic comparison only for numerical
6411 * international/mule-cmds.el (select-safe-coding-system):
6412 Handle the case of FROM being a string correctly. (Bug#14755)
6414 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6416 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6417 progression on degenerate tables.
6418 (shr-rescale-image): ImageMagick animated images currently don't work.
6420 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6422 Some fixes and improvements for desktop frame restoration.
6423 It is still experimental and disabled by default.
6424 * desktop.el (desktop--save-windows): Put the selected frame at
6425 the head of the list.
6426 (desktop--make-full-frame): New function.
6427 (desktop--restore-windows): Try to re-select the frame that was
6428 selected upon saving. Do not abort if some frames fail to restore,
6429 just show an error message and continue. Set up maximized frames
6430 so they have default non-maximized dimensions.
6432 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6434 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6435 Don't start heredoc inside a string or comment.
6437 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6439 * bindings.el (visual-order-cursor-movement): New defcustom.
6440 (right-char, left-char): Provide visual-order cursor motion by
6441 calling move-point-visually. Update the doc strings.
6443 2013-06-28 Kenichi Handa <handa@gnu.org>
6445 * international/mule.el (define-coding-system): New coding system
6446 properties :inhibit-null-byte-detection,
6447 :inhibit-iso-escape-detection, and :prefer-utf-8.
6448 (set-buffer-file-coding-system): If :charset-list property of
6449 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6450 appropriate for setting.
6452 * international/mule-cmds.el (select-safe-coding-system):
6453 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6454 multibyte characters, return utf-8 (or one of its siblings).
6456 * international/mule-conf.el (prefer-utf-8): New coding system.
6457 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6460 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6462 * net/shr.el (shr-render-region): New function.
6464 * net/eww.el: Autoload `eww-browse-url'.
6466 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6468 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6469 Adapt to `package-desc-version' being a list.
6470 Use `package--ac-desc-version' to retrieve version from a package
6473 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6475 New experimental feature to save&restore window and frame setup.
6476 * desktop.el (desktop-save-windows): New defcustom.
6477 (desktop--saved-states): New var.
6478 (desktop--excluded-frame-parameters): New defconst.
6479 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6480 (desktop--restore-windows, desktop--save-windows): New functions.
6481 (desktop-save): Call `desktop--save-windows'.
6482 (desktop-read): Call `desktop--restore-windows'.
6484 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6486 * net/shr.el (add-face-text-property): Remove compat definition.
6488 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6490 * info.el (Info-try-follow-nearest-node): Move search for footnote
6491 above search for node name to prevent missing a footnote (bug#14717).
6493 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6495 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6497 2013-06-27 Leo Liu <sdl.web@gmail.com>
6499 * net/eww.el (eww-read-bookmarks): Check file size.
6501 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6503 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6504 advice--pending if newdef is nil or an autoload (bug#13820).
6505 (advice-mapc): New function.
6507 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6509 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6511 (eww-mode-map): Add a menu bar.
6512 (eww-add-bookmark): New command.
6513 (eww-bookmark-mode): New mode and commands.
6514 (eww-add-bookmark): Remove newlines from the title.
6515 (eww-bookmark-browse): Don't bug out if it's the only window.
6517 2013-06-26 Glenn Morris <rgm@gnu.org>
6519 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6520 (hfy-size): Handle ttys. (Bug#14668)
6522 * info-xref.el: Update for Texinfo 5 change in *note format.
6523 (info-xref-node-re, info-xref-note-re): New constants.
6524 (info-xref-check-buffer): Use info-xref-note-re.
6526 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6528 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6530 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6531 nil terminate the loop (bug#14718).
6533 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6535 * net/eww.el: Rework history traversal. When going forward/back,
6536 put these actions into the history, too, so that they can be
6538 (eww-render): Move the history reset to the correct buffer.
6540 2013-06-25 Juri Linkov <juri@jurta.org>
6542 * files-x.el (modify-dir-local-variable): Change the header comment
6543 in the file with directory local variables. (Bug#14692)
6545 * files-x.el (read-file-local-variable-value): Add `default'.
6548 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6550 * net/eww.el (eww-make-unique-file-name): Create a unique file
6551 name before saving to entering `y' accidentally asynchronously.
6553 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6555 * net/eww.el (eww-download): New command and keystroke.
6557 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6559 * net/eww.el (eww-copy-page-url): Change name of command.
6561 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6562 be more consistent with Info and dired.
6564 * net/eww.el (eww-mode-map): Ditto.
6566 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6568 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6569 packages from archives.
6570 (package-archive-contents): Change format; include obsolete packages.
6571 (package-desc): Use `dir' to mark builtin packages.
6572 (package--from-builtin): Set the `dir' field to `builtin'.
6573 (generated-autoload-file, version-control): Declare.
6574 (package-compute-transaction): Change first arg and return value to be
6575 lists of package-descs. Adjust to new package-archive-contents format.
6576 (package--add-to-archive-contents): Adjust to new
6577 package-archive-contents format.
6578 (package-download-transaction): Arg is now a list of package-descs.
6579 (package-install): If `pkg' is a package name, pass it as
6580 a requirement, so it is subject to the usual (e.g. disabled) checks.
6581 (describe-package): Accept package-desc as well.
6582 (describe-package-1): Describe a specific package-desc. Add links to
6583 other package-descs for the same package name.
6584 (package-menu-describe-package): Pass the actual package-desc.
6585 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6587 (package-desc-status): New function.
6588 (package-menu--refresh): New function, extracted
6589 from package-menu--generate.
6590 (package-menu--generate): Use it.
6591 (package-delete): Update package-alist.
6592 (package-menu-execute): Don't call package-initialize.
6594 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6595 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6596 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6597 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6598 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6599 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6601 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6603 * window.el (window--state-get-1): Workaround for bug#14527.
6604 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6606 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6608 * net/eww.el (eww-back-url): Implement the history by stashing all
6609 the data into a list.
6610 (eww-forward-url): Allow going forward in the history, too.
6612 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6614 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6615 for values and use read--expression for expressions (bug#14710).
6616 (read-file-local-variable): Avoid setq.
6617 (read-file-local-variable-mode): Use minor-mode-list.
6619 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6621 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6624 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6626 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6627 Update imenu-support when dialect changes.
6629 2013-06-25 Leo Liu <sdl.web@gmail.com>
6631 * ido.el (ido-read-internal): Allow forward slash on windows.
6633 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6635 * net/eww.el (eww): Start of strings is \\`, not ^.
6637 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6639 * net/shr.el (shr-browse-url): Fix interactive spec.
6641 * net/eww.el (eww): Add a trailing slash to domain names.
6643 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6645 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6647 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6649 * net/shr.el (shr-browse-url): Use an external browser if given a
6652 * net/eww.el (eww-external-browser): Move to shr.
6654 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6656 * net/eww.el (eww): Work more correctly for file: URLs.
6657 (eww-detect-charset): Allow quoted charsets.
6658 (eww-yank-page-url): New command and keystroke.
6660 2013-06-24 Daiki Ueno <ueno@gnu.org>
6662 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6663 file name of gpg executable.
6664 (epg-context-program): New function.
6665 (epg-context-home-directory): New function.
6666 (epg-context-set-program): New function.
6667 (epg-context-set-home-directory): New function.
6668 (epg--start): Use `epg-context-program' instead of
6670 (epg--list-keys-1): Likewise.
6672 2013-06-24 Leo Liu <sdl.web@gmail.com>
6674 * ido.el (ido-read-internal): Fix bug#14620.
6676 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6678 * faces.el (face-documentation): Simplify.
6679 (read-face-attribute, tty-find-type, x-resolve-font-name):
6680 Use `string-match-p'.
6681 (list-faces-display): Use `string-match-p'. Simplify.
6682 (face-spec-recalc): Check face to avoid face alias loops.
6683 (read-color): Use `string-match-p' and non-capturing parenthesis.
6685 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6687 * net/shr.el (shr-rescale-image): Use the new
6688 :max-width/:max-height functionality.
6690 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6692 * net/eww.el (eww-search-prefix): New variable.
6694 (eww-external-browser): New variable.
6695 (eww-mode-map): New keystroke.
6696 (eww-browse-with-external-browser): New command.
6698 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6700 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6702 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6703 Don't skip aligning the next header field when padding is 0;
6704 otherwise, field width is not respected unless the title is as
6707 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6709 * emacs-lisp/package.el (package-el-version): Remove.
6710 (package-process-define-package): Fix inf-loop.
6711 (package-install): Allow symbols as arguments again.
6713 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6715 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6716 add some more keyword-like methods.
6717 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6719 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6721 * bs.el (bs-buffer-show-mark): Make defvar-local.
6722 (bs-mode): Use setq-local.
6724 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6725 (emacs-lock--try-unlocking): Make defvar-local.
6727 2013-06-22 Glenn Morris <rgm@gnu.org>
6729 * play/cookie1.el (cookie-apropos): Minor simplification.
6731 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6733 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6735 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6736 `regexp-opt', it breaks the build during dumping.
6738 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6740 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6741 Highlight keyword-like methods on Kernel and Module with
6742 font-lock-builtin-face.
6743 (auto-mode-alist): Consolidate different entries into one regexp
6744 and add more *file-s.
6746 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6748 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6750 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6751 (diary-entry): Use it in the action of this button type instead of
6754 * calendar/todo-mode.el: New version.
6755 (todo-add-category): Append new category to end of file and give
6756 it the highest number, instead of putting it at the beginning and
6757 giving it 0. Incorporate noninteractive functionality.
6758 (todo-forward-category): Adapt to 1-based category numbering.
6759 Allow skipping over archived categories.
6760 (todo-backward-category): Derive from todo-forward-category.
6761 (todo-backward-item, todo-forward-item): Make noninteractive and
6762 delegate interactive part to new commands. Make sensitive to done items.
6763 (todo-categories): Make value an alist of category names and
6764 vectors of item counts.
6765 (todo-category-beg): Make a defconst.
6766 (todo-category-number): Use 1 instead of 0 as initial value.
6767 (todo-category-select): Make sensitive to overlays, optional item
6768 highlighting and done items.
6769 (todo-delete-item): Make sensitive to overlays and marked and done items.
6770 (todo-edit-item): Make sensitive to overlays and editing of
6771 date/time header optional. Add format checks.
6772 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6773 no-op if point is not on an item. Advertise using todo-edit-quit.
6774 (todo-edit-mode): Make sensitive to new format, font-locking, and
6775 multiple todo files.
6776 (todo-insert-item, todo-insert-item-here): Derive from
6777 todo-basic-insert-item and extend functionality.
6778 (todo-item-end, todo-item-start): Make sensitive to done items.
6779 (todo-item-string): Don't return text properties. Restore point.
6780 (todo-jump-to-category): Make sensitive to multiple todo files and
6781 todo archives. Use extended category completion.
6782 (todo-lower-item, todo-raise-item): Rename to *-priority and
6783 derive from todo-set-item-priority.
6784 (todo-mode): Derive from special-mode. Make sensitive to new
6785 format, font-locking and multiple todo files. Make read-only.
6786 (todo-mode-map): Don't suppress digit keys, so they can supply
6787 prefix arguments. Add many new key bindings.
6788 (todo-prefix): Insert as an overlay instead of file text.
6789 Change semantics from diary date expression to purely visual mark.
6790 (todo-print): Rename to todo-print-buffer. Make buffer display
6791 features printable. Remove option to restrict number of items
6792 printed. Add option to print to file.
6793 (todo-print-function): Rename to todo-print-buffer-function.
6794 (todo-quit): Extend to handle exiting new todo modes.
6795 (todo-remove-item): Make sensitive to overlays.
6796 (todo-save): Extend to buffers of filtered items.
6797 (todo-show): Make sensitive to done items, multiple todo files and
6798 new todo modes. Offer to convert legacy todo file before creating
6799 first new todo file.
6800 (todo-show-priorities): Rename to todo-top-priorities.
6801 Change semantics of value 0.
6802 (todo-top-priorities): Rename to todo-filter-top-priorities,
6803 derive from todo-filter-items and extend functionality.
6804 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6805 and extend functionality to other types of filtered items.
6806 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6807 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6808 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6809 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6810 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6811 (todo-edit-mode-hook, todo-entry-prefix-function)
6812 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6813 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6814 (todo-initials, todo-insert-threshold, todo-item-string-start)
6815 (todo-line-string, todo-menu, todo-mode-hook)
6816 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6817 (todo-print-priorities, todo-remove-separator)
6818 (todo-save-top-priorities-too, todo-string-count-lines)
6819 (todo-string-multiline-p, todo-time-string-format)
6820 (todo-tmp-buffer-name): Remove.
6821 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6822 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6823 (todo-edit-category-diary-inclusion)
6824 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6825 (todo-edit-file, todo-edit-item-date-day)
6826 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6827 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6828 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6829 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6830 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6831 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6832 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6833 (todo-filter-top-priorities-multifile, todo-find-archive)
6834 (todo-find-filtered-items-file, todo-go-to-source-item)
6835 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6836 (todo-jump-to-archive-category, todo-lower-category)
6837 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6838 (todo-move-category, todo-move-item, todo-next-button)
6839 (todo-next-item, todo-padded-string, todo-powerset)
6840 (todo-previous-button, todo-previous-item)
6841 (todo-print-buffer-to-file, todo-raise-category)
6842 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6843 (todo-set-category-number, todo-set-item-priority)
6844 (todo-set-top-priorities-in-category)
6845 (todo-set-top-priorities-in-file, todo-show-categories-table)
6846 (todo-sort-categories-alphabetically-or-numerically)
6847 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6848 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6849 (todo-toggle-item-header, todo-toggle-item-highlighting)
6850 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6851 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6852 (todo-unarchive-items, todo-unmark-category): New commands.
6853 (todo-absolute-file-name, todo-add-to-buffer-list)
6854 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6855 (todo-basic-insert-item, todo-category-completions)
6856 (todo-category-number, todo-category-string-matcher-1)
6857 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6858 (todo-check-format, todo-clear-matches)
6859 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6860 (todo-current-category, todo-date-string-matcher)
6861 (todo-define-insertion-command, todo-diary-expired-matcher)
6862 (todo-diary-goto-entry, todo-diary-item-p)
6863 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6864 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6865 (todo-done-item-section-p, todo-done-separator)
6866 (todo-done-string-matcher, todo-files, todo-filter-items)
6867 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6868 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6869 (todo-insert-category-line, todo-insert-item-from-calendar)
6870 (todo-insert-sort-button, todo-insert-with-overlays)
6871 (todo-insertion-command-name, todo-insertion-key-bindings)
6872 (todo-label-to-key, todo-longest-category-name-length)
6873 (todo-make-categories-list, todo-mode-external-set)
6874 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6875 (todo-modes-set-3, todo-multiple-filter-files)
6876 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6877 (todo-read-category, todo-read-date, todo-read-dayname)
6878 (todo-read-file-name, todo-read-time)
6879 (todo-reevaluate-category-completions-files-defcustom)
6880 (todo-reevaluate-default-file-defcustom)
6881 (todo-reevaluate-filelist-defcustoms)
6882 (todo-reevaluate-filter-files-defcustom)
6883 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6884 (todo-reset-done-separator, todo-reset-done-separator-string)
6885 (todo-reset-done-string, todo-reset-global-current-todo-file)
6886 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6887 (todo-reset-prefix, todo-set-categories)
6888 (todo-set-date-from-calendar, todo-set-show-current-file)
6889 (todo-set-top-priorities, todo-short-file-name)
6890 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6891 (todo-total-item-counts, todo-update-buffer-list)
6892 (todo-update-categories-display, todo-update-categories-sexp)
6893 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6895 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6897 (todo-categories, todo-display, todo-edit, todo-faces)
6898 (todo-filtered): New defgroups.
6899 (todo-archived-only, todo-button, todo-category-string, todo-date)
6900 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6901 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6902 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6903 (todo-add-item-if-new-category, todo-always-add-time-string)
6904 (todo-categories-align, todo-categories-archived-label)
6905 (todo-categories-category-label, todo-categories-diary-label)
6906 (todo-categories-done-label, todo-categories-number-separator)
6907 (todo-categories-todo-label, todo-categories-totals-label)
6908 (todo-category-completions-files, todo-completion-ignore-case)
6909 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6910 (todo-done-separator-string, todo-done-string)
6911 (todo-files-function, todo-filter-done-items, todo-filter-files)
6912 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6913 (todo-initial-category, todo-initial-file, todo-item-mark)
6914 (todo-legacy-date-time-regexp, todo-mode-line-function)
6915 (todo-nondiary-marker, todo-number-prefix)
6916 (todo-print-buffer-function, todo-show-current-file)
6917 (todo-show-done-only, todo-show-first, todo-show-with-done)
6918 (todo-skip-archived-categories, todo-top-priorities-overrides)
6919 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6920 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6922 (todo-category-done, todo-date-pattern, todo-date-string-start)
6923 (todo-diary-items-buffer, todo-done-string-start)
6924 (todo-filtered-items-buffer, todo-item-start)
6925 (todo-month-abbrev-array, todo-month-name-array)
6926 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6927 (todo-top-priorities-buffer): New defconsts.
6928 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6929 (todo-categories-with-marks, todo-category-string-face)
6930 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6931 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6932 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6933 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6934 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6935 (todo-font-lock-keywords, todo-global-current-todo-file)
6936 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6937 (todo-insertion-commands-args)
6938 (todo-insertion-commands-args-genlist)
6939 (todo-insertion-commands-names, todo-insertion-map)
6940 (todo-key-bindings-t, todo-key-bindings-t+a)
6941 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6942 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6943 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6944 (todo-visited): New variables.
6946 2013-06-21 Glenn Morris <rgm@gnu.org>
6948 * play/cookie1.el (cookie-apropos): Add optional display argument.
6949 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6950 (psychoanalyze-pinhead): Use cookie-doctor.
6952 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6954 * emacs-lisp/package.el (tar-get-file-descriptor)
6955 (tar--extract): Declare.
6957 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6959 Extend flymake's warning predicate to be a function (bug#14217).
6960 * progmodes/flymake.el (flymake-warning-predicate): New.
6961 (flymake-parse-line): Use it.
6962 (flymake-warning-re): Make obsolete alias to
6963 `flymake-warning-predicate'.
6965 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6967 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6968 (package-obsolete-list): Remove.
6969 (package-activate): Remove min-version argument. Add `force' argument.
6970 Adjust to new package-alist format.
6971 (package-mark-obsolete): Remove.
6972 (package-unpack): Force reload of the package's autoloads.
6973 (package-installed-p): Check builtins if the installed package is not
6975 (package-initialize): Don't reset package-obsolete-list.
6976 Don't specify which package version to activate.
6977 (package-process-define-package, describe-package-1)
6978 (package-menu--generate): Adjust to new package-alist format.
6980 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6982 * allout-widgets.el (allout-widgets-mode-off)
6983 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6984 (allout-widgets-post-command-business)
6985 (allout-widgets-after-copy-or-kill-function)
6986 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6987 (allout-decorate-item-and-context)
6988 (allout-graphics-modification-handler): Fix typos in docstrings.
6989 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6991 * cmuscheme.el (scheme-start-file): Doc fix.
6992 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6993 (scheme-input-filter): Use `string-match-p'.
6995 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6997 * dired-x.el: Use Dired consistently in docstrings.
6999 * dired.el: Use Dired consistently in docstrings.
7000 (dired-readin, dired-mode): Use `setq-local'.
7001 (dired-switches-alist): Make defvar-local.
7002 (dired-buffers-for-dir): Use `zerop'.
7003 (dired-safe-switches-p, dired-switches-escape-p)
7004 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7005 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7006 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7007 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7008 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7009 (dired-toggle-marks, dired-mark-files-containing-regexp)
7010 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7011 (dired-flag-auto-save-files, dired-flag-backup-files):
7013 (dired-mark-files-regexp, dired-build-subdir-alist):
7014 Use `string-match-p', `looking-at-p'.
7016 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7017 (direct-print-region-helper): Use `string-match-p'.
7019 2013-06-21 Leo Liu <sdl.web@gmail.com>
7021 * comint.el (comint-redirect-results-list-from-process):
7024 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7026 * net/eww.el (eww-update-header-line-format): Quote % characters.
7028 2013-06-21 Glenn Morris <rgm@gnu.org>
7030 * play/cookie1.el (cookie): New custom group.
7031 (cookie-file): New option.
7032 (cookie-check-file): New function.
7033 (cookie): Make it interactive. Make start and end messages optional.
7034 Interactively, display the result. Default to cookie-file.
7035 (cookie-insert): Default to cookie-file.
7036 (cookie-snarf): Make start and end messages optional.
7037 Default to cookie-file. Use with-temp-buffer.
7038 (cookie-read): Rename from read-cookie.
7039 Make start and end messages optional. Default to cookie-file.
7040 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7042 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7043 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7045 2013-06-21 Leo Liu <sdl.web@gmail.com>
7047 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7049 2013-06-21 Glenn Morris <rgm@gnu.org>
7051 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7053 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7054 Daniel Hackney <dan@haxney.org>
7056 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7057 Consolidate the single-file vs tarball code.
7058 (package-desc-suffix): New function.
7059 (package-desc-full-name): Don't bother inlining it.
7060 (package-load-descriptor): Return the new package-desc.
7061 (package-mark-obsolete): Remove unused arg `package'.
7062 (package-unpack): Make it work for single files as well.
7063 Make it update package-alist.
7064 (package--make-autoloads-and-stuff): Rename from
7065 package--make-autoloads-and-compile. Don't compile any more.
7066 (package--compile): New function.
7067 (package-generate-description-file): New function, extracted from
7068 package-unpack-single.
7069 (package-unpack-single): Remove.
7070 (package--with-work-buffer): Add indentation and debugging info.
7071 (package-download-single): Remove.
7072 (package-install-from-archive): Rename from package-download-tar, make
7073 it take a pkg-desc, and make it work for single files as well.
7074 (package-download-transaction): Simplify.
7075 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7076 external tar program.
7077 (package-install-from-buffer): Remove `pkg-desc' argument.
7078 Use package-tar-file-info for tar-mode buffers.
7079 (package-install-file): Simplify accordingly.
7080 (package-archive-base): Change to take a pkg-desc.
7081 * tar-mode.el (tar--check-descriptor): New function, extracted from
7083 (tar-get-descriptor): Use it.
7084 (tar-get-file-descriptor): New function.
7085 (tar--extract): New function, extracted from tar-extract.
7086 (tar--extract): Use it.
7087 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7088 case the summary uses non-ascii. Adjust to new calling convention of
7089 package-tar-file-info.
7091 2013-06-21 Leo Liu <sdl.web@gmail.com>
7093 * comint.el (comint-redirect-results-list-from-process):
7094 Fix random delay. (Bug#14681)
7096 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7098 * profiler.el (profiler-format-number): Use log, not log10.
7100 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7102 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7104 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7106 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7107 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7109 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7110 (AUTOGENEL): ... here.
7111 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7112 (cl--defsubst-expand): Use it.
7114 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7116 * subr.el (log10): Move here from C code, and declare as obsolete.
7117 All uses of (log10 X) replaced with (log X 10).
7119 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7121 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7122 Declare with `defvar-local'.
7123 (tabulated-list-use-header-line, tabulated-list-entries)
7124 (tabulated-list-padding, tabulated-list-printer)
7125 (tabulated-list-sort-key): Declare with `defvar-local'.
7126 (tabulated-list-init-header, tabulated-list-print-fake-header):
7129 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7131 * arc-mode.el (archive-mode): Add `archive-write-file' to
7132 `write-contents-functions' also for remote files. (Bug#14652)
7134 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7136 * cus-edit.el (custom-commands): Fix typos.
7137 (custom-display): Fix tooltip text.
7138 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7139 Fix typos in docstrings.
7140 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7141 (custom-unlispify-menu-entry, custom-magic-value-create)
7142 (custom-add-see-also, custom-group-value-create): Use ?\s.
7143 (custom-guess-type, customize-apropos, editable-field)
7144 (custom-face-value-create): Use `string-match-p'.
7145 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7147 * custom.el (custom-load-symbol): Use `string-match-p'.
7149 * ansi-color.el: Convert to lexical binding.
7150 (ansi-colors): Fix URL.
7151 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7152 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7153 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7155 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7157 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7159 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7161 2013-06-19 Tom Tromey <tromey@redhat.com>
7163 * net/eww.el (eww-top-url): Remove.
7164 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7165 (eww-render): Set new variables. Don't set eww-top-url.
7166 (eww-handle-link): Handle "prev", "home", and "contents".
7167 Downcase the rel text.
7168 (eww-top-url): Choose best top URL.
7170 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7172 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7173 relying in widget.el. Using widget.el leads to too many
7174 user interface inconsistencies.
7175 (eww-self-insert): Implement entering commands in text fields.
7176 (eww-process-text-input): New function to make text input field editing
7178 (eww-submit): Rewrite to use the new-style form methods.
7179 (eww-select-display): Display the correct selected item.
7180 (eww-change-select): Implement changing the select value.
7181 (eww-toggle-checkbox): Implement radio/checkboxes.
7182 (eww-update-field): Fix compilation error.
7183 (eww-tag-textarea): Implement <textarea>.
7185 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7186 we don't shadow mode-specific bindings.
7188 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7191 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7193 2013-06-19 Glenn Morris <rgm@gnu.org>
7195 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7197 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7199 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7202 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7204 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7206 * net/browse-url.el (browse-url-browser-function):
7207 `eww-browse-url' has the right calling signature, `eww' does not.
7209 2013-06-19 Glenn Morris <rgm@gnu.org>
7211 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7212 Only eval autoloaded macros.
7213 (byte-compile-autoload): Only give the macro warning for macros.
7215 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7216 (ps-underlined-faces): Declare.
7218 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7219 (speedbar-add-supported-extension): Declare.
7221 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7222 Don't include a date stamp in the header of the generated file;
7223 it leads to needless differences between output files.
7225 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7227 * net/secrets.el (secrets-struct-secret-content-type):
7228 Replace check of introspection data by a test call of "CreateItem".
7229 Some servers do not offer introspection.
7231 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7233 * electric.el (electric-pair-mode): Improve interaction with
7234 electric-layout-mode.
7235 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7236 (electric-pair-syntax): Use text-mode-syntax-table in comments
7238 (electric-pair--insert): New function.
7239 (electric-pair-post-self-insert-function): Use it and
7240 electric--after-char-pos.
7242 2013-06-19 Leo Liu <sdl.web@gmail.com>
7244 * progmodes/octave.el (octave-help): Fix regexp.
7246 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7248 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7249 (shr-table-horizontal-line): Allow nil as a value, and change the
7251 (shr-insert-table-ruler): Respect the nil value.
7253 2013-06-18 Tom Tromey <tromey@barimba>
7255 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7257 (eww-open-file): New defun.
7258 (eww-render): Initialize new variables.
7259 (eww-display-html): Handle "link" and "a".
7260 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7261 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7262 (eww-back-url): Rename from eww-previous-url.
7263 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7266 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7268 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7269 Distinguish ternary operator tokens from slash symbol and slash
7272 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7274 Convert symbol prettification into minor mode and global minor mode.
7276 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7277 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7278 (prettify-symbols--keywords): Rename from
7279 `prog-prettify-symbols-alist' and make a local defvar.
7280 (prettify-symbols--compose-symbol): Rename from
7281 `prog--prettify-font-lock-compose-symbol'.
7282 (prettify-symbols--make-keywords): Rename from
7283 `prog-prettify-font-lock-symbols-keywords' and simplify.
7284 (prog-prettify-install): Remove.
7285 (prettify-symbols-mode): New minor mode, based on
7286 `prog-prettify-install'.
7287 (turn-on-prettify-symbols-mode): New function.
7288 (global-prettify-symbols-mode): New globalized minor mode.
7290 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7291 * progmodes/cfengine.el (cfengine3-mode):
7292 * progmodes/perl-mode.el (perl-mode): Don't call
7293 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7295 2013-06-18 Juri Linkov <juri@jurta.org>
7297 * files-x.el (modify-file-local-variable-message): New function.
7298 (modify-file-local-variable)
7299 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7300 and call `modify-file-local-variable-message' when it's non-nil.
7301 (add-file-local-variable, delete-file-local-variable)
7302 (add-file-local-variable-prop-line)
7303 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7304 and use it. (Bug#9820)
7306 2013-06-18 Juri Linkov <juri@jurta.org>
7308 * emulation/vi.el (vi-shell-op):
7309 * emulation/vip.el (vip-execute-com, ex-command):
7310 * emulation/viper-cmd.el (viper-exec-bang):
7311 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7312 the call of `shell-command-on-region'. (Bug#14637)
7314 * simple.el (shell-command-on-region): Doc fix.
7316 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7318 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7321 2013-06-18 Glenn Morris <rgm@gnu.org>
7323 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7325 * newcomment.el (comment-search-forward, comment-search-backward):
7326 Doc fix. (Bug#14376)
7328 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7330 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7331 (buffer-face-mode-invoke): Doc fix.
7333 2013-06-18 Matthias Meulien <orontee@gmail.com>
7335 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7336 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7338 2013-06-18 Glenn Morris <rgm@gnu.org>
7340 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7341 Replace obsolete function generic-make-keywords with its expansion.
7343 * progmodes/python.el (ffap-alist): Declare.
7345 * textmodes/reftex.el (bibtex-mode-map): Declare.
7347 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7349 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7350 (package-unpack, package-unpack-single): Return the pkg-dir.
7351 (package-download-transaction): Use it to update package-alist.
7353 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7355 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7358 2013-06-17 Juri Linkov <juri@jurta.org>
7360 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7362 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7364 * emacs-lisp/package.el (package-load-descriptor):
7365 Remove `with-syntax-table' call, `read' doesn't need it.
7366 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7368 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7370 * startup.el (command-line): Expand package name returned by
7371 `package--description-file' (bug#14639).
7373 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7375 * emacs-lisp/package.el (package-load-descriptor): Do not call
7376 `emacs-lisp-mode', just use its syntax table.
7378 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7380 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7381 `font-lock-extra-managed-props' if any prettifying keyword is added.
7382 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7383 (prog-mode): Use `setq-local'.
7385 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7387 * international/characters.el (standard-case-table): Set syntax of ?»
7388 and ?« to punctuation.
7390 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7392 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7393 Save relevant match data before calling `syntax-ppss' (bug#14595).
7395 2013-06-15 Juri Linkov <juri@jurta.org>
7397 * files-x.el (modify-file-local-variable-prop-line): Add local
7398 variables to the end of the existing comment on the first line.
7399 Use `file-auto-mode-skip' to skip interpreter magic line,
7400 and also skip XML declaration.
7402 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7404 * startup.el (package--builtin-versions): New var.
7405 (package-subdirectory-regexp): Remove.
7406 (package--description-file): Hard code its value instead.
7408 * emacs-lisp/package.el: Don't activate packages older than builtin.
7409 (package-obsolete-list): Rename from package-obsolete-alist, and make
7410 it into a simple list of package-desc.
7411 (package-strip-version): Remove.
7412 (package-built-in-p): Use package--builtin-versions.
7413 (package-mark-obsolete): Simplify.
7414 (package-process-define-package): Mark it obsolete if older than the
7416 (package-handle-response): Use line-end-position.
7417 (package-read-archive-contents, package--download-one-archive):
7419 (package--add-to-archive-contents): Skip if older than the builtin or
7421 (package-menu-describe-package): Fix last change.
7422 (package-list-unversioned): New var.
7423 (package-menu--generate): Use it.
7425 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7426 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7427 (autoload-builtin-package-versions): New variable.
7428 (autoload-generate-file-autoloads): Use them.
7429 Remove the list of autoloaded functions/macros from the
7430 (autoload...) comments.
7432 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7434 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7436 * simple.el (line-move-partial): Don't jump to the next screen
7437 line as soon as it becomes visible. Instead, continue enlarging
7438 the vscroll until the portion of a tall screen line that's left on
7439 display is about the height of the frame's default font.
7442 2013-06-15 Glenn Morris <rgm@gnu.org>
7444 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7445 compilation-error-regexp-alist void, or local while let-bound.
7447 * progmodes/make-mode.el (makefile-mode-syntax-table):
7448 Treat "=" as punctuation. (Bug#14614)
7450 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7452 * help-fns.el (describe-variable):
7453 Add extra line for permanent-local variables.
7455 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7457 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7458 Add export, import, library. (Bug#9164)
7459 (library): Set indent function.
7461 2013-06-14 Glenn Morris <rgm@gnu.org>
7463 * term/xterm.el (xterm--query):
7464 Stop after first matching handler. (Bug#14615)
7466 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7468 Add support for dired in saveplace.
7469 * dired.el (dired-initial-position-hook): New variable.
7470 (dired-initial-position): Call hook to place cursor position.
7471 * saveplace.el (save-place-to-alist): Add dired position.
7472 (save-place-dired-hook): New function.
7474 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7476 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7477 through a symbol rather than letrec.
7479 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7480 (package-desc): Add `dir' field.
7481 (package-desc-full-name): New function.
7482 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7483 (package-maybe-load-descriptor): Remove.
7484 (package-load-all-descriptors): Just call package-load-descriptor.
7485 (package--disabled-p): New function.
7486 (package-desc-vers, package-desc-doc): Remove aliases.
7487 (package--dir): Remove function.
7488 (package-activate): Check if a package is disabled.
7489 (package-process-define-package): New function, extracted from
7491 (define-package): Turn into a place holder.
7492 (package-unpack-single, package-tar-file-info):
7493 Use package--description-file.
7494 (package-compute-transaction): Use package--disabled-p.
7495 (package-download-transaction): Don't call
7496 package-maybe-load-descriptor since they're all loaded anyway.
7497 (package-install): Change argument to be a pkg-desc.
7498 (package-delete): Use a single pkg-desc argument.
7499 (describe-package-1): Use package-desc-dir instead of package--dir.
7500 Use package-desc property instead of package-symbol.
7501 (package-install-button-action): Adjust accordingly.
7502 (package--push): Rewrite.
7503 (package-menu--print-info): Adjust accordingly. Change the ID format
7505 (package-menu-describe-package, package-menu-get-status)
7506 (package-menu--find-upgrades, package-menu-mark-upgrades)
7507 (package-menu-execute, package-menu--name-predicate):
7509 * startup.el (package--description-file): New function.
7510 (command-line): Use it.
7511 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7512 Use package-desc-version.
7514 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7515 (byte-compile-preprocess): Use it.
7516 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7517 can't quite recognize.
7518 (byte-compile-add-to-list): Remove.
7519 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7520 (cconv-closure-convert): Add assertion.
7522 * emacs-lisp/map-ynp.el: Use lexical-binding.
7523 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7524 Factor out some repeated code.
7526 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7528 * subr.el (with-eval-after-load): New macro.
7529 (eval-after-load): Allow form to be a function.
7530 take advantage of lexical-binding.
7531 (do-after-load-evaluation): Use dolist and adjust to new format.
7532 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7534 2013-06-13 Juri Linkov <juri@jurta.org>
7536 * replace.el (perform-replace): Display "symbol " and other search
7537 modes from `isearch-message-prefix' in the *Help* buffer.
7539 * isearch.el (isearch-query-replace): Add " symbol" and other
7540 possible search modes from `isearch-message-prefix' to the prompt.
7541 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7542 when reading a regexp to collect.
7544 2013-06-13 Juri Linkov <juri@jurta.org>
7546 * isearch.el (word-search-regexp): Match whitespace if the search
7547 string begins or ends in whitespace. The LAX arg is applied to
7548 both ends of the search string. Use `regexp-quote' and explicit
7549 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7550 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7551 boundaries are replaced with symbol boundaries, and characters
7552 between symbols match non-word non-symbol syntax. (Bug#14602)
7554 2013-06-13 Juri Linkov <juri@jurta.org>
7556 * isearch.el (isearch-del-char): Don't exceed the length of
7557 `isearch-string' by the prefix arg. (Bug#14563)
7559 2013-06-13 Juri Linkov <juri@jurta.org>
7561 * isearch.el (isearch-yank-word, isearch-yank-line)
7562 (isearch-char-by-name, isearch-quote-char)
7563 (isearch-printing-char, isearch-process-search-char):
7564 Add optional count prefix arg. (Bug#14563)
7566 * international/isearch-x.el
7567 (isearch-process-search-multibyte-characters):
7568 Add optional count prefix arg.
7570 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7572 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7573 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7576 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7578 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7580 2013-06-13 Glenn Morris <rgm@gnu.org>
7582 * startup.el (tty-handle-args):
7583 Don't just discard "--" and anything after. (Bug#14608)
7585 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7587 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7589 Implement changes in Secret Service API. Make it backward compatible.
7590 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7591 (secrets-create-item): Use it. Prefix properties with interface.
7593 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7595 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7596 (term-emulate-terminal): Respect term-suppress-hard-newline.
7598 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7600 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7601 Only remove a `thumb-file' overlay. (Bug#14548)
7603 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7605 * mail/reporter.el (reporter-submit-bug-report):
7606 Handle missing package-name. (Bug#14600)
7608 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7610 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7611 (reftex-citation-prompt, reftex-default-bibliography)
7612 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7613 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7614 (reftex-bib-sort-author, reftex-bib-sort-year)
7615 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7616 (reftex-extract-bib-entries-from-thebibliography)
7617 (reftex-get-bibkey-default, reftex-get-bib-names)
7618 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7619 (reftex-format-bib-entry, reftex-parse-bibitem)
7620 (reftex-format-bibitem, reftex-do-citation)
7621 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7622 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7623 (reftex-insert-bib-matches, reftex-format-citation)
7624 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7625 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7626 existing comments into docstrings.
7628 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7630 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7632 2013-06-12 Andreas Schwab <schwab@suse.de>
7634 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7635 for auto-save files.
7637 2013-06-12 Glenn Morris <rgm@gnu.org>
7639 * ido.el (ido-delete-ignored-files): Remove.
7640 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7641 Go back to calling ido-ignore-item-p directly.
7643 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7645 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7647 * ido.el (ido-delete-ignored-files): New function,
7648 split from ido-make-file-list-1.
7649 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7650 (ido-make-file-list-1): Use ido-delete-ignored-files.
7652 2013-06-12 Leo Liu <sdl.web@gmail.com>
7654 * progmodes/octave.el (inferior-octave-startup)
7655 (inferior-octave-completion-table)
7656 (inferior-octave-track-window-width-change)
7657 (octave-eldoc-function-signatures, octave-help)
7658 (octave-find-definition): Use single quoted strings.
7659 (inferior-octave-startup-args): Change default value.
7660 (inferior-octave-startup): Do not hard code "-i" and
7661 "--no-line-editing".
7662 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7663 (inferior-octave-directory-tracker): Use it.
7664 (octave-goto-function-definition): Robustify.
7665 (octave-help): Support highlighting operators in 'See also'.
7666 (octave-find-definition): Find subfunctions only in Octave mode.
7668 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7670 * help-fns.el (help-fns--compiler-macro): If the handler function is
7671 named, then put a link to it.
7672 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7673 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7675 (cl-eval-when): Simplify debug spec.
7676 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7677 compiler-macro function instead of setting `compiler-macro-file'.
7679 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7681 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7682 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7684 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7685 Daniel Hackney <dan@haxney.org>
7687 First part of Daniel Hackney's patch to package.el.
7688 * emacs-lisp/package.el: Use defstruct.
7689 (package-desc): New, main struct.
7690 (package--bi-desc, package--ac-desc): New structs, used to describe the
7691 format in external files.
7692 (package-desc-vers): Replace with package-desc-version accessor.
7693 (package-desc-doc): Replace with package-desc-summary accessor.
7694 (package-activate-1): Remove `package' arg since the pkg-vec now
7696 (define-package): Use package-desc-from-define.
7697 (package-unpack-single): Change file-name arg to be a symbol.
7698 (package--add-to-archive-contents): Use package-desc-create and new
7699 accessor functions to package--ac-desc.
7700 (package-buffer-info, package-tar-file-info): Return a package-desc.
7701 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7702 arg to be a package-desc.
7703 (package-install-file): Adjust accordingly. Use \' to match EOS.
7704 (package--from-builtin): New function.
7705 (describe-package-1, package-menu--generate): Use it.
7706 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7707 (package-generate-autoloads): Idem and return the name of the file.
7708 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7709 Change pkg-info arg to be a package-desc.
7710 Use package-make-ac-desc.
7711 (package-upload-file): Use \' to match EOS.
7712 * finder.el (finder-compile-keywords): Use package-make-builtin.
7714 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7716 * vc/vc.el (vc-deduce-fileset): Change error message.
7717 (vc-read-backend): New function.
7718 (vc-next-action): Use it.
7720 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7722 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7723 (prolog-font-lock-keywords): Use regexp-opt instead.
7724 Don't manually highlight strings.
7725 (prolog-mode-variables): Simplify comment-start-skip.
7726 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7728 * emacs-lisp/generic.el (generic--normalise-comments)
7729 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7730 (generic-mode-set-comments): Use them.
7731 (generic-bracket-support): Use setq-local.
7732 (generic-make-keywords-list): Declare obsolete.
7734 2013-06-11 Glenn Morris <rgm@gnu.org>
7736 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7737 Prettify after setting font-lock-defaults. (Bug#14574)
7739 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7741 * replace.el (query-replace, occur-read-regexp-defaults-function)
7743 * subr.el (declare-function, number-sequence, local-set-key)
7744 (substitute-key-definition, locate-user-emacs-file)
7745 (with-silent-modifications, split-string, eval-after-load):
7746 Fix typos, remove unneeded backslashes and reflow some docstrings.
7748 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7750 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7751 default for Elisp files.
7753 2013-06-11 Glenn Morris <rgm@gnu.org>
7755 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7756 although define-derived-mode was doing this anyway. (Bug#14583)
7758 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7760 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7761 Fix make-variable-buffer-local call to refer to the correct variable.
7763 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7765 * eshell/em-term.el (eshell-visual-commands)
7766 (eshell-visual-subcommands, eshell-visual-options):
7767 Add summary line to docstrings. Add cross-references.
7769 2013-06-10 Glenn Morris <rgm@gnu.org>
7771 * epa.el (epa-read-file-name): New function. (Bug#14510)
7772 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7774 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7776 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7777 output redirection to be ignored with visual commands.
7779 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7781 * eshell/em-term.el (eshell-visual-command-p): New function.
7782 (eshell-term-initialize): Move long lambda to separate function
7783 eshell-visual-command-p.
7784 * eshell/em-dirs.el (eshell-dirs-initialise):
7785 * eshell/em-script.el (eshell-script-initialize):
7786 Add missing #' to lambda.
7788 2013-06-08 Leo Liu <sdl.web@gmail.com>
7790 * progmodes/octave.el (octave-add-log-current-defun): New function.
7791 (octave-mode): Set add-log-current-defun-function.
7792 (octave-goto-function-definition): Do not move point if not found.
7793 (octave-find-definition): Enhance to try subfunctions first.
7795 2013-06-08 Glenn Morris <rgm@gnu.org>
7797 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7798 (byte-compile-backward-char, byte-compile-backward-word):
7799 Improve previous change, to handle non-explicit nil.
7801 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7803 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7804 (smie--opener/closer-at-point): New function.
7805 (smie--matching-block-data): Use it. Don't match from right after an
7806 opener or right before a closer. Obey smie-blink-matching-inners.
7807 Don't signal a mismatch for repeated inners like "switch..case..case".
7809 2013-06-07 Leo Liu <sdl.web@gmail.com>
7811 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7813 (octave-function-header-regexp): Fix. (Bug#14570)
7814 (octave-help-mode-finish-hook, octave-help-mode-finish):
7815 Remove. Just use temp-buffer-show-hook.
7817 * newcomment.el (comment-search-backward): Revert last change.
7820 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7822 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7824 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7825 through xargs, to avoid failure due to MS-Windows limitations on
7826 command-line length.
7828 2013-06-06 Glenn Morris <rgm@gnu.org>
7830 * font-lock.el (lisp-font-lock-keywords-2):
7831 Treat user-error like error.
7833 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7834 (byte-compile-backward-char, byte-compile-backward-word):
7835 Handle explicit nil arguments. (Bug#14565)
7837 2013-06-05 Alan Mackenzie <acm@muc.de>
7839 * isearch.el (isearch-allow-prefix): New user option.
7840 (isearch-other-meta-char): Don't exit isearch when a prefix
7841 argument is typed whilst `isearch-allow-prefix' is non-nil.
7844 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7846 * autorevert.el (auto-revert-notify-handler): Use memq.
7847 Hide assertion failure.
7849 * skeleton.el: Use cl-lib.
7850 (skeleton-further-elements): Use defvar-local.
7851 (skeleton-insert): Use cl-progv.
7853 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7855 * progmodes/prog-mode.el (prog-prettify-symbols)
7856 (prog-prettify-install): Update docstrings.
7858 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7860 * simple.el: Move all the prog-mode code to prog-mode.el.
7861 * progmodes/prog-mode.el: New file.
7862 * loadup.el: Add prog-mode.el.
7864 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7866 * simple.el (prog-prettify-symbols): Add version.
7867 (prog-prettify-install): Add convenience function to prettify symbols.
7869 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7870 (perl--augmented-font-lock-keywords-1)
7871 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7872 variables and use it.
7874 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7875 (cfengine3-mode): Remove unneeded variable and use it.
7877 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7878 (lisp--augmented-font-lock-keywords-1)
7879 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7880 Remove unneeded variables and use it.
7882 2013-06-05 João Távora <joaotavora@gmail.com>
7884 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7885 to point when opening the connection. (Bug#14380)
7887 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7889 * subr.el (load-history-regexp, load-history-filename-element)
7890 (eval-after-load, after-load-functions, do-after-load-evaluation)
7891 (eval-next-after-load, display-delayed-warnings)
7892 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7893 definition of save-match-data.
7894 (overriding-local-map): Remove accidental obsolescence declaration.
7896 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7898 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7900 Generalize symbol prettify support to prog-mode and implement it
7901 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7902 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7903 (prog--prettify-font-lock-compose-symbol)
7904 (prog-prettify-font-lock-symbols-keywords): New variables and
7905 functions to support symbol prettification.
7906 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7907 (lisp--augmented-font-lock-keywords-1)
7908 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7909 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7910 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7911 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7912 Implement prettify of -> => :: strings.
7913 * progmodes/perl-mode.el (perl-prettify-symbols)
7914 (perl--font-lock-compose-symbol)
7915 (perl--font-lock-symbols-keywords): Move to prog-mode.
7916 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7917 (perl-font-lock-keywords-1)
7918 (perl-font-lock-keywords-2): Remove explicit prettify support.
7919 (perl--augmented-font-lock-keywords)
7920 (perl--augmented-font-lock-keywords-1)
7921 (perl--augmented-font-lock-keywords-2, perl-mode):
7922 Implement prettify support.
7924 2013-06-05 Leo Liu <sdl.web@gmail.com>
7926 Re-implement smie matching block highlight using
7927 show-paren-data-function. (Bug#14395)
7928 * emacs-lisp/smie.el (smie-matching-block-highlight)
7929 (smie--highlight-matching-block-overlay)
7930 (smie--highlight-matching-block-lastpos)
7931 (smie-highlight-matching-block)
7932 (smie-highlight-matching-block-mode): Remove.
7933 (smie--matching-block-data-cache): New variable.
7934 (smie--matching-block-data): New function.
7935 (smie-setup): Use smie--matching-block-data for
7936 show-paren-data-function.
7938 * progmodes/octave.el (octave-mode-menu): Fix.
7939 (octave-find-definition): Skip garbage lines.
7941 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7943 Fix compilation error with simultaneous dynamic+lexical scoping.
7944 Add warning when a defvar appears after the first let-binding.
7945 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7946 (byte-compile-close-variables): Initialize it.
7947 (byte-compile--declare-var): New function.
7948 (byte-compile-file-form-defvar)
7949 (byte-compile-file-form-define-abbrev-table)
7950 (byte-compile-file-form-custom-declare-variable): Use it.
7951 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7952 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7953 (byte-compile-bind): Handle dynamic bindings that shadow
7955 (byte-compile-unbind): Make arg non-optional.
7956 (byte-compile-let): Simplify.
7957 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7958 (cconv--analyse-function, cconv-analyse-form): Populate it.
7959 Protect byte-compile-bound-variables to limit the scope of defvars.
7960 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7961 Remove unneeded rule for `declare'.
7963 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7964 so as to avoid depending on cl-adjoin at run-time.
7965 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7967 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7968 (macroexp--warn-and-return): Use it.
7970 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7972 * lisp/subr.el: Convert to lexical binding.
7973 (overriding-local-map): Make obsolete.
7974 (add-to-list): Doc fix. Add compiler macro.
7975 (read-key): Swap values of local maps.
7977 2013-06-05 Leo Liu <sdl.web@gmail.com>
7979 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7981 2013-06-04 Leo Liu <sdl.web@gmail.com>
7983 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7984 (compilation-auto-jump): Suppress the "Mark set" message to give
7985 way to exit message.
7987 2013-06-04 Alan Mackenzie <acm@muc.de>
7989 Remove faulty optimisation from indentation calculation.
7990 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7991 search limit based on 2000 characters back from indent-point.
7993 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7995 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7997 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7999 * emacs-lisp/lisp.el: Use lexical-binding.
8000 (lisp--local-variables-1, lisp--local-variables): New functions.
8001 (lisp--local-variables-completion-table): New var.
8002 (lisp-completion-at-point): Use it complete let-bound vars.
8004 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8005 eagerly (bug#14422).
8007 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8009 * autorevert.el (auto-revert-notify-enabled)
8010 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8011 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8012 (auto-revert-notify-handler): Handle also gfilenotify.
8014 * subr.el (file-notify-handle-event): New defun. Replacing ...
8015 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8018 2013-06-03 Juri Linkov <juri@jurta.org>
8020 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8021 `M-s h .'. (Bug#14427)
8023 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8024 command `hi-lock-face-symbol-at-point'.
8025 (hi-lock-face-symbol-at-point): New command.
8026 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8027 (hi-lock-menu): Add `highlight-symbol-at-point'.
8028 (hi-lock-mode): Doc fix.
8030 * isearch.el (isearch-forward-symbol-at-point): New command.
8031 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8032 (isearch-highlight-regexp): Add a regexp which matches
8033 words/symbols for word/symbol mode.
8035 * subr.el (find-tag-default-bounds): New function with the body
8036 mostly moved from `find-tag-default'.
8037 (find-tag-default): Move most code to `find-tag-default-bounds',
8038 call it and apply `buffer-substring-no-properties' afterwards.
8040 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8042 * eshell/em-term.el (eshell-term-initialize):
8043 Use `cl-intersection' rather than `intersection'.
8045 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8047 * vc/log-view.el: Doc fix.
8048 (log-view-mode-map): Copy keymap from `special-mode-map'.
8050 2013-06-02 Eric Ludlam <zappo@gnu.org>
8052 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8053 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8054 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8055 (eieio-unbound, eieio-default-superclass)
8056 (eieio--define-field-accessors, method-static, method-before)
8057 (method-primary, method-after, method-num-lists)
8058 (method-generic-before, method-generic-primary)
8059 (method-generic-after, method-num-slots)
8060 (eieio-specialized-key-to-generic-key)
8061 (eieio--check-type, class-v, class-p)
8062 (eieio-class-name, define-obsolete-function-alias)
8063 (eieio-class-parents-fast, eieio-class-children-fast)
8064 (same-class-fast-p, class-constructor, generic-p)
8065 (generic-primary-only-p, generic-primary-only-one-p)
8066 (class-option-assoc, class-option, eieio-object-p)
8067 (class-abstract-p, class-method-invocation-order)
8068 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8069 (eieio-class-un-autoload, eieio-defclass)
8070 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8071 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8072 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8073 (eieio-defgeneric-reset-generic-form)
8074 (eieio-defgeneric-form-primary-only)
8075 (eieio-defgeneric-reset-generic-form-primary-only)
8076 (eieio-defgeneric-form-primary-only-one)
8077 (eieio-defgeneric-reset-generic-form-primary-only-one)
8078 (eieio-unbind-method-implementations)
8079 (eieio--defmethod, eieio--typep)
8080 (eieio-perform-slot-validation, eieio-validate-slot-value)
8081 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8082 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8083 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8084 (eieio-slot-name-index, eieio-class-slot-name-index)
8085 (eieio-set-defaults, eieio-initarg-to-attribute)
8086 (eieio-attribute-to-initarg, eieio-c3-candidate)
8087 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8088 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8089 (eieio-class-precedence-list, eieio-generic-call-methodname)
8090 (eieio-generic-call-arglst, eieio-generic-call-key)
8091 (eieio-generic-call-next-method-list)
8092 (eieio-pre-method-execution-functions, eieio-generic-call)
8093 (eieio-generic-call-primary-only, eieiomt-method-list)
8094 (eieiomt-optimizing-obarray, eieiomt-install)
8095 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8096 (eieio-generic-form, eieio-defmethod, make-obsolete)
8097 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8098 (defclass): Remove `eval-and-compile' from macro.
8099 (call-next-method, shared-initialize): Instead of using
8100 `scoped-class' variable, use new eieio--scoped-class, and
8101 eieio--with-scoped-class.
8102 (initialize-instance): Rename local variable 'scoped-class' to
8103 'this-class' to remove ambiguitity from old global.
8105 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8107 (eieio--scoped-class-stack): New variable.
8108 (eieio--scoped-class): New fcn.
8109 (eieio--with-scoped-class): New scoping macro.
8110 (eieio-defclass): Use pushnew instead of add-to-list.
8111 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8112 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8113 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8114 `scoped-class' variable, use new eieio--scoped-class, and
8115 eieio--with-scoped-class.
8117 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8119 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8121 * eshell/esh-ext.el (eshell-external-command): Pass args to
8122 `eshell-find-interpreter'.
8123 (eshell-find-interpreter): Add new second parameter ARGS.
8125 * eshell/em-script.el (eshell-script-initialize): Add second arg
8126 to the function added as MATCH to `eshell-interpreter-alist'.
8128 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8129 the function added as MATCH to `eshell-interpreter-alist'.
8131 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8132 (eshell-visual-options): New defcustom.
8133 (eshell-escape-control-x): Adapt docstring.
8134 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8135 `eshell-visual-options' in addition to `eshell-visual-commands'.
8136 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8138 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8140 * progmodes/python.el (python-indent-block-enders): Add break,
8141 continue and raise keywords.
8143 2013-06-01 Glenn Morris <rgm@gnu.org>
8145 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8147 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8148 * progmodes/cc-cmds.el (delete-forward-p):
8149 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8150 * progmodes/cc-engine.el (buffer-syntactic-context):
8151 * progmodes/cc-fonts.el (face-property-instance):
8152 * progmodes/cc-mode.el (set-keymap-parents):
8153 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8154 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8155 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8156 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8157 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8159 * progmodes/cc-vars.el (other): Emacs has this widget since
8160 at least 21.1, so don't (re)define it.
8162 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8163 Replace the obsolete alias pcomplete-arg-quote-list.
8165 2013-06-01 Leo Liu <sdl.web@gmail.com>
8167 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8169 (inferior-octave-minimal-columns)
8170 (inferior-octave-last-column-width): New variables.
8171 (inferior-octave-track-window-width-change): New function.
8172 (inferior-octave-mode): Adjust column width so that Octave output,
8173 for example from 'ls', can fit into the window nicely.
8175 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8177 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8178 Highlight expansions inside regexp literals.
8180 2013-05-31 Glenn Morris <rgm@gnu.org>
8182 * obsolete/sym-comp.el (symbol-complete):
8183 Replace obsolete completion-annotate-function.
8185 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8187 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8189 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8190 New function, checks if point is inside a literal that allows
8191 expression expansion.
8192 (ruby-syntax-propertize-expansion): Use it.
8193 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8196 2013-05-30 Juri Linkov <juri@jurta.org>
8198 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8200 (isearch-invisible): New variable.
8201 (isearch-forward): Doc fix.
8202 (isearch-mode): Set `isearch-invisible'
8203 to the value of `search-invisible'.
8204 (isearch-toggle-case-fold): Doc fix.
8205 (isearch-toggle-invisible): New command.
8206 (isearch-query-replace): Let-bind `search-invisible'
8207 to the value of `isearch-invisible'.
8208 (isearch-search): Use `isearch-invisible' instead of
8209 `search-invisible'. Let-bind `search-invisible'
8210 to the value of `isearch-invisible'. (Bug#11378)
8212 2013-05-30 Juri Linkov <juri@jurta.org>
8214 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8215 call when `query-flag' is nil and `search-invisible' is non-nil.
8218 2013-05-30 Glenn Morris <rgm@gnu.org>
8220 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8222 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8223 (cc-require): Suppress spurious "noruntime" warnings.
8224 (cc-require-when-compile): Use fboundp, for sake of compiler.
8226 * progmodes/cc-mode.el: Move load of cc-vars before that of
8227 cc-langs (which in turn loads cc-vars), to quieten compiler.
8229 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8231 * paren.el: Simplify the code.
8232 (show-paren-mode): Always start the timer.
8233 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8234 (show-paren--overlay, show-paren--overlay-1): Rename from
8235 show-paren-overlay and show-paren-overlay-1, and initialize to an
8236 overlay rather than to nil.
8237 (show-paren-function): Misc cleanup and simplifications.
8239 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8241 * paren.el (show-paren-data-function): New hook.
8242 (show-paren--default): New function, extracted from show-paren-function.
8243 (show-paren-function): Use show-paren-data-function.
8245 2013-05-30 Glenn Morris <rgm@gnu.org>
8247 * ielm.el (ielm-map, ielm-complete-symbol):
8248 Use completion-at-point rather than obsolete functions.
8249 (inferior-emacs-lisp-mode): Doc fix.
8250 Set completion-at-point-functions, rather than
8251 comint-dynamic-complete-functions.
8253 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8254 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8255 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8257 * image.el (image-animated-p): Tweak definition.
8259 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8260 (rlogin-process-connection-type): Tweak default. Add set-after.
8261 (rlogin-host): Doc fix.
8262 (rlogin): Tweak prompt.
8263 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8265 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8266 * progmodes/tcl.el (inferior-tcl-mode-map):
8267 Use completion-at-point rather than obsolete alias.
8269 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8271 * minibuffer.el (read-file-name-completion-ignore-case):
8272 Move before completion--in-region, for eager macro expansion.
8274 2013-05-29 Juri Linkov <juri@jurta.org>
8276 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8277 for total count of matching lines. Add `global-matches' for total
8278 count of matches. Rename `matches' to `lines' for count of
8279 matching lines. Add `matches' for count of matches.
8280 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8281 to `prev-line' for line number of prev match endpt.
8282 Increment `matches' for every match. Print the number of
8283 matching lines in the header.
8284 (occur-context-lines): Rename `lines' to `curr-line'.
8285 Rename `prev-lines' to `prev-line'. (Bug#14017)
8287 2013-05-29 Juri Linkov <juri@jurta.org>
8289 * replace.el (perform-replace): Add `skip-read-only-count',
8290 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8291 Increment them for corresponding conditions and report the number
8292 of skipped occurrences in the final message. (Bug#11746)
8293 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8294 (replace-string, replace-regexp): Doc fix.
8296 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8298 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8300 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8301 prog-mode-map (bug#14504).
8303 2013-05-29 Leo Liu <sdl.web@gmail.com>
8305 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8306 (octave-help): Small simplification.
8308 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8309 off the highlight first.
8311 2013-05-29 Glenn Morris <rgm@gnu.org>
8313 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8314 Handle idlwave-last-system-routine-info-cons-cell being nil.
8316 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8317 (idlwave-write-paths): Simplify via with-temp-buffer.
8319 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8320 * emulation/cua-rect.el: Also load cua-base at run time.
8322 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8323 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8324 (cperl-imenu-on-info): Require imenu.
8326 2013-05-28 Alan Mackenzie <acm@muc.de>
8328 Handle "capitalised keywords" correctly.
8329 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8331 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8333 * eshell/em-unix.el: Add -r option to cp.
8335 2013-05-28 Glenn Morris <rgm@gnu.org>
8337 * vc/vc-arch.el (vc-exec-after): Declare.
8338 (vc-switches): Autoload.
8339 * vc/vc-bzr.el: No need to require vc when compiling.
8340 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8341 (vc-resynch-buffer, vc-dir-refresh): Declare.
8342 (vc-setup-buffer, vc-switches): Autoload.
8343 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8344 (vc-resynch-buffer): Declare.
8345 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8346 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8347 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8348 (grep-read-regexp, grep-read-files, grep-expand-template)
8349 (vc-dir-refresh): Declare.
8350 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8351 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8352 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8353 * vc/vc-mtn.el (vc-exec-after): Declare.
8354 (vc-switches): Autoload.
8355 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8356 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8357 (vc-file-tree-walk): Declare.
8358 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8359 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8360 (vc-tag-precondition, vc-rename-master): Autoload.
8361 * vc/vc-svn.el (vc-exec-after): Declare.
8362 (vc-switches, vc-setup-buffer): Autoload.
8363 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8365 (vc-resynch-buffer): Declare.
8367 * obsolete/fast-lock.el (byte-compile-warnings):
8368 Don't warn about obsolete features in this obsolete file.
8370 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8371 Move definition before use.
8373 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8374 (dun-unix-verbs): Remove dun-zippy.
8375 (dun-zippy): Remove function.
8377 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8379 2013-05-27 Juri Linkov <juri@jurta.org>
8381 * replace.el (replace-search): New function with code moved out
8382 from `perform-replace'.
8383 (replace-highlight, replace-dehighlight): Move function definitions
8384 up closer to `replace-search'. (Bug#11746)
8386 2013-05-27 Juri Linkov <juri@jurta.org>
8388 * replace.el (perform-replace): Ignore invisible matches.
8389 In addition to checking `query-replace-skip-read-only', also
8390 filter out matches by calling `run-hook-with-args-until-failure'
8391 on `isearch-filter-predicates', and also check `search-invisible'
8392 for t or call `isearch-range-invisible'.
8393 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8395 2013-05-27 Juri Linkov <juri@jurta.org>
8397 * isearch.el (isearch-filter-predicates): Rename from
8398 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8399 (isearch-message-prefix): Display text from the property
8400 `isearch-message-prefix' of the currently active filters.
8401 (isearch-search): Don't compare `isearch-filter-predicate' with
8402 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8403 on `isearch-filter-predicates'. Also check `search-invisible' for t
8404 or call `isearch-range-invisible'.
8405 (isearch-filter-visible): Make obsolete.
8406 (isearch-lazy-highlight-search):
8407 Call `run-hook-with-args-until-failure' on
8408 `isearch-filter-predicates' and use `isearch-range-invisible'.
8410 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8411 `isearch-filter-predicates' instead of `funcall'ing
8412 `isearch-filter-predicate'.
8413 (Info-mode): Set `Info-isearch-filter' to
8414 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8416 * dired-aux.el (dired-isearch-filter-predicate-orig):
8418 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8419 (dired-isearch-filenames-end): Add and remove
8420 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8421 instead of changing the value of `isearch-filter-predicate'.
8422 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8423 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8424 Put property `isearch-message-prefix' to "filename " on
8425 `dired-isearch-filter-filenames'.
8427 * wdired.el (wdired-change-to-wdired-mode):
8428 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8429 locally instead of changing `isearch-filter-predicate'.
8430 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8432 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8434 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8435 return the commit hash (Bug#14459). Also set the
8436 `vc-git-detached' property.
8437 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8438 (vc-git-mode-line-string): Use the same help-echo format whether
8439 in detached mode or not, because we know the actual revision now.
8440 When in detached mode, shorten the revision to 7 chars.
8442 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8444 * emacs-lisp/easy-mmode.el (define-minor-mode):
8445 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8446 mode hook and provide a docstring.
8448 2013-05-27 Alan Mackenzie <acm@muc.de>
8450 Remove spurious syntax-table text properties inserted by C-y.
8451 * progmodes/cc-mode.el (c-after-change): Also clear hard
8452 syntax-table property with value nil.
8454 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8456 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8457 when reading the events; the buffer layout shall not be changed.
8459 2013-05-27 Leo Liu <sdl.web@gmail.com>
8461 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8463 (inferior-octave-directory-tracker): Automatically re-sync
8465 (octave-help): Improve handling of 'See also'.
8467 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8469 * doc-view.el: Minor naming convention tweaks.
8470 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8472 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8473 even if there's no `display' property yet (bug#14435).
8475 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8477 * subr.el (unmsys--file-name): Rename from reveal-filename.
8479 * Makefile.in (custom-deps, finder-data, autoloads)
8480 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8481 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8482 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8484 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8486 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8487 error-completion on the first 2 args of condition-case (bug#14446).
8490 2013-05-25 Leo Liu <sdl.web@gmail.com>
8492 * comint.el (comint-previous-matching-input): Do not flood the
8493 *Messages* buffer with trivial messages.
8495 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8497 * progmodes/flymake.el (flymake-nop): Don't return a string.
8498 (flymake-set-at): Fix typo.
8500 * simple.el (read--expression): New function, extracted from
8501 eval-expression. Set completion-at-point-functions (bug#14465).
8502 (eval-expression, eval-minibuffer): Use it.
8504 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8506 * progmodes/flymake.el (flymake-save-buffer-in-file)
8507 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8508 (flymake-selected-frame, flymake-log, flymake-ins-after)
8509 (flymake-set-at, flymake-get-buildfile-from-cache)
8510 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8511 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8512 Refine the doc string.
8513 (flymake-get-file-name-mode-and-masks): Reformat.
8514 (flymake-get-real-file-name-function): Fix a minor bug.
8516 2013-05-24 Juri Linkov <juri@jurta.org>
8518 * progmodes/grep.el (grep-mode-font-lock-keywords):
8519 Support =linenumber= format used by git-grep for lines with
8520 function names. (Bug#13549)
8522 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8524 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8525 0 after a semi-colon; it works better for smie-auto-fill.
8526 (octave--indent-new-comment-line): New function.
8527 (octave-indent-new-comment-line): Use it (indirectly).
8528 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8529 modify comment-line-break-function.
8531 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8532 (smie-setup): Use add-function to set it.
8534 2013-05-24 Sam Steingold <sds@gnu.org>
8536 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8537 argument (before the `interactive' argument).
8539 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8541 * image-mode.el (image-mode-winprops): Add winprops to
8542 image-mode-winprops-alist before running
8543 image-mode-new-window-functions.
8544 * doc-view.el (doc-view-new-window-function): Don't delay
8545 doc-view-goto-page via timers (bug#14435).
8547 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8549 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8550 (doc-view-desktop-save-buffer): New function.
8551 (doc-view-restore-desktop-buffer): New function.
8552 (desktop-buffer-mode-handlers):
8553 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8555 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8556 `desktop-save-buffer' function.
8558 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8560 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8561 (tramp-gvfs-file-name-handler): Raise a user error when
8562 `tramp-gvfs-enabled' is nil.
8563 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8564 Do not raise a user error when loading package. (Bug#14447)
8566 * net/xesam.el: Move to obsolete/.
8568 2013-05-24 Glenn Morris <rgm@gnu.org>
8570 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8572 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8574 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8575 (Info-find-node, Man-getpage-in-background): Declare.
8577 * mail/unrmail.el (unrmail):
8578 Replace obsolete detect-coding-with-priority.
8580 * net/socks.el (socks-split-string): Use this rather than split-string.
8581 (socks-nslookup-host): Update for above change.
8582 (dynamic-choice, s5-dynamic-choice-match)
8583 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8584 Comment out unused code.
8586 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8587 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8588 (gud-tooltip-echo-area): Make obsolete.
8589 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8591 * progmodes/js.el (js--optimize-arglist): Declare.
8593 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8595 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8596 (ediff-window-C): Declare.
8598 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8599 Tweak requires to silence compiler.
8601 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8602 (he-search-string, he-tried-table, he-expand-list)
8603 (he-init-string, he-string-member, he-substitute-string)
8604 (he-reset-string): Declare.
8606 * obsolete/options.el (list-options): Use custom-variable-p,
8607 rather than obsolete alias.
8609 2013-05-23 Sam Steingold <sds@gnu.org>
8611 * simple.el (shell-command-on-region): Pass the `replace' argument
8612 down to `call-process-region' to comply with the doc as reported on
8613 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8615 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8617 * emacs-lisp/smie.el (smie-indent-forward-token)
8618 (smie-indent-backward-token): Handle string tokens (bug#14381).
8620 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8622 * ielm.el (ielm-menu): New menu.
8623 (inferior-emacs-lisp-mode): Set comment-start.
8625 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8627 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8628 Fix deactivate action.
8630 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8631 Add cleveref macros.
8633 * lisp/textmodes/reftex-parse.el
8634 (reftex-locate-bibliography-files): Accept options for
8635 bibliography commands.
8636 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8637 Add addbibresource. Basic Biblatex support.
8639 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8641 * net/tramp-gvfs.el (top):
8642 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8643 when loading package. (Bug#14447)
8645 2013-05-23 Glenn Morris <rgm@gnu.org>
8647 * progmodes/js.el: No need to load comint when compiling.
8648 (ring-insert, comint-send-string, comint-send-input)
8649 (comint-last-input-end, ido-chop): Declare.
8651 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8652 * vc/ediff-mult.el: Adjust requires.
8653 (ediff-directories-internal, ediff-directory-revisions-internal)
8654 (ediff-patch-file-internal): Declare.
8655 * vc/ediff-ptch.el: Adjust requires.
8656 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8657 (ediff-find-file): Autoload.
8658 * vc/ediff-util.el: No need to load ediff when compiling.
8659 (ediff-regions-internal): Declare.
8660 * vc/ediff-wind.el: Adjust requires.
8661 (ediff-compute-toolbar-width): Define when compiling.
8662 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8663 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8664 (dired-get-filename, dired-get-marked-files)
8665 (ediff-last-dir-patch, ediff-patch-default-directory)
8666 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8667 (ediff-patch-buffer-internal): Declare.
8669 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8670 (ispell-process, ispell-buffer-local-words, lm-summary)
8671 (lm-section-start, lm-section-end): Declare.
8672 (checkdoc-ispell-init): Simplify.
8674 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8675 (he-string-member, he-reset-string, he-substitute-string): Declare.
8677 * eshell/em-ls.el: Adjust requires.
8678 (eshell-glob-regexp): Declare.
8679 * eshell/em-tramp.el: Adjust requires.
8680 (eshell-parse-command): Autoload.
8681 * eshell/em-xtra.el: Adjust requires.
8682 (eshell-parse-command): Autoload.
8683 * eshell/esh-ext.el: Adjust requires.
8684 (eshell-parse-command, eshell-close-handles): Autoload.
8685 * eshell/esh-io.el: Adjust requires.
8686 (eshell-output-filter): Autoload.
8687 * eshell/esh-util.el: No need to load tramp when compiling.
8688 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8690 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8691 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8692 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8693 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8694 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8695 * eshell/esh-opt.el, eshell/esh-proc.el:
8696 * eshell/esh-var.el: Adjust requires.
8697 * eshell/eshell.el: Do not require esh-util twice.
8698 (eshell-add-input-to-history): Declare.
8699 (eshell-command): Check history module is active before using it.
8701 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8703 2013-05-22 Leo Liu <sdl.web@gmail.com>
8705 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8707 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8709 * autorevert.el (auto-revert-notify-add-watch)
8710 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8711 it indicates changes in file modification time.
8713 2013-05-22 Glenn Morris <rgm@gnu.org>
8715 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8716 Always delete the autoloaded function from the noruntime and
8717 unresolved functions lists.
8719 * allout.el: No need to load epa, epg, overlay when compiling.
8720 (epg-context-set-passphrase-callback, epg-list-keys)
8721 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8722 (epg-key-user-id-list): Declare.
8724 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8725 (viper-set-parsing-style-toggling-macro)
8726 (viper-set-emacs-state-searchstyle-macros):
8727 Use called-interactively-p on Emacs.
8728 (viper-looking-back): Make it an obsolete alias. Update callers.
8729 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8730 Use looking-back rather than viper-looking-back.
8731 (viper-tmp-insert-at-eob, viper-enlarge-region)
8732 (viper-read-string-with-history, viper-register-to-point)
8733 (viper-append-to-register, viper-change-state-to-vi)
8734 (viper-backward-char-carefully, viper-forward-char-carefully)
8735 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8736 (viper-change-state-to-emacs): Declare.
8737 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8738 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8739 * emulation/viper-mous.el: Do not load viper-cmd.
8740 (viper-backward-char-carefully, viper-forward-char-carefully)
8741 (viper-forward-word, viper-adjust-window): Declare.
8743 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8745 * progmodes/idlw-help.el (idlwave-help-fontify):
8746 Use called-interactively-p.
8748 * term/w32console.el (w32-get-console-codepage)
8749 (w32-get-console-output-codepage): Declare.
8751 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8752 Remove unnecessary declarations.
8753 (dframe-message): Doc fix.
8755 * info.el (dframe-select-attached-frame, dframe-current-frame):
8758 * speedbar.el (speedbar-message): Make it an obsolete alias.
8760 (speedbar-with-attached-buffer)
8761 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8762 (speedbar-with-writable): Use backquote.
8763 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8764 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8765 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8766 rather than speedbar- aliases.
8767 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8768 (speedbar-make-specialized-keymap, speedbar-insert-button)
8769 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8770 (speedbar-do-function-pointer): Declare.
8771 (rmail-speedbar-button, rmail-speedbar-find-file)
8772 (rmail-speedbar-move-message):
8773 Use dframe-with-attached-buffer rather than speedbar- alias.
8774 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8775 (dframe-message, speedbar-make-specialized-keymap)
8776 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8777 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8778 (speedbar-insert-button, dframe-select-attached-frame)
8779 (dframe-maybee-jump-to-attached-frame)
8780 (speedbar-change-initial-expansion-list)
8781 (speedbar-previously-used-expansion-list-name): Declare.
8782 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8783 Use dframe-message, dframe-with-attached-buffer rather than
8785 (gud-sentinel): Silence compiler.
8786 * progmodes/vhdl-mode.el (speedbar-refresh)
8787 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8788 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8789 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8790 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8791 (speedbar-file-lists, speedbar-make-tag-line)
8792 (speedbar-line-directory, speedbar-goto-this-file)
8793 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8794 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8795 (speedbar-make-button, speedbar-reset-scanners)
8796 (speedbar-files-item-info, speedbar-line-text)
8797 (speedbar-find-file-in-frame, speedbar-set-timer)
8798 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8799 (speedbar-with-writable): Do not (re)define it.
8800 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8801 rather than speedbar- alias.
8803 2013-05-21 Leo Liu <sdl.web@gmail.com>
8805 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8807 (octave-mode): Tweak fill-nobreak-predicate.
8808 (inferior-octave-startup): Check process to avoid infinite loop.
8809 (inferior-octave): Pop to buffer first to show abornmal process
8812 2013-05-21 Glenn Morris <rgm@gnu.org>
8814 * printing.el (pr-menu-bar): Define when compiling.
8816 2013-05-21 Leo Liu <sdl.web@gmail.com>
8818 * progmodes/octave.el (octave-auto-fill): Remove.
8819 (octave-indent-new-comment-line): Improve.
8820 (octave-mode): Use auto fill mode through
8821 comment-line-break-function and fill-nobreak-predicate.
8822 (octave-goto-function-definition): Support DEFUN_DLD.
8823 (octave-beginning-of-defun): Small tweak.
8824 (octave-help): Show parent directory.
8826 2013-05-21 Glenn Morris <rgm@gnu.org>
8828 * files.el (dired-unmark):
8829 * progmodes/gud.el (gdb-input): Update declarations.
8831 * calculator.el (electric, ehelp): No need to load when compiling.
8832 (Electric-command-loop, electric-describe-mode): Declare.
8834 * doc-view.el (doc-view-current-converter-processes): Move before use.
8836 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8837 Move MODE-set-explicitly definition before use.
8839 * international/mule-diag.el (mule-diag):
8840 Don't use obsolete window-system-version.
8842 * mail/feedmail.el (smtpmail): No need to load when compiling.
8843 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8845 * mail/mail-utils.el (rfc822): No need to load when compiling.
8846 (rfc822-addresses): Autoload it.
8847 (mail-strip-quoted-names): Trivial simplification.
8849 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8850 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8852 * net/snmp-mode.el (tempo): Don't duplicate requires.
8854 * progmodes/prolog.el (info): No need to load when compiling.
8855 (comint): Require before shell requires it.
8856 (Info-goto-node): Autoload it.
8857 (Info-follow-nearest-node): Declare.
8858 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8860 * textmodes/artist.el (picture-mode-exit): Declare.
8862 * textmodes/reftex-parse.el (reftex-parse-from-file):
8863 Trivial rewrite so the compiler can parse it better.
8865 2013-05-20 Leo Liu <sdl.web@gmail.com>
8867 * progmodes/octave.el (octave-help-mode-map)
8868 (octave-help-mode-finish-hook): New variables.
8869 (octave-help-mode, octave-help-mode-finish): New functions.
8870 (octave-help): Use octave-help-mode.
8872 2013-05-20 Glenn Morris <rgm@gnu.org>
8874 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8876 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8878 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8879 start at point, so that expansion starting right after opening
8880 slash in a regexp is recognized.
8881 (ruby-syntax-before-regexp-re): New defvar, extracted from
8882 ruby-syntax-propertize-function. Since the value of this regexp
8883 is looked up at runtime now, we should be able to turn
8884 `ruby-syntax-methods-before-regexp' into a defcustom later.
8885 (ruby-syntax-propertize-function): Split regexp matching into two
8886 parts, for opening and closing slashes. That allows us to skip
8887 over string interpolations and support multiline regexps.
8888 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8889 for them, which calls `ruby-syntax-propertize-expansion'.
8890 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8891 call to `ruby-syntax-propertize-function'.
8892 (ruby-syntax-propertize-expansion): Extracted from
8893 `ruby-syntax-propertize-expansions'. Handles one expansion.
8894 (ruby-syntax-propertize-percent-literal): Leave point right after
8895 the percent symbol, so that the expression expansion rule can
8896 propertize the contents.
8897 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8899 (ruby-syntax-propertize-expansions): Remove.
8901 2013-05-18 Juri Linkov <juri@jurta.org>
8903 * man.el (Man-default-man-entry): Remove `-' from the end
8904 of the default value. (Bug#14400)
8906 2013-05-18 Glenn Morris <rgm@gnu.org>
8908 * comint.el (comint-password-prompt-regexp):
8909 Allow "password for XXX" where XXX contains colons (eg https://...).
8911 2013-05-18 Leo Liu <sdl.web@gmail.com>
8913 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8914 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8915 (octave-source-directories): Don't check process.
8916 (octave-source-directories, octave-find-definition): Doc fix.
8918 2013-05-18 Glenn Morris <rgm@gnu.org>
8920 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8921 Remove backspace/delete bindings. (Bug#14392)
8923 * cus-dep.el (custom-make-dependencies): Sort the output.
8924 (custom-versions-load-alist): Convert comment to doc.
8926 2013-05-17 Leo Liu <sdl.web@gmail.com>
8928 * newcomment.el (comment-search-backward): Stricter in finding
8929 comment start. (Bug#14303)
8931 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8932 (octave-comment-start-skip): Properly anchored.
8934 2013-05-17 Leo Liu <sdl.web@gmail.com>
8936 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8937 Clean up when turned off. (Bug#14395)
8938 (smie--highlight-matching-block-overlay): No longer buffer-local.
8939 (smie-highlight-matching-block): Adjust.
8941 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8943 Doc string fix for "nanoseconds" (Bug#14406).
8944 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8945 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8947 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8949 * calc/calc-units.el (math-extract-units): Preserve powers
8952 2013-05-17 Leo Liu <sdl.web@gmail.com>
8954 * subr.el (delete-consecutive-dups): New function.
8955 * ido.el (ido-set-matches-1): Use it.
8956 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8957 * ido.el (ido-remove-consecutive-dups): Remove.
8959 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8961 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8962 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8963 regexp-opt's `words'.
8965 2013-05-16 Leo Liu <sdl.web@gmail.com>
8967 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8968 (smie--highlight-matching-block-overlay)
8969 (smie--highlight-matching-block-lastpos)
8970 (smie--highlight-matching-block-timer): New variables.
8971 (smie-highlight-matching-block): New function.
8972 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8973 (smie-setup): Conditionally enable smie-blink-matching-open.
8975 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8977 Sync with upstream verilog-mode r840.
8978 * progmodes/verilog-mode.el (verilog-mode-version)
8979 (verilog-mode-release-date): Update.
8980 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8981 (verilog-sig-tieoff): Fix string error on
8982 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8983 (verilog-read-decls): Fix parameters confusing
8984 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8986 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8988 * subr.el (reveal-filename): New function.
8990 * loadup.el: Compute Emacs executable versions on MS-Windows,
8991 where executables have the .exe extension. Add a hard link
8992 emacs-XX.YY.ZZ.exe on MS-Windows.
8994 * Makefile.in (XARGS_LIMIT): New variable.
8995 (custom-deps, finder-data, autoloads)
8996 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8997 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8998 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8999 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9001 2013-05-16 Leo Liu <sdl.web@gmail.com>
9003 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9004 (octave-mode-menu, octave-mode-map): Remove its uses.
9006 2013-05-16 Reto Zimmermann <reto@gnu.org>
9008 Sync with upstream vhdl mode v3.34.2.
9009 * progmodes/vhdl-mode.el: Use `push' throughout.
9010 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9011 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9012 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9013 (vhdl-actual-generic-name): New option to derive actual generic name.
9014 (vhdl-port-paste-signals): Replace formal by actual generics.
9015 (vhdl-beautify): New name for old group vhdl-align. Update users.
9016 (vhdl-beautify-options): New option.
9017 (vhdl-last-input-event): New compat alias. Use throughout.
9018 (vhdl-goto-line): Replace user level function `goto-line'.
9019 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9020 vhdl-fix-statement-buffer.
9021 (vhdl-create-mode-menu): Add some entries.
9022 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9023 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9024 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9025 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9026 to force statements on one line.
9027 (vhdl-remove-trailing-spaces-region):
9028 New, split from vhdl-remove-trailing-spaces.
9029 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9030 Respect vhdl-beautify-options.
9031 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9032 (vhdl-update-sensitivity-list): Not add with index if exists without.
9033 Not include array index with signal. Ignore keywords in comments.
9034 (vhdl-get-visible-signals): Regexp tweaks.
9035 (vhdl-template-component-inst): Handle empty library.
9036 (vhdl-template-type): Add template for 'enum' type.
9037 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9038 Use vhdl-replace-string.
9039 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9040 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9041 (vhdl-speedbar-initialize): Update for above name change.
9042 (vhdl-compose-wire-components): Fix in handling of constants.
9043 (vhdl-error-regexp-emacs-alist): New variable.
9044 (vhdl-error-regexp-add-emacs): New function;
9045 adds support for new compile.el (Emacs 22+)
9046 (vhdl-generate-makefile-1): Change target order for single lib. units.
9047 Allow use of absolute file names.
9049 2013-05-16 Leo Liu <sdl.web@gmail.com>
9051 * simple.el (prog-indent-sexp): Indent enclosing defun.
9053 2013-05-15 Glenn Morris <rgm@gnu.org>
9055 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9056 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9057 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9058 (whitespace-highlight): Move to whitespace group.
9060 * comint.el (comint-source):
9061 * pcmpl-linux.el (pcmpl-linux):
9062 * shell.el (shell-faces):
9063 * eshell/esh-opt.el (eshell-opt):
9064 * international/ccl.el (ccl): Remove empty custom groups.
9066 * completion.el (dynamic-completion-mode):
9067 * jit-lock.el (jit-lock-debug-mode):
9068 * minibuffer.el (completion-in-region-mode):
9069 * type-break.el (type-break-mode-line-message-mode)
9070 (type-break-query-mode):
9071 * emulation/tpu-edt.el (tpu-edt-mode):
9072 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9073 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9074 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9076 * term/xterm.el (xterm): Change parent group to terminals.
9078 * master.el (master): Remove empty custom group.
9079 (master-mode): Remove unused :group argument.
9080 * textmodes/refill.el (refill): Remove empty custom group.
9081 (refill-mode): Remove unused :group argument.
9083 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9085 * cus-dep.el: Provide a feature.
9086 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9087 Don't mistakenly ignore files whose basenames match a basename
9088 from preloaded-file-list (eg cedet/ede/simple.el).
9089 Add a fallback method for getting :group.
9091 2013-05-15 Juri Linkov <juri@jurta.org>
9093 * isearch.el (isearch-char-by-name): Rename from
9094 `isearch-insert-char-by-name'. Doc fix.
9095 (isearch-forward): Mention `isearch-char-by-name' in
9096 the docstring. (Bug#13348)
9098 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9099 `exit-minibuffer' instead of
9100 `isearch-nonincremental-exit-minibuffer'.
9101 (isearch-edit-string): Remove mention of
9102 `isearch-nonincremental-exit-minibuffer' from docstring.
9103 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9104 (isearch-forward-exit-minibuffer)
9105 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9107 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9109 * loadup.el: Just use unversioned DOC.
9111 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9112 literals as extending to EOB.
9113 (nxml-last-fontify-end): Remove unused variable.
9114 (nxml-after-change1): Use with-silent-modifications.
9115 (nxml-extend-after-change-region): Simplify.
9116 (nxml-extend-after-change-region1): Remove function.
9117 (nxml-after-change1): Don't adjust for dependent regions.
9118 (nxml-fontify-matcher): Simplify.
9119 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9120 (xmltok-add-dependent): Remove function.
9121 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9122 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9123 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9124 unclosed <[[, <?, comment, and other literals as extending to EOB.
9125 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9126 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9128 (rng-do-some-validation-1): Don't mark dependent regions.
9129 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9130 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9131 (nxml-clear-dependent-regions): Remove functions.
9132 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9133 (nxml-ensure-scan-up-to-date):
9134 Don't clear&mark dependent regions.
9136 2013-05-15 Leo Liu <sdl.web@gmail.com>
9138 * progmodes/octave.el (octave-goto-function-definition):
9139 Improve and fix callers.
9141 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9143 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9144 the setter (bug#14387).
9146 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9147 surrounding group (bug#14402).
9149 2013-05-14 Juri Linkov <juri@jurta.org>
9151 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9154 2013-05-14 Glenn Morris <rgm@gnu.org>
9156 * progmodes/f90.el (f90-imenu-generic-expression):
9157 Fix typo in 2013-05-08 change. (Bug#14402)
9159 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9161 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9162 Remove signals for which replies are never received.
9164 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9166 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9167 (gdb-handler-alist, gdb-handler-number): Remove variables.
9168 (gdb-handler-list): New variable.
9169 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9170 (gdb-pending-handler-p, gdb-handle-reply)
9171 (gdb-remove-all-pending-triggers): New functions.
9172 (gdb-discard-unordered-replies): New defcustom.
9173 (gdb-handler): New defstruct.
9174 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9175 instead of gdb-pending-triggers. Update docstring.
9176 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9177 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9178 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9179 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9180 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9181 (gdb-frame-handler): Pending triggers are now automatically managed.
9182 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9184 (gdb-input): Automatically handles pending triggers. Update docstring.
9185 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9186 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9188 (gdb-done-or-error): Now use gdb-handle-reply.
9190 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9192 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9195 2013-05-14 Glenn Morris <rgm@gnu.org>
9197 * subr.el (user-emacs-directory-warning): New option.
9198 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9200 2013-05-14 Leo Liu <sdl.web@gmail.com>
9202 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9204 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9205 (octave-font-lock-texinfo-comment): Fix invalid search bound
9206 error: wrong side of point.
9208 2013-05-14 Glenn Morris <rgm@gnu.org>
9210 * progmodes/flymake.el (flymake-xml-program): New option.
9211 (flymake-xml-init): Use it.
9213 * term/xterm.el: Provide a feature.
9215 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9217 2013-05-13 Glenn Morris <rgm@gnu.org>
9219 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9220 Add compat aliases as a hack workaround. (Bug#14384)
9222 2013-05-13 Leo Liu <sdl.web@gmail.com>
9224 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9226 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9228 (octave-comment-start-skip): Include %!.
9229 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9231 2013-05-12 Leo Liu <sdl.web@gmail.com>
9233 * progmodes/octave.el (inferior-octave-startup): Store the value
9234 of __octave_srcdir__ for octave-source-directories.
9235 (inferior-octave-check-process): New function refactored out of
9236 inferior-octave-send-list-and-digest.
9237 (octave-source-directories)
9238 (octave-find-definition-filename-function): New variables.
9239 (octave-source-directories)
9240 (octave-find-definition-default-filename): New functions.
9241 (octave-find-definition): Improve to find functions implemented in C++.
9243 2013-05-12 Glenn Morris <rgm@gnu.org>
9245 * calendar/diary-lib.el (diary-outlook-format-1):
9246 Don't include dayname in the output. (Bug#14349)
9248 2013-05-11 Glenn Morris <rgm@gnu.org>
9250 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9252 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9253 Treat cc-provide like provide.
9255 2013-05-11 Kevin Ryde <user42@zip.com.au>
9257 * cus-dep.el (custom-make-dependencies):
9258 Use generated-autoload-load-name for the sake of files such
9259 such cedet/semantic/bovine/c.el, where the base file name
9260 is not in load-path. (Bug#5277)
9262 2013-05-11 Glenn Morris <rgm@gnu.org>
9264 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9267 2013-05-11 Leo Liu <sdl.web@gmail.com>
9269 * progmodes/octave.el (octave-indent-comment): Improve.
9270 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9271 (octave-eldoc-function-signatures, octave-eldoc-function):
9273 (octave-mode, inferior-octave-mode): Add eldoc support.
9275 2013-05-11 Richard Stallman <rms@gnu.org>
9277 * epa.el (epa-decrypt-file): Take output file name as argument
9278 and read it using `interactive'.
9280 2013-05-11 Leo Liu <sdl.web@gmail.com>
9282 * progmodes/octave.el (octave-beginning-of-line)
9283 (octave-end-of-line): Check before using up-list because it jumps
9284 out of more syntactic contructs since moving to smie.
9285 (octave-indent-comment): New function.
9286 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9287 (octave-begin-keywords, octave-end-keywords)
9288 (octave-reserved-words, octave-smie-bnf-table)
9289 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9291 2013-05-11 Glenn Morris <rgm@gnu.org>
9293 * faces.el (internal-face-x-get-resource):
9294 * frame.el (ns-display-monitor-attributes-list):
9295 * calc/calc-aent.el (math-to-radians-2):
9296 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9299 * calc/calc-menu.el: Make it loadable in isolation.
9301 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9302 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9303 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9304 (eudc-bbdb-query-internal): Require 'bbdb.
9306 * lpr.el (lpr-headers-switches):
9307 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9309 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9311 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9313 * term.el (term-set-escape-char): Make it idempotent.
9315 2013-05-10 Leo Liu <sdl.web@gmail.com>
9317 * progmodes/octave.el (inferior-octave-completion-table):
9318 No longer a function and all uses changed. Use cache to speed up
9319 completion due to bug#11906.
9320 (octave-beginning-of-defun): Re-write to be more general.
9322 2013-05-10 Glenn Morris <rgm@gnu.org>
9324 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9326 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9328 * comint.el (comint-redirect-send-command-to-process): Use :around
9329 rather than :override for comint-redirect-filter.
9330 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9331 Call it instead of comint-redirect-original-filter-function (which
9332 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9334 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9336 * frame.el (display-monitor-attributes-list): Add NS case.
9337 (ns-display-monitor-attributes-list): Declare.
9339 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9341 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9343 2013-05-09 Glenn Morris <rgm@gnu.org>
9345 * international/fontset.el (vertical-centering-font-regexp):
9348 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9350 * bookmark.el (bookmark-search-delay):
9351 * cus-start.el (vertical-centering-font-regexp):
9352 * ps-mule.el (ps-mule-font-info-database-default):
9353 * ps-print.el (ps-default-fg, ps-default-bg):
9354 * type-break.el (type-break-good-break-interval):
9355 * whitespace.el (whitespace-indentation-regexp)
9356 (whitespace-space-after-tab-regexp):
9357 * emacs-lisp/testcover.el (testcover-1value-functions)
9358 (testcover-noreturn-functions, testcover-progn-functions)
9359 (testcover-prog1-functions):
9360 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9361 * eshell/em-glob.el (eshell-glob-translate-alist):
9362 * play/tetris.el (tetris-tty-colors):
9363 * progmodes/cpp.el (cpp-face-default-list):
9364 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9365 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9366 (idlwave-help-browser-generic-args):
9367 * progmodes/make-mode.el (makefile-special-targets-list):
9368 * progmodes/python.el (python-shell-virtualenv-path):
9369 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9370 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9371 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9372 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9373 * textmodes/reftex-vars.el (reftex-format-label-function):
9374 * textmodes/remember.el (remember-diary-file): Fix custom types.
9376 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9379 2013-05-09 Leo Liu <sdl.web@gmail.com>
9381 * progmodes/octave.el (inferior-octave-completion-at-point):
9382 Restore file completion. (Bug#14300)
9383 (inferior-octave-startup): Fix incorrect highlighting for the
9386 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9388 * progmodes/ruby-mode.el: First cut at SMIE support.
9389 (ruby-use-smie): New var.
9390 (ruby-smie-grammar): New constant.
9391 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9392 (ruby-smie--forward-token, ruby-smie--backward-token)
9393 (ruby-smie-rules): New functions.
9394 (ruby-mode-variables): Setup SMIE if applicable.
9396 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9398 * simple.el (line-move-visual): Signal beginning/end of buffer
9399 only if vertical-motion moved less than it was requested. Avoids
9400 silly incorrect error messages when there are display strings with
9401 multiple newlines at EOL.
9403 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9405 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9406 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9407 (prolog-char-quote-workaround):
9408 * progmodes/cperl-mode.el (cperl-under-as-char):
9409 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9411 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9413 (vhdl-mode-syntax-table-init): Remove.
9415 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9418 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9420 (ld-script-font-lock-keywords):
9421 Change regexps to use things like \_< and \_>.
9423 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9424 Change all regexps to use things like \_< and \_>.
9426 * progmodes/autoconf.el (autoconf-definition-regexp)
9427 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9428 Handle a _ with symbol syntax.
9429 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9431 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9432 Consolidate declaration.
9433 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9435 (ada-create-syntax-table): Remove.
9436 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9437 already has the right syntax nowadays.
9438 (ada-goto-next-word): Don't change the syntax of "_".
9440 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9443 2013-05-08 Sam Steingold <sds@gnu.org>
9445 * thingatpt.el (thing-at-point): Accept optional second argument
9446 NO-PROPERTIES to strip the text properties from the return value.
9447 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9448 to `thing-at-point' instead of stripping the properties ourselves.
9449 Also, when `thing-at-point' fails to find a url, prepend "http://"
9450 to the filename at point on the assumption that the user is
9451 pointing at something like gnu.org/gnu.
9453 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9455 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9456 * faces.el (crm-separator):
9457 Silence byte-compiler.
9459 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9460 (tool-bar-map): Remove unneeded defvars.
9462 2013-05-08 Leo Liu <sdl.web@gmail.com>
9464 Re-work a fix for bug#10994 based on Le Wang's patch.
9465 * ido.el (ido-remove-consecutive-dups): New helper.
9466 (ido-completing-read): Use it.
9467 (ido-chop): Revert fix for bug#10994.
9469 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9471 * cus-edit.el (custom-save-variables):
9472 Pretty-print long values. (Bug#14187)
9474 2013-05-08 Glenn Morris <rgm@gnu.org>
9476 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9477 (m4-mode-syntax-table): Init in the defvar.
9478 (m4-mode-abbrev-table): Let define-derived-mode define it.
9480 2013-05-08 Tom Tromey <tromey@redhat.com>
9482 * progmodes/m4-mode.el (m4-mode-syntax-table):
9483 Do not treat "_" as word constituent. (Bug#14167)
9485 2013-05-07 Glenn Morris <rgm@gnu.org>
9487 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9488 Remove explicit eshell-isearch-cancel-map.
9490 * progmodes/f90.el (f90-smart-end-names): New option.
9491 (f90-smart-end): Doc fix.
9492 (f90-end-block-optional-name): New constant.
9493 (f90-block-match): Respect f90-smart-end-names.
9495 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9497 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9498 about implicit semi-colons (bug#14218).
9500 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9502 * frame.el (display-monitor-attributes-list)
9503 (frame-monitor-attributes): New functions.
9505 2013-05-06 Leo Liu <sdl.web@gmail.com>
9507 * progmodes/octave.el (octave-syntax-propertize-function): Change
9508 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9509 (octave-font-lock-keywords): Use octave-operator-regexp.
9510 (octave-completion-at-point): Rename from
9511 octave-completion-at-point-function.
9512 (inferior-octave-directory-tracker): Robustify.
9513 (octave-text-functions): Remove and fix its uses. No such things
9516 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9518 * emacs-lisp/trace.el (trace--display-buffer): New function.
9519 (trace-make-advice): Use it.
9521 2013-05-06 Juri Linkov <juri@jurta.org>
9523 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9524 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9526 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9527 in the help string. (Bug#12985)
9529 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9531 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9533 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9535 * progmodes/perl-mode.el: Add support for here documents.
9536 (perl-syntax-propertize-function): Match here-doc markers.
9537 (perl-syntax-propertize-special-constructs): Find their end.
9538 (perl-imenu-generic-expression): Use [:alnum:].
9540 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9541 (advice--add-function): Refresh the advice if already present
9544 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9546 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9548 2013-05-06 Glenn Morris <rgm@gnu.org>
9550 * w32-fns.el (w32-charset-info-alist): Declare.
9552 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9553 of its defcustom properties.
9554 (eshell-cmpl-initialize): No need to load pcomplete.
9556 * generic-x.el: No need to require comint when compiling.
9558 * net/eudc-export.el: Make it loadable without bbdb.
9559 (top-level): Use require rather than load-library.
9560 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9561 (eudc-batch-export-records-to-bbdb)
9562 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9565 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9567 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9568 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9569 some tweaks, instead.
9571 2013-05-05 Leo Liu <sdl.web@gmail.com>
9573 * progmodes/octave.el (octave-font-lock-keywords)
9574 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9575 (inferior-octave-send-list-and-digest): Improve error message.
9576 (octave-mode, inferior-octave-mode): Use setq-local.
9577 (octave-help): Set info-lookup-mode.
9579 2013-05-05 Richard Stallman <rms@gnu.org>
9581 * vc/compare-w.el (compare-windows-whitespace):
9582 Treat no-break space as whitespace.
9584 * mail/rmailsum.el (rmail-summary-rmail-update):
9585 Detect empty summary and don't change selected message.
9586 (rmail-summary-goto-msg): Likewise.
9588 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9589 Doc fixes, rename args.
9591 2013-05-05 Alan Mackenzie <acm@muc.de>
9593 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9595 2013-05-05 Juri Linkov <juri@jurta.org>
9597 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9598 to not add the length of the summary segment to the return value.
9601 2013-05-05 Leo Liu <sdl.web@gmail.com>
9603 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9604 (inferior-octave-output-filter): Remove.
9605 (octave-send-region, inferior-octave-startup): Fix callers.
9606 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9607 (octave-binary-file-extensions): New user variable.
9608 (octave-find-definition): Confirm if opening binary files.
9609 (octave-help-file): Use octave-find-definition to get the binary
9611 (octave-help): Adjust for octave-help-file change.
9613 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9615 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9616 Merge the two entries that handle function definitions.
9617 (pascal--syntax-propertize): New const.
9618 (pascal-mode): Use it. Use setq-local.
9620 2013-05-04 Glenn Morris <rgm@gnu.org>
9622 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9623 (diary-from-outlook): Respect diary-from-outlook-function.
9625 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9627 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9628 Move the declaration from C.
9629 (read-minibuffer, eval-minibuffer): Move from C.
9630 (completion-setup-function): Avoid minibuffer-completion-contents.
9632 2013-05-03 Leo Liu <sdl.web@gmail.com>
9634 * progmodes/octave.el (octave-font-lock-keywords): Do not
9635 dehighlight 'end' in comments or strings.
9636 (octave-completing-read, octave-goto-function-definition):
9638 (octave-help-buffer): New user variable.
9639 (octave-help-file, octave-help-function): New button types.
9640 (octave-help): New command and bind it to C-h ;.
9641 (octave-find-definition): New command and bind it to M-.
9642 (user-error): Alias to error if not defined.
9644 2013-05-02 Leo Liu <sdl.web@gmail.com>
9646 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9648 (octave-font-lock-keywords): Include [ and {.
9650 2013-05-02 Leo Liu <sdl.web@gmail.com>
9652 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9653 (inferior-octave): Remove calling comint-mode and return the buffer.
9654 (inferior-octave-startup): Cosmetic changes.
9656 2013-05-02 Leo Liu <sdl.web@gmail.com>
9658 * progmodes/octave.el (octave-syntax-propertize-function):
9659 Include the case when ' is at line beginning. (Bug#14336)
9661 2013-05-02 Glenn Morris <rgm@gnu.org>
9663 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9664 * desktop.el (vc-dir-mode): Just autoload it here.
9666 2013-05-02 Alan Mackenzie <acm@muc.de>
9668 Eliminate variable c-standard-font-lock-fontify-region-function.
9669 * progmodes/cc-mode.el
9670 (c-standard-font-lock-fontify-region-function): Remove.
9671 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9673 2013-05-01 Leo Liu <sdl.web@gmail.com>
9675 * progmodes/octave.el: Compatible with older emacs-24 releases.
9676 (inferior-octave-has-built-in-variables): Remove. Built-in
9677 variables were removed from Octave in 2007.
9678 (inferior-octave-startup): Fix uses.
9679 (comint-line-beginning-position): Remove compatibility code for
9682 2013-05-01 Juri Linkov <juri@jurta.org>
9684 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9686 2013-05-01 Juri Linkov <juri@jurta.org>
9688 * comint.el (comint-previous-matching-input): Don't print message
9689 "History item: %d" when `isearch-mode' is active.
9690 (comint-history-isearch-message): Print message "History item: %d"
9691 when `comint-input-ring-index' is not empty and this function is
9692 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9694 2013-05-01 Leo Liu <sdl.web@gmail.com>
9696 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9697 definitions. Use completion-at-point to insert keywords.
9698 (octave-abbrev-start): Remove.
9699 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9701 2013-04-30 Leo Liu <sdl.web@gmail.com>
9703 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9706 2013-04-30 Alan Mackenzie <acm@muc.de>
9708 Handle arbitrarily long C++ member initialisation lists.
9709 * progmodes/cc-engine.el (c-back-over-member-initializers):
9711 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9712 (most) member init lists.
9714 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9716 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9719 2013-04-30 Leo Liu <sdl.web@gmail.com>
9721 * progmodes/octave.el (octave-variables): Remove. No builtin
9722 variables any more. All converted to functions.
9723 (octave-font-lock-keywords, octave-completion-at-point-function):
9725 (octave-font-lock-texinfo-comment): New user variable.
9726 (octave-texinfo-font-lock-keywords): New variable for texinfo
9728 (octave-function-comment-block): New face.
9729 (octave-font-lock-texinfo-comment): New function.
9730 (octave-mode): Font lock texinfo comment block.
9732 2013-04-29 Leo Liu <sdl.web@gmail.com>
9734 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9735 indexing expression.
9736 (octave-continuation-string): Do not use \.
9737 (inferior-octave-complete-impossible): Remove.
9738 (inferior-octave-completion-table)
9739 (inferior-octave-completion-at-point): Remove its uses.
9740 (inferior-octave-startup): completion_matches was introduced to
9741 Octave in 1996 so safe to assume it.
9742 (octave-function-file-comment): Improve to follow how Octave does it.
9743 (octave-update-function-file-comment): Tweak.
9745 2013-04-29 Leo Liu <sdl.web@gmail.com>
9747 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9748 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9749 (octave-function-file-comment): Fix typo.
9750 (octave-sync-function-file-names): Use read-char-choice.
9752 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9754 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9755 to t for the less important warnings.
9757 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9759 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9761 2013-04-27 Glenn Morris <rgm@gnu.org>
9763 * vc/log-view.el (log-view-current-entry):
9764 Treat "---" separator lines as part of the following rev. (Bug#14169)
9766 2013-04-27 Juri Linkov <juri@jurta.org>
9768 * subr.el (read-number): Doc fix about using it by interactive
9769 code letter `n'. (Bug#14254)
9771 2013-04-27 Juri Linkov <juri@jurta.org>
9773 * desktop.el (desktop-auto-save-timeout): New option.
9774 (desktop-file-checksum): New variable.
9775 (desktop-save): Add optional arg `auto-save' and don't auto-save
9777 (desktop-auto-save-timer): New variable.
9778 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9779 (after-init-hook): Call `desktop-auto-save-set-timer'.
9780 Suggested by Reuben Thomas <rrt@sc3d.org> in
9781 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9783 2013-04-27 Leo Liu <sdl.web@gmail.com>
9785 * progmodes/octave.el (octave-function-file-p)
9786 (octave-skip-comment-forward, octave-function-file-comment)
9787 (octave-update-function-file-comment): New functions.
9788 (octave-mode-map): Bind C-c ; to
9789 octave-update-function-file-comment.
9790 (octave-mode-menu): Add octave-update-function-file-comment.
9791 (octave-mode, inferior-octave-mode): Fix doc-string.
9792 (octave-insert-defun): Conform to Octave's coding convention.
9795 * files.el (basic-save-buffer): Don't let errors in
9796 before-save-hook prevent saving buffer.
9798 2013-04-20 Roland Winkler <winkler@gnu.org>
9800 * faces.el (read-face-name): Use completing-read if arg multiple
9803 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9805 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9806 displayed, move point to after the totals line.
9807 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9810 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9812 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9813 Add current dir to the load-path.
9814 (package-generate-autoloads): Don't rely on
9815 autoload-ensure-default-file.
9817 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9819 * textmodes/remember.el (remember-store-in-files): Document that
9820 the file name format is passed to `format-time-string'.
9822 2013-04-26 Leo Liu <sdl.web@gmail.com>
9824 * progmodes/octave.el (octave-sync-function-file-names): New function.
9825 (octave-mode): Use it in before-save-hook.
9827 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9829 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9832 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9833 \n and comment, even if it's not an implicit ; (bug#14218).
9835 2013-04-26 Glenn Morris <rgm@gnu.org>
9837 * subr.el (read-number): Once more use `read' rather than
9838 `string-to-number', to trap non-numeric input. (Bug#14254)
9840 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9842 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9843 Use `syntax-multiline' text property consistently instead of
9844 `font-lock-multiline'. (Bug#14237)
9846 2013-04-26 Glenn Morris <rgm@gnu.org>
9848 * emacs-lisp/shadow.el (list-load-path-shadows):
9849 No longer necessary to check for duplicate simple.el, since
9850 2012-07-07 change to init_lread to not include installation lisp
9851 directories in load-path when running uninstalled. (Bug#14270)
9853 2013-04-26 Leo Liu <sdl.web@gmail.com>
9855 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9856 (octave-mode, inferior-octave-mode): Use setq-local.
9857 (octave-not-in-string-or-comment-p): Rename to
9858 octave-in-string-or-comment-p.
9859 (octave-in-comment-p, octave-in-string-p)
9860 (octave-in-string-or-comment-p): Replace defsubst with defun.
9862 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9864 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9866 2013-04-25 Bastien Guerry <bzg@gnu.org>
9868 * textmodes/remember.el (remember-data-directory)
9869 (remember-directory-file-name-format): Fix custom types.
9871 2013-04-25 Leo Liu <sdl.web@gmail.com>
9873 * progmodes/octave.el (octave-completion-at-point-function):
9874 Make use of inferior octave process.
9875 (octave-initialize-completions): Remove.
9876 (inferior-octave-completion-table): New function.
9877 (inferior-octave-completion-at-point): Use it.
9878 (octave-completion-alist): Remove.
9880 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9882 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9883 (opascal-mode-syntax-table): New var.
9884 (opascal-literal-kind, opascal-is-literal-end)
9885 (opascal-literal-token-at): Rewrite.
9886 (opascal--literal-start-re, opascal-font-lock-keywords)
9887 (opascal--syntax-propertize): New constants.
9888 (opascal-font-lock-defaults): Adjust.
9889 (opascal-mode): Use them. Set comment-<foo> variables as well.
9890 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9891 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9892 (delphi-other-face, opascal-other-face): Remove face variables.
9893 (opascal-save-state): Remove macro.
9894 (opascal-fontifying-progress-step): Remove constant.
9895 (opascal--ignore-changes): Remove var.
9896 (opascal-set-token-property, opascal-parse-next-literal)
9897 (opascal-is-stable-literal, opascal-complete-literal)
9898 (opascal-is-literal-start, opascal-face-of)
9899 (opascal-parse-region, opascal-parse-region-until-stable)
9900 (opascal-fontify-region, opascal-after-change)
9901 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9902 (opascal-debug-parse-region, opascal-debug-parse-window)
9903 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9904 (opascal-debug-fontify-buffer): Remove.
9905 (opascal-debug-mode-map): Adjust accordingly.
9907 2013-04-25 Leo Liu <sdl.web@gmail.com>
9909 Merge octave-mod.el and octave-inf.el into octave.el with some
9911 * progmodes/octave.el: New file renamed from octave-mod.el.
9912 * progmodes/octave-inf.el: Merged into octave.el.
9913 * progmodes/octave-mod.el: Renamed to octave.el.
9915 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9917 * textmodes/reftex-vars.el
9918 (reftex-label-ignored-macros-and-environments): New defcustom.
9920 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9922 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9924 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9925 (smie-indent-keyword): Improve the check to ensure that the next
9926 comment is really on the same line.
9927 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9929 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9930 semi-colons if the line is not otherwise empty (bug#14218).
9932 2013-04-25 Glenn Morris <rgm@gnu.org>
9934 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9936 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9938 * progmodes/opascal.el (opascal-set-token-property): Rename from
9939 opascal-set-text-properties and only set `token' (bug#14134).
9940 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9941 (opascal-literal-text-properties): Remove.
9942 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9945 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9947 * textmodes/remember.el (remember-handler-functions): Add an
9948 option for a new handler `remember-store-in-files'.
9949 (remember-data-directory, remember-directory-file-name-format):
9951 (remember-store-in-files): New function to store remember notes
9952 as separate files within a directory.
9954 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9956 * progmodes/compile.el (compilation-next-error-function):
9957 Pass "formats" to compilation-find-file (bug#11777).
9959 2013-04-24 Glenn Morris <rgm@gnu.org>
9961 * vc/vc-bzr.el (vc-bzr-print-log):
9962 * vc/vc-hg.el (vc-hg-print-log):
9963 * vc/vc-svn.el (vc-svn-print-log):
9964 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9966 * vc/vc-bzr.el (vc-bzr-print-log):
9967 * vc/vc-cvs.el (vc-cvs-print-log):
9968 * vc/vc-git.el (vc-git-print-log):
9969 * vc/vc-hg.el (vc-hg-print-log):
9970 * vc/vc-mtn.el (vc-mtn-print-log):
9971 * vc/vc-rcs.el (vc-rcs-print-log):
9972 * vc/vc-sccs.el (vc-sccs-print-log):
9973 * vc/vc-svn.el (vc-svn-print-log):
9974 * vc/vc.el (vc-print-log-internal): Doc fixes.
9976 2013-04-23 Glenn Morris <rgm@gnu.org>
9978 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9979 Remove venerable code attempting to avoid substitute-command-keys.
9981 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9983 * textmodes/reftex-vars.el (reftex-label-regexps):
9984 Call `reftex-compile-variables' after changes to this variable.
9986 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9988 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9989 Use lexical-binding.
9990 (jit-lock-force-redisplay): Use markers, check buffer's continued
9991 existence and beware narrowed buffers.
9992 (jit-lock-fontify-now): Adjust call accordingly.
9994 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9996 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9997 to avoid misleading the user.
9999 2013-04-22 Leo Liu <sdl.web@gmail.com>
10001 * info-look.el: Prefer latex2e.info. (Bug#14240)
10003 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10005 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10007 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10008 * net/tramp.el (tramp-call-process): ... here.
10009 (tramp-set-completion-function, tramp-parse-putty):
10010 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10011 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10012 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10013 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10014 (tramp-call-local-coding-command): Use `tramp-call-process'
10015 instead of `tramp-compat-call-process'.
10017 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10018 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10019 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10020 (tramp-find-inline-compress): Improve traces.
10021 (tramp-maybe-send-script): Check for Perl binary.
10022 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10024 2013-04-22 Daiki Ueno <ueno@gnu.org>
10026 * epg.el (epg-context-pinentry-mode): New function.
10027 (epg-context-set-pinentry-mode): New function.
10028 (epg--start): Pass --pinentry-mode option to gpg command.
10030 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10032 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10033 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10034 `completion-at-point'. (Bug#13774)
10036 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10037 default key binding for `describe-distribution' has been moved to
10038 `C-h C-o'. (Bug#13970)
10040 2013-04-21 Glenn Morris <rgm@gnu.org>
10042 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10044 (vc-print-log): Clarify interactive prompt.
10046 2013-04-20 Glenn Morris <rgm@gnu.org>
10048 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10049 No longer include timestamp etc information.
10051 2013-04-20 Roland Winkler <winkler@gnu.org>
10053 * faces.el (read-face-name): Bug fix, return just one face if arg
10054 multiple is nil. (Bug#14209)
10056 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10058 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10059 (remove-function): Autoload.
10061 * comint.el (comint-redirect-original-filter-function): Remove.
10062 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10063 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10064 (vc-cvs-annotate-command):
10065 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10066 * progmodes/prolog.el (prolog-consult-compile):
10067 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10068 Use add/remove-function instead.
10069 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10070 (gud-tooltip-process-output, gud-tooltip-tips):
10071 Use add/remove-function instead.
10072 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10073 (scheme-interaction-mode, exit-scheme-interaction-mode):
10074 Use add/remove-function instead.
10076 * vc/vc-dispatcher.el: Use lexical-binding.
10077 (vc--process-sentinel): Rename from vc-process-sentinel.
10078 Change last arg to be the code to run. Don't use vc-previous-sentinel
10079 and vc-sentinel-commands any more.
10080 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10081 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10083 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10085 * progmodes/sh-script.el (sh-imenu-generic-expression):
10086 Handle function names with a single character. (Bug#14111)
10088 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10090 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10091 for subroutines defined in an eval (bug#14182).
10093 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10095 * bookmark.el (bookmark-completing-read): Improve handling of empty
10096 string (bug#14176).
10098 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10100 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10102 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10104 New faster Imenu implementation (bug#14058).
10105 * progmodes/python.el:
10106 (python-imenu-prev-index-position):
10107 (python-imenu-format-item-label-function)
10108 (python-imenu-format-parent-item-label-function)
10109 (python-imenu-format-parent-item-jump-label-function):
10111 (python-imenu-format-item-label)
10112 (python-imenu-format-parent-item-label)
10113 (python-imenu-format-parent-item-jump-label)
10114 (python-imenu--put-parent, python-imenu--build-tree)
10115 (python-imenu-create-index, python-imenu-create-flat-index)
10116 (python-util-popn): New functions.
10117 (python-mode): Set imenu-create-index-function to
10118 python-imenu-create-index.
10120 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10122 * winner.el (winner-active-region): Use region-active-p, activate-mark
10123 and deactivate-mark (bug#14225).
10125 * simple.el (deactivate-mark): Don't inline it.
10127 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10129 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10131 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10133 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10134 file extensions from the archive-mode entry in order to prefer
10135 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10137 2013-04-18 Leo Liu <sdl.web@gmail.com>
10139 * bindings.el (help-event-list): Add ?\?.
10141 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10143 * subr.el (with-wrapper-hook): Declare obsolete.
10144 * simple.el (filter-buffer-substring-function): New hook.
10145 (filter-buffer-substring): Use it.
10146 (filter-buffer-substring-functions): Mark obsolete.
10147 * minibuffer.el (completion-in-region-function): New hook.
10148 (completion-in-region): Use it.
10149 (completion-in-region-functions): Mark obsolete.
10150 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10151 * abbrev.el (abbrev-expand-function): New hook.
10152 (expand-abbrev): Use it.
10153 (abbrev-expand-functions): Mark obsolete.
10154 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10155 and :filter-return.
10157 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10159 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10160 and do not care about match data.
10162 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10164 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10165 completion tables when completing error conditions and
10166 `declare' arguments.
10167 (lisp-complete-symbol, field-complete): Mark as obsolete.
10168 (check-parens): Unmatched parens are user errors.
10169 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10171 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10173 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10174 command changed buffer (ie. `flyspell-pre-buffer' is not current
10175 buffer), which prevents making decisions based on invalid value of
10176 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10177 cause an error when `flyspell-pre-point' was nil after switching
10179 (flyspell-post-command-hook): No longer needs to change buffers when
10180 checking pre-word. While at it remove unnecessary progn.
10182 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10184 * textmodes/ispell.el (ispell-add-per-file-word-list):
10185 Fix `flyspell-correct-word-before-point' error when accepting
10186 words and `coment-padding' is an integer by using
10187 `comment-normalize-vars' (Bug #14214).
10189 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10191 New defun movement commands.
10192 * progmodes/python.el (python-nav--syntactically)
10193 (python-nav--forward-defun, python-nav-backward-defun)
10194 (python-nav-forward-defun): New functions.
10196 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10198 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10199 (python-syntax-context): Use named compiler-macro for backwards
10200 compatibility with Emacs 24.x.
10202 2013-04-17 Leo Liu <sdl.web@gmail.com>
10204 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10205 octave-hide-process-buffer.
10207 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10209 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10212 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10214 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10215 Fix adjustment of offset when receiving incomplete responses from GDB
10218 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10220 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10221 python-mode-abbrev-table.
10222 (python-skeleton-define): Adjust accordingly.
10223 (python-mode-abbrev-table): New table that inherits from it so that
10224 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10226 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10227 (abbrev-symbol): Use it.
10228 (abbrev--before-point): Use it since we already handle inheritance.
10230 2013-04-16 Leo Liu <sdl.web@gmail.com>
10232 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10233 binding to info-lookup-symbol.
10235 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10237 * minibuffer.el (completion--twq-all):
10238 * term/ns-win.el (ns-initialize-window-system):
10239 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10241 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10243 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10246 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10248 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10250 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10251 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10253 (ruby-end-of-defun): Remove the unused arg, change the docstring
10254 to reflect that this function is only used as the value of
10255 `end-of-defun-function'.
10256 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10257 to reflect an earlier change that beginning/end-of-defun functions
10258 jump between methods in a class definition, as well as top-level
10261 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10263 * minibuffer.el (minibuffer-complete): Don't just scroll
10264 a *Completions* that's been iconified.
10265 (minibuffer-force-complete): Make sure repetitions do cycle when going
10266 through completion-in-region -> minibuffer-complete.
10268 2013-04-15 Alan Mackenzie <acm@muc.de>
10270 Correct the placement of c-cpp-delimiters when there're #s not at
10273 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10274 place a submatch around the #.
10275 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10276 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10279 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10281 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10282 (advice--member-p): New arg `name'.
10283 (advice--add-function, advice-member-p): Use it (bug#14202).
10285 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10287 Reformulate java imenu-generic-expression.
10288 The old expression contained ill formed regexps.
10290 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10291 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10292 (cc-imenu-java-method-arg-regexp): New defconsts.
10293 (cc-imenu-java-build-type-args-regex): New defun.
10294 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10295 handling of spaces in the regexp.
10297 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10299 * textmodes/ispell.el (ispell-command-loop): Remove
10300 flyspell highlight of a word when ispell accepts it (bug #14178).
10302 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10304 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10305 uses code from the previous `ange-ftp-run-real-handler'.
10306 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10307 only in case that function exist. This is needed for proper
10308 unloading of Tramp.
10310 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10312 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10314 * textmodes/reftex.el (reftex-compile-variables): Use it.
10316 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10318 * files.el (normal-mode): Only use default major-mode if no other mode
10321 * emacs-lisp/trace.el (trace-values): New function.
10323 * files.el: Allow : in local variables (bug#14089).
10324 (hack-local-variable-regexp): New var.
10325 (hack-local-variables-prop-line, hack-local-variables): Use it.
10327 2013-04-13 Roland Winkler <winkler@gnu.org>
10329 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10330 data before it gets modified by bibtex-beginning-of-entry.
10332 2013-04-13 Roland Winkler <winkler@gnu.org>
10334 * textmodes/bibtex.el (bibtex-url): Doc fix.
10336 2013-04-13 Roland Winkler <winkler@gnu.org>
10338 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10339 does not visit a BibTeX file, exclude it from the list of buffers
10340 returned by bibtex-initialize.
10342 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10344 * window.el (split-window): Remove interactive form, since as a
10345 command this function is a special case of split-window-below.
10346 Correct doc string.
10348 2013-04-12 Roland Winkler <winkler@gnu.org>
10350 * faces.el (read-face-name): Do not override value of arg default.
10351 Allow single faces and strings as default values. Remove those
10352 elements from return value that are not faces.
10353 (describe-face): Simplify.
10354 (face-at-point): New optional args thing and multiple so that this
10355 function can provide the same functionality previously provided by
10357 (make-face-bold, make-face-unbold, make-face-italic)
10358 (make-face-unitalic, make-face-bold-italic, invert-face)
10359 (modify-face, read-face-and-attribute): Use face-at-point.
10361 * cus-edit.el (customize-face, customize-face-other-window)
10362 * cus-theme.el (custom-theme-add-face)
10363 * face-remap.el (buffer-face-set)
10364 * facemenu.el (facemenu-set-face): Use face-at-point.
10366 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10368 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10370 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10372 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10373 off leading { and trailing } from field values.
10375 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10377 * emacs-lisp/timer.el (timer--check): New function.
10378 (timer--time, timer-set-function, timer-event-handler): Use it.
10379 (timer-set-idle-time): Simplify.
10380 (timer--activate): CSE.
10381 (timer-event-handler): Give more info in error message.
10382 (internal-timer-start-idle): New function, moved from C.
10384 * mpc.el (mpc-proc): Add `restart' argument.
10385 (mpc-proc-cmd): Use it.
10386 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10387 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10390 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10392 * progmodes/sh-script.el: Implement `sh-mode' own
10393 `add-log-current-defun-function' (bug#14112).
10394 (sh-current-defun-name): New function.
10395 (sh-mode): Use the function.
10397 2013-04-09 Bastien Guerry <bzg@gnu.org>
10399 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10401 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10403 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10405 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10408 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10410 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10413 2013-04-07 Leo Liu <sdl.web@gmail.com>
10415 * pcmpl-x.el: New file.
10417 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10419 Do not set x-display-name until X connection is established.
10420 This is needed to prevent from weird situation described at
10421 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10422 * frame.el (make-frame): Set x-display-name after call to
10423 window system initialization function, not before.
10424 * term/x-win.el (x-initialize-window-system): Add optional
10425 display argument and use it.
10426 * term/w32-win.el (w32-initialize-window-system):
10427 * term/ns-win.el (ns-initialize-window-system):
10428 * term/pc-win.el (msdos-initialize-window-system):
10429 Add compatible optional display argument.
10431 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10433 * files.el (normal-backup-enable-predicate): On MS-Windows and
10434 MS-DOS compare truenames of temporary-file-directory and of the
10435 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10436 don't fail comparison by compare-strings. Also, compare file
10437 names case-insensitively on MS-Windows and MS-DOS.
10439 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10441 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10442 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10444 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10446 * whitespace.el (whitespace-color-on, whitespace-color-off):
10447 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10449 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10451 * ispell.el (ispell-set-spellchecker-params):
10452 Really set `ispell-args' for all equivs.
10454 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10456 * ido.el (ido-completions): Use extra elements of ido-decorations
10458 (ido-decorations): Update docstring.
10460 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10462 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10463 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10464 nil during initialization, in order not to miss changes since the
10465 file was opened. (Bug#14140)
10467 2013-04-05 Leo Liu <sdl.web@gmail.com>
10469 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10471 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10473 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10475 2013-04-04 Glenn Morris <rgm@gnu.org>
10477 * electric.el (electric-pair-inhibit-predicate): Add :version.
10479 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10481 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10482 when a package is required several times (bug#14082).
10484 2013-04-04 Roland Winkler <winkler@gnu.org>
10486 * faces.el (read-face-name): Behave as promised by the docstring.
10487 Assume that arg default is a list of faces.
10488 (describe-face): Call read-face-name with list of default faces.
10490 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10492 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10493 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10494 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10496 (bookmark-exit-hook-internal): Save even if list is empty.
10498 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10500 * emacs-lisp/package.el (package-pinned-packages): New var.
10501 (package--add-to-archive-contents): Obey it (bug#14118).
10503 2013-04-03 Alan Mackenzie <acm@muc.de>
10505 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10506 Also adapt to the new values of element 7 of a parse state.
10508 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10509 parameter `not-in-delimiter'. Handle being inside comment opener.
10510 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10511 character in case we're typing a '*' after a '/'.
10512 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10513 instead by passing the parameter to c-state-pp-to-literal.
10515 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10516 for elt. 7 of a parse state.
10518 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10520 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10521 * international/latin1-disp.el, international/mule-util.el:
10522 * language/cyril-util.el, language/european.el, language/ind-util.el:
10523 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10524 * language/tibetan.el, language/viet-util.el:
10525 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10527 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10529 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10530 (electric-pair-post-self-insert-function): Use it.
10531 (electric-pair-default-inhibit): New function, extracted from
10532 electric-pair-post-self-insert-function.
10534 2013-03-31 Roland Winkler <winkler@gnu.org>
10536 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10538 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10540 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10542 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10544 Un-indent after "pass" and "return" statements (Bug#13888)
10545 * progmodes/python.el (python-indent-block-enders): New var.
10546 (python-indent-calculate-indentation): Use it.
10548 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10550 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10551 defun. Defining it as defalias could introduce too eager
10552 byte-compiler optimization. (Bug#14030)
10554 2013-03-30 Chong Yidong <cyd@gnu.org>
10556 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10558 2013-03-30 Leo Liu <sdl.web@gmail.com>
10560 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10561 (kmacro-execute-from-register): Pass the keyboard macro to
10562 kmacro-call-macro or repeating won't work correctly.
10564 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10566 * progmodes/subword.el: Back to using `forward-symbol'.
10568 * subr.el (forward-whitespace, forward-symbol)
10569 (forward-same-syntax): Move from thingatpt.el.
10571 2013-03-29 Leo Liu <sdl.web@gmail.com>
10573 * kmacro.el (kmacro-to-register): New command.
10574 (kmacro-execute-from-register): New function.
10575 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10577 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10579 * mpc.el: Use defvar-local and setq-local.
10580 (mpc--proc-connect): Connection failures are not bugs.
10581 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10582 (mpc-volume-map): Bind to the up-events.
10584 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10586 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10587 instead of `forward-symbol'.
10589 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10591 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10592 (edebug--recursive-edit): Use it.
10593 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10594 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10596 2013-03-28 Leo Liu <sdl.web@gmail.com>
10598 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10600 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10602 * facemenu.el (list-colors-callback): New defvar.
10603 (list-colors-redisplay): New function.
10604 (list-colors-display): Install list-colors-redisplay as the
10605 revert-buffer-function. (Bug#14063)
10607 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10609 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10610 and suffixes don't overlap (bug#14061).
10612 * case-table.el: Use lexical-binding.
10613 (case-table-get-table): New function.
10614 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10616 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10618 * progmodes/subword.el: Add `superword-mode' to do word motion
10619 over symbol_words (parallels and leverages `subword-mode' which
10620 does word motion inside MixedCaseWords).
10622 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10624 * eshell/em-unix.el: Move su and sudo to...
10625 * eshell/em-tramp.el: ...Eshell tramp module.
10627 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10629 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10630 Change return value to be a sexp. Delay `get-buffer' to after
10631 restoring the desktop (bug#13951).
10633 2013-03-26 Leo Liu <sdl.web@gmail.com>
10635 * register.el: Move semantic tag handling back to
10636 cedet/semantic/senator.el. (Bug#14052)
10638 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10640 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10641 into the prompt either (bug#13963).
10643 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10645 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10646 part of "(error-foo)".
10648 2013-03-24 Juri Linkov <juri@jurta.org>
10650 * replace.el (list-matching-lines-prefix-face): New defcustom.
10651 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10652 `occur-engine' if `face-differs-from-default-p' returns t.
10653 (occur-engine): Add `,' inside backquote construct to evaluate
10654 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10655 Pass `prefix-face' to the functions `occur-context-lines' and
10656 `occur-engine-add-prefix'.
10657 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10658 `prefix-face' and propertize the prefix with `prefix-face'.
10661 2013-03-24 Leo Liu <sdl.web@gmail.com>
10663 * nxml/rng-valid.el (rng-validate-while-idle)
10664 (rng-validate-quick-while-idle): Guard against deleted buffer.
10667 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10668 is the last entry in kill-buffer-hook.
10670 * files.el (kill-buffer-hook): Doc fix.
10672 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10674 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10675 Make it safe-local.
10677 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10679 2013-03-23 Leo Liu <sdl.web@gmail.com>
10681 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10684 * nxml/rng-valid.el (rng-validate-mode)
10685 (rng-after-change-function, rng-do-some-validation):
10686 * nxml/rng-maint.el (rng-validate-buffer):
10687 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10688 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10689 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10690 (nxml-extend-after-change-region): Use with-silent-modifications.
10692 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10695 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10696 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10697 timer-idle-list. (Bug#13999)
10699 2013-03-23 Juri Linkov <juri@jurta.org>
10701 * info.el (info-index-match): New face.
10702 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10703 main pattern and add text properties with the new face to matches
10704 in index entries relative to the beginning of the index entry.
10707 2013-03-21 Eric Ludlam <zappo@gnu.org>
10709 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10710 Inhibit read only while inserting objects.
10712 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10714 * progmodes/cfengine.el: Update docs to mention
10715 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10716 symbol motion. Remove "_" from the word syntax.
10718 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10720 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10721 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10723 2013-03-20 Juri Linkov <juri@jurta.org>
10725 * info.el (Info-next-reference-or-link)
10726 (Info-prev-reference-or-link): New functions.
10727 (Info-next-reference, Info-prev-reference): Use them.
10728 (Info-try-follow-nearest-node): Handle footnote navigation.
10729 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10731 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10733 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10734 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10736 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10738 Suppress unnecessary non-ASCII chatter during build process.
10739 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10740 (batch-skkdic-convert): Suppress most of the chatter.
10741 It's not needed so much now that machines are faster,
10742 and its non-ASCII component was confusing; see Dmitry Gutov in
10743 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10745 2013-03-20 Leo Liu <sdl.web@gmail.com>
10747 * ido.el (ido-chop): Fix bug#10994.
10749 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10751 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10753 (whitespace-color-on, whitespace-color-off):
10754 Use `font-lock-fontify-buffer' (Bug#13817).
10756 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10758 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10759 remapping in mode-line.
10760 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10762 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10764 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10765 value for `whitespace-line' face (Bug#13875).
10766 (whitespace-font-lock-keywords): Change description.
10767 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10768 the constructed keywords instead.
10769 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10771 2013-03-19 Leo Liu <sdl.web@gmail.com>
10773 * progmodes/compile.el (compilation-display-error): New command.
10774 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10777 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10779 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10781 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10783 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10785 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10787 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10789 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10790 * net/tramp-gvfs.el (top):
10791 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10792 (tramp-handle-shell-command): Use it.
10793 (tramp-dissect-file-name): Raise an error when hostname is a
10794 method name, and neither method nor user is specified.
10796 * net/trampver.el: Update release number.
10798 2013-03-18 Leo Liu <sdl.web@gmail.com>
10800 Make sure eldoc can be turned off properly.
10801 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10803 (eldoc-display-message-p): Revert last change.
10804 (eldoc-display-message-no-interference-p)
10805 (eldoc-print-current-symbol-info): Tweak.
10807 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10809 * doc-view.el (doc-view-new-window-function): Check the new window
10810 overlay's display property instead the char property of the
10811 buffer's first char. Use `with-selected-window' instead of
10812 `save-window-excursion' with `select-window'.
10813 (doc-view-document->bitmap): Check the current doc-view overlay's
10814 display property instead the char property of the buffer's first char.
10816 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10818 Automate the build of ja-dic.el (Bug#13984).
10819 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10820 from the input, rather than assume that it's been done for us by the
10821 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10822 the current date into a ja-dic.el comment, as that complicates
10823 regression testing.
10825 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10827 * whitespace.el: Fix double evaluation.
10828 (whitespace-space, whitespace-hspace, whitespace-tab)
10829 (whitespace-newline, whitespace-trailing, whitespace-line)
10830 (whitespace-space-before-tab, whitespace-indentation)
10831 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10833 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10834 (whitespace-color-on): Use a single font-lock-add-keywords call.
10835 Fix double-evaluation of face variables.
10837 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10839 * net/tramp-adb.el (tramp-adb-parse-device-names):
10840 Use `start-process' instead of `call-process'. Otherwise, the
10841 function might be blocked under MS Windows. (Bug#13299)
10843 2013-03-17 Leo Liu <sdl.web@gmail.com>
10845 Extend eldoc to display info in the mode-line. (Bug#13978)
10846 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10847 (eldoc-mode-line-string): New variable.
10848 (eldoc-minibuffer-message): New function.
10849 (eldoc-message-function): New variable.
10850 (eldoc-message): Use it.
10851 (eldoc-display-message-p)
10852 (eldoc-display-message-no-interference-p):
10853 Support eldoc-post-insert-mode.
10855 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10856 (eval-expression): Run it.
10858 2013-03-17 Roland Winkler <winkler@gnu.org>
10860 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10861 strings in the list of return values.
10863 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10865 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10866 radix before checking for HMS forms.
10868 2013-03-16 Leo Liu <sdl.web@gmail.com>
10870 * progmodes/scheme.el: Add indentation and font-locking for λ.
10873 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10875 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10876 token before point (bug#13942).
10878 2013-03-16 Leo Liu <sdl.web@gmail.com>
10880 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10882 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10884 * startup.el (command-line-normalize-file-name): Fix handling of
10885 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10886 <xfq.free@gmail.com> in
10887 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10889 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10891 Sync with Tramp 2.2.7.
10893 * net/trampver.el: Update release number.
10895 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10897 * doc-view.el: Fix bug#13887.
10898 (doc-view-insert-image): Don't modify overlay associated to
10899 non-live windows, and implement horizontal centering of image in
10900 case it's smaller than the window.
10901 (doc-view-new-window-function): Force redisplay of new windows on
10904 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10906 * saveplace.el (save-place-alist-to-file): Don't sort
10907 `save-place-alist', just pretty-print it (bug#13882).
10909 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10911 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10912 Check whether `default-file-name-coding-system' is bound.
10913 It isn't in XEmacs.
10915 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10917 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10918 backquotes for `obsolete' (bug#13929).
10920 * international/mule.el (find-auto-coding): Include file name in
10921 obsolescence warning (bug#13922).
10923 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10925 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10926 for CFEngine 3-specific indentation.
10927 (cfengine3-indent-line): Use it. Fix up category regex.
10928 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10930 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10932 * type-break.el (type-break-file-name):
10933 * textmodes/remember.el (remember-data-file):
10934 * strokes.el (strokes-file):
10935 * shadowfile.el (shadow-initialize):
10936 * saveplace.el (save-place-file):
10937 * ps-bdf.el (bdf-cache-file):
10938 * progmodes/idlwave.el (idlwave-config-directory):
10939 * net/quickurl.el (quickurl-url-file):
10940 * international/kkc.el (kkc-init-file-name):
10941 * ido.el (ido-save-directory-list-file):
10942 * emulation/viper.el (viper-custom-file-name):
10943 * emulation/vip.el (vip-startup-file):
10944 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10945 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10947 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10949 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10950 * language/thai-word.el: Switch to UTF-8.
10952 See ChangeLog.16 for earlier changes.
10954 ;; Local Variables:
10958 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10960 This file is part of GNU Emacs.
10962 GNU Emacs is free software: you can redistribute it and/or modify
10963 it under the terms of the GNU General Public License as published by
10964 the Free Software Foundation, either version 3 of the License, or
10965 (at your option) any later version.
10967 GNU Emacs is distributed in the hope that it will be useful,
10968 but WITHOUT ANY WARRANTY; without even the implied warranty of
10969 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10970 GNU General Public License for more details.
10972 You should have received a copy of the GNU General Public License
10973 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.