1 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4 (eww-mode-map): Use them.
6 2013-12-11 Martin Rudalics <rudalics@gmx.at>
8 * window.el (display-buffer-in-side-window): Fix doc-string
11 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
13 * vc/vc-git.el: Silence byte-compiler warnings.
14 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
15 (log-edit-set-header): Declare.
17 2013-12-11 Eli Zaretskii <eliz@gnu.org>
19 * Makefile.in (custom-deps, finder-data): Run output file names
20 through unmsys--file-name. (Bug#16099)
22 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
24 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
25 comment-start-skip, since it fails when that uses submatch 1 (bug#16041).
27 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
28 instead of deleting the selection "by hand" (bug#16098).
29 Rely on insert-for-yank to yank rectangles.
30 (cua-highlight-region-shift-only): Mark obsolete.
31 (cua-mode): Don't enable/disable transient-mark-mode,
32 shift-select-mode (cua-mode works both with and without them), and
33 pc-selection-mode (obsolete).
34 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
35 (cua--deactivate-rectangle): Deactivate it.
37 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
38 (delete-selection-helper): Make sure yank starts at the top of the
40 (minibuffer-keyboard-quit): Use region-active-p.
42 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
44 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
45 to `delete' (bug#16109).
47 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
49 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
50 info manual and show keybindings and set `:group' keyword.
52 2013-12-11 Juri Linkov <juri@jurta.org>
54 * delsel.el (delete-active-region): Let-bind `this-command'
55 to prevent `kill-region' from changing its original value.
56 (delete-selection-helper): Handle `overwrite-mode' for the type
57 `kill' exactly the same way as for the type `t'.
58 (insert-char, quoted-insert, reindent-then-newline-and-indent):
59 Support more commands. (Bug#13312)
61 2013-12-11 Juri Linkov <juri@jurta.org>
63 * bindings.el: Map kp keys to non-kp keys systematically
64 with basic modifiers control, meta and shift. (Bug#14397)
66 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
68 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
69 "Close browser" menu items. Fix wrong function of "List
72 2013-12-11 Juri Linkov <juri@jurta.org>
74 * misearch.el (multi-isearch-buffers): Set the value of
75 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
76 arg of isearch-forward to t.
77 (multi-isearch-buffers-regexp): Set the value of
78 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
79 arg of isearch-forward-regexp to t.
80 (multi-isearch-files): Set the value of
81 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
82 arg of isearch-forward to t.
83 (multi-isearch-files-regexp): Set the value of
84 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
85 arg of isearch-forward-regexp to t. (Bug#16035)
87 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
88 arg of isearch-forward to t.
89 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
90 arg of isearch-forward-regexp to t.
91 (dired-isearch-filter-filenames): Remove unnecessary check for
92 `dired-isearch-filenames'.
94 * comint.el (comint-history-isearch-backward):
95 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
96 (comint-history-isearch-backward-regexp):
97 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
99 2013-12-10 Eli Zaretskii <eliz@gnu.org>
101 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
102 unmsys--file-name. (Bug#16099)
104 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
106 * emacs-lisp/package.el (package-keyword-button-action): Remove
107 finder.el require dependency.
109 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
111 * emacs-lisp/package.el: Require finder.el.
112 (describe-package-1): Add keyword buttons.
113 (package-make-button): New convenience function.
114 (package-keyword-button-action): Keyword button action using
115 `finder-list-matches'
117 2013-12-09 Eli Zaretskii <eliz@gnu.org>
119 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
122 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
124 * autorevert.el (auto-revert-notify-add-watch): Do not handle
127 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
129 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
130 after the end of a percent literal.
132 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
134 * progmodes/ruby-mode.el (ruby-forward-string): Document. Handle
135 caret-delimited strings (Bug#16079).
137 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
139 * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
140 `ruby-use-smie' is t, use `smie-forward-sexp' instead of
141 `ruby-parse-partial' (Bug#16078).
143 2013-12-09 Leo Liu <sdl.web@gmail.com>
145 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
147 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
149 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
150 (js-switch-indent-offset): New option.
151 (js--proper-indentation): Use it. And handle the case when
152 "default" is actually a key in an object literal.
153 (js--same-line): New function.
154 (js--multi-line-declaration-indentation): Use it.
155 (js--indent-in-array-comp, js--array-comp-indentation): New
157 (js--proper-indentation): Use them, to handle array comprehension
160 2013-12-08 Leo Liu <sdl.web@gmail.com>
162 * progmodes/flymake.el (flymake-highlight-line): Re-write.
163 (flymake-make-overlay): Remove arg MOUSE-FACE.
164 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
166 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
168 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
170 (redisplay-highlight-region-function): Use it.
172 * emulation/cua-base.el (cua--explicit-region-start)
173 (cua--last-region-shifted): Remove.
174 (cua--deactivate): Use deactivate-mark.
175 (cua--pre-command-handler-1): Don't handle shift-selection.
176 (cua--post-command-handler-1): Don't change transient-mark-mode.
177 (cua--select-keymaps): Use region-active-p rather than
178 cua--explicit-region-start or cua--last-region-shifted.
179 (cua-mode): Enable shift-select-mode.
181 2013-12-08 Leo Liu <sdl.web@gmail.com>
183 * progmodes/flymake.el (flymake-popup-current-error-menu):
184 Rename from flymake-display-err-menu-for-current-line. Reimplement.
185 (flymake-posn-at-point-as-event, flymake-popup-menu)
186 (flymake-make-emacs-menu): Remove. (Bug#16077)
188 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
190 * rect.el (rectangle-mark-mode): Activate mark even if
191 transient-mark-mode is off (bug#16066).
192 (rectangle--highlight-for-redisplay): Fix boundary condition when point
193 is > mark and at bolp.
195 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
196 (region-extract-function): Use it.
197 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
198 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
200 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
201 kill-ring-save, kill-region, delete-char, delete-forward-char.
202 Ignore self-insert-iso.
204 * emulation/cua-gmrk.el (cua--init-global-mark):
205 Ignore `self-insert-iso'.
207 * emulation/cua-base.el (cua--prefix-copy-handler)
208 (cua--prefix-cut-handler): Rely on region-extract-function rather than
209 checking cua--rectangle.
210 (cua-delete-region): Use region-extract-function.
211 (cua-replace-region): Delete function.
212 (cua-copy-region, cua-cut-region): Obey region-extract-function.
213 (cua--pre-command-handler-1): Don't do the delete-selection thing.
214 (cua--self-insert-char-p): Ignore `self-insert-iso'.
215 (cua--init-keymaps): Don't remap delete-selection commands.
216 (cua-mode): Use delete-selection-mode instead of rolling our own
219 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
220 Obey region-extract-function.
222 Make registers and delete-selection-mode work on rectangles.
223 * register.el (describe-register-1): Don't modify the register's value.
224 (copy-to-register): Obey region-extract-function.
225 * delsel.el (delete-active-region): Obey region-extract-function.
227 2013-12-08 Leo Liu <sdl.web@gmail.com>
229 * progmodes/flymake.el (flymake, flymake-error-bitmap)
230 (flymake-warning-bitmap, flymake-fringe-indicator-position)
231 (flymake-compilation-prevents-syntax-check)
232 (flymake-start-syntax-check-on-newline)
233 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
234 (flymake-start-syntax-check-on-find-file, flymake-log-level)
235 (flymake-xml-program, flymake-master-file-dirs)
236 (flymake-master-file-count-limit)
237 (flymake-allowed-file-name-masks): Relocate.
238 (flymake-makehash, flymake-float-time)
239 (flymake-replace-regexp-in-string, flymake-split-string)
240 (flymake-get-temp-dir): Remove.
241 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
242 (flymake-current-row, flymake-selected-frame)
243 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
244 related functions. (Bug#16077)
246 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
248 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
250 2013-12-07 Tassilo Horn <tsdh@gnu.org>
252 * help-fns.el (describe-function-1): Use new advice-* functions
253 rather than old ad-* functions. Fix function type description and
254 source links for advised functions and subrs.
256 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
258 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
260 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
262 * progmodes/compile.el (compilation-start):
263 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
265 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
266 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
268 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
270 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
271 Touch up the last change.
273 2013-12-06 Leo Liu <sdl.web@gmail.com>
275 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
276 (inferior-octave-startup): Always use "octave> " for prompt.
277 (octave-goto-function-definition)
278 (octave-sync-function-file-names)
279 (octave-find-definition-default-filename): Remove redundant backquotes.
281 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
283 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
285 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
286 where appropriate already.
287 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
288 end of method names (Bug#15874).
290 2013-12-06 Juri Linkov <juri@jurta.org>
292 * isearch.el (isearch--saved-overriding-local-map):
293 New internal variable.
294 (isearch-mode): Set it to the initial value of
295 `overriding-terminal-local-map'.
296 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
297 with `isearch--saved-overriding-local-map'. (Bug#16035)
299 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
301 * progmodes/octave.el (inferior-octave-completion-table):
302 Turn back into function, use `completion-table-with-cache'
303 (Bug#11906). Update all references.
305 * minibuffer.el (completion-table-with-cache): New function.
307 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
309 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
311 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
313 * net/eww.el (eww-current-source): New variable to store page
315 (eww-display-html, eww-mode, eww-save-history)
316 (eww-restore-history): Use it.
317 (eww-view-source): New command to view page source.
318 Opportunistically uses `html-mode' to highlight the buffer.
319 (eww-mode-map): Install it.
321 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
323 * net/dbus.el (dbus-unregister-service)
324 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
326 (dbus-unregister-service): Skip :serial entries in
327 `dbus-registered-objects-table'.
328 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
330 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
332 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
333 around keywords with extra `split-string' argument.
335 2013-12-04 Martin Rudalics <rudalics@gmx.at>
337 * windmove.el (windmove-other-window-loc): Handle navigation
338 between windows (excluding the minibuffer window - Bug#16017).
340 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
342 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
343 in D-Bus type syntax.
344 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
345 preserve unibyte strings. (Bug#16048)
347 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
349 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
350 Call force-mode-line-update is the proper buffer (bug#16042).
352 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
354 * vc/log-edit.el (log-edit-add-new-comment): Rename to
355 `log-edit-remember-comment', make argument optional. Adjust all
357 (log-edit-mode): Add `log-edit-remember-comment' to
358 `kill-buffer-hook' locally.
359 (log-edit-kill-buffer): Don't remember comment explicitly since
360 the buffer is killed anyway.
362 2013-12-04 Juri Linkov <juri@jurta.org>
364 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
365 add-hook and remove-hook for multi-buffer search. (Bug#16035)
367 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
369 * notifications.el (notifications-close-notification): Call the
370 D-Bus method with ID being a `:uint32'. (Bug#16030)
372 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
374 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
376 2013-12-03 Juri Linkov <juri@jurta.org>
378 * progmodes/compile.el (compilation-start): Rename window alist
379 entry `no-display-ok' to `allow-no-window'.
381 * simple.el (shell-command): Add window alist entry
382 `allow-no-window' to `display-buffer'.
383 (async-shell-command): Doc fix.
385 * window.el (display-buffer-no-window): New action function.
386 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
388 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
390 * vc/log-edit.el (log-edit-set-header): Extract from
391 `log-edit-toggle-header'.
392 (log-edit-extract-headers): Separate the summary, when extracted
393 from header, from the rest of the message with an empty line.
395 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
396 line, if present, to the Summary header.
398 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
400 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
401 in current-buffer (bug#16029).
403 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
405 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
406 (debugger-mode-map): Bind it.
407 (debugger--backtrace-base): New function.
408 (debugger-eval-expression): Use it.
409 (debugger-frame-number): Skip local vars when present.
410 (debugger--locals-visible-p, debugger--insert-locals)
411 (debugger--show-locals, debugger--hide-locals): New functions.
413 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
415 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
417 (tramp-get-remote-locale): New defun.
418 (tramp-open-connection-setup-interactive-shell): Use it.
420 2013-12-02 Leo Liu <sdl.web@gmail.com>
422 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
424 * progmodes/sh-script.el (sh-shell-process):
425 * progmodes/octave.el (inferior-octave-process-live-p):
426 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
427 (gdb-inferior-io-sentinel):
428 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
430 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
432 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
433 `save-selected-window' to `log-edit-hide-buf'. This makes
434 `log-edit-show-files' idempotent.
435 (log-edit-show-files): Mark the new window as dedicated.
437 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
439 * vc/log-edit.el (log-edit-mode-map): Add binding for
440 `log-edit-kill-biffer'.
441 (log-edit-hide-buf): Add a FIXME comment.
442 (log-edit-add-new-comment): New function, extracted from
444 (log-edit-done, log-edit-add-to-changelog): Use it.
445 (log-edit-kill-buffer): New command.
447 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
449 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
450 instead of killing the buffer.
452 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
454 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
456 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
458 * net/eww.el (eww-form-checkbox-selected-symbol)
459 (eww-form-checkbox-symbol): New customizable variable.
460 (eww-form-checkbox, eww-toggle-checkbox):
461 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
463 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
464 (shr--get-media-pref, shr--extract-best-source): New function.
465 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
466 no :src tag was specified.
468 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
469 (eww-render): Handle `eww-use-external-browser-for-content-type'.
470 Use \\` to match beginning of string instead of ^.
471 (eww-browse-with-external-browser): Provide optional URL parameter.
472 (eww-render): Set `eww-current-title' back to "".
474 * net/shr.el (shr-tag-video): Display content for video if no
476 (shr-tag-audio): Add support for <audio> tag.
478 * net/eww.el (eww-text-input-types): : New const.
479 (eww-process-text-input): Treat input types in
480 `eww-text-input-types' as text.
482 * net/shr.el (shr-tag-table): Fix comment typo.
484 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
486 * net/eww.el (eww-follow-link): New command to avoid reloading
487 pages when we follow #target links (bug#15243).
488 (eww-quit): Special mode buffers shouldn't query before exiting.
490 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
492 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
495 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
497 * net/eww.el (eww-restore-history): Update the window title after
498 moving in the history.
499 (eww-current-dom): New variable used to save the current DOM.
501 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
503 * vc/log-edit.el (log-edit-mode-map): Add binding for
504 `log-edit-beginning-of-line'.
505 (log-edit-setup-add-author): New user option.
506 (log-edit-beginning-of-line): New command.
507 (log-edit): Move major mode call above the contents setup so that
508 the local variable values are already applied.
509 (log-edit): Only insert "Author: " when
510 `log-edit-setup-add-author' is non-nil.
511 (log-edit): When SETUP is non-nil, position point after ": "
512 instead of point-min.
514 2013-12-01 Glenn Morris <rgm@gnu.org>
516 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
518 2013-11-30 Eli Zaretskii <eliz@gnu.org>
520 * startup.el (fancy-splash-frame): On MS-Windows, trigger
521 redisplay to make sure the initial frame gets a chance to become
524 2013-11-30 Martin Rudalics <rudalics@gmx.at>
526 Support resizing frames and windows pixelwise.
527 * cus-start.el (frame-resize-pixelwise)
528 (window-resize-pixelwise): New entries.
529 * emacs-lisp/debug.el (debug): Use window-total-height instead
530 of window-total-size.
531 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
532 * help.el (describe-bindings-internal): Call help-buffer
533 (temp-buffer-max-width): New option.
534 (resize-temp-buffer-window, help-window-setup)
535 (with-help-window): Rewrite.
536 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
538 * window.el (frame-char-size, window-min-pixel-height)
539 (window-safe-min-pixel-height, window-safe-min-pixel-width)
540 (window-min-pixel-width, window-safe-min-pixel-size)
541 (window-combination-p, window-safe-min-size)
542 (window-resizable-p, window--size-to-pixel)
543 (window--pixel-to-size, window--resize-apply-p): New functions.
544 (window-safe-min-height): Fix doc-string.
545 (window-size, window-min-size, window--min-size-1)
546 (window-sizable, window-sizable-p, window--min-delta-1)
547 (window-min-delta, window--max-delta-1, window-max-delta)
548 (window--resizable, window--resizable-p, window-resizable)
549 (window-full-height-p, window-full-width-p, window-at-side-p)
550 (window--in-direction-2, window-in-direction)
551 (window--resize-reset-1, window--resize-mini-window)
552 (window-resize, window-resize-no-error)
553 (window--resize-child-windows-normal)
554 (window--resize-child-windows, window--resize-siblings)
555 (window--resize-this-window, window--resize-root-window)
556 (window--resize-root-window-vertically)
557 (adjust-window-trailing-edge, enlarge-window, shrink-window)
558 (maximize-window, minimize-window, delete-window)
559 (quit-restore-window, window-split-min-size, split-window)
560 (balance-windows-2, balance-windows)
561 (balance-windows-area-adjust, balance-windows-area)
562 (window--state-get-1, window-state-get, window--state-put-1)
563 (window--state-put-2, window-state-put)
564 (display-buffer-record-window, window--display-buffer):
565 Make functions handle pixelwise sizing of windows.
566 (display-buffer--action-function-custom-type)
567 (display-buffer-fallback-action):
568 Add display-buffer-in-previous-window.
569 (display-buffer-use-some-window): Resize window to height it had
571 (fit-window-to-buffer-horizontally): New option.
572 (fit-frame-to-buffer): Describe new values.
573 (fit-frame-to-buffer-bottom-margin): Replace with
574 fit-frame-to-buffer-margins.
575 (window--sanitize-margin): New function.
576 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
577 using window-text-pixel-size.
579 2013-11-30 Glenn Morris <rgm@gnu.org>
581 * emacs-lisp/bytecomp.el (byte-compile-form):
582 Make the `interactive-only' warning like the `obsolete' one.
583 * comint.el (comint-run):
584 * files.el (insert-file-literally, insert-file):
585 * replace.el (replace-string, replace-regexp):
586 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
587 (goto-line, insert-buffer, next-line, previous-line):
588 Tweak `interactive-only' spec.
590 Stop keeping (most) generated cedet grammar files in the repository.
591 * Makefile.in (semantic): New.
592 (compile-main): Depend on semantic.
594 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
596 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
597 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
599 * uniquify.el (uniquify-buffer-name-style): Change default.
601 * loadup.el: Preload "uniquify".
603 * time.el (display-time-update): Update all mode lines (bug#15999).
605 * electric.el (electric-indent-mode): Enable by default.
606 * loadup.el: Preload "electric".
608 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
610 * emacs-lisp/helpers.el (string-empty-p): New function.
611 (string-blank-p): New function.
613 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
615 * imenu.el (imenu--index-alist): Add missing dot to the docstring
618 2013-11-29 Andreas Politz <politza@fh-trier.de>
619 * imenu.el (imenu--subalist-p): Don't error on non-conses and
620 allow non-lambda lists as functions.
621 (imenu--in-alist): Don't recurse into non-subalists.
622 (imenu): Don't pass function itself as an argument (Bug#14029).
624 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
626 * progmodes/python.el (python-mode-map): Remove binding for ":".
627 (python-indent-electric-colon): Remove command.
628 (python-indent-post-self-insert-function): Integrate the previous code
629 of python-indent-electric-colon. Make it conditional on
630 electric-indent-mode.
631 (python-mode): Add ?: to electric-indent-chars.
632 Move python-indent-post-self-insert-function to the end of
633 post-self-insert-hook.
635 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
637 * doc-view.el (doc-view-goto-page): Update mode-line.
639 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
641 2013-11-27 Glenn Morris <rgm@gnu.org>
643 * international/charprop.el, international/uni-bidi.el:
644 * international/uni-category.el, international/uni-combining.el:
645 * international/uni-comment.el, international/uni-decimal.el:
646 * international/uni-decomposition.el, international/uni-digit.el:
647 * international/uni-lowercase.el, international/uni-mirrored.el:
648 * international/uni-name.el, international/uni-numeric.el:
649 * international/uni-old-name.el, international/uni-titlecase.el:
650 * international/uni-uppercase.el:
651 Remove generated files from VCS repository.
653 2013-11-27 Eli Zaretskii <eliz@gnu.org>
655 * filenotify.el (file-notify-add-watch): Don't special-case
656 w32notify when computing the directory to watch.
658 2013-11-27 Glenn Morris <rgm@gnu.org>
660 Make bootstrap without generated uni-*.el files possible again.
661 * loadup.el: Update command-line-args checking for unidata-gen.
662 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
663 * composite.el, international/characters.el:
664 Handle unicode tables being undefined.
666 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
667 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
668 (compile-main): Depend on leim rule.
670 * loadup.el: Move leim-list.el to leim/ subdirectory.
671 * startup.el (normal-top-level): No more leim directory.
672 * international/ja-dic-cnv.el (skkdic-convert):
673 Disable version-control and autoloads in output files.
674 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
675 Disable version-control and autoloads in output files.
676 * leim/quail: Move here from ../leim.
677 * leim/quail/hangul.el (hangul-input-method-activate):
679 (generated-autoload-load-name): Set file-local value.
680 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
681 (generated-autoload-load-name): Set file-local value.
683 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
685 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
686 (eww-add-bookmark): ask confirmation when add to bookmarks
687 (eww-quit): ask confirmation before quitting eww
689 2013-11-26 Eli Zaretskii <eliz@gnu.org>
691 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
692 reading output from Diff on MS-Windows and MS-DOS.
694 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
696 * emacs-lisp/helpers.el (string-reverse): New function.
698 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
700 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
701 names on MS Windows, like "/[::1]:".
703 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
706 2013-11-26 Glenn Morris <rgm@gnu.org>
708 * progmodes/python.el (python-indent-guess-indent-offset):
709 Avoid corner-case error. (Bug#15975)
711 Preload leim-list.el. (Bug#4789)
712 * loadup.el: Load leim-list.el when found.
713 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
715 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
717 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
719 * emacs-lisp/helpers.el (string-join): New function.
721 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
723 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
724 Mark as obsolete and replace it with a symbol property.
725 (byte-compile-form): Use new 'interactive-only property.
726 * comint.el, files.el, replace.el, simple.el:
727 Apply new 'interactive-only properly.
729 2013-11-25 Martin Rudalics <rudalics@gmx.at>
731 * window.el (display-buffer-at-bottom): Make sure that
732 split-window-sensibly creates the new window on bottom
735 2013-11-23 David Kastrup <dak@gnu.org>
737 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
738 on the conflict markers when available.
739 (smerge--get-marker): New function.
740 (smerge-end-re, smerge-base-re): Add subgroup.
742 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
744 * frame.el (handle-focus-in, handle-focus-out): Add missing
747 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
749 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
750 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
752 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
754 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
755 (gomoku--last-pos): New var.
756 (gomoku--intangible-chars): New const.
757 (gomoku--intangible): New function.
758 (gomoku-mode): Use it. Derive from special-mode.
759 (gomoku-move-up): Adjust line count.
760 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
761 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
762 Simplify accordingly.
764 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
765 Remove blink-cursor code.
766 (blink-cursor-timer-function, blink-cursor-suspend):
767 Don't special-case GUIs.
768 (blink-cursor-mode): Use focus-in/out-hook.
770 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
772 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
773 work when annotation is invisible (Bug#13886).
775 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
777 * json.el (json-alist-p): Only return non-nil if the alist has
778 simple keys (Bug#13518).
780 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
782 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
783 when control-statement is the first statement in a buffer (Bug#15956).
785 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
787 * imenu.el (imenu-generic-skip-comments-and-strings):
788 New option (Bug#15560).
789 (imenu--generic-function): Use it.
791 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
793 * minibuffer.el (completion--in-region-1): Scroll the correct
796 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
798 * emacs-lisp/helpers.el: Add some string helpers.
799 (string-trim-left): Removes leading whitespace.
800 (string-trim-right): Removes trailing whitespace.
801 (string-trim): Removes leading and trailing whitespace.
803 * subr.el (string-suffix-p): New function.
805 2013-11-23 Glenn Morris <rgm@gnu.org>
807 * progmodes/python.el (python-shell-send-file):
808 Add option to delete file when done. (Bug#15647)
809 (python-shell-send-string, python-shell-send-region): Use it.
811 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
813 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
814 to set buffer-read-only to t, never to nil. (Bug#15938)
816 * textmodes/tex-mode.el (latex-noindent-environments):
817 Add safe-local-variable property. (Bug#15936)
819 2013-11-23 Glenn Morris <rgm@gnu.org>
821 * textmodes/enriched.el (enriched-mode): Doc fix.
822 * emacs-lisp/authors.el (authors-renamed-files-alist):
823 Add enriched.doc -> enriched.txt.
825 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
827 2013-11-22 Leo Liu <sdl.web@gmail.com>
829 * progmodes/octave.el (inferior-octave-startup): Spit out error
832 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
834 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
837 (ruby-encoding-magic-comment-style): Add :version.
839 2013-11-22 Leo Liu <sdl.web@gmail.com>
841 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
843 (octave-help-mode): Adapt to change to help-mode-finish to use
844 derived-mode-p on 2013-09-17.
845 (inferior-octave-prompt): Also match octave-gui.
846 (octave-kill-process): Don't ask twice. (Bug#10564)
848 2013-11-22 Leo Liu <sdl.web@gmail.com>
850 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
851 (inferior-octave-startup, inferior-octave-check-process)
852 (inferior-octave-track-window-width-change)
853 (octave-completion-at-point, octave-eldoc-function): Use it.
854 (octave-kill-process): Provide confirmation. (Bug#10564)
856 2013-11-21 Leo Liu <sdl.web@gmail.com>
858 * progmodes/octave.el (octave-mode, inferior-octave-mode):
859 Fix obsolete variable comment-use-global-state.
861 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
863 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
864 Add `octave-source-file'.
865 (octave-source-file): New function. (Bug#15935)
867 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
869 * net/eww.el (eww-local-regex): New variable.
870 (eww): Use it to detect localhost and similar.
872 2013-11-21 Leo Liu <sdl.web@gmail.com>
874 Add completion for command `ag'.
875 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
876 (pcomplete/ag): New function.
877 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
879 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
881 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
883 (make-obsolete): Remove interactive spec.
885 2013-11-21 Glenn Morris <rgm@gnu.org>
887 * startup.el (command-line-1): Use path-separator with -L.
889 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
891 * emacs-lisp/package.el (describe-package-1): Add package archive
894 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
896 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
897 Change default to "# encoding: %s" to differentiate it from the
898 default Ruby encoding comment template.
900 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
902 * ses.el (ses-mode): Doc fix. (Bug#14748)
904 2013-11-20 Leo Liu <sdl.web@gmail.com>
906 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
908 2013-11-19 Dan Nicolaescu <dann@gnu.org>
910 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
911 when rebase or bisect are in progress.
913 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
915 * filenotify.el (file-notify-add-watch): Doc fix.
917 2013-11-19 Leo Liu <sdl.web@gmail.com>
919 * obsolete/rcompile.el: Mark obsolete.
921 * progmodes/compile.el (compilation-start)
922 (compilation-goto-locus, compilation-find-file):
923 Pass no-display-ok and handle nil value from display-buffer.
926 * window.el (display-buffer-alist, display-buffer): Document the
927 new parameter no-display-ok. Return either a window or nil
928 but never a non-window value.
930 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
932 * electric.el (electric-indent-mode-map): Remove.
933 (electric-indent-mode): Change the global-map instead (bug#15915).
935 * textmodes/text-mode.el (paragraph-indent-minor-mode):
938 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
940 * emacs-lisp/nadvice.el (remove-function): Align with
941 add-function's behavior.
943 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
944 (gdb--string-regexp): New constant.
945 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
946 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
947 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
949 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
950 Adjust use accordingly.
951 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
953 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
955 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
956 interpolation curlies (Bug#15914).
958 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
960 * calc/calc.el (calc-context-sensitive-enter): New variable.
961 (calc-enter): Use `calc-context-sensitive-enter'.
963 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
965 * progmodes/cfengine.el: Version bump.
966 (cfengine-cf-promises): New defcustom to locate cf-promises.
967 (cfengine3-vartypes): Add new "data" type.
968 (cfengine3--current-word): New function to get current name-like
970 (cfengine3--current-function): New function to look up a CFEngine
971 function's definition.
972 (cfengine3-format-function-docstring): New function.
973 (cfengine3-make-syntax-cache): New function.
974 (cfengine3-documentation-function): New function: ElDoc glue.
975 (cfengine3-completion-function): New function: completion glue.
976 (cfengine3-mode): Set `compile-command',
977 `eldoc-documentation-function', and add to
978 `completion-at-point-functions'.
980 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
982 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
983 `tramp-current-connection'.
985 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
987 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
988 nil/self/true/false with "end of symbol".
990 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
992 * subr.el (version-regexp-alist): Fix a typo.
994 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
996 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
997 "en_US.utf8" and "LC_CTYPE" to "".
998 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
999 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1001 2013-11-15 Leo Liu <sdl.web@gmail.com>
1003 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1005 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1007 * progmodes/gud.el (ctl-x-map):
1008 Remove C-x SPC binding. (Bug#12342)
1009 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1011 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1013 * subr.el (version-regexp-alist):
1014 Recognize hg, svn and darcs versions as snapshot versions.
1016 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1017 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1018 (ruby--encoding-comment-required-p): Extract from
1019 `ruby-mode-set-encoding'.
1020 (ruby-mode-set-encoding): Add the ability to always insert an
1021 utf-8 encoding comment. Fix and simplify coding comment update
1024 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1026 * net/tramp-gvfs.el (top): Run init code only when
1027 `tramp-gvfs-enabled' is not nil.
1028 (tramp-gvfs-enabled): Check also :system bus.
1030 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1032 Sync with upstream verilog-mode revision 78e66ba.
1033 * progmodes/verilog-mode.el (verilog-end-of-defun)
1034 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1035 (verilog-get-end-of-defun): Remove unused argument.
1036 (verilog-comment-depth): Remove unused local `e'.
1037 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1038 Don't pass arg to verilog-get-end-of-defun.
1040 2013-11-14 Glenn Morris <rgm@gnu.org>
1042 * obsolete/assoc.el (aget): Prefix dynamic variable.
1044 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1046 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1048 * widget.el, hfy-cmap.el: Remove bogus package version number.
1050 2013-11-13 Glenn Morris <rgm@gnu.org>
1052 * replace.el (replace-eval-replacement):
1053 Try to give more helpful error message. (Bug#15836)
1055 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1056 (archive-7z-update): Avoid custom type mismatches.
1058 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1060 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1062 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1063 address can be empty.
1065 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1066 Accept nil SWITCHES.
1067 (tramp-gvfs-handle-write-region): Implement APPEND.
1069 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1071 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1072 binary "|" operator and closing block args delimiter.
1073 Remove FIXME comment referring to Ruby 1.8-only syntax.
1074 (ruby-smie--implicit-semi-p): Not after "|" operator.
1075 (ruby-smie--closing-pipe-p): New function.
1076 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1077 (ruby-smie-rules): Indent after "|".
1079 2013-11-12 Glenn Morris <rgm@gnu.org>
1081 * ps-print.el (ps-face-attribute-list):
1082 Handle anonymous faces. (Bug#15827)
1084 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1086 * window.el (display-buffer-other-frame): Fix doc-string.
1089 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1091 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1093 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1095 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1096 (tramp-sh-handle-file-local-copy): Don't write a message when
1097 saving temporary files.
1099 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1100 both directories are remote.
1101 (tramp-smb-handle-directory-files): Do not return double entries.
1102 Do not expand full file names.
1103 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1104 (tramp-smb-handle-write-region): Implement APPEND.
1105 (tramp-smb-get-stat-capability): Fix a stupid bug.
1107 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1109 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1111 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1113 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1114 throwing error over malformed let/let* (bug#15814).
1116 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1118 * iswitchb.el (iswitchb-mode): Mark obsolete.
1120 2013-11-11 Glenn Morris <rgm@gnu.org>
1122 * international/uni-bidi.el, international/uni-category.el:
1123 * international/uni-name.el, international/uni-numeric.el:
1124 Regenerate for Unicode 6.3.0.
1126 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1128 * net/tramp.el (tramp-methods):
1129 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1130 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1132 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1134 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1135 Force highlighting text after Summary keyword in doc face for rpm.
1137 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1139 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1140 available and the word has no wildcards, append one to the grep pattern.
1141 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1142 (ispell-complete-word): Call `ispell-lookup-words' with the value
1143 independent of `ispell-look-p'.
1145 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1147 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1149 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1152 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1154 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1155 (ruby-font-lock-keywords): Use backquote.
1157 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1159 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1160 (ruby-smie--backward-token): Only consider full-string matches.
1162 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1164 * faces.el (describe-face): Add distant-foreground.
1166 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1168 * progmodes/ruby-mode.el: Improve encoding comment handling.
1169 (ruby-encoding-magic-comment-style): New option.
1170 (ruby-custom-encoding-magic-comment-template): New option.
1171 (ruby--insert-coding-comment, ruby--detect-encoding):
1172 New functions extracted from `ruby-mode-set-encoding'.
1173 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1174 to control the style of the auto-inserted encoding comment.
1176 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1178 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1179 Use `smie-backward-sexp' with token argument.
1181 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1183 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1184 Remove instrumentation code.
1186 2013-11-08 Glenn Morris <rgm@gnu.org>
1188 * progmodes/autoconf.el (autoconf-mode):
1189 Tweak comment-start-skip. (Bug#15822)
1191 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1193 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1194 at bobp (bug#15826).
1195 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1197 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1199 * man.el (Man-start-calling): New macro, extracted from
1200 Man-getpage-in-background.
1201 (Man-getpage-in-background): Use it.
1202 (Man-update-manpage): New command.
1203 (Man-mode-map): Bind it.
1205 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1207 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1208 of "and", "or", "&&" and "||".
1209 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1210 argument. Prohibit opening curly brace because it could only be a
1211 block opener in that position.
1212 (ruby-smie--forward-token, ruby-smie--backward-token):
1213 Separate "|" from "&" or "*" going after it. That can happen in block
1215 (ruby-smie--indent-to-stmt): New function, seeks the end of
1216 previous statement or beginning of buffer.
1217 (ruby-smie-rules): Use it.
1218 (ruby-smie-rules): Check if there's a ":" before a curly block
1219 opener candidate; if there is, it's a hash.
1221 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1223 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1224 (cl--block-wrapper): Fix last accidental change.
1226 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1228 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1229 Instrument, in order to hunt failure on hydra.
1231 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1233 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1234 malformed bindings form (bug#15814).
1236 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1238 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1239 "." compared to " @ ". This incidentally fixes some indentation
1241 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1242 (ruby-smie-grammar): New tokens: "and" and "or".
1243 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1244 Exclude "and" and "or". Remove "do" in order to work around token
1246 (ruby-smie-rules): Add all infix tokens. Handle the case of
1247 beginning-of-buffer.
1249 2013-11-06 Glenn Morris <rgm@gnu.org>
1251 * Makefile.in (setwins_almost, setwins_for_subdirs):
1252 Avoid accidental matches.
1254 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1256 * menu-bar.el (popup-menu): Use key-binding.
1258 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1260 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1261 menus, support also the menus produced by minor modes.
1264 2013-11-06 Leo Liu <sdl.web@gmail.com>
1266 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1267 DISTANCE to bound the search. All uses changed. (Bug#15808)
1269 2013-11-06 Glenn Morris <rgm@gnu.org>
1271 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1272 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1273 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1275 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1277 * electric.el (electric-indent-just-newline): New command.
1278 (electric-indent-mode-map): New keymap.
1279 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1280 Re-add :group which weren't redundant.
1282 * electric.el (electric-indent-local-mode): New minor mode.
1283 (electric-indent-functions-without-reindent): New var.
1284 (electric-indent-post-self-insert-function): Use it.
1285 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1287 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1289 * international/quail.el (quail-help): Be more explicit about the
1290 meaning of the labels shown on the keys. (Bug#15800)
1292 * startup.el (normal-top-level): Load the subdirs.el files before
1293 setting the locale environment. (Bug#15805)
1295 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1297 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1298 via arguments so as to get the right ones (bug#15418).
1300 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1302 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1304 Fix problems found while writing a test suite.
1306 * net/tramp-compat.el (tramp-compat-load): New defun.
1307 * net/tramp.el (tramp-handle-load): Use it.
1309 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1310 "(numberp ok-if-already-exists)" correctly.
1312 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1314 * international/characters.el (glyphless-char-display-control):
1317 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1319 * progmodes/python.el (python-mode):
1320 * progmodes/scheme.el (scheme-mode):
1321 * progmodes/prolog.el (prolog-mode):
1322 * progmodes/ruby-mode.el (ruby-mode):
1323 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1324 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1326 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1328 * rect.el (rectangle--highlight-for-redisplay):
1329 * emacs-lisp/smie.el (smie--next-indent-change):
1330 Use buffer-chars-modified-tick.
1332 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1334 * electric.el (electric-indent-post-self-insert-function):
1335 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1337 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1339 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1341 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1343 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1346 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1348 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1350 * progmodes/python.el: Fix up last change.
1351 (python-shell--save-temp-file): New function.
1352 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1353 `string' comes from the current buffer.
1354 (python-shell-send-string-no-output): Remove `msg' arg.
1355 (python--use-fake-loc): New var.
1356 (python-shell-buffer-substring): Obey it. Try to compensate for the
1357 extra coding line added by python-shell--save-temp-file.
1358 (python-shell-send-region): Use python-shell--save-temp-file and
1359 python-shell-send-file directly. Add `nomain' argument.
1360 (python-shell-send-buffer): Use python-shell-send-region.
1361 (python-electric-pair-string-delimiter): New function.
1362 (python-mode): Use it.
1364 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1366 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1367 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1368 environment and decoding all of the default-directory's to here
1370 (command-line): Decode also argv[0].
1372 * loadup.el: Error out if default-directory is a multibyte string
1373 when we are dumping.
1375 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1377 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1379 * emacs-lisp/package.el (package-menu-mode)
1380 (package-menu--print-info, package-menu--archive-predicate):
1381 Add Archive column to package list.
1383 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1385 Fix problems found while writing a test suite.
1387 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1388 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1389 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1390 to nil when running original file name handler. Otherwise,
1391 there are problems with constructs like "$$FOO".
1393 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1396 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1398 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1400 * subr.el (version<, version<=, version=):
1401 Update docstrings with information for snapshot versions.
1403 * helpers.el: New library for misc helper functions.
1404 (hash-table-keys): New function returning a list of hash keys.
1405 (hash-table-values): New function returning a list of hash values.
1407 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1409 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1410 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1412 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1414 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1415 checking whether point is after a 1-letter word.
1417 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1419 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1420 Don't infloop when expanding region over `multiline' syntax-type that
1421 begins a line (bug#15778).
1423 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1425 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1426 Make it into a proper minor mode.
1427 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1428 (rectangle-mark-mode-map): New keymap.
1429 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1431 2013-11-04 Glenn Morris <rgm@gnu.org>
1433 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1435 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1437 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1438 (ruby-smie-rules): Use smie-rule-parent instead.
1440 * emacs-lisp/smie.el (smie-rule-parent): Always call
1441 smie-indent-virtual rather than only for hanging tokens.
1442 (smie--next-indent-change): New helper command.
1444 2013-11-03 Glenn Morris <rgm@gnu.org>
1446 * Makefile.in (abs_srcdir): Remove.
1447 (emacs): Unset EMACSLOADPATH.
1449 2013-11-02 Glenn Morris <rgm@gnu.org>
1451 * Makefile.in (EMACS): Use a relative filename.
1452 (abs_top_builddir): Remove.
1453 (custom-deps, finder-data, autoloads): Use --chdir.
1455 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1457 Use relative filenames in TAGS files.
1458 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1459 (lisptagsfiles4, TAGS): Use relative file names.
1460 (TAGS-LISP): Remove.
1461 (maintainer-clean): No more TAGS-LISP file.
1463 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1464 (lisptagsfiles4): Use absolute filenames again.
1465 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1466 Remove all *loaddefs files, not just the first. Remove esh-groups.
1467 (maintainer-clean): Delete TAGS, TAGS-LISP.
1469 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1471 * emacs-lisp/package.el (package-version-join):
1472 Recognize snapshot versions.
1474 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1476 * subr.el (version-regexp-alist): Add support for snapshot versions.
1478 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1480 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1481 New function, replacement for `smie-rule-parent' for when we want to
1482 skip over our direct parent if it's an assignment token..
1483 (ruby-smie-rules): Use it.
1485 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1487 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1488 unconditionally. Remove now unnecessary forward declarations.
1489 Remove XEmacs-specific setup.
1490 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1491 (ruby-font-lock-syntactic-keywords)
1492 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1493 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1494 (ruby-here-doc-end-syntax): Remove.
1495 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1496 defined as function.
1498 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1500 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1502 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1504 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1505 table and abbrev table, `define-derived-mode' does that for us
1508 2013-11-01 Glenn Morris <rgm@gnu.org>
1510 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1511 files is atomic for some time, so no parallel compilation issues).
1513 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1515 * faces.el (face-x-resources): Add :distant-foreground.
1516 (region): Use :distant-foreground for gtk and ns.
1518 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1520 Allow multiple bibliographies when BibLaTeX is used rather than
1522 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1523 (reftex-locate-bibliography-files): Us it.
1525 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1527 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1528 allow comments in pbm files.
1530 * term/w32-win.el (dynamic-library-alist): Support newer versions
1531 of libjpeg starting with v7: look only for the DLL from the
1532 version against which Emacs was built.
1533 Support versions of libpng beyond 1.4.x.
1534 Support libtiff v4.x.
1536 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1538 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1539 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1541 (ruby-deep-arglist): Add property :type.
1543 2013-10-31 Glenn Morris <rgm@gnu.org>
1545 * Makefile.in (custom-deps, finder-data): No need to setq the target
1546 variables, we are in the right directory and the defaults work fine.
1548 2013-10-30 Glenn Morris <rgm@gnu.org>
1550 * Makefile.in (autoloads): Do not use abs_lisp.
1552 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1553 `newline' does not respect `standard-output', so use `princ'.
1555 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1557 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1558 * buff-menu.el (Buffer-menu--unmark): New function.
1559 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1561 2013-10-30 Glenn Morris <rgm@gnu.org>
1563 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1565 * emacs-lisp/package.el (lm-homepage): Declare.
1567 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1570 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1572 * Makefile.in (finder-data, autoloads, update-subdirs)
1573 (compile-main, compile-clean, compile-always, bootstrap-clean):
1574 Check return value of cd.
1575 (compile-calc): Remove.
1577 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1579 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1581 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1582 (byte-compile-and-folded): New function.
1583 (=, <, >, <=, >=): Use it.
1585 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1586 (path-separator, null-device, buffer-file-coding-system)
1587 (lpr-headers-switches): Check system-type before modifying them.
1588 (find-buffer-file-type-coding-system): Mark obsolete.
1589 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1590 find-file-not-found-set-buffer-file-coding-system.
1591 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1592 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1593 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1594 (w32-direct-print-region-helper, w32-direct-print-region-function)
1595 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1596 * startup.el (normal-top-level-add-subdirs-to-load-path):
1597 * ps-print.el (ps-print-region-function):
1598 * lpr.el (print-region-function): Use new name.
1600 * subr.el (custom-declare-variable-early): Remove function.
1601 (custom-declare-variable-list): Remove var.
1602 (error, user-error): Remove `while' loop.
1603 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1604 (user-emacs-directory-warning, locate-user-emacs-file):
1606 * simple.el (read-quoted-char-radix, read-quoted-char):
1607 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1609 * custom.el (custom-declare-variable-list): Don't process
1610 custom-declare-variable-list.
1612 * progmodes/python.el (python-shell-get-buffer): New function.
1613 (python-shell-get-process): Use it.
1614 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1615 Python which encoding was used. Don't split-string since we only care
1616 about the first line. Return the temp-file, if applicable.
1617 (python-shell-send-region): Tell compile.el how to turn locations in
1618 the temp-file into locations in the source buffer.
1620 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1622 * subr.el (undefined): Add missing behavior from the C code for
1625 * rect.el: Use lexical-binding. Add new rectangular region support.
1626 (rectangle-mark): New command.
1627 (rectangle--region): New var.
1628 (deactivate-mark-hook): Reset rectangle--region.
1629 (rectangle--extract-region, rectangle--insert-for-yank)
1630 (rectangle--highlight-for-redisplay)
1631 (rectangle--unhighlight-for-redisplay): New functions.
1632 (region-extract-function, redisplay-unhighlight-region-function)
1633 (redisplay-highlight-region-function): Use them to handle
1635 * simple.el (region-extract-function): New var.
1636 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1637 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1638 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1639 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1640 (redisplay-unhighlight-region-function)
1641 (redisplay-highlight-region-function): New vars.
1642 (redisplay--update-region-highlight): New function.
1643 (pre-redisplay-function): Use it.
1644 (exchange-point-and-mark): Don't deactivate the mark before
1645 reactivate-it anyway.
1646 * comint.el (comint-kill-region): Remove yank-handler argument.
1647 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1648 (delete-char): Remove property, since it's now part of their
1650 (self-insert-iso): Remove property since this command doesn't exist.
1652 * emacs-lisp/package.el (package--download-one-archive)
1653 (describe-package-1): Don't query the user about final newline.
1655 2013-10-29 Daniel Colascione <dancol@dancol.org>
1657 * net/tramp.el (tramp-methods): Document new functionality.
1658 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1659 tramp-hostname-checker if method provides one instead of scanning
1660 argument list for "%h" to decide hostname acceptability.
1662 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1664 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1665 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1666 Handle COPY-CONTENTS. (Bug#15737)
1668 2013-10-28 Daiki Ueno <ueno@gnu.org>
1671 (epa-file-cache-passphrase-for-symmetric-encryption):
1672 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1674 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1676 * image.el (defimage):
1677 (image-load-path): Doc fixes.
1679 2013-10-27 Alan Mackenzie <acm@muc.de>
1681 Indent statements in macros following "##" correctly.
1682 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1683 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1685 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1687 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1689 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1691 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1692 after `=' is probably a new expression.
1694 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1696 * man.el (man-imenu-title): New option.
1697 (Man-mode-map): Add menu. (Bug#15722)
1698 (Man-mode): Add imenu to menu.
1700 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1702 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1703 specific in what the first arg can be: a non-keyword word,
1704 string/regexp/percent literal opener, opening paren, or unary
1705 operator followed directly by word.
1707 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1709 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1710 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1711 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1712 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1713 Remove vars, they do not apply any more.
1714 (prolog-mode-abbrev-table): Remove redundant declaration.
1715 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1716 (prolog-use-smie): Remove.
1717 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1718 supported by prolog-electric-if-then-else-flag.
1719 (prolog-mode-variables, prolog-menu): Use setq-local.
1720 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1721 Remove binding to `Backspace' since this key doesn't exist anyway.
1722 Remove bindings for electric self-inserting keys.
1723 (prog-mode): Assume it's defined.
1724 (prolog-post-self-insert): New function.
1725 (prolog-mode): Use it.
1726 (prolog-indent-line, prolog-indent-level)
1727 (prolog-find-indent-of-matching-paren)
1728 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1729 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1730 (prolog-goto-next-paren, prolog-in-string-or-comment)
1731 (prolog-tokenize, prolog-inside-mline-comment)
1732 (prolog-find-start-of-mline-comment): Remove functions.
1733 (prolog-find-unmatched-paren, prolog-clause-end)
1734 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1735 (prolog-electric--if-then-else): Rename from
1736 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1737 (prolog-tokenize-searchkey): Remove const.
1738 (prolog-clause-info): Use forward-sexp.
1739 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1740 (prolog-electric-if-then-else): Remove commands.
1741 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1742 for use in post-self-insert-hook.
1743 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1744 for use in post-self-insert-hook.
1745 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1746 for use in post-self-insert-hook.
1747 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1748 adapt it for use in post-self-insert-hook.
1750 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1752 * emacs-lisp/ert.el (ert-run-tests-interactively):
1753 Use `completing-read'. (Bug#9756)
1755 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1757 * simple.el (line-move): Call line-move-1 instead of
1758 line-move-visual when the current window hscroll is zero, but
1759 temporary-goal-column indicates we will need to hscroll as result
1760 of the movement. (Bug#15712)
1762 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1764 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1765 capitalization. Use :visible instead of :active.
1766 Fix `ruby-indent-exp' reference. Add menu items for the generic
1767 commands that are used with SMIE.
1768 (ruby-do-end-to-brace): Insert space after `{'.
1770 2013-10-25 John Anthony <john@jo.hnanthony.com>
1772 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1774 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1776 2013-10-25 Glenn Morris <rgm@gnu.org>
1778 * vc/vc.el (vc-print-log): Don't use a working revision unless
1779 one was explicitly specified. (Bug#15322)
1781 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1783 * subr.el (add-to-list): Preserve return value in compiler-macro
1786 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1788 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1789 result. Ask user to retry using '-all' flag. (Bug#15701)
1791 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1793 * emacs-lisp/smie.el: New smie-config system.
1794 (smie-config): New defcustom.
1795 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1796 (smie-config-guess, smie-config-save): New commands.
1797 (smie-config--mode-local, smie-config--buffer-local)
1798 (smie-config--trace, smie-config--modefuns): New vars.
1799 (smie-config--advice, smie-config--mode-hook)
1800 (smie-config--setter, smie-config-local, smie-config--get-trace)
1801 (smie-config--guess-value, smie-config--guess): New functions.
1802 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1803 text properties. Treat "string fence" syntax like string syntax.
1805 * progmodes/sh-script.el (sh-use-smie): Change default.
1806 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1807 (sh-var-value): Simplify by CSE.
1808 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1809 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1811 (sh-guess-basic-offset): Use cl-incf.
1812 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1814 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1816 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1819 2013-10-24 Glenn Morris <rgm@gnu.org>
1821 * Makefile.in (abs_top_srcdir): Remove.
1822 (update-subdirs): Use relative path to update-subdirs.
1824 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1826 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1827 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1828 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1829 Call unmsys--file-name before expand-file-name, not after it.
1831 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1833 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1834 (ert-test-skipped): New error.
1835 (ert-skip, ert-stats-skipped): New defuns.
1836 (ert--skip-unless): New macro.
1837 (ert-test-skipped): New struct.
1838 (ert--run-test-debugger, ert-test-result-type-p)
1839 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1840 (ert--stats-set-test-and-result, ert-char-for-test-result)
1841 (ert-string-for-test-result, ert-run-tests-batch)
1842 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1843 Handle skipped tests. (Bug#9803)
1845 2013-10-24 Glenn Morris <rgm@gnu.org>
1847 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1849 * Makefile.in (abs_top_srcdir): New, set by configure.
1850 (update-subdirs): Correct build-aux location.
1852 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1854 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1855 value, whether we could auto-deduce `backend', or not.
1857 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1858 with parameters" example. Simplify the "is it block or is it
1859 hash" check, but also make it more thorough.
1861 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1863 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1865 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1867 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1870 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1873 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1875 * progmodes/compile.el (compilation-directory-matcher)
1876 (compilation-page-delimiter):
1877 Support GNU Make-4.0 directory quoting. (Bug#15678)
1879 2013-10-23 Leo Liu <sdl.web@gmail.com>
1881 * ido.el (ido-tidy): Handle read-only text.
1883 2013-10-23 Glenn Morris <rgm@gnu.org>
1885 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1886 (emacs, compile, compile-always):
1887 Quote entities that might contain whitespace.
1888 (custom-deps, finder-data, autoloads): Use abs_lisp.
1889 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1890 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1891 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1893 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1895 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1896 Use `following-char'.
1898 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1900 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1901 * progmodes/ruby-mode.el (ruby-smie-rules):
1902 Remove corresponding workaround. Fix indentation rule of ";" so it
1903 also applies when ";" is the parent.
1905 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1907 * frame.el (display-screens, display-pixel-height)
1908 (display-pixel-width, display-mm-width, display-backing-store)
1909 (display-save-under, display-planes, display-color-cells)
1910 (display-visual-class, display-monitor-attributes-list):
1911 Mention the optional ‘display’ argument in doc strings.
1913 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1915 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1916 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1918 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1920 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1921 TODO. Add "." after " @ ".
1922 (ruby-smie--at-dot-call): New function. Checks if point at method
1923 call with explicit target.
1924 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1925 to the method name tokens when it precedes them.
1926 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1927 (ruby-smie-rules): Add rule for indentation before and after "."
1930 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1932 * textmodes/remember.el (remember-diary-extract-entries):
1935 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1938 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1940 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1941 (ruby-smie--implicit-semi-p): Add new operator chars.
1943 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1945 (ruby-smie--args-separator-p): Check that there's no newline
1946 between method call and its arguments.
1948 2013-10-20 Alan Mackenzie <acm@muc.de>
1950 Allow comma separated lists after Java "implements".
1952 * progmodes/cc-engine.el (c-backward-over-enum-header):
1954 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1955 from a "disallowed" list in enum fontification.
1957 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1959 * startup.el (default-frame-background-mode): Remove unused defvar.
1961 * progmodes/verilog-mode.el (verilog-mode): Don't set
1962 comment-indent-function globally.
1964 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1966 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1967 Move Info menu item creation to ns-win.el.
1969 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1972 * menu-bar.el: Move GNUStep specific menus...
1974 * term/ns-win.el (ns-initialize-window-system): ... to here.
1976 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1978 * simple.el (newline): Only run post-self-insert-hook when
1979 called interactively.
1981 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1983 * icomplete.el (icomplete-with-completion-tables): Add :version.
1985 2013-10-19 Alan Mackenzie <acm@muc.de>
1987 Fix fontification bugs with constructors and const.
1989 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1990 CASE 2) Remove the check for the absence of a suffix construct
1991 after a function declaration with only types (no identifiers) in
1992 the parentheses. Also, accept a function declaration with just a
1993 type inside the parentheses, if this type can be positively
1994 recognised as such, or if a prefix keyword like "explicit" nails
1995 down the construct as a declaration.
1997 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1999 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2000 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2001 the problem whereby selecting a menu item that leads to a
2002 minibuffer prompt moves the cursor out of the minibuffer window,
2003 making it hard to type at the prompt. Suggested by Stefan Monnier
2004 <monnier@iro.umontreal.ca>.
2006 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2008 * menu-bar.el: Don't make Services menu.
2010 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2012 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2013 (ffap-alist): Use ffap-c++-mode for c++-mode.
2014 (ffap-c++-path): New variable.
2015 (ffap-c++-mode): New function.
2017 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2019 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2021 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2023 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2024 introduced on 2013-09-08, which results in an infinite loop
2025 requesting a password.
2027 2013-10-18 Glenn Morris <rgm@gnu.org>
2029 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2031 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2033 Sync with upstream verilog-mode revision 1a6ecec7.
2034 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2035 (verilog-mode-release-date): Remove.
2036 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2037 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2038 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2039 (verilog-auto-tieoff-ignore-regexp)
2040 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2041 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2042 (verilog-signals-with, verilog-dir-cache-preserving)
2043 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2045 (verilog-case-fold): New option, to control case folding in
2046 regexp searches, bug597.
2047 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2048 (verilog-string-match-fold, verilog-in-paren-count)
2049 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2050 (verilog-at-close-struct-p): New functions.
2051 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2052 (verilog-forward-sexp, verilog-set-auto-endcomments):
2053 (verilog-leap-to-case-head): Handle "unique0" case.
2054 (verilog-in-constraint-re): New constant.
2055 (verilog-keywords, verilog-type-font-keywords):
2056 Add some SystemVerilog 1800-2012 keywords.
2057 (verilog-label-be): Remove unimplemented argument, bug669.
2058 (verilog-batch-execute-func): When batch expanding clear
2059 create-lockfiles to prevent spurious user locks when a file ends
2061 (verilog-calculate-indent, verilog-calc-1)
2062 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2063 (verilog-do-indent): Fix indentation of nested constraints
2065 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2066 (verilog-auto-inst-param): Use verilog-string-match-fold.
2067 (verilog-read-inst-module-matcher):
2068 Fix AUTOINST on gate primitives with #1.
2069 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2070 Reads all user-defined typed variables.
2071 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2072 (verilog-signals-matching-regexp)
2073 (verilog-signals-not-matching-regexp, verilog-auto):
2074 Respect verilog-case-fold.
2075 (verilog-diff-report): Fix line count.
2076 (verilog-auto-assign-modport): Remove unused local `modi'.
2077 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2078 better handle multidimensional arrays.
2079 Fix packed array ports misadding bit index in AUTOINST, bug637.
2080 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2081 to not double-declare existing outputs and inputs, respectively.
2082 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2083 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2084 (verilog-sk-uvm-component): New skeleton.
2085 (verilog-submit-bug-report): Add verilog-case-fold,
2086 remove verilog-mode-release-date.
2088 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2090 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2093 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2095 * textmodes/remember.el (remember): set buffer-offer-save in
2096 remember buffers (bug#13566).
2098 2013-10-18 Daniel Colascione <dancol@dancol.org>
2100 When evaluating forms in ielm, direct standard output to ielm
2101 buffer. Add new ielm-return-for-effect command. Remove trailing
2102 whitespace throughout.
2104 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2105 (ielm-return-for-effect): New command.
2106 (ielm-send-input): Accept optional `for-effect' parameter.
2107 (ielm-eval-input): Accept optional `for-effect' parameter.
2108 Bind `standard-output' to stream we create using
2109 `ielm-standard-output-impl'. Suppress printing result when
2111 (ielm-standard-output-impl): New function.
2112 (inferior-emacs-lisp-mode): Explain new features in documentation.
2114 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2118 * net/tramp.el (tramp-debug-message): Do not check for connection
2120 (tramp-message): Use "vector" connection property.
2122 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2123 (tramp-equal-remote, tramp-eshell-directory-change)
2124 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2125 (tramp-adb-handle-rename-file)
2126 * net/tramp-cmds.el (tramp-list-remote-buffers)
2127 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2128 * net/tramp-compat.el (tramp-compat-process-running-p)
2129 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2130 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2131 (tramp-gvfs-handle-rename-file)
2132 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2133 (tramp-set-file-uid-gid)
2134 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2135 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2138 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2139 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2140 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2141 (tramp-gw-open-network-stream): Suppress unrelated traces.
2143 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2144 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2145 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2146 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2147 connection property.
2149 * net/tramp-cache.el (top): Suppress traces when reading
2152 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2153 Refactor common code. Improve debug message.
2154 (tramp-maybe-open-connection)
2155 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2156 connection buffer too early.
2158 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2159 from `tramp-smb-actions-with-acl'.
2160 (tramp-smb-actions-set-acl): New defconst.
2161 (tramp-smb-handle-copy-directory)
2162 (tramp-smb-action-get-acl): New defun, renamed from
2163 `tramp-smb-action-with-acl'.
2164 (tramp-smb-action-set-acl): New defun.
2165 (tramp-smb-handle-set-file-acl): Rewrite.
2167 2013-10-17 Glenn Morris <rgm@gnu.org>
2169 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2171 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2173 * skeleton.el (skeleton-newline): Remove.
2174 (skeleton-internal-1): Use (insert "\n") instead.
2176 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2179 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2180 forward-sexp-function while we redo its job (bug#15613).
2182 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2184 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2185 represented by lists.
2187 2013-10-16 Glenn Morris <rgm@gnu.org>
2189 * tmm.el (tmm--history): New dynamic variable.
2190 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2192 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2194 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2195 (tramp-smb-errors): Add error messages.
2196 (tramp-smb-actions-with-acl): New defconst.
2197 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2198 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2199 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2200 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2201 (tramp-smb-get-stat-capability): Fix tests.
2203 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2205 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2208 2013-10-16 Glenn Morris <rgm@gnu.org>
2210 * ansi-color.el (ansi-color-drop-regexp):
2211 Add 1J, 1K, 2K. (Bug#15617)
2213 * files.el (hack-local-variables--warned-lexical): New.
2214 (hack-local-variables):
2215 Warn about misplaced lexical-binding. (Bug#15616)
2217 * net/eww.el (eww-render): Always set eww-current-url,
2218 and update header line. (Bug#15622)
2219 (eww-display-html): ... Rather than just doing it here.
2221 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2223 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2224 menu navigations commands.
2226 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2228 * progmodes/subword.el (subword-capitalize): Be careful when
2229 the search for [[:alpha:]] fails (bug#15580).
2231 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2233 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2234 to commands that scroll the menu.
2236 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2238 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2239 Handle methods ending with `?' and `!'.
2241 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2243 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2244 `japanese-cp932' to `cp932' to fix the problem where saving a
2245 source file written in Shift_JIS twice would end up having
2246 `coding: japanese-cp932' which Ruby could not recognize.
2247 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2248 in `ruby-encoding-map'.
2249 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2250 doesn't need to be explicitly declared in magic comment.
2251 (ruby-encoding-map): Add type declaration for better customize UI.
2253 2013-10-13 Glenn Morris <rgm@gnu.org>
2255 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2256 Occur buffers are read-only. http://bugs.debian.org/720775
2258 * emacs-lisp/authors.el (authors-fixed-entries):
2259 Comment out old alpha stuff.
2261 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2263 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2264 to `after-save-hook' instead of `before-save-hook'.
2265 (ruby-mode-set-encoding): Use the value of coding system used to
2266 write the file. Call `basic-save-buffer-1' after modifying the
2269 2013-10-13 Alan Mackenzie <acm@muc.de>
2271 Fix indentation/fontification of Java enum with
2272 "implements"/generic.
2274 * progmodes/cc-engine.el (c-backward-over-enum-header):
2275 Extracted from the three other places and enhanced to handle generics.
2276 (c-inside-bracelist-p): Uses new function above.
2277 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2279 (c-font-lock-enum-tail): Uses new function above.
2281 2013-10-13 Kenichi Handa <handa@gnu.org>
2283 * international/mule-cmds.el (select-safe-coding-system): Remove a
2284 superfluous condition in chekcing whether a coding system is safe
2287 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2289 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2291 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2293 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2295 2013-10-13 Glenn Morris <rgm@gnu.org>
2297 * menu-bar.el (menu-bar-update-buffers):
2298 Unify Buffers menu prompt string. (Bug#15576)
2300 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2302 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2304 (authors-fixed-entries): Use accented form of name.
2306 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2308 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2309 method calls (bug#15594).
2310 (ruby-smie--args-separator-p): New function.
2311 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2312 recognize paren-free method calls.
2314 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2315 internals of universal-argument.
2317 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2319 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2320 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2321 dropped menu on second mouse click on the menu bar.
2323 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2325 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2326 (explicit-shell-file-name): Declare.
2327 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2328 (sh-completion-at-point-function): New function.
2330 (sh-smie--keyword-p): Remove unused argument.
2331 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2333 (sh-set-shell): Always setup SMIE, even if we use the
2334 old indentation code.
2336 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2338 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2340 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2341 predicate would return nil are almost non-existent.
2342 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2344 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2345 cache also after commands that modify the buffer but don't move
2348 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2350 * env.el (substitute-env-in-file-name): New function.
2351 (substitute-env-vars): Extend the meaning of the optional arg.
2353 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2355 * term/w32-win.el (dynamic-library-alist): Define separate lists
2356 of GIF DLLs for versions before and after 5.0.0 of giflib.
2359 2013-10-10 João Távora <joaotavora@gmail.com>
2361 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2362 not locked, use last revision and current source as
2363 defaults. (Bug#15569)
2365 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2367 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2370 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2372 * window.el (pop-to-buffer-same-window): Fix doc-string.
2375 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2377 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2379 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2381 * calendar/icalendar.el (icalendar-import-file):
2382 Fix interactive spec. (Bug#15482)
2384 2013-10-10 Glenn Morris <rgm@gnu.org>
2386 * desktop.el (desktop-save): Default to saving in .emacs.d,
2387 since PWD is no longer in desktop-path by default. (Bug#15319)
2389 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2390 now that text mode has a menu with the same entry.
2391 (menu-bar-text-mode-auto-fill): Remove now unused func.
2392 * textmodes/text-mode.el (text-mode-map):
2393 Use auto-fill help text from menu-bar.el.
2395 2013-10-10 John Anthony <john@jo.hnanthony.com>
2397 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2399 2013-10-09 Juri Linkov <juri@jurta.org>
2401 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2402 instead of this-command-keys. Add universal-argument-more and
2403 universal-argument-minus to the list of prefix commands. (Bug#15568)
2405 2013-10-09 Glenn Morris <rgm@gnu.org>
2407 * vc/vc-svn.el (vc-svn-create-repo):
2408 Expand paths in file://... url. (Bug#15446)
2410 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2412 (authors): Remove unused local variables.
2414 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2416 * profiler.el: Create a more coherent calltree from partial backtraces.
2417 (profiler-format): Hide the tail with `invisible' so that C-s can still
2418 find the hidden elements.
2419 (profiler-calltree-depth): Don't recurse so enthusiastically.
2420 (profiler-function-equal): New hash-table-test.
2421 (profiler-calltree-build-unified): New function.
2422 (profiler-calltree-build): Use it.
2423 (profiler-report-make-name-part): Indent the calltree less.
2424 (profiler-report-mode): Add visibility specs for profiler-format.
2425 (profiler-report-expand-entry, profiler-report-toggle-entry):
2426 Expand the whole subtree when provided with a prefix arg.
2428 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2430 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2432 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2433 hanging iuwu-mod token.
2434 (ruby-smie--forward-token): Do not include a dot after a token in
2436 (ruby-smie--backward-token): Likewise.
2438 2013-10-08 Juri Linkov <juri@jurta.org>
2440 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2441 to isearch-other-control-char.
2442 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2443 and isearch-post-command-hook to post-command-hook.
2444 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2445 and isearch-post-command-hook from post-command-hook.
2446 (isearch-unread-key-sequence)
2447 (isearch-reread-key-sequence-naturally)
2448 (isearch-lookup-scroll-key, isearch-other-control-char)
2449 (isearch-other-meta-char): Remove functions.
2450 (isearch-pre-command-hook, isearch-post-command-hook):
2451 New functions based on isearch-other-meta-char rewritten
2452 relying on the new behavior of overriding-terminal-local-map
2453 that does not replace the local keymaps any more. (Bug#15200)
2455 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2457 Support menus on text-mode terminals.
2458 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2461 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2463 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2464 Move here from mouse.el.
2465 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2467 (tty-menu-navigation-map): New map for TTY menu navigation.
2469 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2471 * frame.el (display-mouse-p): Report text-mode mouse as available
2473 (display-popup-menus-p): Report availability if mouse is
2474 available; don't condition on window-system.
2476 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2477 (tty-menu-selected-face): New faces.
2479 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2481 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2482 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2483 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2484 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2486 (lisp-mode-variables): New `elisp' argument.
2487 (emacs-lisp-mode): Use it.
2488 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2489 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2491 * indent.el: Use lexical-binding.
2492 (indent-region): Add progress reporter.
2493 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2495 (indent--next-tab-stop): New function to implement this behavior.
2496 (tab-to-tab-stop, move-to-tab-stop): Use it.
2498 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2500 * indent.el (indent-rigidly--current-indentation): New function.
2501 (indent-rigidly-map): New var.
2502 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2504 2013-10-08 Bastien Guerry <bzg@gnu.org>
2506 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2508 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2510 * progmodes/perl-mode.el: Use lexical-binding.
2511 Remove redundant :group args.
2512 (perl-nochange): Change default to be closer to other major modes's
2514 (perl-indent-line): Don't consider text on current line as a
2515 valid beginning of function from which to indent.
2517 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2518 with more than one argument (bug#15538).
2520 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2522 * vc/pcvs.el: Use lexical-binding.
2523 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2524 environment of `eval'.
2525 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2526 than a list of expressions. Adjust callers.
2527 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2529 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2531 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2532 case of the dot in a chained method call being on the following line.
2534 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2536 * electric.el (electric-indent-inhibit): New var.
2537 (electric-indent-post-self-insert-function): Use it.
2538 * progmodes/python.el (python-mode): Set it.
2540 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2543 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2545 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2546 (css-mode): Use electric-indent-chars.
2548 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2549 (font-lock-beg, font-lock-end): Move before first use.
2550 (nxml-mode): Use syntax-propertize-function.
2551 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2552 (nxml-extend-after-change-region): Remove.
2553 * nxml/xmltok.el: Use lexical-binding.
2554 (xmltok-save): Use `declare'.
2555 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2556 * nxml/nxml-util.el: Use lexical-binding.
2557 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2559 * nxml/nxml-ns.el: Use lexical-binding.
2560 (nxml-ns-save): Use `declare'.
2561 (nxml-ns-prefixes-for): Avoid add-to-list.
2562 * nxml/rng-match.el: Use lexical-binding.
2563 (rng--ipattern): Use cl-defstruct.
2564 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2565 (rng-cons-group-after, rng-subst-group-after)
2566 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2567 Use closures instead of `(lambda...).
2569 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2571 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2574 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2575 Use `tramp-handle-insert-file-contents'.
2576 (tramp-gvfs-handle-insert-file-contents): Remove function.
2578 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2579 Use `save-restriction' in order to keep markers.
2581 * net/trampver.el: Update release number.
2583 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2585 * progmodes/compile.el (compilation-parse-errors):
2586 Use compilation--put-prop.
2587 (compilation--ensure-parse): Check compilation-multiline.
2589 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2591 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2594 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2596 * progmodes/ruby-mode.el: Fix recently added tests.
2597 (ruby-smie-grammar): Add - and +.
2598 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2599 (ruby-smie--backward-id): New functions.
2600 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2601 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2604 2013-10-07 Leo Liu <sdl.web@gmail.com>
2606 * register.el (register-preview-delay)
2607 (register-preview-functions): New variables.
2608 (register-read-with-preview, register-preview)
2609 (register-describe-oneline): New functions.
2610 (point-to-register, window-configuration-to-register)
2611 (frame-configuration-to-register, jump-to-register)
2612 (number-to-register, view-register, insert-register)
2613 (copy-to-register, append-to-register, prepend-to-register)
2614 (copy-rectangle-to-register): Use register-read-with-preview to
2615 read register. (Bug#15525)
2617 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2619 * net/network-stream.el (network-stream-open-starttls): Don't add
2620 --insecure if it's already present, because that gnutls-cli
2621 rejects getting that parameter twice.
2623 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2625 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2628 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2630 * newcomment.el (comment-use-global-state): Change default value
2631 to t, mark obsolete (Bug#15251).
2632 (comment-beginning): In addition to `comment-to-syntax', check the
2633 value of `comment-use-global-state'.
2635 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2637 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2638 (ruby-comment-column): Follow the global default, by default.
2639 (ruby-smie-grammar): Add assignment syntax.
2640 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2641 open-paren, a comma, or a \.
2642 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2643 and line continuations.
2644 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2645 followed by implicit semi-colons. Add rule for string concatenation
2646 and for indentation at BOB.
2647 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2649 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2650 calling next-sexp, since next-token may have skipped chars which
2651 next-sexp doesn't know should be skipped!
2653 2013-10-05 Leo Liu <sdl.web@gmail.com>
2655 * progmodes/octave.el (octave-send-region):
2656 Call compilation-forget-errors.
2658 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2660 * vc/vc-svn.el (vc-svn-find-admin-dir):
2661 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2662 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2663 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2664 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2666 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2668 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2670 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2672 * subr.el (read-passwd): Hide chars even when called within a context
2673 where after-change-functions is disabled (bug#15501).
2674 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2675 until we removed ourself from overriding-terminal-local-map.
2677 2013-10-04 Leo Liu <sdl.web@gmail.com>
2679 * progmodes/octave.el (inferior-octave-mode):
2680 Call compilation-forget-errors.
2682 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2684 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2686 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2688 * net/secrets.el (secrets-create-collection): Add optional
2689 argument ALIAS. Use proper Label keyword. Append ALIAS as
2690 dbus-call-method argument. (Bug#15516)
2692 2013-10-04 Leo Liu <sdl.web@gmail.com>
2694 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2695 (inferior-octave-compilation-font-lock-keywords): New variables.
2696 (compilation-error-regexp-alist)
2697 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2698 (inferior-octave-mode): Use compilation-shell-minor-mode.
2700 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2702 * minibuffer.el (completion--replace): Be careful that `end' might be
2705 2013-10-03 Daiki Ueno <ueno@gnu.org>
2707 Add support for package signature checking.
2708 * emacs-lisp/package.el (url-http-file-exists-p)
2709 (epg-make-context, epg-context-set-home-directory)
2710 (epg-verify-string, epg-context-result-for)
2711 (epg-signature-status, epg-signature-to-string)
2712 (epg-check-configuration, epg-configuration)
2713 (epg-import-keys-from-file): Declare.
2714 (package-check-signature): New user option.
2715 (package-unsigned-archives): New user option.
2716 (package-desc): Add `signed' field.
2717 (package-load-descriptor): Set `signed' field if .signed file exists.
2718 (package--archive-file-exists-p): New function.
2719 (package--check-signature): New function.
2720 (package-install-from-archive): Check package signature.
2721 (package--download-one-archive): Check archive signature.
2722 (package-delete): Remove .signed file.
2723 (package-import-keyring): New command.
2724 (package-refresh-contents): Import default keyring.
2725 (package-desc-status): Add "unsigned" status.
2726 (describe-package-1, package-menu--print-info)
2727 (package-menu-mark-delete, package-menu--find-upgrades)
2728 (package-menu--status-predicate): Support "unsigned" status.
2730 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2732 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2733 the new compilation scheme using the new byte-codes.
2735 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2736 (byte-pophandler): New byte codes.
2737 (byte-goto-ops): Adjust accordingly.
2738 (byte-compile--use-old-handlers): New var.
2739 (byte-compile-catch): Use new byte codes depending on
2740 byte-compile--use-old-handlers.
2741 (byte-compile-condition-case--old): Rename from
2742 byte-compile-condition-case.
2743 (byte-compile-condition-case--new): New function.
2744 (byte-compile-condition-case): New function that dispatches depending
2745 on byte-compile--use-old-handlers.
2746 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2749 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2750 Optimize under `condition-case' and `catch' if
2751 byte-compile--use-old-handlers is nil.
2752 (disassemble-offset): Handle new bytecodes.
2754 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2756 * subr.el (error): Use `declare'.
2757 (decode-char, encode-char): Use advertised-calling-convention instead
2758 of the docstring to discourage use of the `restriction' arg.
2760 2013-10-03 Daiki Ueno <ueno@gnu.org>
2762 * epg.el (epg-verify-file): Add a comment saying that it does not
2763 notify verification error as a return value nor a signal.
2764 (epg-verify-string): Ditto.
2766 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2768 * progmodes/compile.el (compilation-start): Try globbing the arg to
2771 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2773 Sync with Tramp 2.2.8.
2775 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2776 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2777 * net/trampver.el: Update release number.
2779 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2781 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2782 and default-process-coding-system for darwin only.
2784 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2786 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2788 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2790 * vc/vc-git.el (vc-git-grep): Disable pager.
2792 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2794 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2795 Use :url instead of :homepage, as per
2796 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2798 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2799 non-nil, use `syntax-ppss' (Bug#15251).
2801 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2803 * progmodes/octave.el (inferior-octave-startup-file):
2804 Prefer ~/.emacs.d/init_octave.m.
2806 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2808 * emacs-lisp/package.el (package-desc-from-define):
2809 Accept additional arguments as plist, convert them to an alist and store
2810 them in the `extras' slot.
2811 (package-generate-description-file): Convert extras alist back to
2812 plist and append to the `define-package' form arguments.
2813 (package--alist-to-plist): New function.
2814 (package--ac-desc): Add `extras' slot.
2815 (package--add-to-archive-contents): Check if the archive-contents
2816 vector is long enough, and if it is, pass its `extras' slot value
2817 to `package-desc-create'.
2818 (package-buffer-info): Call `lm-homepage', pass the returned value
2819 to `package-desc-from-define'.
2820 (describe-package-1): Render the homepage button (Bug#13291).
2822 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2823 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2825 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2827 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2828 and default-process-coding-system to utf-8-unix (Bug#15402).
2830 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2832 * subr.el (looking-back): Do not recommend using looking-back.
2834 2013-09-28 Alan Mackenzie <acm@muc.de>
2836 Fix indentation/fontification of Java enum with "implements".
2838 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2839 regexp which matches "implements", etc., in Java.
2840 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2841 specifier clauses coming after "enum".
2842 * progmodes/cc-fonts.el (c-font-lock-declarations)
2843 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2846 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2848 * faces.el (region): Change ns_selection_color to
2849 ns_selection_fg_color, add ns_selection_bg_color.
2851 2013-09-28 Leo Liu <sdl.web@gmail.com>
2853 * progmodes/octave.el (inferior-octave-completion-table)
2854 (inferior-octave-completion-at-point): Minor tweaks.
2856 * textmodes/ispell.el (ispell-lookup-words): Rename from
2857 lookup-words. (Bug#15460)
2858 (lookup-words): Obsolete.
2859 (ispell-complete-word, ispell-command-loop): All uses changed.
2861 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2863 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2864 (octave-mode-menu): Add octave-send-buffer.
2865 (octave-send-buffer): New function.
2867 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2869 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2871 (octave-mode-menu): Add octave-lookfor.
2872 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2874 (octave-lookfor): New function.
2876 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2878 * emacs-lisp/cl-macs.el:
2879 (cl--loop-destr-temps): Remove.
2880 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2882 (cl--loop-set-iterator-function): New function.
2883 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2884 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2885 Bind `it' with `let' instead of substituting it with `cl-subst'.
2886 (cl--unused-var-p): New function.
2887 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2888 Eliminate some unused variable warnings (bug#15326).
2890 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2892 * doc-view.el (doc-view-scale-reset): Rename from
2893 `doc-view-reset-zoom-level'.
2894 (doc-view-scale-adjust): New command.
2895 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2896 `doc-view-scale-adjust'.
2898 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2900 * doc-view.el (doc-view-reset-zoom-level): New command.
2901 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2902 zoom commands (bug#15466).
2904 2013-09-26 Kenichi Handa <handa@gnu.org>
2906 * international/quail.el (quail-help): Make it not a command.
2908 2013-09-26 Leo Liu <sdl.web@gmail.com>
2910 * minibuffer.el (completion-all-sorted-completions): Make args
2911 optional as they are.
2913 2013-09-25 Daniel Colascione <dancol@dancol.org>
2915 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2916 specs are and that they're not evaluated.
2918 2013-09-24 Sam Steingold <sds@gnu.org>
2920 * midnight.el (clean-buffer-list-kill-regexps)
2921 (clean-buffer-list-kill-buffer-names): Update for the new Man
2922 buffer naming which includes the object name.
2924 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2926 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2927 (eshell-parse-command, eshell-parse-pipeline): Use it since
2928 eshell-separate-commands requires a dynamic scoped var.
2929 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2931 2013-09-23 Leo Liu <sdl.web@gmail.com>
2933 * autoinsert.el (auto-insert-alist): Make the value of
2934 lexical-binding match its file setting.
2936 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2938 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2940 * autoarg.el (autoarg-kp-digit-argument):
2941 * electric.el (Electric-command-loop):
2942 * kmacro.el (kmacro-step-edit-insert):
2943 Do not set universal-argument-num-events.
2945 2013-09-22 Leo Liu <sdl.web@gmail.com>
2947 * files.el (interpreter-mode-alist): Add octave.
2949 2013-09-21 Alan Mackenzie <acm@muc.de>
2951 C++: fontify identifier in declaration following "public:" correctly.
2952 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2953 to match "public", etc.
2954 (c-decl-prefix-re): Add ":" into the C++ value.
2955 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2956 bit. Add a check for a ":" preceded by "public", etc.
2958 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2960 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2961 recognized by GDB 7.5 and later.
2963 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2965 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2967 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2969 * subr.el (internal--call-interactively): New const.
2970 (called-interactively-p): Use it (bug#3984).
2972 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2974 * vc/pcvs.el (cvs-mode-ignore):
2975 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2976 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2978 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2980 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2981 (eshell-ls-orig-insert-directory): Remove.
2982 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2983 (eshell-ls-use-in-dired): Use advice-add/remove.
2984 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2985 Add `orig-fun' arg for use in :around advice.
2986 Make it check (redundantly) eshell-ls-use-in-dired.
2988 2013-09-19 Glenn Morris <rgm@gnu.org>
2990 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2992 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2994 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2996 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2998 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2999 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3000 (tramp-get-remote-python): New defuns.
3001 (tramp-get-remote-uid-with-perl)
3002 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3003 contributed by yary <not.com@gmail.com> (tiny change).
3004 (tramp-get-remote-uid-with-python)
3005 (tramp-get-remote-gid-with-python): New defuns. Python code
3006 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3007 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3009 2013-09-19 Glenn Morris <rgm@gnu.org>
3011 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3013 * eshell/em-unix.el (eshell-remove-entries):
3014 Rename argument to avoid name-clash with global `top-level'.
3016 * eshell/esh-proc.el (eshell-kill-process-function):
3017 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3018 (eshell-reset-after-proc): Remove unused arg `proc'.
3020 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3021 (directory-files-and-attributes): Mark unused arg.
3023 * eshell/em-unix.el (eshell-remove-entries):
3024 Remove unused arg `path'. Update callers.
3026 * eshell/em-hist.el (eshell-hist-parse-arguments):
3027 Remove unused arg `silent'. Update callers.
3029 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3030 Fix (f)boundp mix-up.
3032 * eshell/em-smart.el (eshell-smart-scroll-window)
3033 (eshell-disable-after-change):
3034 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3036 2013-09-18 Alan Mackenzie <acm@muc.de>
3038 Fix fontification of type when followed by "const".
3039 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3040 "known" types from fontification.
3042 2013-09-18 Glenn Morris <rgm@gnu.org>
3044 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3045 (chart-face-list): Drop Emacsen without display-color-p.
3047 * net/eww.el (libxml-parse-html-region): Declare.
3048 (eww-display-html): Explicit error if no libxml2 support.
3050 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3052 * image.el (image-type-from-buffer, image-multi-frame-p):
3053 Remove --without-x warning/error.
3055 * mouse.el (mouse-yank-primary):
3056 * term.el (term-mouse-paste):
3057 Reorder to silence --without-x compilation.
3059 * mpc.el (doc-view-mode): Silence --without-x compilation.
3061 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3062 Silence --without-x compilation.
3064 * progmodes/gud.el (gud-find-file, gud-mode):
3065 Silence --without-x compilation.
3066 (tooltip-mode): Declare.
3068 * wdired.el (dired-backup-overwrite): Remove declaration.
3069 (wdired-mode-map): Add doc string.
3071 * custom.el (x-get-resource): Declare.
3073 * eshell/em-glob.el (ange-cache):
3074 * eshell/em-unix.el (ange-cache): Declare.
3076 * faces.el (x-display-list, x-open-connection, x-get-resource):
3079 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3080 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3083 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3085 * net/gnutls.el (gnutls-log-level): Declare.
3087 * net/shr.el (image-size, image-animate): Declare.
3089 * simple.el (font-info): Declare.
3091 * subr.el (x-popup-dialog): Declare.
3093 * term/common-win.el (x-select-enable-primary)
3094 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3097 * term/ns-win.el (x-handle-args): Declare.
3099 * term/x-win.el (x-select-enable-clipboard): Declare.
3101 * term/w32-win.el (create-default-fontset): Declare.
3103 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3106 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3107 (fit-frame-to-buffer): Explicit error if --without-x.
3108 (mouse-autoselect-window-select): Silence compiler.
3110 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3112 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3113 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3114 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3115 * eshell/esh-util.el (eshell-sublist):
3116 Remove unused local variables.
3118 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3120 * textmodes/two-column.el: Make 2C-split work for --without-x.
3121 (scroll-bar-columns): Autoload.
3122 (top-level): Require fringe when compiling.
3124 2013-09-18 Leo Liu <sdl.web@gmail.com>
3126 * subr.el (add-hook): Robustify to handle closure as well.
3128 2013-09-17 Glenn Morris <rgm@gnu.org>
3130 * simple.el (messages-buffer-mode-map): Unbind "g".
3132 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3134 * help-mode.el (help-mode-finish): Use derived-mode-p.
3135 Remove obsolete highlighting.
3137 * play/life.el (life-mode): Use define-derived-mode. Derive from
3139 (life): Let-bind inhibit-read-only.
3140 (life-setup): Avoid `setq'. Use `life-mode'.
3142 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3143 which should not be needed any more.
3144 (package-menu-refresh, package-menu-describe-package): Use user-error.
3146 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3147 (eshell-post-rewrite-command-hook): Make obsolete.
3148 (eshell-parse-command): Simplify.
3149 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3150 (eshell--cmd): Declare.
3151 (eshell-parse-pipeline): Remove unused var `final-p'.
3152 Pass a dynvar to eshell-post-rewrite-command-hook.
3153 Implement the new eshell-post-rewrite-command-function.
3154 (eshell-invoke-directly): Remove unused arg `input'.
3155 * eshell/esh-io.el (eshell-io-initialize):
3156 Use eshell-post-rewrite-command-function (bug#15399).
3157 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3158 adjust to new calling convention.
3159 (eshell-create-handles): Rename args to avoid clashing with dynvar
3162 2013-09-17 Glenn Morris <rgm@gnu.org>
3164 * simple.el (messages-buffer-mode): New major mode.
3165 (messages-buffer): New function.
3166 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3167 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3168 (ert-run-test): Use `messages-buffer' function.
3169 (ert--force-message-log-buffer-truncation): Ignore read-only.
3170 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3171 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3173 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3175 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3177 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3179 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3181 * icomplete.el (icomplete-in-buffer): New var.
3182 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3183 vars and replace them with functions.
3184 (icomplete-minibuffer-setup): Adjust accordingly.
3185 (icomplete--completion-table, icomplete--completion-predicate)
3186 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3188 (icomplete-forward-completions, icomplete-backward-completions)
3189 (icomplete-simple-completing-p, icomplete-exhibit)
3190 (icomplete-completions): Use them.
3191 (icomplete--in-region-buffer): New var.
3192 (icomplete--in-region-setup): New function.
3193 (icomplete-mode): Use it.
3195 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3197 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3198 return args and options.
3199 (eshell-eval-using-options): Use the new return value of
3200 eshell--do-opts to set the options's vars in their scope.
3201 (eshell--set-option): Rename from eshell-set-option.
3203 (eshell--process-option): Rename from eshell-process-option.
3205 (eshell--process-args): Use an `opt-vals' alist to store the options's
3206 values during their processing and return them additionally to the
3209 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3211 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3212 continuation character an operator, as far as indentation is
3213 concerned (Bug#15369).
3215 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3217 * window.el (window--state-put-2): Don't process buffer state
3218 when buffer doesn't exist any more (Bug#15382).
3220 2013-09-15 Glenn Morris <rgm@gnu.org>
3222 * eshell/em-unix.el (eshell/rm):
3223 Make -f ignore missing files. (Bug#15373)
3225 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3226 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3227 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3229 2013-09-14 Glenn Morris <rgm@gnu.org>
3231 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3233 2013-09-13 Glenn Morris <rgm@gnu.org>
3235 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3236 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3238 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3240 * frame.el (x-focus-frame): Mark as declared in frame.c.
3242 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3244 * ls-lisp.el: Use advice-add.
3245 (original-insert-directory): Remove.
3246 (ls-lisp--insert-directory): Rename from insert-directory; add
3247 `orig-fun' argument.
3248 (insert-directory): Advise.
3250 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3252 * term.el (term-emulate-terminal): Decode the command string
3253 before passing it to term-command-hook. (Bug#15337)
3255 2013-09-13 Glenn Morris <rgm@gnu.org>
3257 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3259 * eshell/esh-ext.el (eshell-search-path): Declare.
3261 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3262 Otherwise an error occurs if eshell-dirs module not loaded.
3264 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3266 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3268 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3269 `tramp-check-proper-host'. Check for a valid method name.
3271 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3272 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3273 * net/tramp-sh.el (tramp-maybe-open-connection):
3274 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3276 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3277 also for hash values.
3279 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3281 * term/ns-win.el (parameters): Don't declare as dynamic.
3282 (before-make-frame-hook): Don't add ineffective function.
3284 * eshell/*.el: Use lexical-binding (bug#15231).
3286 2013-09-12 Kenichi Handa <handa@gnu.org>
3288 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3290 2013-09-12 Glenn Morris <rgm@gnu.org>
3292 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3293 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3295 * subr.el (do-after-load-evaluation): Also give compiler warnings
3296 when obsolete files are used (except by obsolete files).
3298 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3299 in the status output, assume `filename' is the first. (Bug#15322)
3301 * vc/vc.el (vc-deduce-fileset): Doc fix.
3303 * calc/calc-help.el (Info-goto-node):
3304 * progmodes/cperl-mode.el (Info-find-node):
3305 * vc/ediff.el (Info-goto-node): Update declarations.
3307 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3309 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3310 (vc-bzr-pull): Require vc-dispatcher.
3311 * vc/vc-git.el (vc-compilation-mode): Declare.
3312 (vc-git-pull): Require vc-dispatcher.
3314 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3316 * progmodes/octave.el (help-button-action): Declare.
3318 * shell.el (shell-directory-tracker): Output error as a message
3319 rather than just returning it as a string.
3320 (shell-process-pushd): Remove useless use of message.
3322 * dframe.el (dframe-timer-fn):
3323 * files.el (dir-locals-read-from-file):
3324 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3326 * reveal.el (reveal-post-command):
3327 * saveplace.el (load-save-place-alist-from-file):
3328 * shell.el (shell-resync-dirs):
3329 * w32-common-fns.el (x-get-selection-value):
3330 * emacs-lisp/copyright.el (copyright-find-copyright):
3331 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3332 * emulation/tpu-edt.el (tpu-copy-keyfile):
3333 * play/bubbles.el (bubbles--mark-neighbourhood):
3334 * progmodes/executable.el
3335 (executable-make-buffer-file-executable-if-script-p):
3336 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3338 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3340 Cleanup Eshell to rely less on dynamic scoping.
3341 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3342 last-value, and ext-command here. Bind `args' closer to `body'.
3343 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3344 (eshell--args): Declare new dynamic var.
3345 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3346 last-value, and ext-command. Pass `args' to `body'.
3347 (eshell-process-args): Bind eshell--args.
3348 (eshell-set-option): Use eshell--args.
3349 * eshell/eshell.el (eshell): Use derived-mode-p.
3350 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3351 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3352 (eshell-glob-function): Declare.
3353 * eshell/esh-util.el: Require cl-lib.
3354 (eshell-read-hosts-file): Avoid add-to-list.
3355 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3357 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3359 (eshell/diff): Remove unused var `err'.
3360 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3362 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3363 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3365 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3366 Move declaration before first use.
3367 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3368 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3371 2013-09-12 Glenn Morris <rgm@gnu.org>
3373 * term/ns-win.el (global-map): Remove binding for ispell-next,
3374 deleted 1999-05-29. (Bug#15357)
3376 2013-09-11 Glenn Morris <rgm@gnu.org>
3378 * echistory.el (electric-command-history): Remove call to deleted func.
3380 * play/landmark.el (landmark-mode): Fix typos.
3382 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3383 Check cvs-sort-ignore-file is bound.
3385 * savehist.el: No need for cl when compiling on Emacs.
3387 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3389 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3391 (eshell-self-insert-command, eshell-send-invisible):
3392 Remove unused argument.
3393 (eshell-handle-control-codes): Remove unused var `orig'.
3394 Avoid delete-backward-char.
3396 * files.el (set-auto-mode): Simplify a bit further.
3398 2013-09-11 Glenn Morris <rgm@gnu.org>
3400 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3401 (set-auto-mode): Don't regexp-quote elements.
3402 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3403 * progmodes/cc-mode.el (interpreter-mode-alist):
3404 * progmodes/ruby-mode.el (interpreter-mode-alist):
3405 Revert previous change.
3407 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3409 * play/snake.el (snake-mode):
3410 * play/mpuz.el (mpuz-mode):
3411 * play/landmark.el (lm-mode):
3412 * play/blackbox.el (blackbox-mode):
3413 * play/5x5.el (5x5-mode):
3414 * obsolete/options.el (Edit-options-mode):
3415 * net/quickurl.el (quickurl-list-mode):
3416 * net/newst-treeview.el (newsticker-treeview-mode):
3417 * mail/rmailsum.el (rmail-summary-mode):
3418 * mail/mspools.el (mspools-mode):
3419 * locate.el (locate-mode):
3420 * ibuffer.el (ibuffer-mode):
3421 * emulation/ws-mode.el (wordstar-mode):
3422 * emacs-lisp/debug.el (debugger-mode):
3423 * array.el (array-mode):
3424 * net/eudc.el (eudc-mode): Use define-derived-mode.
3425 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3426 Move initialization into declaration.
3427 (mairix-searches-mode): Use define-derived-mode.
3428 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3429 (eudc-edit-hotlist): Use dolist.
3430 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3431 (Man-mode): Use define-derived-mode.
3432 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3433 (Info-edit-mode): Use define-derived-mode.
3434 (Info-cease-edit): Use Info-mode.
3435 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3437 (eshell-mode): Use define-derived-mode.
3438 * chistory.el (command-history-mode-map): Rename from
3439 command-history-map.
3440 (command-history-mode): Use define-derived-mode.
3441 (Command-history-setup): Remove function.
3442 * calc/calc.el (calc-trail-mode-map): New var.
3443 (calc-trail-mode): Use define-derived-mode.
3444 (calc-trail-buffer): Set calc-main-buffer manually.
3445 * bookmark.el (bookmark-insert-annotation): New function.
3446 (bookmark-edit-annotation): Use it.
3447 (bookmark-edit-annotation-mode): Make it a proper major mode.
3448 (bookmark-send-edited-annotation): Use derived-mode-p.
3449 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3450 closer to its ideal place. Use \' to match EOS.
3452 * profiler.el (profiler-calltree-find): Use function-equal.
3454 2013-09-10 Glenn Morris <rgm@gnu.org>
3456 * files.el (interpreter-mode-alist): Convert to regexps.
3457 (set-auto-mode): Adapt for this. (Bug#15306)
3458 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3459 Comment out unused variable.
3460 * progmodes/cc-mode.el (interpreter-mode-alist):
3461 * progmodes/python.el (interpreter-mode-alist):
3462 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3463 * progmodes/sh-script.el (sh-set-shell):
3464 No longer use interpreter-mode-alist to get list of shells.
3466 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3468 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3470 * simple.el: Use set-temporary-overlay-map for universal-argument.
3471 (universal-argument-map): Don't use default-bindings (bug#15317).
3472 Bind switch-frame explicitly. Replace universal-argument-minus with
3473 a conditional binding.
3474 (universal-argument-num-events, saved-overriding-map): Remove.
3475 (restore-overriding-map): Remove.
3476 (universal-argument--mode): Rename from save&set-overriding-map,
3478 (universal-argument, universal-argument-more, negative-argument)
3479 (digit-argument): Adjust accordingly.
3480 (universal-argument-minus): Remove.
3481 (universal-argument-other-key): Remove.
3483 * subr.el (with-demoted-errors): Add `format' argument.
3485 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3487 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3488 `tramp-cleanup-connection'.
3490 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3491 parameters KEEP-DEBUG and KEEP-PASSWORD.
3493 * net/tramp.el (tramp-file-name-handler):
3494 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3495 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3496 (tramp-maybe-open-connection):
3497 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3498 Use `tramp-cleanup-connection'.
3500 * net/tramp-sh.el (tramp-maybe-open-connection):
3501 Catch 'uname-changed inside the progress reporter.
3503 2013-09-10 Glenn Morris <rgm@gnu.org>
3505 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3507 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3508 returns "alternate access method" in mode (eg "-rw-r--r--.").
3510 2013-09-08 Glenn Morris <rgm@gnu.org>
3512 * saveplace.el (load-save-place-alist-from-file):
3513 Demote errors. (Bug#15305)
3515 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3517 Improve compatibility with older Emacsen, and XEmacs.
3519 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3520 only if it is bound. It isn't for XEmacs.
3521 (with-tramp-progress-reporter): Do not let-bind `result'.
3522 This yields to scoping errors in XEmacs.
3523 (tramp-handle-make-auto-save-file-name): New function, moved from
3526 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3527 for `make-auto-save-file-name'.
3528 (tramp-adb--gnu-switches-to-ash):
3529 Use `tramp-compat-replace-regexp-in-string'.
3531 * net/tramp-cache.el (tramp-cache-print): Call
3532 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3534 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3535 bound. It isn't for XEmacs.
3537 * net/tramp-compat.el (tramp-compat-copy-file):
3538 Catch `wrong-number-of-arguments' error.
3539 (tramp-compat-replace-regexp-in-string): New defun.
3541 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3542 for `make-auto-save-file-name'.
3543 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3545 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3546 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3547 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3549 * net/tramp-gw.el (tramp-gw-open-network-stream):
3550 Use `tramp-compat-replace-regexp-in-string'.
3552 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3553 Call `tramp-handle-make-auto-save-file-name'.
3554 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3555 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3556 (tramp-sh-file-inotifywait-process-filter):
3557 Use `tramp-compat-replace-regexp-in-string'.
3558 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3560 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3561 for `make-auto-save-file-name'.
3562 (tramp-smb-handle-copy-directory):
3563 Call `tramp-compat-replace-regexp-in-string'.
3564 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3565 (tramp-smb-handle-copy-file): Improve error message.
3566 (tramp-smb-handle-rename-file): Rename directly only in case
3567 `newname' does not exist yet. This is a restriction of smbclient.
3568 (tramp-smb-maybe-open-connection): Rerun the function only when
3569 `auth-sources' is non-nil.
3571 2013-09-08 Kenichi Handa <handa@gnu.org>
3573 * international/characters.el: Set category "^" (Combining) for
3576 2013-09-07 Alan Mackenzie <acm@muc.de>
3578 Correctly fontify Java class constructors.
3579 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3581 (c-recognize-typeless-decls): Set the Java value to t.
3582 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3583 While handling a "(", add a check for, effectively, Java, and handle a
3584 "typeless" declaration there.
3586 2013-09-07 Roland Winkler <winkler@gnu.org>
3588 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3589 field subtitle for entry type book.
3591 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3593 * minibuffer.el: Make minibuffer-complete call completion-in-region
3594 rather than other way around.
3595 (completion--some, completion-pcm--find-all-completions):
3596 Don't delay signals when debugging.
3597 (minibuffer-completion-contents): Beware fields within the
3598 minibuffer contents.
3599 (completion-all-sorted-completions): Use defvar-local.
3600 (completion--do-completion, completion--cache-all-sorted-completions)
3601 (completion-all-sorted-completions, minibuffer-force-complete):
3602 Add args `beg' and `end'.
3603 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3604 (minibuffer-complete): Use completion-in-region.
3605 (completion-complete-and-exit): New fun, extracted from
3606 minibuffer-complete-and-exit.
3607 (minibuffer-complete-and-exit): Use it.
3608 (completion--complete-and-exit): Rename from
3609 minibuffer--complete-and-exit.
3610 (completion-in-region--single-word): New function, extracted from
3611 minibuffer-complete-word.
3612 (minibuffer-complete-word): Use it.
3613 (display-completion-list): Make `common-substring' argument obsolete.
3614 (completion--in-region): Call completion--in-region-1 instead of
3615 minibuffer-complete.
3616 (completion-help-at-point): Pass boundaries to
3617 minibuffer-completion-help as args rather than via an overlay.
3618 (completion-pcm--string->pattern): Use `any-delim'.
3619 (completion-pcm--optimize-pattern): New function.
3620 (completion-pcm--pattern->regex): Handle `any-delim'.
3621 * icomplete.el (icomplete-forward-completions)
3622 (icomplete-backward-completions, icomplete-completions):
3623 Adjust calls to completion-all-sorted-completions and
3624 completion--cache-all-sorted-completions.
3625 (icomplete-with-completion-tables): Default to t.
3626 * emacs-lisp/crm.el (crm--current-element): Rename from
3627 crm--select-current-element. Don't put an overlay but return the
3629 (crm--completion-command): Take two new args to bind to the boundaries.
3630 (crm-completion-help): Adjust accordingly.
3631 (crm-complete): Use completion-in-region.
3632 (crm-complete-word): Use completion-in-region--single-word.
3633 (crm-complete-and-exit): Use completion-complete-and-exit.
3635 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3637 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3640 2013-09-06 Juri Linkov <juri@jurta.org>
3642 * info.el (Info-display-images-node): When image file doesn't exist
3643 display text version of the image if it's provided in the Info file.
3644 Otherwise, display the location of missing image from SRC attribute.
3645 Add help-echo text property from ALT attribute. (Bug#15279)
3647 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3649 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3650 (edit-abbrevs-mode): Use define-derived-mode.
3652 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3653 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3655 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3656 Use define-derived-mode.
3658 * epg.el (epg-start-encrypt): Minor CSE simplification.
3660 2013-09-06 William Xu <william.xwl@gmail.com>
3662 * arc-mode.el: Add support for 7za (bug#15264).
3663 (archive-7z-program): New var.
3664 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3665 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3666 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3668 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3672 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3673 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3674 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3675 (tramp-postfix-host-format, tramp-file-name-regexp)
3676 (tramp-completion-file-name-regexp)
3677 (tramp-completion-dissect-file-name)
3678 (tramp-handle-substitute-in-file-name): Remove 'url case.
3679 (tramp-file-name-regexp-url)
3680 (tramp-completion-file-name-regexp-url): Remove constants.
3682 2013-09-06 Glenn Morris <rgm@gnu.org>
3684 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3686 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3688 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3689 keywords" below "here-doc beginnings" (Bug#15270).
3691 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3693 * subr.el (pop): Use `car-safe'.
3694 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3695 to detect unused `pop' return value.
3697 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3699 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3700 (python-fill-string): Remove unused var `marker'.
3701 (python-skeleton-add-menu-items): Remove unused var `items'.
3703 * international/mule-cmds.el: Require CL.
3704 (find-coding-systems-for-charsets): Avoid add-to-list.
3705 (sanitize-coding-system-list): New function, extracted from
3706 select-safe-coding-system-interactively.
3707 (select-safe-coding-system-interactively): Use it.
3708 (read-input-method-name): Accept symbols for `default'.
3710 * emacs-lisp/advice.el (defadvice): Add indent rule.
3712 2013-09-05 Daniel Hackney <dan@haxney.org>
3716 * net/browse-url.el:
3719 * net/eudcb-ldap.el:
3732 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3733 byte compiler. Remove some unused let-bound variables.
3735 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3737 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3738 a "ref-cell", since it gets better optimized (bug#14883).
3740 2013-09-05 Glenn Morris <rgm@gnu.org>
3742 * progmodes/cc-awk.el (c-forward-sws): Declare.
3744 2013-09-04 Glenn Morris <rgm@gnu.org>
3746 * generic-x.el [rul-generic-mode]: Require cc-mode.
3747 (c++-mode-syntax-table): Declare.
3748 (rul-generic-mode-syntax-table): Init in the defvar.
3750 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3752 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3753 (vc-do-command, vc-set-async-update):
3754 * vc/vc-mtn.el (vc-mtn-dir-status):
3755 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3756 (vc-hg-pull, vc-hg-merge-branch):
3757 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3758 (vc-git-merge-branch):
3759 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3760 (vc-cvs-dir-status-files):
3761 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3762 (vc-bzr-dir-status-files):
3763 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3764 * vc/vc-annotate.el: Use lexical-binding.
3765 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3766 (vc-sentinel-movepoint): Declare.
3767 (vc-annotate): Don't use `goto-line'.
3768 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3769 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3770 (vc-sentinel-movepoint): Declare.
3771 * vc/vc-svn.el: Use lexical-binding.
3772 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3774 * vc/vc-rcs.el: Use lexical-binding.
3776 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3777 `deleted'. Don't drop errors silently.
3779 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3781 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3783 * vc/vc.el (vc-ignore): Rewrite.
3784 (vc-default-ignore): New function.
3785 (vc-default-ignore-completion-table): Use find-ignore-file.
3787 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3788 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3789 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3790 Remove. Most code moved to vc.el.
3792 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3794 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3795 * net/tramp-smb.el (tramp-smb-get-file-entries):
3796 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3797 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3799 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3801 (eww-change-select): Remove unused var `properties'.
3802 (eww-make-unique-file-name): Remove unused var `base'.
3804 * finder.el (finder-compile-keywords): Don't mess with windows.
3806 * calculator.el (calculator-funcall): Fix typo in last change.
3808 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3810 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3811 <pkg>-autoloads.el file stop us.
3813 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3814 warnings, and factor out common code.
3816 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3818 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3819 two-character operators and whether the character preceding them
3820 changes their meaning (Bug#15208).
3822 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3824 Format code sent to Python shell for robustness.
3825 * progmodes/python.el (python-shell-buffer-substring):
3827 (python-shell-send-region, python-shell-send-buffer): Use it.
3829 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3831 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3832 * net/tramp.el (tramp-user-error): ... here.
3833 (tramp-find-method, tramp-check-proper-host)
3834 (tramp-dissect-file-name, tramp-debug-message)
3835 (tramp-handle-shell-command):
3836 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3837 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3839 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3841 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3843 * avoid.el (mouse-avoidance-point-position)
3844 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3847 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3849 * progmodes/python.el (python-shell-completion-get-completions):
3850 Drop use of deleted `comint-last-prompt-overlay'.
3851 (python-nav-if-name-main): New command.
3853 2013-09-01 Glenn Morris <rgm@gnu.org>
3855 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3856 Avoid leading space in $wins. Otherwise the sed command used by
3857 eg compile-main ends up containing "/*.el". (Bug#15170)
3859 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3861 2013-08-30 Glenn Morris <rgm@gnu.org>
3863 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3864 Fix is-this-a-directory logic. (Bug#15220)
3866 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3868 * textmodes/css-mode.el: Use SMIE.
3869 (css-smie-grammar): New var.
3870 (css-smie--forward-token, css-smie--backward-token)
3871 (css-smie-rules): New functions.
3872 (css-mode): Use them.
3873 (css-navigation-syntax-table): Remove var.
3874 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3875 (css-indent-calculate, css-indent-line): Remove functions.
3877 Misc changes to reduce use of `(lambda...); and other cleanups.
3878 * cus-edit.el: Use lexical-binding.
3879 (customize-push-and-save, customize-apropos)
3880 (custom-buffer-create-internal): Use closures.
3881 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3882 * progmodes/ada-xref.el: Use setq.
3883 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3884 * dframe.el: Use lexical-binding.
3885 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3886 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3887 * descr-text.el: Use lexical-binding.
3888 (describe-text-widget, describe-text-sexp, describe-property-list):
3890 * comint.el (comint-history-isearch-push-state): Use a closure.
3891 * calculator.el: Use lexical-binding.
3892 (calculator-number-to-string): Make it work with lexical-binding.
3893 (calculator-funcall): Same and use cl-letf.
3895 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3896 (lisp--company-doc-string, lisp--company-location): New functions.
3897 (lisp-completion-at-point): Use them to improve Company support.
3899 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3900 params of lambda expressions.
3901 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3902 (ruby-smie--opening-pipe-p): New function.
3903 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3904 symbols and matched |...| for formal params.
3905 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3906 from being treated as hanging. Handle "rescue".
3908 2013-08-29 Glenn Morris <rgm@gnu.org>
3910 * progmodes/cc-engine.el (c-pull-open-brace):
3911 Move definition before use.
3913 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3915 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3916 are immutable. Don't use `unsafe' any more.
3917 (cl--defsubst-expand): Don't substitute at the same time as keeping
3918 a residual unused let-binding. Don't use `unsafe' any more.
3920 2013-08-29 Glenn Morris <rgm@gnu.org>
3922 * calendar/cal-china.el (calendar-chinese-year-cache):
3925 * nxml/nxml-util.el (nxml-debug-clear-inside):
3926 Use cl-loop rather than loop.
3928 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3930 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3932 2013-08-28 Glenn Morris <rgm@gnu.org>
3934 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3936 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3938 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3940 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3942 * simple.el (repeat-complex-command--called-interactively-skip):
3944 (repeat-complex-command): Use it (bug#14136).
3946 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3947 (c-define-abbrev-table): Add `doc' argument.
3948 (c-mode-abbrev-table, c++-mode-abbrev-table)
3949 (objc-mode-abbrev-table, java-mode-abbrev-table)
3950 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3951 (awk-mode-abbrev-table): Use it.
3952 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3953 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3954 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3955 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3956 Move initialization into the declaration; and remove any
3959 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3960 and dynamic let binding.
3962 * vc/smerge-mode.el: Remove redundant :group args.
3964 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3967 2013-08-28 Juri Linkov <juri@jurta.org>
3969 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3970 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3971 (isearch-other-meta-char): Handle an undefined shifted printing
3972 character by downshifting it. (Bug#15200)
3974 2013-08-28 Juri Linkov <juri@jurta.org>
3976 * isearch.el (isearch-search): Change regexp error message for
3977 non-regexp searches. (Bug#15166)
3979 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3981 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3982 for portability to hosts where /bin/sh has problems.
3984 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3986 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3988 2013-08-27 Juri Linkov <juri@jurta.org>
3990 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3991 in the keyboard macro. (Bug#15126)
3993 2013-08-27 Juri Linkov <juri@jurta.org>
3995 * isearch.el (isearch-quote-char): Comment out converting unibyte
3996 to multibyte, thus syncing with its `quoted-insert' counterpart.
3999 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4001 * window.el (display-buffer-use-some-window): Add missing
4002 argument in call of get-largest-window (Bug#15185).
4003 Reported by Stephen Leake.
4005 2013-08-27 Glenn Morris <rgm@gnu.org>
4007 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4009 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4011 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4012 from a matcher-function unless there's no more matches (bug#15161).
4014 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4016 * minibuffer.el: Revert change from 2013-08-20.
4018 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4019 with text property `tramp-default', if appropriate.
4020 (tramp-check-proper-host): New defun.
4021 (tramp-dissect-file-name): Do not check hostname. Revert change
4023 (tramp-backtrace): Make VEC-OR-PROC optional.
4025 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4026 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4027 * net/tramp-sh.el (tramp-maybe-open-connection):
4028 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4029 Apply `tramp-check-proper-host'.
4031 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4033 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4034 lambda expression in order to have `describe-variable' display it.
4036 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4038 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4039 BUF can be optional. (Bug#15186)
4041 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4043 * progmodes/flymake.el (flymake-get-real-file-name-function):
4044 Fix broken customization. (Bug#15184)
4046 2013-08-25 Alan Mackenzie <acm@muc.de>
4048 Improve indentation of bracelists defined by macros (without "=").
4050 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4051 expansion begins with "{", regard it as bracelist when it doesn't
4054 Parse C++ inher-intro when there's a template split over 2 lines.
4056 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4057 rigorously the search for "class" etc. followed by ":".
4059 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4060 random languages a regexp which never matches rather than nil.
4062 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4064 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4065 (c-awk-regexp-one-line-possibly-open-char-list-re)
4066 (c-awk-one-line-possibly-open-regexp-re)
4067 (c-awk-one-line-non-syn-ws*-re): Remove.
4068 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4069 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4070 (c-awk-space*-unclosed-regexp-/-re): New constants.
4071 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4072 aren't regexp delimiters.
4074 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4075 handling for a rare situation in AWK Mode involving unterminated
4078 2013-08-23 Glenn Morris <rgm@gnu.org>
4080 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4082 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4084 * files.el (create-file-buffer): If the result would begin with
4085 spaces, prepend a "|" instead of removing them. (Bug#15162)
4087 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4089 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4090 text-properties (bug#15155).
4092 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4094 (calc-keypad-redraw): Remove unused var `pad'.
4095 (calc-keypad-press): Remove unused var `menu'.
4097 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4099 * window.el (display-buffer-pop-up-frame):
4100 Call pop-up-frame-function with BUFFER current so `make-frame' will
4101 use it as the new frame's buffer (Bug#15133).
4103 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4105 * calendar/timeclock.el: Minor cleanups.
4106 (timeclock-ask-before-exiting, timeclock-use-display-time):
4108 (timeclock-modeline-display): Define as alias before the
4110 (timeclock-mode-line-display): Use define-minor-mode.
4111 (timeclock-day-list-template): Make it a function, add an argument.
4112 (timeclock-day-list-required, timeclock-day-list-length)
4113 (timeclock-day-list-debt, timeclock-day-list-span)
4114 (timeclock-day-list-break): Adjust calls accordingly.
4116 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4118 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4119 Use read--expression so that completion works again.
4121 2013-08-21 Sam Steingold <sds@gnu.org>
4123 Add rudimentary inferior shell interaction
4124 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4125 (sh-set-shell): Reset it.
4126 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4127 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4129 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4131 * align.el: Use lexical-binding.
4132 (align-region): Simplify accordingly.
4134 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4136 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4138 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4141 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4145 * net/tramp-cmds.el:
4147 * net/tramp-gvfs.el:
4149 * net/tramp-sh.el: Don't wrap external variable declarations by
4150 `eval-when-compile'.
4152 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4154 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4155 now that Emacs supports ImageMagick animations.
4157 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4159 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4160 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4162 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4164 * window.el (mouse-autoselect-window-select): Do autoselect when
4165 mouse pointer is on margin.
4167 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4169 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4171 2013-08-16 Glenn Morris <rgm@gnu.org>
4173 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4174 Handle "Remote Directory" response of some clients. (Bug#15058)
4176 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4177 Tweak warning. (Bug#14926)
4179 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4180 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4182 * image-mode.el (image-mode-map): Add menu items to reverse,
4183 increase, decrease, reset animation speed.
4184 (image--set-speed, image-increase-speed, image-decrease-speed)
4185 (image-reverse-speed, image-reset-speed): New functions.
4186 (image-mode-map): Add bindings for speed commands.
4188 * image.el (image-animate-get-speed, image-animate-set-speed):
4190 (image-animate-timeout): Respect image :speed property.
4192 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4194 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4195 previous line (bug#15101).
4196 (debugger-eval-expression, debugger-record-expression):
4197 Use read--expression (bug#15102).
4199 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4201 Remove byte compiler warnings, visible when compiling with
4202 `byte-compile-force-lexical-warnings' set to t.
4204 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4205 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4206 (tramp-handle-unhandled-file-name-directory)
4207 (tramp-handle-file-notify-add-watch, tramp-action-login)
4208 (tramp-action-succeed, tramp-action-permission-denied)
4209 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4212 * net/tramp-adb.el (tramp-adb-parse-device-names)
4213 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4214 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4215 (tramp-adb-handle-file-truename): Remove unused arguments.
4217 * net/tramp-cache.el (tramp-flush-directory-property)
4218 (tramp-flush-connection-property, tramp-list-connections)
4219 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4221 * net/tramp-compat.el (tramp-compat-make-temp-file):
4222 Rename FILENAME to F.
4224 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4225 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4226 (tramp-zeroconf-parse-workstation-device-names)
4227 (tramp-zeroconf-parse-webdav-device-names)
4228 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4230 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4231 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4233 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4235 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4236 (tramp-sh-handle-insert-file-contents-literally)
4237 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4239 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4240 Remove unused variables.
4242 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4243 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4244 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4246 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4247 Make them a defconst.
4248 (tramp-uuencode-region): Remove unused variable.
4250 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4252 * frameset.el (frameset--prop-setter): New function.
4253 (frameset-prop): Add gv-setter declaration.
4254 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4255 parameter was already set in FILTERED. Doc fix.
4256 (frameset--record-minibuffer-relationships): Allow saving a
4257 minibufferless frame without its corresponding minibuffer frame.
4258 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4259 frame, if the frame id matches.
4260 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4261 frames before orphaned ones.
4262 (frameset-restore): Warn about orphaned windows, instead of error out.
4264 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4266 * window.el (window-make-atom): Don't overwrite parameter
4268 (display-buffer-in-atom-window): Handle special case where we
4269 split an already atomic window.
4270 (window--major-non-side-window, display-buffer-in-side-window)
4271 (window--side-check): Ignore minibuffer window when walking
4273 (window-deletable-p): Return 'frame only if no other frame uses
4274 our minibuffer window.
4275 (record-window-buffer): Run buffer-list-update-hook.
4276 (split-window): Make sure window--check-frame won't destroy an
4277 existing atomic window in case the new window gets nested
4279 (display-buffer-at-bottom): Ignore minibuffer window when
4280 walking window tree. Don't split a side window.
4281 (pop-to-buffer): Don't set-buffer here, the select-window call
4283 (mouse-autoselect-window-select): Autoselect only if we are in the
4284 text portion of the window.
4286 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4288 * net/shr.el (shr-parse-image-data): New function to grab both the
4289 data itself and the Content-Type.
4290 (shr-put-image): Use it.
4292 * net/eww.el (eww-display-image): Ditto.
4294 * image.el (image-content-type-suffixes): New variable.
4296 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4298 * progmodes/python.el (python-imenu--build-tree)
4299 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4301 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4303 * simple.el (backward-word): Mention the optional argument.
4305 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4307 * frameset.el (frameset--make): Rename constructor from make-frameset.
4308 (frameset-p, frameset-valid-p): Don't autoload.
4309 (frameset-valid-p): Use normal accessors.
4311 2013-08-13 Glenn Morris <rgm@gnu.org>
4313 * progmodes/compile.el (compile-command): Tweak example in doc.
4314 * obsolete/scribe.el (scribe-mode):
4315 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4317 * mail/feedmail.el (feedmail-confirm-outgoing)
4318 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4320 * cus-start.el (truncate-partial-width-windows): Fix type.
4322 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4324 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4326 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4328 * emacs-lisp/timer.el (timer--time-setter): New function.
4329 (timer--time): Use it as gv-setter.
4331 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4332 setter is not a symbol.
4334 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4336 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4337 if sending fails. This makes debugging easier.
4339 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4341 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4342 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4343 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4345 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4347 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4349 2013-08-12 Glenn Morris <rgm@gnu.org>
4351 * format.el (format-annotate-function):
4352 Handle read-only text properties in the source. (Bug#14887)
4354 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4356 * net/eww.el (eww-display-html): Ignore coding system errors.
4357 One web site uses "utf-8lias" as the coding system.
4359 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4361 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4363 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4365 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4366 (tutorial--detailed-help): Remove unused local variables.
4367 (tutorial--save-tutorial-to): Use ignore-errors.
4368 (help-with-tutorial): Use looking-at-p.
4370 * view.el (view-buffer-other-window, view-buffer-other-frame):
4371 Mark unused arguments.
4373 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4374 (woman-select-symbol-fonts, woman, woman-find-file)
4375 (woman-insert-file-contents, woman-non-underline-faces):
4377 (woman1-unquote): Move declaration.
4379 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4380 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4381 argument. Remove unused local variable.
4382 (xml-parse-elem-type): Use string-match-p.
4383 (xml-substitute-numeric-entities): Use ignore-errors.
4385 * calculator.el (calculator): Mark unused argument.
4386 (calculator-paste, calculator-quit, calculator-integer-p):
4388 (calculator-string-to-number, calculator-decimal, calculator-exp)
4389 (calculator-op-or-exp): Use string-match-p.
4391 * dired.el (dired-buffer-more-recently-used-p): Declare.
4392 (dired-insert-set-properties, dired-insert-old-subdirs):
4395 * dired-aux.el (dired-compress): Use ignore-errors.
4396 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4397 (dired-do-async-shell-command, dired-do-shell-command)
4398 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4399 (dired-insert-subdir-validate): Use string-match-p.
4400 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4401 (dired-add-entry): Use string-match-p, looking-at-p.
4402 (dired-insert-subdir-newpos): Remove unused local variable.
4404 * filenotify.el (file-notify-callback): Remove unused local variable.
4406 * filesets.el (filesets-error): Mark unused argument.
4407 (filesets-which-command-p, filesets-filter-dir-names)
4408 (filesets-directory-files, filesets-get-external-viewer)
4409 (filesets-ingroup-get-data): Use string-match-p.
4411 * find-file.el (ff-other-file-name, ff-other-file-name)
4412 (ff-find-the-other-file, ff-cc-hh-converter):
4413 Remove unused local variables.
4414 (ff-get-file-name): Use string-match-p.
4415 (ff-all-dirs-under): Use ignore-errors.
4417 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4418 (follow-select-if-visible): Remove unused local variable.
4420 * forms.el (read-file-filter): Move declaration.
4421 (forms--make-format, forms--make-parser, forms-insert-record):
4422 Quote function with #'.
4423 (forms--update): Use string-match-p. Quote function with #'.
4425 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4426 (help-make-xrefs): Use looking-at-p.
4427 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4429 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4430 (ibuffer-confirm-operation-on): Use string-match-p.
4432 * msb.el (msb-item-handler, msb-dired-item-handler):
4433 Mark unused arguments.
4435 * ses.el (ses-decode-cell-symbol)
4436 (ses-kill-override): Remove unused local variable.
4437 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4438 (ses-load): Use ignore-errors, looking-at-p.
4439 (ses-jump-safe): Use ignore-errors.
4440 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4442 * tabify.el (untabify, tabify): Mark unused arguments.
4444 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4445 Mark unused argument.
4446 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4447 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4449 * emacs-lisp/timer.el (timer--time): Define setter with
4450 gv-define-setter to avoid deprecation warning.
4452 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4453 (*record-cmpl-statistics-p*): Remove (was commented out).
4454 (cmpl-statistics-block): Remove (body was commented out).
4455 All callers changed.
4456 (add-completions-from-buffer, load-completions-from-file):
4457 Remove unused variables.
4459 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4461 * filecache.el (file-cache-delete-file-list):
4462 Print message only when told so.
4463 (file-cache-files-matching): Use #' in mapconcat argument.
4465 * ffap.el (ffap-url-at-point): Fix reference to variable
4466 thing-at-point-default-mail-uri-scheme.
4468 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4470 * subr.el (define-error): New function.
4471 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4472 error-file-not-found and define with define-error.
4473 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4474 and define with define-error.
4475 * userlock.el (file-locked, file-supersession):
4476 * simple.el (mark-inactive):
4477 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4478 * progmodes/ada-mode.el (ada-mode-errors):
4479 * play/life.el (life-extinct):
4480 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4481 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4482 * nxml/rng-util.el (rng-error):
4483 * nxml/rng-uri.el (rng-uri-error):
4484 * nxml/rng-match.el (rng-compile-error):
4485 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4486 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4487 * nxml/nxml-rap.el (nxml-scan-error):
4488 * nxml/nxml-outln.el (nxml-outline-error):
4489 * net/soap-client.el (soap-error):
4490 * net/gnutls.el (gnutls-error):
4491 * net/ange-ftp.el (ftp-error):
4492 * mpc.el (mpc-proc-error):
4493 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4494 (json-number-format, json-string-escape, json-string-format)
4495 (json-key-format, json-object-format):
4496 * jka-compr.el (compression-error):
4497 * international/quail.el (quail-error):
4498 * international/kkc.el (kkc-error):
4499 * emacs-lisp/ert.el (ert-test-failed):
4500 * calc/calc.el (calc-error, inexact-result, math-overflow)
4502 * bookmark.el (bookmark-error-no-filename):
4503 * epg.el (epg-error): Define with define-error.
4505 * time.el (display-time-event-handler)
4506 (display-time-next-load-average): Don't call sit-for since it seems
4507 unnecessary (bug#15045).
4509 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4510 Use #' instead of ' to quote functions.
4511 (checkdoc-output-mode): Use setq-local.
4512 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4513 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4514 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4515 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4516 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4517 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4518 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4519 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4521 * ido.el (ido-completion-help): Fix up compiler warning.
4523 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4525 * frameset.el (frameset-p): Add autoload cookie.
4526 (frameset--jump-to-register): New function, based on code moved from
4528 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4530 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4531 (frameset-restore, frameset-save, frameset-session-filter-alist):
4532 Remove declarations.
4533 (register-alist): Doc fix.
4534 (frameset-to-register): Move to frameset.el.
4535 (jump-to-register, describe-register-1): Remove frameset-specific code.
4537 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4539 * allout-widgets.el (allout-widgets-pre-command-business)
4540 (allout-widgets-post-command-business)
4541 (allout-widgets-after-change-handler)
4542 (allout-decorate-item-and-context, allout-set-boundary-marker)
4543 (allout-body-modification-handler)
4544 (allout-graphics-modification-handler): Mark ignored arguments.
4545 (allout-widgets-post-command-business)
4546 (allout-widgets-exposure-change-processor)
4547 (allout-widgets-exposure-undo-processor)
4548 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4549 (allout-parse-item-at-point, allout-decorate-item-guides)
4550 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4551 * allout.el (epa-passphrase-callback-function): Declare.
4552 (allout-overlay-insert-in-front-handler)
4553 (allout-overlay-interior-modification-handler)
4554 (allout-isearch-end-handler, allout-chart-siblings)
4555 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4556 (allout-yank-processing, allout-process-exposed)
4557 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4558 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4559 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4560 (lisp-indent-defform): Mark ignored arguments.
4561 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4562 (calculate-lisp-indent): Remove unused variables.
4563 * international/characters.el (indian-2-column, arabic-2-column)
4564 (tibetan): Mark ignored arguments.
4565 (use-cjk-char-width-table): Mark ignored arguments.
4566 Remove unused variables.
4567 * international/fontset.el (build-default-fontset-data)
4568 (x-compose-font-name, create-fontset-from-fontset-spec):
4569 Mark ignored arguments.
4570 (fontset-plain-name): Remove unused variables.
4571 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4572 (keyboard-coding-system): Mark ignored arguments.
4573 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4574 * help.el (resize-temp-buffer-window):
4575 * window.el (display-buffer-in-major-side-window)
4576 (display-buffer-in-side-window, display-buffer-in-previous-window):
4577 Remove unused variables.
4578 * isearch.el (isearch-forward-symbol):
4579 * version.el (emacs-bzr-version-bzr):
4580 * international/mule-cmds.el (current-language-environment):
4581 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4583 * term/pc-win.el (x-list-fonts, x-display-planes)
4584 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4585 (x-server-version, x-display-screens, x-display-mm-height)
4586 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4587 (x-selection-owner-p, x-own-selection-internal)
4588 (x-disown-selection-internal, x-get-selection-internal)
4589 (msdos-initialize-window-system):
4590 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4591 * term/x-win.el (x-handle-no-bitmap-icon):
4592 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4593 (vc-default-find-file-hook, vc-default-extra-menu):
4594 Mark ignored arguments.
4596 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4598 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4599 break-condition in the context of the debugged code (bug#12685).
4601 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4604 Do not use an overlay to highlight the last prompt. (Bug#14744)
4605 (comint-mode): Make comint-last-prompt buffer local.
4606 (comint-last-prompt): New variable.
4607 (comint-last-prompt-overlay): Remove. Superseded by
4609 (comint-snapshot-last-prompt, comint-output-filter):
4610 Use comint-last-prompt.
4612 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4614 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4615 (frameset-save): Check validity of the resulting frameset.
4617 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4619 * ido.el (ido-record-command): Add doc string.
4621 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4623 * frameset.el (frameset): Do not disable creation of the default
4624 frameset-p predicate. Doc fix.
4625 (frameset-valid-p): New function, copied from the old predicate-p.
4626 Add additional checks.
4627 (frameset-restore): Check with frameset-valid-p.
4628 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4629 (frameset-name, frameset-description, frameset-properties)
4630 (frameset-states): Add docstring.
4631 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4632 (frameset-filter-alist): Doc fixes.
4634 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4636 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4638 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4640 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4641 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4642 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4643 (byte-compile-normal-call): Remove obsolescence check.
4645 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4647 * frameset.el (frameset-restore): Doc fix.
4649 * register.el (frameset-frame-id, frameset-frame-with-id)
4650 (frameset-p, frameset-restore, frameset-save): Declare.
4651 (register-alist): Document framesets.
4652 (frameset-session-filter-alist): Declare.
4653 (frameset-to-register): New function.
4654 (jump-to-register): Implement jumping to framesets. Doc fix.
4655 (describe-register-1): Describe framesets.
4657 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4659 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4661 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4662 Use lexical-binding.
4664 * frameset.el (frameset): Use type vector, not list (incompatible
4665 change). Do not declare a new constructor, use the default one.
4666 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4667 `name' and `description', respectively, and add read-only slot
4668 `timestamp'. Doc fixes.
4669 (frameset-copy, frameset-persistent-filter-alist)
4670 (frameset-filter-alist, frameset-switch-to-gui-p)
4671 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4672 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4673 (frameset-filter-iconified, frameset-keep-original-display-p):
4675 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4676 Rename from frameset-filter-(save|restore)-param. All callers changed.
4678 (frameset-p): Adapt to change to vector and be more thorough.
4679 Change arg name to OBJECT. Doc fix.
4680 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4681 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4682 All callers changed.
4683 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4684 All callers changed.
4685 (frameset--record-minibuffer-relationships): Rename from
4686 frameset--process-minibuffer-frames. All callers changed.
4687 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4688 Use new default constructor (again). Doc fix.
4689 (frameset--find-frame-if): Rename from `frameset--find-frame.
4690 All callers changed.
4691 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4692 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4694 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4695 PARAMETERS and WINDOW-STATE, respectively.
4696 (frameset-restore): Add new keyword argument PREDICATE.
4697 Reset frameset--target-display to nil. Doc fix.
4699 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4701 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4703 (bat-mode-syntax-table): Mark \n as end-of-comment.
4704 (bat-font-lock-keywords): Remove comment rule.
4706 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4707 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4709 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4710 (byte-compile-callargs-warn): Use `push'.
4711 (byte-compile-arglist-warn): Ignore higher-order "calls".
4712 (byte-compile-file-form-autoload): Use `pcase'.
4713 (byte-compile-function-form): If quoting a symbol, check that it exists.
4715 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4717 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4718 and add a few popular commands found in batch files.
4719 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4720 (dos-mode): Doc fixes.
4722 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4724 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4725 (dos-mode): Use setq-local. Add space after "rem".
4726 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4727 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4729 2013-08-07 Arni Magnusson <arnima@hafro.is>
4731 * progmodes/dos.el: New file.
4732 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4735 2013-08-06 Glenn Morris <rgm@gnu.org>
4737 * calendar/calendar.el: Add new faces, and day-header-array.
4738 (calendar-weekday-header, calendar-weekend-header)
4739 (calendar-month-header): New faces.
4740 (calendar-day-header-construct): New function.
4741 (calendar-day-header-width): Also :set calendar-day-header-array.
4742 (calendar-american-month-header, calendar-european-month-header)
4743 (calendar-iso-month-header): Use calendar- faces.
4744 (calendar-generate-month):
4745 Use calendar-day-header-array for day headers; apply faces to them.
4746 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4747 (calendar-abbrev-construct): Add optional maxlen argument.
4748 (calendar-day-name-array): Doc fix.
4749 (calendar-day-name-array, calendar-abbrev-length)
4750 (calendar-day-abbrev-array):
4751 Also :set calendar-day-header-array, and maybe redraw.
4752 (calendar-day-header-array): New option. (Bug#15007)
4753 (calendar-font-lock-keywords): Set to nil and make obsolete.
4754 (calendar-day-name): Add option to use header array.
4756 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4758 * net/shr.el (shr-render-td): Remove debugging.
4759 (shr-render-td): Make width computation consistent by defaulting
4760 all zero-width columns to 10 characters. This may not be optimal,
4761 but it's at least consistent.
4762 (shr-make-table-1): Redo last change to fix the real problem in
4765 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4767 * files.el (cache-long-line-scans):
4768 Make obsolete alias to `cache-long-scans'.
4770 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4772 * frameset.el (frameset, frameset-filter-alist)
4773 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4774 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4775 (frameset-compute-pos): Rename from frameset--compute-pos,
4777 (frameset-move-onscreen): Use frameset-compute-pos.
4778 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4780 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4781 Fix typos in docstrings.
4783 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4785 * frame.el (get-other-frame): Tiny cleanup.
4787 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4789 * vc/vc.el (vc-default-ignore-completion-table):
4790 Silence byte-compiler warning.
4792 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4793 slot , which can indeed be nil.
4794 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4795 Move entry for `left' from persistent to live filter alist.
4796 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4798 (frameset-filter-params): When restoring a frame, copy items added to
4799 `filtered', to avoid unwittingly modifying the original parameters.
4800 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4801 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4803 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4804 to use looking-at-p instead of looking-at. (Bug#15028)
4806 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4808 Revert introduction of isearch-filter-predicates (bug#14714).
4809 Rely on add-function instead.
4810 * isearch.el (isearch-filter-predicates): Rename it back to
4811 isearch-filter-predicate.
4812 (isearch-message-prefix): Use advice-function-mapc and advice
4813 properties to get the isearch-message-prefix.
4814 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4815 instead of run-hook-with-args-until-failure.
4816 (isearch-filter-visible): Not obsolete any more.
4817 * loadup.el: Preload nadvice.
4818 * replace.el (perform-replace): Revert to funcall
4819 instead of run-hook-with-args-until-failure.
4820 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4821 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4822 dired-isearch-filenames-toggle; make it into a proper minor mode.
4823 Use add/remove-function.
4824 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4825 Call the minor-mode rather than add/remove-hook.
4826 (dired-isearch-filter-filenames):
4827 Remove isearch-message-prefix property.
4828 * info.el (Info--search-loop): New function, extracted from Info-search.
4829 Funcall isearch-filter-predicate instead of
4830 run-hook-with-args-until-failure isearch-filter-predicates.
4831 (Info-search): Use it.
4832 (Info-mode): Use isearch-filter-predicate instead of
4833 isearch-filter-predicates.
4835 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4837 Do not call to `selected-window' where it is assumed by default.
4838 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4839 `window-hscroll', `window-width', `window-height', `window-buffer',
4840 `window-frame', `window-start', `window-point', `next-window'
4841 and `window-display-table'.
4842 * abbrev.el (abbrev--default-expand):
4843 * bs.el (bs--show-with-configuration):
4844 * buff-menu.el (Buffer-menu-mouse-select):
4845 * calc/calc.el (calc):
4846 * calendar/calendar.el (calendar-generate-window):
4847 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4849 * comint.el (send-invisible, comint-dynamic-complete-filename)
4850 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4851 * completion.el (complete):
4852 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4853 * disp-table.el (describe-current-display-table):
4854 * doc-view.el (doc-view-insert-image):
4855 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4856 * ehelp.el (with-electric-help):
4857 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4858 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4859 * emacs-lisp/helper.el (Helper-help-scroller):
4860 * emulation/cua-base.el (cua--post-command-handler-1):
4861 * eshell/esh-mode.el (eshell-output-filter):
4862 * ffap.el (ffap-gnus-wrapper):
4863 * help-macro.el (make-help-screen):
4864 * hilit-chg.el (highlight-compare-buffers):
4865 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4866 * hl-line.el (global-hl-line-highlight):
4867 * icomplete.el (icomplete-simple-completing-p):
4868 * isearch.el (isearch-done):
4869 * jit-lock.el (jit-lock-stealth-fontify):
4870 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4871 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4872 * mpc.el (mpc-tagbrowser, mpc):
4873 * net/rcirc.el (rcirc-any-buffer):
4874 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4875 * play/landmark.el (landmark-max-width, landmark-max-height):
4876 * play/zone.el (zone):
4877 * progmodes/compile.el (compilation-goto-locus):
4878 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4879 * progmodes/etags.el (find-tag-other-window):
4880 * progmodes/fortran.el (fortran-column-ruler):
4881 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4882 * progmodes/verilog-mode.el (verilog-point-text):
4883 * reposition.el (reposition-window):
4884 * rot13.el (toggle-rot13-mode):
4885 * server.el (server-switch-buffer):
4886 * shell.el (shell-dynamic-complete-command)
4887 (shell-dynamic-complete-environment-variable):
4888 * simple.el (insert-buffer, set-selective-display)
4889 (delete-completion-window):
4890 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4891 (speedbar-recenter):
4892 * startup.el (fancy-splash-head):
4893 * textmodes/ispell.el (ispell-command-loop):
4894 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4895 * tutorial.el (help-with-tutorial):
4896 * vc/add-log.el (add-change-log-entry):
4897 * vc/compare-w.el (compare-windows):
4898 * vc/ediff-help.el (ediff-indent-help-message):
4899 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4900 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4901 (ediff-setup-control-frame):
4902 * vc/emerge.el (emerge-position-region):
4903 * vc/pcvs-util.el (cvs-bury-buffer):
4904 * window.el (walk-windows, mouse-autoselect-window-select):
4905 * winner.el (winner-set-conf, winner-undo): Related users changed.
4907 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4909 * frameset.el (frameset--set-id): Doc fix.
4910 (frameset-frame-id, frameset-frame-id-equal-p)
4911 (frameset-locate-frame-id): New functions.
4912 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4913 (frameset-restore): Use them.
4915 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4917 Do not call to `selected-frame' where it is assumed by default.
4918 Affected functions are `raise-frame', `redraw-frame',
4919 `frame-first-window', `frame-terminal' and `delete-frame'.
4920 * calendar/appt.el (appt-disp-window):
4921 * epg.el (epg-wait-for-completion):
4922 * follow.el (follow-delete-other-windows-and-split)
4923 (follow-avoid-tail-recenter):
4924 * international/mule.el (set-terminal-coding-system):
4925 * mail/rmail.el (rmail-mail-return):
4926 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4927 * progmodes/f90.el (f90-add-imenu-menu):
4928 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4929 * server.el (server-switch-buffer):
4930 * simple.el (delete-completion-window):
4932 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4933 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4934 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4935 * vc/ediff.el (ediff-documentation): Related users changed.
4936 * frame.el (selected-terminal): Remove the leftover.
4938 2013-08-05 Glenn Morris <rgm@gnu.org>
4940 * calendar/calendar.el (calendar-generate-month):
4941 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4942 (calendar-generate-month, calendar-font-lock-keywords):
4943 Fix for calendar-day-header-width > length of any day name.
4945 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4947 * desktop.el (desktop-clear): Use new name of sort predicate.
4949 * frameset.el (frameset): Add docstring. Move :version property to its
4951 (frameset-copy): Rename from copy-frameset.
4952 (frameset-p): Check more thoroughly.
4953 (frameset-prop): Do not check for :version, which is no longer a prop.
4954 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4955 Use new :never value instead of t.
4956 (frameset-filter-alist): Expand and clarify docstring.
4957 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4958 (frameset-filter-minibuffer, frameset-filter-save-param)
4959 (frameset-filter-restore-param, frameset-filter-iconified):
4960 Add pointer to docstring of frameset-filter-alist.
4961 (frameset-filter-params): Rename filter values to be more meaningful:
4962 :never instead of t, and reverse the meanings of :save and :restore.
4963 (frameset--process-minibuffer-frames): Clarify error message.
4964 (frameset-save): Avoid unnecessary and confusing call to framep.
4965 Use new BOA constructor for framesets.
4966 (frameset--reuse-list): Doc fix.
4967 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4968 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4969 (frameset-minibufferless-first-p): Doc fix.
4970 Rename from frameset-sort-frames-for-deletion.
4971 (frameset-restore): Doc fixes. Use new function names.
4972 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4974 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4976 * desktop.el (desktop-restore-forces-onscreen)
4977 (desktop-restore-reuses-frames): Document :keyword constant values.
4978 (desktop-filter-parameters-alist): Remove, now identical to
4979 frameset-filter-alist.
4980 (desktop--filter-tty*): Remove, moved to frameset.el.
4981 (desktop-save-frameset, desktop-restore-frameset):
4982 Do not pass :filters argument.
4984 * frameset.el (frameset-live-filter-alist)
4985 (frameset-persistent-filter-alist): New variables.
4986 (frameset-filter-alist): Use them. Add autoload cookie.
4987 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4988 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4989 `frameset--id' (it's supposed to be internal to frameset.el).
4990 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4991 (frameset--initial-params): New function.
4992 (frameset--get-frame): Use it. Doc fix.
4993 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4994 Accept :all, not 'all.
4995 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4996 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4997 with fbound symbols. Fix frame id matching, and remove matching ids if
4998 the frame being restored is deleted. Obey :delete.
5000 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5002 * subr.el (macrop): New function.
5003 (text-clone--maintaining): New var.
5004 (text-clone--maintain): Rename from text-clone-maintain. Use it
5005 instead of inhibit-modification-hooks.
5007 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5008 a proxy, so as handle autoloads and redefinitions of the target.
5009 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5011 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5012 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5013 (pcase--mutually-exclusive-p): New function.
5014 (pcase--split-consp): Use it.
5015 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5016 mutually exclusive with the current predicate.
5018 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5019 (edebug-macrop): Remove. Use `macrop' instead.
5020 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5022 * eshell/esh-cmd.el (eshell-macrop):
5023 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5025 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5027 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5028 (advice-mapc): New function, using it.
5029 (advice-function-member-p): New function.
5030 (advice--normalize): Store the cdr in advice--saved-rewrite since
5031 that's the part that will be changed.
5032 (advice--symbol-function): New function.
5033 (advice-remove): Handle removal before the function is defined.
5034 Adjust to new advice--saved-rewrite.
5035 (advice-member-p): Use advice-function-member-p and
5036 advice--symbol-function.
5038 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5040 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5041 (frameset-filter-minibuffer): Doc fix.
5042 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5043 (frameset--set-id, frameset--process-minibuffer-frames)
5044 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5045 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5047 * desktop.el (desktop-clear): Only delete frames when called
5048 interactively and desktop-restore-frames is non-nil. Doc fix.
5049 (desktop-read): Set desktop-saved-frameset to nil.
5051 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5053 * vc/vc.el (vc-ignore): Rewrite.
5054 (vc-default-ignore-completion-table):
5056 (vc--add-line, vc--remove-regexp): New functions.
5058 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5059 (vc-svn-ignore-completion-table): New function.
5061 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5062 (vc-hg-ignore-completion-table):
5063 (vc-hg-find-ignore-file): New functions.
5065 * vc/vc-git.el (vc-git-ignore): Rewrite.
5066 (vc-git-ignore-completion-table):
5067 (vc-git-find-ignore-file): New functions.
5069 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5071 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5072 (vc-bzr-ignore-completion-table):
5073 (vc-bzr-find-ignore-file): New functions.
5075 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5077 * frameset.el (frameset-prop): New function and setter.
5078 (frameset-save): Do not modify frame list passed by the caller.
5080 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5082 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5084 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5086 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5087 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5089 * custom.el (custom-initialize-default, custom-initialize-set)
5090 (custom-initialize-reset, custom-initialize-changed): Affect the
5091 toplevel-default-value (bug#6275, bug#14586).
5092 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5095 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5097 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5098 Add cl-def* expressions.
5100 * frameset.el (frameset-filter-params): Fix order of arguments.
5102 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5104 Move code related to saving frames to frameset.el.
5105 * desktop.el: Require frameset.
5106 (desktop-restore-frames): Doc fix.
5107 (desktop-restore-reuses-frames): Rename from
5108 desktop-restoring-reuses-frames.
5109 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5110 (desktop-clear): Clear frames too.
5111 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5112 (desktop--filter-tty*, desktop-save, desktop-read):
5113 Use frameset functions.
5114 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5115 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5116 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5117 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5118 (desktop--process-minibuffer-frames, desktop-save-frames)
5119 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5120 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5121 (desktop--sort-states, desktop-restoring-frames-p)
5122 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5123 (desktop-restoring-frameset-p, desktop-restore-frameset)
5124 (desktop--check-dont-save, desktop-save-frameset): New functions.
5125 (desktop--app-id): New constant.
5126 (desktop-first-buffer, desktop-buffer-ok-count)
5127 (desktop-buffer-fail-count): Move before first use.
5128 * frameset.el: New file.
5130 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5132 * files.el: Use lexical-binding.
5133 (dir-locals-read-from-file): Remove unused `err' variable.
5134 (hack-dir-local-variables--warned-coding): New var.
5135 (hack-dir-local-variables): Use it to avoid repeated warnings.
5136 (make-backup-file-name--default-function): New function.
5137 (make-backup-file-name-function): Use it as default.
5138 (buffer-stale--default-function): New function.
5139 (buffer-stale-function): Use it as default.
5140 (revert-buffer-insert-file-contents--default-function): New function.
5141 (revert-buffer-insert-file-contents-function): Use it as default.
5142 (insert-directory): Avoid add-to-list.
5144 * autorevert.el (auto-revert-handler): Simplify.
5145 Use buffer-stale--default-function.
5147 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5149 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5151 * whitespace.el (whitespace-ensure-local-variables): New function.
5152 (whitespace-cleanup-region): Call it.
5153 (whitespace-turn-on): Call it.
5155 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5157 Complete file name handlers.
5159 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5160 (tramp-handle-verify-visited-file-modtime)
5161 (tramp-handle-file-notify-rm-watch): New functions.
5162 (tramp-call-process): Do not bind `default-directory'.
5164 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5165 Order alphabetically.
5166 [access-file, add-name-to-file, dired-call-process]:
5167 [dired-compress-file, file-acl, file-notify-rm-watch]:
5168 [file-ownership-preserved-p, file-selinux-context]:
5169 [make-directory-internal, make-symbolic-link, set-file-acl]:
5170 [set-file-selinux-context, set-visited-file-modtime]:
5171 [verify-visited-file-modtime]: Add handler.
5172 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5174 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5175 [file-notify-add-watch, file-notify-rm-watch]:
5176 [set-file-times, set-visited-file-modtime]:
5177 [verify-visited-file-modtime]: Add handler.
5178 (with-tramp-gvfs-error-message)
5179 (tramp-gvfs-handle-set-visited-file-modtime)
5180 (tramp-gvfs-fuse-file-name): Remove.
5181 (tramp-gvfs-handle-file-notify-add-watch)
5182 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5183 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5185 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5186 Order alphabetically.
5187 [file-notify-rm-watch ]: Use default Tramp handler.
5188 [executable-find]: Remove private handler.
5189 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5190 `default-directory'.
5191 (tramp-sh-handle-executable-find)
5192 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5193 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5194 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5195 Do not use `format' in `tramp-message'.
5197 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5198 [file-notify-rm-watch, set-visited-file-modtime]:
5199 [verify-visited-file-modtime]: Add handler.
5200 (tramp-smb-call-winexe): Do not bind `default-directory'.
5202 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5204 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5206 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5208 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5210 (log-view-diff-changeset): Same.
5211 (log-view-diff-common): Call backend command `previous-revision'
5212 to find out the previous revision, in both cases. Swap the
5213 variables `to' and `fr', so that `fr' usually refers to the
5214 earlier revision (Bug#14989).
5216 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5218 * ibuf-ext.el (ibuffer-filter-by-filename):
5219 Make it work with dired buffers too.
5221 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5223 * emacs-lisp/re-builder.el (reb-color-display-p):
5224 * files.el (save-buffers-kill-terminal):
5225 * net/browse-url.el (browse-url):
5226 * server.el (server-save-buffers-kill-terminal):
5227 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5228 Prefer nil to selected-frame for the first arg of frame-parameter.
5230 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5232 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5234 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5236 * minibuffer.el (completion--twq-all): Try and preserve each
5237 completion's case choice (bug#14907).
5239 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5241 * net/network-stream.el (open-network-stream): Mention the new
5242 :nogreeting parameter.
5243 (network-stream-open-starttls): Use the :nogreeting parameter
5246 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5248 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5249 more natural than popping.
5251 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5252 (shr-urlify): Highlight under mouse.
5254 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5256 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5258 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5260 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5263 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5264 point-min==1. Fix search string. Fix parentheses missing.
5266 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5267 assume point-min==1. Fix search string. Fix parentheses missing.
5269 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5271 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5274 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5276 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5277 initial frame is minibuffer-less. (Bug#14841)
5279 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5281 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5284 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5285 (tramp-maybe-open-connection): Use it.
5287 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5289 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5290 minimal set of parameters passed when creating a frame, because
5291 the minibuffer status of a frame cannot be changed later.
5293 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5295 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5296 replace-regexp-in-string and inadvertent omissions in previous change.
5297 (todo-filter-items): Ensure only file names are comma-separated in
5298 name of filtered items buffer.
5300 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5302 * desktop.el: Optionally force offscreen frames back onscreen.
5303 (desktop-restoring-reuses-frames): New option.
5304 (desktop--compute-pos, desktop--move-onscreen): New functions.
5305 (desktop--make-frame): Use desktop--move-onscreen.
5307 2013-07-27 Alan Mackenzie <acm@muc.de>
5309 Fontify a Java generic method as a function.
5310 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5313 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5315 * calendar/todo-mode.el: Add command to rename todo files.
5316 (todo-rename-file): New command.
5317 (todo-key-bindings-t): Add key binding for it. Change the
5318 bindings of todo-filter-regexp-items(-multifile) to use `x'
5319 instead of `r', since the latter is better suited to the new
5322 2013-07-27 Alan Mackenzie <acm@muc.de>
5324 Make Java try-with-resources statement parse properly.
5325 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5326 (c-block-stmt-1-2-key): New language constants/variables.
5327 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5328 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5329 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5330 with c-block-stmt-1-2-key.
5332 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5334 * desktop.el (desktop--make-frame): Apply most frame parameters after
5335 creating the frame to force (partially or totally) offscreen frames to
5336 be restored as such.
5338 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5340 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5343 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5345 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5346 `base' arg of backtrace-frame.
5348 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5350 * simple.el (list-processes): Doc fix.
5352 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5354 * desktop.el (desktop--select-frame):
5355 Try harder to reuse existing frames.
5357 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5359 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5360 (edebug-eval): Use backtrace-eval.
5361 (edebug--display, edebug--recursive-edit): Don't let-bind the
5362 edebug-outer-* vars that keep track of variables we locally let-bind.
5363 (edebug-outside-excursion): Don't restore outside values of locally
5365 (edebug--display): Use user-error.
5366 (cl-lexical-debug, cl-debug-env): Remove.
5368 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5370 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5371 are restored to be sure that they are visible before deleting any
5374 2013-07-26 Matthias Meulien <orontee@gmail.com>
5376 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5377 vc-print-root-log. (Bug#14948)
5379 2013-07-26 Richard Stallman <rms@gnu.org>
5381 Add aliases for encrypting mail.
5382 * epa.el (epa-mail-aliases): New option.
5383 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5384 Bind inhibit-read-only so read-only text doesn't ruin everything.
5385 (epa-mail-default-recipients): New subroutine broken out.
5386 Handle epa-mail-aliases.
5388 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5390 Add support for lexical variables to the debugger's `e' command.
5391 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5392 vars, except for debugger-outer-match-data.
5393 (debugger-frame-number): Move check for "on a function call" from
5394 callers into it. Add `skip-base' argument.
5395 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5396 (debugger-env-macro): Only reset the state stored in non-variables,
5397 i.e. current-buffer and match-data.
5398 (debugger-eval-expression): Rewrite using backtrace-eval.
5399 * subr.el (internal--called-interactively-p--get-frame): Remove.
5400 (called-interactively-p):
5401 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5402 `base' arg of backtrace-frame instead.
5404 2013-07-26 Glenn Morris <rgm@gnu.org>
5406 * align.el (align-regexp): Doc fix. (Bug#14857)
5407 (align-region): Explicit error if subexpression missing/does not match.
5409 * simple.el (global-visual-line-mode):
5410 Do not duplicate the mode lighter. (Bug#14858)
5412 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5414 * window.el (display-buffer): In display-buffer bind
5415 split-window-keep-point to t, bug#14829.
5417 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5419 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5420 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5421 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5422 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5424 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5425 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5427 2013-07-25 Glenn Morris <rgm@gnu.org>
5429 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5431 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5433 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5434 parameter to modify-frame-parameters if the value has not changed;
5435 this is a workaround for bug#14949.
5436 (desktop--make-frame): On cl-delete-if call, check parameter name,
5439 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5441 * vc/vc.el (vc-ignore): New function.
5443 * vc/vc-svn.el (vc-svn-ignore): New function.
5445 * vc/vc-hg.el (vc-hg-ignore): New function.
5447 * vc/vc-git.el (vc-git-ignore): New function.
5449 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5450 (vc-dir-ignore): New function.
5452 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5453 (cvs-append-to-ignore): Move here from pcvs.el.
5455 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5457 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5459 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5461 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5462 (desktop-restore-frames): Warn when deleting an existing frame failed.
5464 2013-07-24 Glenn Morris <rgm@gnu.org>
5466 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5468 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5470 * filenotify.el (file-notify-supported-p):
5471 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5474 * autorevert.el (auto-revert-use-notify):
5475 (auto-revert-notify-add-watch):
5476 * net/tramp.el (tramp-file-name-for-operation):
5477 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5478 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5479 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5480 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5481 Remove `file-notify-supported-p' entry.
5483 2013-07-24 Glenn Morris <rgm@gnu.org>
5485 * printing.el: Replace all uses of deleted ps-windows-system,
5486 ps-lp-system, ps-flatten-list with lpr- versions.
5488 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5490 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5491 checked with memq (bug#14935).
5493 * files.el (revert-buffer-function): Use a non-nil default.
5494 (revert-buffer-preserve-modes): Declare var to
5495 provide access to the `preserve-modes' argument.
5496 (revert-buffer): Let-bind it.
5497 (revert-buffer--default): New function, extracted from revert-buffer.
5499 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5501 * lpr.el: Signal print errors more prominently.
5502 (print-region-function): Don't default to nil.
5503 (lpr-print-region): New function, extracted from print-region-1.
5504 Check lpr's return value and signal an error in case of problem.
5505 (print-region-1): Use it.
5506 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5508 (ps-printer-name): Default to nil.
5509 (ps-printer-name-option): Default to lpr-printer-switch.
5510 (ps-print-region-function): Don't default to nil.
5511 (ps-postscript-code-directory): Simplify default.
5512 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5513 (ps-string-list, ps-eval-switch, ps-flatten-list)
5514 (ps-flatten-list-1): Remove.
5515 (ps-multibyte-buffer): Avoid setq.
5516 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5517 (print-region-function, ps-print-region-function): Don't set them here.
5519 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5521 * ido.el (ido-fractionp):
5522 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5523 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5524 (ido-max-directory-size, ido-max-dir-file-cache)
5525 (ido-decorations): Doc fix.
5527 * ansi-color.el: Fix old URL.
5529 2013-07-23 Michael R. Mauger <michael@mauger.com>
5531 * progmodes/sql.el: Version 3.3
5532 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5533 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5534 (sql-interactive-remove-continuation-prompt): Rewrite, use
5535 functions above. Fix continuation prompt and complete output line
5537 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5538 redirected output buffer.
5539 (sql-mode): Restore deleted code (Bug#13591).
5541 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5543 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5545 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5547 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5549 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5550 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5551 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5553 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5555 * desktop.el (desktop-clear): Simplify; remove useless checks
5556 against invalid buffer names.
5557 (desktop-list*): Use cl-list*.
5558 (desktop-buffer-info, desktop-create-buffer): Simplify.
5560 2013-07-23 Leo Liu <sdl.web@gmail.com>
5562 * bookmark.el (bookmark-make-record): Restore NAME as a default
5565 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5567 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5568 extracted from autoload--insert-text.
5569 (autoload--insert-text): Remove.
5570 (autoload--print-cookie-text): New function, extracted from
5571 autoload--insert-cookie-text.
5572 (autoload--insert-cookie-text): Remove.
5573 (autoload-generate-file-autoloads): Adjust calls accordingly.
5575 * winner.el (winner-hook-installed-p): Remove.
5576 (winner-mode): Simplify accordingly.
5578 * subr.el (add-to-list): Fix compiler-macro when `append' is
5579 not constant. Don't use `cl-member' for the base case.
5581 * progmodes/subword.el: Fix boundary case (bug#13758).
5582 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5584 (subword-backward-regexp): Make it a constant.
5585 (subword-forward-internal): Don't treat a trailing capital as the
5586 beginning of a word.
5588 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5590 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5591 global value of tabulated-list-revert-hook (bug#14930).
5593 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5595 * desktop.el: Require 'cl-lib.
5596 (desktop-before-saving-frames-functions): New hook.
5597 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5598 for frames being saved. Rename from desktop--save-minibuffer-frames.
5599 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5600 Do not save frames with non-nil `desktop-dont-save' parameter.
5601 Filter out deleted frames.
5602 (desktop--find-frame): Use cl-find-if.
5603 (desktop--select-frame): Use cl-(first|second|third) to access values
5605 (desktop--make-frame): Use cl-delete-if.
5606 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5607 (desktop-restore-frames): Use cl-(first|second|third) to access values
5608 of desktop-mini. Look for visible frame at the end, not while
5611 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5612 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5613 Use string-match-p, looking-at-p (bug#14927).
5615 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5617 * desktop.el (desktop-saved-frame-states):
5618 Rename from desktop--saved-states; all users changed.
5619 (desktop-save-frames): Rename from desktop--save-frames.
5620 Do not save state to desktop file.
5621 (desktop-save): Save desktop-saved-frame-states to desktop file
5623 (desktop-restoring-frames-p): New function.
5624 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5625 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5626 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5628 * desktop.el: Correctly restore iconified frames.
5629 (desktop--filter-iconified-position): New function.
5630 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5632 2013-07-20 Glenn Morris <rgm@gnu.org>
5634 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5635 Let `message' do the formatting.
5636 (def-gdb-preempt-display-buffer): Add explicit format.
5638 * image-dired.el (image-dired-track-original-file):
5639 Use with-current-buffer.
5640 (image-dired-track-thumbnail): Use with-current-buffer.
5641 Avoid changing point of wrong window.
5643 * image-dired.el (image-dired-track-original-file):
5644 Avoid changing point of wrong window. (Bug#14909)
5646 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5648 * progmodes/gdb-mi.el (gdb-done-or-error):
5649 Guard against "%" in gdb output. (Bug#14127)
5651 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5653 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5656 * international/mule.el (coding-system-iso-2022-flags): Fix last
5659 2013-07-20 Kenichi Handa <handa@gnu.org>
5661 * international/mule.el (coding-system-iso-2022-flags):
5662 Add `8-bit-level-4'. (Bug#8522)
5664 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5666 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5669 * net/eww.el (eww-process-text-input): Allow inputting when the
5670 point is at the start of the line, as the properties aren't
5673 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5676 2013-07-19 Richard Stallman <rms@gnu.org>
5678 * epa.el (epa-popup-info-window): Doc fix.
5680 * subr.el (split-string): New arg TRIM.
5682 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5684 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5685 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5687 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5689 * filenotify.el (file-notify--library): Rename from
5690 `file-notify-support'. Do not autoload. Adapt all uses.
5691 (file-notify-supported-p): New defun.
5693 * autorevert.el (auto-revert-use-notify):
5694 Use `file-notify-supported-p' instead of `file-notify-support'.
5696 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5698 * net/tramp.el (tramp-file-name-for-operation):
5699 Add `file-notify-supported-p'.
5701 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5703 (tramp-sh-file-name-handler-alist): Add it as handler for
5704 `file-notify-supported-p '.
5706 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5707 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5708 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5709 Add `ignore' as handler for `file-notify-*' functions.
5711 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5713 * simple.el (line-move-partial, line-move): Don't start vscroll or
5714 scroll-up if the current line is not taller than the window.
5717 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5719 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5720 highlight question marks in the method names as strings.
5721 (ruby-block-beg-keywords): Inline.
5722 (ruby-font-lock-keyword-beg-re): Extract from
5723 `ruby-font-lock-keywords'.
5725 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5727 * frame.el (blink-cursor-blinks): New defcustom.
5728 (blink-cursor-blinks-done): New defvar.
5729 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5730 (blink-cursor-timer-function): Check if number of blinks has been
5732 (blink-cursor-suspend, blink-cursor-check): New defuns.
5734 2013-07-15 Glenn Morris <rgm@gnu.org>
5736 * edmacro.el (edmacro-format-keys): Fix previous change.
5738 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5740 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5741 The hack didn't work outside English locales anyway.
5743 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5745 * simple.el (define-alternatives): Rename from alternatives-define,
5746 per RMS' suggestion.
5748 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5750 * desktop.el (desktop-restore-frames): Change default to t.
5751 (desktop-restore-in-current-display): Now offer more options.
5752 (desktop-restoring-reuses-frames): New customization option.
5753 (desktop--saved-states): Doc fix.
5754 (desktop-filter-parameters-alist): New variable, renamed and expanded
5755 from desktop--excluded-frame-parameters.
5756 (desktop--target-display): New variable.
5757 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5758 (desktop--filter-tty*, desktop--filter-*-color)
5759 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5760 (desktop--filter-save-desktop-parm)
5761 (desktop-restore-in-original-display-p): New functions.
5762 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5763 (desktop--save-minibuffer-frames): New function, inspired by a similar
5764 function from Martin Rudalics.
5765 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5766 (desktop--restore-in-this-display-p): Remove.
5767 (desktop--find-frame): Rename from desktop--find-frame-in-display
5768 and add predicate argument.
5769 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5770 (desktop--reuse-list): New variable.
5771 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5773 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5775 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5777 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5779 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5781 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5782 Highlight conversion methods on Kernel.
5784 2013-07-13 Alan Mackenzie <acm@muc.de>
5786 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5787 and comment it out. This out-commenting enables certain C++
5788 declarations to be parsed correctly.
5790 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5792 * international/mule.el (define-coding-system): Doc fix.
5794 * simple.el (default-font-height): Don't call font-info if the
5795 frame's default font didn't change since the frame was created.
5798 2013-07-13 Leo Liu <sdl.web@gmail.com>
5800 * ido.el (ido-read-file-name): Guard against non-symbol value.
5802 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5804 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5807 2013-07-13 Leo Liu <sdl.web@gmail.com>
5809 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5810 ido-set-matches call. (Bug#6852)
5812 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5814 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5815 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5817 (ruby-font-lock-keywords): Distinguish calls to functions with
5818 module-like names from module references. Highlight character
5821 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5823 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5824 (gdb-send): Handle continued commands. (Bug#14847)
5826 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5828 * desktop.el (desktop--v2s): Remove unused local variable.
5829 (desktop-save-buffer): Make defvar-local; adjust docstring.
5830 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5831 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5833 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5835 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5837 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5839 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5842 2013-07-12 Glenn Morris <rgm@gnu.org>
5844 * doc-view.el: Require cl-lib at runtime too.
5845 (doc-view-remove-if): Remove.
5846 (doc-view-search-next-match, doc-view-search-previous-match):
5849 * edmacro.el: Require cl-lib at runtime too.
5850 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5851 (edmacro-mismatch, edmacro-subseq): Remove.
5853 * shadowfile.el: Require cl-lib.
5854 (shadow-remove-if): Remove.
5855 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5858 * wid-edit.el: Require cl-lib.
5859 (widget-choose): Use cl-remove-if.
5860 (widget-remove-if): Remove.
5862 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5863 (ebrowse-delete-if-not): Remove.
5864 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5865 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5866 Use cl-delete-if-not.
5868 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5870 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5871 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5873 2013-07-12 Leo Liu <sdl.web@gmail.com>
5875 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5877 2013-07-11 Glenn Morris <rgm@gnu.org>
5879 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5880 (edebug-gensym-index, edebug-gensym):
5881 Remove reimplementation of cl-gensym.
5882 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5884 * thumbs.el: Require cl-lib at run-time too.
5885 (thumbs-gensym-counter, thumbs-gensym):
5886 Remove reimplementation of cl-gensym.
5887 (thumbs-temp-file): Use cl-gensym.
5889 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5890 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5891 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5892 (ert--union, ert--gensym-counter, ert--gensym-counter)
5893 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5894 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5895 (ert-make-test-unbound, ert--expand-should-1)
5896 (ert--expand-should, ert--should-error-handle-error)
5897 (should-error, ert--explain-equal-rec)
5898 (ert--plist-difference-explanation, ert-select-tests)
5899 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5900 Use cl-lib functions rather than reimplementations.
5902 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5904 * net/tramp.el (tramp-methods): Extend docstring.
5905 (tramp-connection-timeout): New defcustom.
5906 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5907 (with-tramp-progress-reporter): Simplify.
5908 (tramp-process-actions): Improve messages.
5910 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5911 * net/tramp-sh.el (tramp-maybe-open-connection):
5912 Use `tramp-connection-timeout'.
5913 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5916 2013-07-11 Leo Liu <sdl.web@gmail.com>
5918 * ido.el (ido-read-file-name): Conform to the requirements of
5919 read-file-name. (Bug#11861)
5920 (ido-read-directory-name): Conform to the requirements of
5921 read-directory-name.
5923 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5925 * subr.el (delay-warning): New function.
5927 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5929 * simple.el (default-line-height): New function.
5930 (line-move-partial, line-move): Use it instead of computing the
5932 (line-move-partial): Always compute ROWH. If the last line is
5933 partially-visible, but its text is completely visible, allow
5934 cursor to enter such a partially-visible line.
5936 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5938 Improve error messages. (Bug#14808)
5940 * net/tramp.el (tramp-current-connection): New defvar, moved from
5942 (tramp-message-show-progress-reporter-message): Remove, not
5944 (tramp-error-with-buffer): Show message in minibuffer.
5945 Discard input before waiting. Reset connection timestamp.
5946 (with-tramp-progress-reporter): Improve messages.
5947 (tramp-process-actions): Use progress reporter. Delete process in
5948 case of error. Improve messages.
5950 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5951 Call `tramp-error-with-buffer' with vector and buffer.
5952 (tramp-current-connection): Remove.
5953 (tramp-maybe-open-connection): The car of
5954 `tramp-current-connection' are the first 3 slots of the vector.
5956 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5958 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5959 inside continued strings.
5961 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5963 Timestamp fixes for undo (Bug#14824).
5964 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5966 2013-07-10 Leo Liu <sdl.web@gmail.com>
5968 * files.el (require-final-newline): Allow safe local value.
5971 2013-07-09 Leo Liu <sdl.web@gmail.com>
5973 * ido.el (ido-read-directory-name): Handle fallback.
5974 (ido-read-file-name): Update DIR to ido-current-directory.
5976 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5978 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5980 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5981 "autoload". Remove "warn lower camel case" section, previously
5982 commented out. Highlight negation char. Do not highlight the
5983 target in singleton method definitions.
5985 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5987 * faces.el (tty-setup-hook): Declare the hook.
5989 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5990 and detect when a guard/pred depends on local vars (bug#14773).
5991 (pcase--u1): Adjust caller.
5993 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5995 * simple.el (line-move-partial, line-move): Account for
5997 (line-move-partial): Avoid setting vscroll when the last
5998 partially-visible line in window is of default height.
6000 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6002 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6005 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6007 * subr.el (read-quoted-char): Remove unused local variable `char'.
6009 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6011 * ediff.el (ediff-version): Version update.
6012 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6013 (ediff-merge-with-ancestor-command, ediff-directories-command)
6014 (ediff-directories3-command, ediff-merge-directories-command)
6015 (ediff-merge-directories-with-ancestor-command): New functions.
6016 All are command-line interfaces to ediff: to facilitate calling
6017 Emacs with the appropriate ediff functions invoked.
6019 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6020 (viper-save-kill-buffer): Check if buffer is modified.
6022 * viper.el (viper-version): Version update.
6023 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6025 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6027 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6028 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6029 (viper-intercept-ESC-key): Simplify.
6030 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6031 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6032 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6033 (viper-setup-ESC-to-escape): New functions.
6034 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6035 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6037 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6039 * simple.el (default-font-height, window-screen-lines):
6041 (line-move, line-move-partial): Use them instead of
6042 frame-char-height and window-text-height. This makes scrolling
6043 text smoother when the buffer's default face uses a font that is
6044 different from the frame's default font.
6046 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6048 * files.el (write-file): Do not display confirm dialog for NS,
6049 it does its own dialog, which can't be cancelled (Bug#14578).
6051 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6053 * simple.el (line-move-partial): Adjust the row returned by
6054 posn-at-point for the current window-vscroll. (Bug#14567)
6056 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6058 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6059 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6062 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6064 * window.el (window-state-put-stale-windows): New variable.
6065 (window--state-put-2): Save list of windows without matching buffer.
6066 (window-state-put): Remove "bufferless" windows if possible.
6068 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6070 * simple.el (alternatives-define): Remove leftover :group keyword.
6073 2013-07-06 Leo Liu <sdl.web@gmail.com>
6075 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6076 (ido-enable-virtual-buffers): New variable.
6077 (ido-buffer-internal, ido-toggle-virtual-buffers)
6078 (ido-make-buffer-list): Use it.
6079 (ido-exhibit): Support turning on and off virtual buffers
6082 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6084 * simple.el (alternatives-define): New macro.
6086 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6088 * subr.el (read-quoted-char): Use read-key.
6089 (sit-for): Let read-event decode tty input (bug#14782).
6091 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6093 * calendar/todo-mode.el: Add handling of file deletion, both by
6094 mode command and externally. Fix various related bugs.
6095 Clarify Commentary and improve some documentation strings and code.
6096 (todo-delete-file): New command.
6097 (todo-check-file): New function.
6098 (todo-show): Handle external deletion of the file we're trying to
6099 show (bug#14688). Replace called-interactively-p by an optional
6100 prefix argument to avoid problematic interaction with catch form
6101 when byte compiled (bug#14702).
6102 (todo-quit): Handle external deletion of the archive's todo file.
6103 Make sure the buffer that was visiting the archive file is still
6104 live before trying to bury it.
6105 (todo-category-completions): Handle external deletion of any
6106 category completion files.
6107 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6108 of todo files, in case of external deletion.
6109 (todo-add-file): Replace unnecessary setq by let-binding.
6110 (todo-find-archive): Check whether there are any archives.
6111 Replace unnecessary setq by let-binding.
6112 (todo-archive-done-item): Use find-file-noselect to get the
6113 archive buffer whether or not the archive already exists.
6114 Remove superfluous code. Use file size instead of buffer-file-name to
6115 check if the archive is new; if it is, update list of archives.
6116 (todo-default-todo-file): Allow nil to be a valid value for when
6117 there are no todo files.
6118 (todo-reevaluate-default-file-defcustom): Use corrected definition
6119 of todo-default-todo-file.
6120 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6121 (todo-delete-category, todo-show-categories-table)
6122 (todo-category-number): Clarify comment.
6123 (todo-filter-items): Clarify documentation string.
6124 (todo-show-current-file, todo-display-as-todo-file)
6125 (todo-reset-and-enable-done-separator): Tweak documentation string.
6126 (todo-done-separator): Make separator length window-width, since
6127 bug#2749 is now fixed.
6129 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6131 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6132 Support both "gvfs-monitor-dir" and "inotifywait".
6133 (tramp-sh-file-inotifywait-process-filter): Rename from
6134 `tramp-sh-file-notify-process-filter'.
6135 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6136 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6138 2013-07-05 Leo Liu <sdl.web@gmail.com>
6140 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6142 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6144 * frame.el (display-pixel-height, display-pixel-width)
6145 (display-mm-height, display-mm-width): Mention behavior on
6146 multi-monitor setups in docstrings.
6147 (w32-display-monitor-attributes-list): Declare function.
6148 (display-monitor-attributes-list): Use it.
6150 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6152 * filenotify.el: New package.
6154 * autorevert.el (top): Require filenotify.el.
6155 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6157 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6158 (auto-revert-notify-handler): Use `file-notify-*' functions.
6160 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6162 * net/tramp.el (tramp-file-name-for-operation):
6163 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6165 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6166 for `file-notify-add-watch' and `file-notify-rm-watch'.
6167 (tramp-process-sentinel): Improve trace.
6168 (tramp-sh-handle-file-notify-add-watch)
6169 (tramp-sh-file-notify-process-filter)
6170 (tramp-sh-handle-file-notify-rm-watch)
6171 (tramp-get-remote-inotifywait): New defuns.
6173 2013-07-03 Juri Linkov <juri@jurta.org>
6175 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6176 call of `occur-read-primary-args' to interactive spec.
6178 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6179 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6181 2013-07-03 Matthias Meulien <orontee@gmail.com>
6183 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6184 `Buffer-menu-multi-occur'. Add it to the menu.
6185 (Buffer-menu-mode): Document it in docstring.
6186 (Buffer-menu-multi-occur): New command. (Bug#14673)
6188 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6190 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6191 keywords and built-ins.
6193 2013-07-03 Glenn Morris <rgm@gnu.org>
6195 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6197 Make info-xref checks case-sensitive by default
6198 * info.el (Info-find-node, Info-find-in-tag-table)
6199 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6200 Add option for exact case matching of nodes.
6201 * info-xref.el (info-xref): New custom group.
6202 (info-xref-case-fold): New option.
6203 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6205 2013-07-03 Leo Liu <sdl.web@gmail.com>
6207 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6209 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6211 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6212 middle of block statement initially, lower the depth. Remove
6213 FIXME comment, not longer valid. Remove middle of block statement
6214 detection, no need to do that anymore since we've been using
6215 `ruby-parse-region' here.
6217 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6219 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6221 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6223 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6225 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6227 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6228 (desktop-restore-in-current-display): New customization option.
6229 (desktop--excluded-frame-parameters): Add `font'.
6230 (desktop--save-frames): Rename from desktop--save-windows.
6231 (desktop--restore-in-this-display-p): New function.
6232 (desktop--make-full-frame): Remove unwanted width/height from
6233 full(width|height) frames.
6234 (desktop--restore-frames): Rename from desktop--restore-windows.
6235 Obey desktop-restore-current-display. Do not delete old frames or
6236 select a new frame unless we were able to restore at least one frame.
6238 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6240 * files.el (find-file-noselect): Simplify conditional expression.
6242 * remember.el (remember-append-to-file):
6243 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6245 Add `remember-notes' function to store random notes across Emacs
6247 * remember.el (remember-data-file): Add :set callback to affect
6248 notes buffer (if any).
6249 (remember-notes): New command.
6250 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6251 New defcustoms for the `remember-notes' function.
6252 (remember-notes-save-and-bury-buffer): New command.
6253 (remember-notes-mode-map): New variable.
6254 (remember-mode): New minor mode.
6255 (remember-notes--kill-buffer-query): New function.
6256 * startup.el (initial-buffer-choice): Add notes to custom type.
6258 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6260 * bindings.el (right-char, left-char): Don't call sit-for, this is
6261 no longer needed. Use arithmetic comparison only for numerical
6264 * international/mule-cmds.el (select-safe-coding-system):
6265 Handle the case of FROM being a string correctly. (Bug#14755)
6267 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6269 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6270 progression on degenerate tables.
6271 (shr-rescale-image): ImageMagick animated images currently don't work.
6273 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6275 Some fixes and improvements for desktop frame restoration.
6276 It is still experimental and disabled by default.
6277 * desktop.el (desktop--save-windows): Put the selected frame at
6278 the head of the list.
6279 (desktop--make-full-frame): New function.
6280 (desktop--restore-windows): Try to re-select the frame that was
6281 selected upon saving. Do not abort if some frames fail to restore,
6282 just show an error message and continue. Set up maximized frames
6283 so they have default non-maximized dimensions.
6285 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6287 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6288 Don't start heredoc inside a string or comment.
6290 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6292 * bindings.el (visual-order-cursor-movement): New defcustom.
6293 (right-char, left-char): Provide visual-order cursor motion by
6294 calling move-point-visually. Update the doc strings.
6296 2013-06-28 Kenichi Handa <handa@gnu.org>
6298 * international/mule.el (define-coding-system): New coding system
6299 properties :inhibit-null-byte-detection,
6300 :inhibit-iso-escape-detection, and :prefer-utf-8.
6301 (set-buffer-file-coding-system): If :charset-list property of
6302 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6303 appropriate for setting.
6305 * international/mule-cmds.el (select-safe-coding-system):
6306 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6307 multibyte characters, return utf-8 (or one of its siblings).
6309 * international/mule-conf.el (prefer-utf-8): New coding system.
6310 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6313 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6315 * net/shr.el (shr-render-region): New function.
6317 * net/eww.el: Autoload `eww-browse-url'.
6319 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6321 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6322 Adapt to `package-desc-version' being a list.
6323 Use `package--ac-desc-version' to retrieve version from a package
6326 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6328 New experimental feature to save&restore window and frame setup.
6329 * desktop.el (desktop-save-windows): New defcustom.
6330 (desktop--saved-states): New var.
6331 (desktop--excluded-frame-parameters): New defconst.
6332 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6333 (desktop--restore-windows, desktop--save-windows): New functions.
6334 (desktop-save): Call `desktop--save-windows'.
6335 (desktop-read): Call `desktop--restore-windows'.
6337 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6339 * net/shr.el (add-face-text-property): Remove compat definition.
6341 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6343 * info.el (Info-try-follow-nearest-node): Move search for footnote
6344 above search for node name to prevent missing a footnote (bug#14717).
6346 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6348 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6350 2013-06-27 Leo Liu <sdl.web@gmail.com>
6352 * net/eww.el (eww-read-bookmarks): Check file size.
6354 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6356 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6357 advice--pending if newdef is nil or an autoload (bug#13820).
6358 (advice-mapc): New function.
6360 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6362 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6364 (eww-mode-map): Add a menu bar.
6365 (eww-add-bookmark): New command.
6366 (eww-bookmark-mode): New mode and commands.
6367 (eww-add-bookmark): Remove newlines from the title.
6368 (eww-bookmark-browse): Don't bug out if it's the only window.
6370 2013-06-26 Glenn Morris <rgm@gnu.org>
6372 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6373 (hfy-size): Handle ttys. (Bug#14668)
6375 * info-xref.el: Update for Texinfo 5 change in *note format.
6376 (info-xref-node-re, info-xref-note-re): New constants.
6377 (info-xref-check-buffer): Use info-xref-note-re.
6379 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6381 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6383 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6384 nil terminate the loop (bug#14718).
6386 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6388 * net/eww.el: Rework history traversal. When going forward/back,
6389 put these actions into the history, too, so that they can be
6391 (eww-render): Move the history reset to the correct buffer.
6393 2013-06-25 Juri Linkov <juri@jurta.org>
6395 * files-x.el (modify-dir-local-variable): Change the header comment
6396 in the file with directory local variables. (Bug#14692)
6398 * files-x.el (read-file-local-variable-value): Add `default'.
6401 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6403 * net/eww.el (eww-make-unique-file-name): Create a unique file
6404 name before saving to entering `y' accidentally asynchronously.
6406 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6408 * net/eww.el (eww-download): New command and keystroke.
6410 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6412 * net/eww.el (eww-copy-page-url): Change name of command.
6414 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6415 be more consistent with Info and dired.
6417 * net/eww.el (eww-mode-map): Ditto.
6419 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6421 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6422 packages from archives.
6423 (package-archive-contents): Change format; include obsolete packages.
6424 (package-desc): Use `dir' to mark builtin packages.
6425 (package--from-builtin): Set the `dir' field to `builtin'.
6426 (generated-autoload-file, version-control): Declare.
6427 (package-compute-transaction): Change first arg and return value to be
6428 lists of package-descs. Adjust to new package-archive-contents format.
6429 (package--add-to-archive-contents): Adjust to new
6430 package-archive-contents format.
6431 (package-download-transaction): Arg is now a list of package-descs.
6432 (package-install): If `pkg' is a package name, pass it as
6433 a requirement, so it is subject to the usual (e.g. disabled) checks.
6434 (describe-package): Accept package-desc as well.
6435 (describe-package-1): Describe a specific package-desc. Add links to
6436 other package-descs for the same package name.
6437 (package-menu-describe-package): Pass the actual package-desc.
6438 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6440 (package-desc-status): New function.
6441 (package-menu--refresh): New function, extracted
6442 from package-menu--generate.
6443 (package-menu--generate): Use it.
6444 (package-delete): Update package-alist.
6445 (package-menu-execute): Don't call package-initialize.
6447 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6448 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6449 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6450 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6451 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6452 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6454 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6456 * window.el (window--state-get-1): Workaround for bug#14527.
6457 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6459 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6461 * net/eww.el (eww-back-url): Implement the history by stashing all
6462 the data into a list.
6463 (eww-forward-url): Allow going forward in the history, too.
6465 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6467 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6468 for values and use read--expression for expressions (bug#14710).
6469 (read-file-local-variable): Avoid setq.
6470 (read-file-local-variable-mode): Use minor-mode-list.
6472 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6474 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6477 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6479 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6480 Update imenu-support when dialect changes.
6482 2013-06-25 Leo Liu <sdl.web@gmail.com>
6484 * ido.el (ido-read-internal): Allow forward slash on windows.
6486 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6488 * net/eww.el (eww): Start of strings is \\`, not ^.
6490 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6492 * net/shr.el (shr-browse-url): Fix interactive spec.
6494 * net/eww.el (eww): Add a trailing slash to domain names.
6496 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6498 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6500 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6502 * net/shr.el (shr-browse-url): Use an external browser if given a
6505 * net/eww.el (eww-external-browser): Move to shr.
6507 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6509 * net/eww.el (eww): Work more correctly for file: URLs.
6510 (eww-detect-charset): Allow quoted charsets.
6511 (eww-yank-page-url): New command and keystroke.
6513 2013-06-24 Daiki Ueno <ueno@gnu.org>
6515 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6516 file name of gpg executable.
6517 (epg-context-program): New function.
6518 (epg-context-home-directory): New function.
6519 (epg-context-set-program): New function.
6520 (epg-context-set-home-directory): New function.
6521 (epg--start): Use `epg-context-program' instead of
6523 (epg--list-keys-1): Likewise.
6525 2013-06-24 Leo Liu <sdl.web@gmail.com>
6527 * ido.el (ido-read-internal): Fix bug#14620.
6529 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6531 * faces.el (face-documentation): Simplify.
6532 (read-face-attribute, tty-find-type, x-resolve-font-name):
6533 Use `string-match-p'.
6534 (list-faces-display): Use `string-match-p'. Simplify.
6535 (face-spec-recalc): Check face to avoid face alias loops.
6536 (read-color): Use `string-match-p' and non-capturing parenthesis.
6538 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6540 * net/shr.el (shr-rescale-image): Use the new
6541 :max-width/:max-height functionality.
6543 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6545 * net/eww.el (eww-search-prefix): New variable.
6547 (eww-external-browser): New variable.
6548 (eww-mode-map): New keystroke.
6549 (eww-browse-with-external-browser): New command.
6551 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6553 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6555 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6556 Don't skip aligning the next header field when padding is 0;
6557 otherwise, field width is not respected unless the title is as
6560 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6562 * emacs-lisp/package.el (package-el-version): Remove.
6563 (package-process-define-package): Fix inf-loop.
6564 (package-install): Allow symbols as arguments again.
6566 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6568 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6569 add some more keyword-like methods.
6570 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6572 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6574 * bs.el (bs-buffer-show-mark): Make defvar-local.
6575 (bs-mode): Use setq-local.
6577 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6578 (emacs-lock--try-unlocking): Make defvar-local.
6580 2013-06-22 Glenn Morris <rgm@gnu.org>
6582 * play/cookie1.el (cookie-apropos): Minor simplification.
6584 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6586 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6588 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6589 `regexp-opt', it breaks the build during dumping.
6591 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6593 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6594 Highlight keyword-like methods on Kernel and Module with
6595 font-lock-builtin-face.
6596 (auto-mode-alist): Consolidate different entries into one regexp
6597 and add more *file-s.
6599 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6601 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6603 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6604 (diary-entry): Use it in the action of this button type instead of
6607 * calendar/todo-mode.el: New version.
6608 (todo-add-category): Append new category to end of file and give
6609 it the highest number, instead of putting it at the beginning and
6610 giving it 0. Incorporate noninteractive functionality.
6611 (todo-forward-category): Adapt to 1-based category numbering.
6612 Allow skipping over archived categories.
6613 (todo-backward-category): Derive from todo-forward-category.
6614 (todo-backward-item, todo-forward-item): Make noninteractive and
6615 delegate interactive part to new commands. Make sensitive to done items.
6616 (todo-categories): Make value an alist of category names and
6617 vectors of item counts.
6618 (todo-category-beg): Make a defconst.
6619 (todo-category-number): Use 1 instead of 0 as initial value.
6620 (todo-category-select): Make sensitive to overlays, optional item
6621 highlighting and done items.
6622 (todo-delete-item): Make sensitive to overlays and marked and done items.
6623 (todo-edit-item): Make sensitive to overlays and editing of
6624 date/time header optional. Add format checks.
6625 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6626 no-op if point is not on an item. Advertise using todo-edit-quit.
6627 (todo-edit-mode): Make sensitive to new format, font-locking, and
6628 multiple todo files.
6629 (todo-insert-item, todo-insert-item-here): Derive from
6630 todo-basic-insert-item and extend functionality.
6631 (todo-item-end, todo-item-start): Make sensitive to done items.
6632 (todo-item-string): Don't return text properties. Restore point.
6633 (todo-jump-to-category): Make sensitive to multiple todo files and
6634 todo archives. Use extended category completion.
6635 (todo-lower-item, todo-raise-item): Rename to *-priority and
6636 derive from todo-set-item-priority.
6637 (todo-mode): Derive from special-mode. Make sensitive to new
6638 format, font-locking and multiple todo files. Make read-only.
6639 (todo-mode-map): Don't suppress digit keys, so they can supply
6640 prefix arguments. Add many new key bindings.
6641 (todo-prefix): Insert as an overlay instead of file text.
6642 Change semantics from diary date expression to purely visual mark.
6643 (todo-print): Rename to todo-print-buffer. Make buffer display
6644 features printable. Remove option to restrict number of items
6645 printed. Add option to print to file.
6646 (todo-print-function): Rename to todo-print-buffer-function.
6647 (todo-quit): Extend to handle exiting new todo modes.
6648 (todo-remove-item): Make sensitive to overlays.
6649 (todo-save): Extend to buffers of filtered items.
6650 (todo-show): Make sensitive to done items, multiple todo files and
6651 new todo modes. Offer to convert legacy todo file before creating
6652 first new todo file.
6653 (todo-show-priorities): Rename to todo-top-priorities.
6654 Change semantics of value 0.
6655 (todo-top-priorities): Rename to todo-filter-top-priorities,
6656 derive from todo-filter-items and extend functionality.
6657 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6658 and extend functionality to other types of filtered items.
6659 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6660 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6661 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6662 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6663 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6664 (todo-edit-mode-hook, todo-entry-prefix-function)
6665 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6666 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6667 (todo-initials, todo-insert-threshold, todo-item-string-start)
6668 (todo-line-string, todo-menu, todo-mode-hook)
6669 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6670 (todo-print-priorities, todo-remove-separator)
6671 (todo-save-top-priorities-too, todo-string-count-lines)
6672 (todo-string-multiline-p, todo-time-string-format)
6673 (todo-tmp-buffer-name): Remove.
6674 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6675 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6676 (todo-edit-category-diary-inclusion)
6677 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6678 (todo-edit-file, todo-edit-item-date-day)
6679 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6680 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6681 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6682 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6683 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6684 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6685 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6686 (todo-filter-top-priorities-multifile, todo-find-archive)
6687 (todo-find-filtered-items-file, todo-go-to-source-item)
6688 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6689 (todo-jump-to-archive-category, todo-lower-category)
6690 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6691 (todo-move-category, todo-move-item, todo-next-button)
6692 (todo-next-item, todo-padded-string, todo-powerset)
6693 (todo-previous-button, todo-previous-item)
6694 (todo-print-buffer-to-file, todo-raise-category)
6695 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6696 (todo-set-category-number, todo-set-item-priority)
6697 (todo-set-top-priorities-in-category)
6698 (todo-set-top-priorities-in-file, todo-show-categories-table)
6699 (todo-sort-categories-alphabetically-or-numerically)
6700 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6701 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6702 (todo-toggle-item-header, todo-toggle-item-highlighting)
6703 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6704 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6705 (todo-unarchive-items, todo-unmark-category): New commands.
6706 (todo-absolute-file-name, todo-add-to-buffer-list)
6707 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6708 (todo-basic-insert-item, todo-category-completions)
6709 (todo-category-number, todo-category-string-matcher-1)
6710 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6711 (todo-check-format, todo-clear-matches)
6712 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6713 (todo-current-category, todo-date-string-matcher)
6714 (todo-define-insertion-command, todo-diary-expired-matcher)
6715 (todo-diary-goto-entry, todo-diary-item-p)
6716 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6717 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6718 (todo-done-item-section-p, todo-done-separator)
6719 (todo-done-string-matcher, todo-files, todo-filter-items)
6720 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6721 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6722 (todo-insert-category-line, todo-insert-item-from-calendar)
6723 (todo-insert-sort-button, todo-insert-with-overlays)
6724 (todo-insertion-command-name, todo-insertion-key-bindings)
6725 (todo-label-to-key, todo-longest-category-name-length)
6726 (todo-make-categories-list, todo-mode-external-set)
6727 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6728 (todo-modes-set-3, todo-multiple-filter-files)
6729 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6730 (todo-read-category, todo-read-date, todo-read-dayname)
6731 (todo-read-file-name, todo-read-time)
6732 (todo-reevaluate-category-completions-files-defcustom)
6733 (todo-reevaluate-default-file-defcustom)
6734 (todo-reevaluate-filelist-defcustoms)
6735 (todo-reevaluate-filter-files-defcustom)
6736 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6737 (todo-reset-done-separator, todo-reset-done-separator-string)
6738 (todo-reset-done-string, todo-reset-global-current-todo-file)
6739 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6740 (todo-reset-prefix, todo-set-categories)
6741 (todo-set-date-from-calendar, todo-set-show-current-file)
6742 (todo-set-top-priorities, todo-short-file-name)
6743 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6744 (todo-total-item-counts, todo-update-buffer-list)
6745 (todo-update-categories-display, todo-update-categories-sexp)
6746 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6748 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6750 (todo-categories, todo-display, todo-edit, todo-faces)
6751 (todo-filtered): New defgroups.
6752 (todo-archived-only, todo-button, todo-category-string, todo-date)
6753 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6754 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6755 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6756 (todo-add-item-if-new-category, todo-always-add-time-string)
6757 (todo-categories-align, todo-categories-archived-label)
6758 (todo-categories-category-label, todo-categories-diary-label)
6759 (todo-categories-done-label, todo-categories-number-separator)
6760 (todo-categories-todo-label, todo-categories-totals-label)
6761 (todo-category-completions-files, todo-completion-ignore-case)
6762 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6763 (todo-done-separator-string, todo-done-string)
6764 (todo-files-function, todo-filter-done-items, todo-filter-files)
6765 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6766 (todo-initial-category, todo-initial-file, todo-item-mark)
6767 (todo-legacy-date-time-regexp, todo-mode-line-function)
6768 (todo-nondiary-marker, todo-number-prefix)
6769 (todo-print-buffer-function, todo-show-current-file)
6770 (todo-show-done-only, todo-show-first, todo-show-with-done)
6771 (todo-skip-archived-categories, todo-top-priorities-overrides)
6772 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6773 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6775 (todo-category-done, todo-date-pattern, todo-date-string-start)
6776 (todo-diary-items-buffer, todo-done-string-start)
6777 (todo-filtered-items-buffer, todo-item-start)
6778 (todo-month-abbrev-array, todo-month-name-array)
6779 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6780 (todo-top-priorities-buffer): New defconsts.
6781 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6782 (todo-categories-with-marks, todo-category-string-face)
6783 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6784 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6785 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6786 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6787 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6788 (todo-font-lock-keywords, todo-global-current-todo-file)
6789 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6790 (todo-insertion-commands-args)
6791 (todo-insertion-commands-args-genlist)
6792 (todo-insertion-commands-names, todo-insertion-map)
6793 (todo-key-bindings-t, todo-key-bindings-t+a)
6794 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6795 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6796 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6797 (todo-visited): New variables.
6799 2013-06-21 Glenn Morris <rgm@gnu.org>
6801 * play/cookie1.el (cookie-apropos): Add optional display argument.
6802 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6803 (psychoanalyze-pinhead): Use cookie-doctor.
6805 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6807 * emacs-lisp/package.el (tar-get-file-descriptor)
6808 (tar--extract): Declare.
6810 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6812 Extend flymake's warning predicate to be a function (bug#14217).
6813 * progmodes/flymake.el (flymake-warning-predicate): New.
6814 (flymake-parse-line): Use it.
6815 (flymake-warning-re): Make obsolete alias to
6816 `flymake-warning-predicate'.
6818 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6820 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6821 (package-obsolete-list): Remove.
6822 (package-activate): Remove min-version argument. Add `force' argument.
6823 Adjust to new package-alist format.
6824 (package-mark-obsolete): Remove.
6825 (package-unpack): Force reload of the package's autoloads.
6826 (package-installed-p): Check builtins if the installed package is not
6828 (package-initialize): Don't reset package-obsolete-list.
6829 Don't specify which package version to activate.
6830 (package-process-define-package, describe-package-1)
6831 (package-menu--generate): Adjust to new package-alist format.
6833 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6835 * allout-widgets.el (allout-widgets-mode-off)
6836 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6837 (allout-widgets-post-command-business)
6838 (allout-widgets-after-copy-or-kill-function)
6839 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6840 (allout-decorate-item-and-context)
6841 (allout-graphics-modification-handler): Fix typos in docstrings.
6842 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6844 * cmuscheme.el (scheme-start-file): Doc fix.
6845 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6846 (scheme-input-filter): Use `string-match-p'.
6848 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6850 * dired-x.el: Use Dired consistently in docstrings.
6852 * dired.el: Use Dired consistently in docstrings.
6853 (dired-readin, dired-mode): Use `setq-local'.
6854 (dired-switches-alist): Make defvar-local.
6855 (dired-buffers-for-dir): Use `zerop'.
6856 (dired-safe-switches-p, dired-switches-escape-p)
6857 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6858 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6859 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6860 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6861 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6862 (dired-toggle-marks, dired-mark-files-containing-regexp)
6863 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6864 (dired-flag-auto-save-files, dired-flag-backup-files):
6866 (dired-mark-files-regexp, dired-build-subdir-alist):
6867 Use `string-match-p', `looking-at-p'.
6869 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6870 (direct-print-region-helper): Use `string-match-p'.
6872 2013-06-21 Leo Liu <sdl.web@gmail.com>
6874 * comint.el (comint-redirect-results-list-from-process):
6877 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6879 * net/eww.el (eww-update-header-line-format): Quote % characters.
6881 2013-06-21 Glenn Morris <rgm@gnu.org>
6883 * play/cookie1.el (cookie): New custom group.
6884 (cookie-file): New option.
6885 (cookie-check-file): New function.
6886 (cookie): Make it interactive. Make start and end messages optional.
6887 Interactively, display the result. Default to cookie-file.
6888 (cookie-insert): Default to cookie-file.
6889 (cookie-snarf): Make start and end messages optional.
6890 Default to cookie-file. Use with-temp-buffer.
6891 (cookie-read): Rename from read-cookie.
6892 Make start and end messages optional. Default to cookie-file.
6893 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6895 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6896 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6898 2013-06-21 Leo Liu <sdl.web@gmail.com>
6900 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6902 2013-06-21 Glenn Morris <rgm@gnu.org>
6904 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6906 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6907 Daniel Hackney <dan@haxney.org>
6909 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6910 Consolidate the single-file vs tarball code.
6911 (package-desc-suffix): New function.
6912 (package-desc-full-name): Don't bother inlining it.
6913 (package-load-descriptor): Return the new package-desc.
6914 (package-mark-obsolete): Remove unused arg `package'.
6915 (package-unpack): Make it work for single files as well.
6916 Make it update package-alist.
6917 (package--make-autoloads-and-stuff): Rename from
6918 package--make-autoloads-and-compile. Don't compile any more.
6919 (package--compile): New function.
6920 (package-generate-description-file): New function, extracted from
6921 package-unpack-single.
6922 (package-unpack-single): Remove.
6923 (package--with-work-buffer): Add indentation and debugging info.
6924 (package-download-single): Remove.
6925 (package-install-from-archive): Rename from package-download-tar, make
6926 it take a pkg-desc, and make it work for single files as well.
6927 (package-download-transaction): Simplify.
6928 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6929 external tar program.
6930 (package-install-from-buffer): Remove `pkg-desc' argument.
6931 Use package-tar-file-info for tar-mode buffers.
6932 (package-install-file): Simplify accordingly.
6933 (package-archive-base): Change to take a pkg-desc.
6934 * tar-mode.el (tar--check-descriptor): New function, extracted from
6936 (tar-get-descriptor): Use it.
6937 (tar-get-file-descriptor): New function.
6938 (tar--extract): New function, extracted from tar-extract.
6939 (tar--extract): Use it.
6940 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6941 case the summary uses non-ascii. Adjust to new calling convention of
6942 package-tar-file-info.
6944 2013-06-21 Leo Liu <sdl.web@gmail.com>
6946 * comint.el (comint-redirect-results-list-from-process):
6947 Fix random delay. (Bug#14681)
6949 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6951 * profiler.el (profiler-format-number): Use log, not log10.
6953 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6955 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6957 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6959 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6960 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6962 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6963 (AUTOGENEL): ... here.
6964 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6965 (cl--defsubst-expand): Use it.
6967 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6969 * subr.el (log10): Move here from C code, and declare as obsolete.
6970 All uses of (log10 X) replaced with (log X 10).
6972 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6974 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6975 Declare with `defvar-local'.
6976 (tabulated-list-use-header-line, tabulated-list-entries)
6977 (tabulated-list-padding, tabulated-list-printer)
6978 (tabulated-list-sort-key): Declare with `defvar-local'.
6979 (tabulated-list-init-header, tabulated-list-print-fake-header):
6982 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6984 * arc-mode.el (archive-mode): Add `archive-write-file' to
6985 `write-contents-functions' also for remote files. (Bug#14652)
6987 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6989 * cus-edit.el (custom-commands): Fix typos.
6990 (custom-display): Fix tooltip text.
6991 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6992 Fix typos in docstrings.
6993 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6994 (custom-unlispify-menu-entry, custom-magic-value-create)
6995 (custom-add-see-also, custom-group-value-create): Use ?\s.
6996 (custom-guess-type, customize-apropos, editable-field)
6997 (custom-face-value-create): Use `string-match-p'.
6998 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7000 * custom.el (custom-load-symbol): Use `string-match-p'.
7002 * ansi-color.el: Convert to lexical binding.
7003 (ansi-colors): Fix URL.
7004 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7005 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7006 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7008 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7010 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7012 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7014 2013-06-19 Tom Tromey <tromey@redhat.com>
7016 * net/eww.el (eww-top-url): Remove.
7017 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7018 (eww-render): Set new variables. Don't set eww-top-url.
7019 (eww-handle-link): Handle "prev", "home", and "contents".
7020 Downcase the rel text.
7021 (eww-top-url): Choose best top URL.
7023 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7025 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7026 relying in widget.el. Using widget.el leads to too many
7027 user interface inconsistencies.
7028 (eww-self-insert): Implement entering commands in text fields.
7029 (eww-process-text-input): New function to make text input field editing
7031 (eww-submit): Rewrite to use the new-style form methods.
7032 (eww-select-display): Display the correct selected item.
7033 (eww-change-select): Implement changing the select value.
7034 (eww-toggle-checkbox): Implement radio/checkboxes.
7035 (eww-update-field): Fix compilation error.
7036 (eww-tag-textarea): Implement <textarea>.
7038 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7039 we don't shadow mode-specific bindings.
7041 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7044 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7046 2013-06-19 Glenn Morris <rgm@gnu.org>
7048 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7050 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7052 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7055 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7057 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7059 * net/browse-url.el (browse-url-browser-function):
7060 `eww-browse-url' has the right calling signature, `eww' does not.
7062 2013-06-19 Glenn Morris <rgm@gnu.org>
7064 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7065 Only eval autoloaded macros.
7066 (byte-compile-autoload): Only give the macro warning for macros.
7068 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7069 (ps-underlined-faces): Declare.
7071 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7072 (speedbar-add-supported-extension): Declare.
7074 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7075 Don't include a date stamp in the header of the generated file;
7076 it leads to needless differences between output files.
7078 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7080 * net/secrets.el (secrets-struct-secret-content-type):
7081 Replace check of introspection data by a test call of "CreateItem".
7082 Some servers do not offer introspection.
7084 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7086 * electric.el (electric-pair-mode): Improve interaction with
7087 electric-layout-mode.
7088 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7089 (electric-pair-syntax): Use text-mode-syntax-table in comments
7091 (electric-pair--insert): New function.
7092 (electric-pair-post-self-insert-function): Use it and
7093 electric--after-char-pos.
7095 2013-06-19 Leo Liu <sdl.web@gmail.com>
7097 * progmodes/octave.el (octave-help): Fix regexp.
7099 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7101 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7102 (shr-table-horizontal-line): Allow nil as a value, and change the
7104 (shr-insert-table-ruler): Respect the nil value.
7106 2013-06-18 Tom Tromey <tromey@barimba>
7108 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7110 (eww-open-file): New defun.
7111 (eww-render): Initialize new variables.
7112 (eww-display-html): Handle "link" and "a".
7113 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7114 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7115 (eww-back-url): Rename from eww-previous-url.
7116 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7119 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7121 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7122 Distinguish ternary operator tokens from slash symbol and slash
7125 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7127 Convert symbol prettification into minor mode and global minor mode.
7129 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7130 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7131 (prettify-symbols--keywords): Rename from
7132 `prog-prettify-symbols-alist' and make a local defvar.
7133 (prettify-symbols--compose-symbol): Rename from
7134 `prog--prettify-font-lock-compose-symbol'.
7135 (prettify-symbols--make-keywords): Rename from
7136 `prog-prettify-font-lock-symbols-keywords' and simplify.
7137 (prog-prettify-install): Remove.
7138 (prettify-symbols-mode): New minor mode, based on
7139 `prog-prettify-install'.
7140 (turn-on-prettify-symbols-mode): New function.
7141 (global-prettify-symbols-mode): New globalized minor mode.
7143 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7144 * progmodes/cfengine.el (cfengine3-mode):
7145 * progmodes/perl-mode.el (perl-mode): Don't call
7146 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7148 2013-06-18 Juri Linkov <juri@jurta.org>
7150 * files-x.el (modify-file-local-variable-message): New function.
7151 (modify-file-local-variable)
7152 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7153 and call `modify-file-local-variable-message' when it's non-nil.
7154 (add-file-local-variable, delete-file-local-variable)
7155 (add-file-local-variable-prop-line)
7156 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7157 and use it. (Bug#9820)
7159 2013-06-18 Juri Linkov <juri@jurta.org>
7161 * emulation/vi.el (vi-shell-op):
7162 * emulation/vip.el (vip-execute-com, ex-command):
7163 * emulation/viper-cmd.el (viper-exec-bang):
7164 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7165 the call of `shell-command-on-region'. (Bug#14637)
7167 * simple.el (shell-command-on-region): Doc fix.
7169 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7171 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7174 2013-06-18 Glenn Morris <rgm@gnu.org>
7176 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7178 * newcomment.el (comment-search-forward, comment-search-backward):
7179 Doc fix. (Bug#14376)
7181 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7183 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7184 (buffer-face-mode-invoke): Doc fix.
7186 2013-06-18 Matthias Meulien <orontee@gmail.com>
7188 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7189 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7191 2013-06-18 Glenn Morris <rgm@gnu.org>
7193 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7194 Replace obsolete function generic-make-keywords with its expansion.
7196 * progmodes/python.el (ffap-alist): Declare.
7198 * textmodes/reftex.el (bibtex-mode-map): Declare.
7200 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7202 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7203 (package-unpack, package-unpack-single): Return the pkg-dir.
7204 (package-download-transaction): Use it to update package-alist.
7206 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7208 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7211 2013-06-17 Juri Linkov <juri@jurta.org>
7213 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7215 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7217 * emacs-lisp/package.el (package-load-descriptor):
7218 Remove `with-syntax-table' call, `read' doesn't need it.
7219 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7221 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7223 * startup.el (command-line): Expand package name returned by
7224 `package--description-file' (bug#14639).
7226 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7228 * emacs-lisp/package.el (package-load-descriptor): Do not call
7229 `emacs-lisp-mode', just use its syntax table.
7231 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7233 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7234 `font-lock-extra-managed-props' if any prettifying keyword is added.
7235 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7236 (prog-mode): Use `setq-local'.
7238 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7240 * international/characters.el (standard-case-table): Set syntax of ?»
7241 and ?« to punctuation.
7243 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7245 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7246 Save relevant match data before calling `syntax-ppss' (bug#14595).
7248 2013-06-15 Juri Linkov <juri@jurta.org>
7250 * files-x.el (modify-file-local-variable-prop-line): Add local
7251 variables to the end of the existing comment on the first line.
7252 Use `file-auto-mode-skip' to skip interpreter magic line,
7253 and also skip XML declaration.
7255 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7257 * startup.el (package--builtin-versions): New var.
7258 (package-subdirectory-regexp): Remove.
7259 (package--description-file): Hard code its value instead.
7261 * emacs-lisp/package.el: Don't activate packages older than builtin.
7262 (package-obsolete-list): Rename from package-obsolete-alist, and make
7263 it into a simple list of package-desc.
7264 (package-strip-version): Remove.
7265 (package-built-in-p): Use package--builtin-versions.
7266 (package-mark-obsolete): Simplify.
7267 (package-process-define-package): Mark it obsolete if older than the
7269 (package-handle-response): Use line-end-position.
7270 (package-read-archive-contents, package--download-one-archive):
7272 (package--add-to-archive-contents): Skip if older than the builtin or
7274 (package-menu-describe-package): Fix last change.
7275 (package-list-unversioned): New var.
7276 (package-menu--generate): Use it.
7278 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7279 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7280 (autoload-builtin-package-versions): New variable.
7281 (autoload-generate-file-autoloads): Use them.
7282 Remove the list of autoloaded functions/macros from the
7283 (autoload...) comments.
7285 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7287 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7289 * simple.el (line-move-partial): Don't jump to the next screen
7290 line as soon as it becomes visible. Instead, continue enlarging
7291 the vscroll until the portion of a tall screen line that's left on
7292 display is about the height of the frame's default font.
7295 2013-06-15 Glenn Morris <rgm@gnu.org>
7297 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7298 compilation-error-regexp-alist void, or local while let-bound.
7300 * progmodes/make-mode.el (makefile-mode-syntax-table):
7301 Treat "=" as punctuation. (Bug#14614)
7303 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7305 * help-fns.el (describe-variable):
7306 Add extra line for permanent-local variables.
7308 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7310 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7311 Add export, import, library. (Bug#9164)
7312 (library): Set indent function.
7314 2013-06-14 Glenn Morris <rgm@gnu.org>
7316 * term/xterm.el (xterm--query):
7317 Stop after first matching handler. (Bug#14615)
7319 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7321 Add support for dired in saveplace.
7322 * dired.el (dired-initial-position-hook): New variable.
7323 (dired-initial-position): Call hook to place cursor position.
7324 * saveplace.el (save-place-to-alist): Add dired position.
7325 (save-place-dired-hook): New function.
7327 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7329 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7330 through a symbol rather than letrec.
7332 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7333 (package-desc): Add `dir' field.
7334 (package-desc-full-name): New function.
7335 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7336 (package-maybe-load-descriptor): Remove.
7337 (package-load-all-descriptors): Just call package-load-descriptor.
7338 (package--disabled-p): New function.
7339 (package-desc-vers, package-desc-doc): Remove aliases.
7340 (package--dir): Remove function.
7341 (package-activate): Check if a package is disabled.
7342 (package-process-define-package): New function, extracted from
7344 (define-package): Turn into a place holder.
7345 (package-unpack-single, package-tar-file-info):
7346 Use package--description-file.
7347 (package-compute-transaction): Use package--disabled-p.
7348 (package-download-transaction): Don't call
7349 package-maybe-load-descriptor since they're all loaded anyway.
7350 (package-install): Change argument to be a pkg-desc.
7351 (package-delete): Use a single pkg-desc argument.
7352 (describe-package-1): Use package-desc-dir instead of package--dir.
7353 Use package-desc property instead of package-symbol.
7354 (package-install-button-action): Adjust accordingly.
7355 (package--push): Rewrite.
7356 (package-menu--print-info): Adjust accordingly. Change the ID format
7358 (package-menu-describe-package, package-menu-get-status)
7359 (package-menu--find-upgrades, package-menu-mark-upgrades)
7360 (package-menu-execute, package-menu--name-predicate):
7362 * startup.el (package--description-file): New function.
7363 (command-line): Use it.
7364 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7365 Use package-desc-version.
7367 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7368 (byte-compile-preprocess): Use it.
7369 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7370 can't quite recognize.
7371 (byte-compile-add-to-list): Remove.
7372 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7373 (cconv-closure-convert): Add assertion.
7375 * emacs-lisp/map-ynp.el: Use lexical-binding.
7376 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7377 Factor out some repeated code.
7379 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7381 * subr.el (with-eval-after-load): New macro.
7382 (eval-after-load): Allow form to be a function.
7383 take advantage of lexical-binding.
7384 (do-after-load-evaluation): Use dolist and adjust to new format.
7385 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7387 2013-06-13 Juri Linkov <juri@jurta.org>
7389 * replace.el (perform-replace): Display "symbol " and other search
7390 modes from `isearch-message-prefix' in the *Help* buffer.
7392 * isearch.el (isearch-query-replace): Add " symbol" and other
7393 possible search modes from `isearch-message-prefix' to the prompt.
7394 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7395 when reading a regexp to collect.
7397 2013-06-13 Juri Linkov <juri@jurta.org>
7399 * isearch.el (word-search-regexp): Match whitespace if the search
7400 string begins or ends in whitespace. The LAX arg is applied to
7401 both ends of the search string. Use `regexp-quote' and explicit
7402 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7403 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7404 boundaries are replaced with symbol boundaries, and characters
7405 between symbols match non-word non-symbol syntax. (Bug#14602)
7407 2013-06-13 Juri Linkov <juri@jurta.org>
7409 * isearch.el (isearch-del-char): Don't exceed the length of
7410 `isearch-string' by the prefix arg. (Bug#14563)
7412 2013-06-13 Juri Linkov <juri@jurta.org>
7414 * isearch.el (isearch-yank-word, isearch-yank-line)
7415 (isearch-char-by-name, isearch-quote-char)
7416 (isearch-printing-char, isearch-process-search-char):
7417 Add optional count prefix arg. (Bug#14563)
7419 * international/isearch-x.el
7420 (isearch-process-search-multibyte-characters):
7421 Add optional count prefix arg.
7423 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7425 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7426 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7429 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7431 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7433 2013-06-13 Glenn Morris <rgm@gnu.org>
7435 * startup.el (tty-handle-args):
7436 Don't just discard "--" and anything after. (Bug#14608)
7438 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7440 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7442 Implement changes in Secret Service API. Make it backward compatible.
7443 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7444 (secrets-create-item): Use it. Prefix properties with interface.
7446 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7448 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7449 (term-emulate-terminal): Respect term-suppress-hard-newline.
7451 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7453 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7454 Only remove a `thumb-file' overlay. (Bug#14548)
7456 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7458 * mail/reporter.el (reporter-submit-bug-report):
7459 Handle missing package-name. (Bug#14600)
7461 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7463 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7464 (reftex-citation-prompt, reftex-default-bibliography)
7465 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7466 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7467 (reftex-bib-sort-author, reftex-bib-sort-year)
7468 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7469 (reftex-extract-bib-entries-from-thebibliography)
7470 (reftex-get-bibkey-default, reftex-get-bib-names)
7471 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7472 (reftex-format-bib-entry, reftex-parse-bibitem)
7473 (reftex-format-bibitem, reftex-do-citation)
7474 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7475 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7476 (reftex-insert-bib-matches, reftex-format-citation)
7477 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7478 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7479 existing comments into docstrings.
7481 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7483 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7485 2013-06-12 Andreas Schwab <schwab@suse.de>
7487 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7488 for auto-save files.
7490 2013-06-12 Glenn Morris <rgm@gnu.org>
7492 * ido.el (ido-delete-ignored-files): Remove.
7493 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7494 Go back to calling ido-ignore-item-p directly.
7496 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7498 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7500 * ido.el (ido-delete-ignored-files): New function,
7501 split from ido-make-file-list-1.
7502 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7503 (ido-make-file-list-1): Use ido-delete-ignored-files.
7505 2013-06-12 Leo Liu <sdl.web@gmail.com>
7507 * progmodes/octave.el (inferior-octave-startup)
7508 (inferior-octave-completion-table)
7509 (inferior-octave-track-window-width-change)
7510 (octave-eldoc-function-signatures, octave-help)
7511 (octave-find-definition): Use single quoted strings.
7512 (inferior-octave-startup-args): Change default value.
7513 (inferior-octave-startup): Do not hard code "-i" and
7514 "--no-line-editing".
7515 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7516 (inferior-octave-directory-tracker): Use it.
7517 (octave-goto-function-definition): Robustify.
7518 (octave-help): Support highlighting operators in 'See also'.
7519 (octave-find-definition): Find subfunctions only in Octave mode.
7521 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7523 * help-fns.el (help-fns--compiler-macro): If the handler function is
7524 named, then put a link to it.
7525 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7526 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7528 (cl-eval-when): Simplify debug spec.
7529 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7530 compiler-macro function instead of setting `compiler-macro-file'.
7532 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7534 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7535 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7537 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7538 Daniel Hackney <dan@haxney.org>
7540 First part of Daniel Hackney's patch to package.el.
7541 * emacs-lisp/package.el: Use defstruct.
7542 (package-desc): New, main struct.
7543 (package--bi-desc, package--ac-desc): New structs, used to describe the
7544 format in external files.
7545 (package-desc-vers): Replace with package-desc-version accessor.
7546 (package-desc-doc): Replace with package-desc-summary accessor.
7547 (package-activate-1): Remove `package' arg since the pkg-vec now
7549 (define-package): Use package-desc-from-define.
7550 (package-unpack-single): Change file-name arg to be a symbol.
7551 (package--add-to-archive-contents): Use package-desc-create and new
7552 accessor functions to package--ac-desc.
7553 (package-buffer-info, package-tar-file-info): Return a package-desc.
7554 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7555 arg to be a package-desc.
7556 (package-install-file): Adjust accordingly. Use \' to match EOS.
7557 (package--from-builtin): New function.
7558 (describe-package-1, package-menu--generate): Use it.
7559 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7560 (package-generate-autoloads): Idem and return the name of the file.
7561 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7562 Change pkg-info arg to be a package-desc.
7563 Use package-make-ac-desc.
7564 (package-upload-file): Use \' to match EOS.
7565 * finder.el (finder-compile-keywords): Use package-make-builtin.
7567 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7569 * vc/vc.el (vc-deduce-fileset): Change error message.
7570 (vc-read-backend): New function.
7571 (vc-next-action): Use it.
7573 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7575 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7576 (prolog-font-lock-keywords): Use regexp-opt instead.
7577 Don't manually highlight strings.
7578 (prolog-mode-variables): Simplify comment-start-skip.
7579 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7581 * emacs-lisp/generic.el (generic--normalise-comments)
7582 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7583 (generic-mode-set-comments): Use them.
7584 (generic-bracket-support): Use setq-local.
7585 (generic-make-keywords-list): Declare obsolete.
7587 2013-06-11 Glenn Morris <rgm@gnu.org>
7589 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7590 Prettify after setting font-lock-defaults. (Bug#14574)
7592 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7594 * replace.el (query-replace, occur-read-regexp-defaults-function)
7596 * subr.el (declare-function, number-sequence, local-set-key)
7597 (substitute-key-definition, locate-user-emacs-file)
7598 (with-silent-modifications, split-string, eval-after-load):
7599 Fix typos, remove unneeded backslashes and reflow some docstrings.
7601 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7603 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7604 default for Elisp files.
7606 2013-06-11 Glenn Morris <rgm@gnu.org>
7608 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7609 although define-derived-mode was doing this anyway. (Bug#14583)
7611 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7613 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7614 Fix make-variable-buffer-local call to refer to the correct variable.
7616 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7618 * eshell/em-term.el (eshell-visual-commands)
7619 (eshell-visual-subcommands, eshell-visual-options):
7620 Add summary line to docstrings. Add cross-references.
7622 2013-06-10 Glenn Morris <rgm@gnu.org>
7624 * epa.el (epa-read-file-name): New function. (Bug#14510)
7625 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7627 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7629 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7630 output redirection to be ignored with visual commands.
7632 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7634 * eshell/em-term.el (eshell-visual-command-p): New function.
7635 (eshell-term-initialize): Move long lambda to separate function
7636 eshell-visual-command-p.
7637 * eshell/em-dirs.el (eshell-dirs-initialise):
7638 * eshell/em-script.el (eshell-script-initialize):
7639 Add missing #' to lambda.
7641 2013-06-08 Leo Liu <sdl.web@gmail.com>
7643 * progmodes/octave.el (octave-add-log-current-defun): New function.
7644 (octave-mode): Set add-log-current-defun-function.
7645 (octave-goto-function-definition): Do not move point if not found.
7646 (octave-find-definition): Enhance to try subfunctions first.
7648 2013-06-08 Glenn Morris <rgm@gnu.org>
7650 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7651 (byte-compile-backward-char, byte-compile-backward-word):
7652 Improve previous change, to handle non-explicit nil.
7654 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7656 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7657 (smie--opener/closer-at-point): New function.
7658 (smie--matching-block-data): Use it. Don't match from right after an
7659 opener or right before a closer. Obey smie-blink-matching-inners.
7660 Don't signal a mismatch for repeated inners like "switch..case..case".
7662 2013-06-07 Leo Liu <sdl.web@gmail.com>
7664 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7666 (octave-function-header-regexp): Fix. (Bug#14570)
7667 (octave-help-mode-finish-hook, octave-help-mode-finish):
7668 Remove. Just use temp-buffer-show-hook.
7670 * newcomment.el (comment-search-backward): Revert last change.
7673 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7675 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7677 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7678 through xargs, to avoid failure due to MS-Windows limitations on
7679 command-line length.
7681 2013-06-06 Glenn Morris <rgm@gnu.org>
7683 * font-lock.el (lisp-font-lock-keywords-2):
7684 Treat user-error like error.
7686 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7687 (byte-compile-backward-char, byte-compile-backward-word):
7688 Handle explicit nil arguments. (Bug#14565)
7690 2013-06-05 Alan Mackenzie <acm@muc.de>
7692 * isearch.el (isearch-allow-prefix): New user option.
7693 (isearch-other-meta-char): Don't exit isearch when a prefix
7694 argument is typed whilst `isearch-allow-prefix' is non-nil.
7697 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7699 * autorevert.el (auto-revert-notify-handler): Use memq.
7700 Hide assertion failure.
7702 * skeleton.el: Use cl-lib.
7703 (skeleton-further-elements): Use defvar-local.
7704 (skeleton-insert): Use cl-progv.
7706 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7708 * progmodes/prog-mode.el (prog-prettify-symbols)
7709 (prog-prettify-install): Update docstrings.
7711 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7713 * simple.el: Move all the prog-mode code to prog-mode.el.
7714 * progmodes/prog-mode.el: New file.
7715 * loadup.el: Add prog-mode.el.
7717 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7719 * simple.el (prog-prettify-symbols): Add version.
7720 (prog-prettify-install): Add convenience function to prettify symbols.
7722 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7723 (perl--augmented-font-lock-keywords-1)
7724 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7725 variables and use it.
7727 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7728 (cfengine3-mode): Remove unneeded variable and use it.
7730 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7731 (lisp--augmented-font-lock-keywords-1)
7732 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7733 Remove unneeded variables and use it.
7735 2013-06-05 João Távora <joaotavora@gmail.com>
7737 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7738 to point when opening the connection. (Bug#14380)
7740 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7742 * subr.el (load-history-regexp, load-history-filename-element)
7743 (eval-after-load, after-load-functions, do-after-load-evaluation)
7744 (eval-next-after-load, display-delayed-warnings)
7745 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7746 definition of save-match-data.
7747 (overriding-local-map): Remove accidental obsolescence declaration.
7749 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7751 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7753 Generalize symbol prettify support to prog-mode and implement it
7754 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7755 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7756 (prog--prettify-font-lock-compose-symbol)
7757 (prog-prettify-font-lock-symbols-keywords): New variables and
7758 functions to support symbol prettification.
7759 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7760 (lisp--augmented-font-lock-keywords-1)
7761 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7762 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7763 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7764 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7765 Implement prettify of -> => :: strings.
7766 * progmodes/perl-mode.el (perl-prettify-symbols)
7767 (perl--font-lock-compose-symbol)
7768 (perl--font-lock-symbols-keywords): Move to prog-mode.
7769 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7770 (perl-font-lock-keywords-1)
7771 (perl-font-lock-keywords-2): Remove explicit prettify support.
7772 (perl--augmented-font-lock-keywords)
7773 (perl--augmented-font-lock-keywords-1)
7774 (perl--augmented-font-lock-keywords-2, perl-mode):
7775 Implement prettify support.
7777 2013-06-05 Leo Liu <sdl.web@gmail.com>
7779 Re-implement smie matching block highlight using
7780 show-paren-data-function. (Bug#14395)
7781 * emacs-lisp/smie.el (smie-matching-block-highlight)
7782 (smie--highlight-matching-block-overlay)
7783 (smie--highlight-matching-block-lastpos)
7784 (smie-highlight-matching-block)
7785 (smie-highlight-matching-block-mode): Remove.
7786 (smie--matching-block-data-cache): New variable.
7787 (smie--matching-block-data): New function.
7788 (smie-setup): Use smie--matching-block-data for
7789 show-paren-data-function.
7791 * progmodes/octave.el (octave-mode-menu): Fix.
7792 (octave-find-definition): Skip garbage lines.
7794 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7796 Fix compilation error with simultaneous dynamic+lexical scoping.
7797 Add warning when a defvar appears after the first let-binding.
7798 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7799 (byte-compile-close-variables): Initialize it.
7800 (byte-compile--declare-var): New function.
7801 (byte-compile-file-form-defvar)
7802 (byte-compile-file-form-define-abbrev-table)
7803 (byte-compile-file-form-custom-declare-variable): Use it.
7804 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7805 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7806 (byte-compile-bind): Handle dynamic bindings that shadow
7808 (byte-compile-unbind): Make arg non-optional.
7809 (byte-compile-let): Simplify.
7810 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7811 (cconv--analyse-function, cconv-analyse-form): Populate it.
7812 Protect byte-compile-bound-variables to limit the scope of defvars.
7813 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7814 Remove unneeded rule for `declare'.
7816 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7817 so as to avoid depending on cl-adjoin at run-time.
7818 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7820 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7821 (macroexp--warn-and-return): Use it.
7823 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7825 * lisp/subr.el: Convert to lexical binding.
7826 (overriding-local-map): Make obsolete.
7827 (add-to-list): Doc fix. Add compiler macro.
7828 (read-key): Swap values of local maps.
7830 2013-06-05 Leo Liu <sdl.web@gmail.com>
7832 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7834 2013-06-04 Leo Liu <sdl.web@gmail.com>
7836 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7837 (compilation-auto-jump): Suppress the "Mark set" message to give
7838 way to exit message.
7840 2013-06-04 Alan Mackenzie <acm@muc.de>
7842 Remove faulty optimisation from indentation calculation.
7843 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7844 search limit based on 2000 characters back from indent-point.
7846 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7848 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7850 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7852 * emacs-lisp/lisp.el: Use lexical-binding.
7853 (lisp--local-variables-1, lisp--local-variables): New functions.
7854 (lisp--local-variables-completion-table): New var.
7855 (lisp-completion-at-point): Use it complete let-bound vars.
7857 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7858 eagerly (bug#14422).
7860 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7862 * autorevert.el (auto-revert-notify-enabled)
7863 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7864 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7865 (auto-revert-notify-handler): Handle also gfilenotify.
7867 * subr.el (file-notify-handle-event): New defun. Replacing ...
7868 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7871 2013-06-03 Juri Linkov <juri@jurta.org>
7873 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7874 `M-s h .'. (Bug#14427)
7876 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7877 command `hi-lock-face-symbol-at-point'.
7878 (hi-lock-face-symbol-at-point): New command.
7879 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7880 (hi-lock-menu): Add `highlight-symbol-at-point'.
7881 (hi-lock-mode): Doc fix.
7883 * isearch.el (isearch-forward-symbol-at-point): New command.
7884 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7885 (isearch-highlight-regexp): Add a regexp which matches
7886 words/symbols for word/symbol mode.
7888 * subr.el (find-tag-default-bounds): New function with the body
7889 mostly moved from `find-tag-default'.
7890 (find-tag-default): Move most code to `find-tag-default-bounds',
7891 call it and apply `buffer-substring-no-properties' afterwards.
7893 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7895 * eshell/em-term.el (eshell-term-initialize):
7896 Use `cl-intersection' rather than `intersection'.
7898 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7900 * vc/log-view.el: Doc fix.
7901 (log-view-mode-map): Copy keymap from `special-mode-map'.
7903 2013-06-02 Eric Ludlam <zappo@gnu.org>
7905 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7906 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7907 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7908 (eieio-unbound, eieio-default-superclass)
7909 (eieio--define-field-accessors, method-static, method-before)
7910 (method-primary, method-after, method-num-lists)
7911 (method-generic-before, method-generic-primary)
7912 (method-generic-after, method-num-slots)
7913 (eieio-specialized-key-to-generic-key)
7914 (eieio--check-type, class-v, class-p)
7915 (eieio-class-name, define-obsolete-function-alias)
7916 (eieio-class-parents-fast, eieio-class-children-fast)
7917 (same-class-fast-p, class-constructor, generic-p)
7918 (generic-primary-only-p, generic-primary-only-one-p)
7919 (class-option-assoc, class-option, eieio-object-p)
7920 (class-abstract-p, class-method-invocation-order)
7921 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7922 (eieio-class-un-autoload, eieio-defclass)
7923 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7924 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7925 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7926 (eieio-defgeneric-reset-generic-form)
7927 (eieio-defgeneric-form-primary-only)
7928 (eieio-defgeneric-reset-generic-form-primary-only)
7929 (eieio-defgeneric-form-primary-only-one)
7930 (eieio-defgeneric-reset-generic-form-primary-only-one)
7931 (eieio-unbind-method-implementations)
7932 (eieio--defmethod, eieio--typep)
7933 (eieio-perform-slot-validation, eieio-validate-slot-value)
7934 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7935 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7936 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7937 (eieio-slot-name-index, eieio-class-slot-name-index)
7938 (eieio-set-defaults, eieio-initarg-to-attribute)
7939 (eieio-attribute-to-initarg, eieio-c3-candidate)
7940 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7941 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7942 (eieio-class-precedence-list, eieio-generic-call-methodname)
7943 (eieio-generic-call-arglst, eieio-generic-call-key)
7944 (eieio-generic-call-next-method-list)
7945 (eieio-pre-method-execution-functions, eieio-generic-call)
7946 (eieio-generic-call-primary-only, eieiomt-method-list)
7947 (eieiomt-optimizing-obarray, eieiomt-install)
7948 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7949 (eieio-generic-form, eieio-defmethod, make-obsolete)
7950 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7951 (defclass): Remove `eval-and-compile' from macro.
7952 (call-next-method, shared-initialize): Instead of using
7953 `scoped-class' variable, use new eieio--scoped-class, and
7954 eieio--with-scoped-class.
7955 (initialize-instance): Rename local variable 'scoped-class' to
7956 'this-class' to remove ambiguitity from old global.
7958 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7960 (eieio--scoped-class-stack): New variable.
7961 (eieio--scoped-class): New fcn.
7962 (eieio--with-scoped-class): New scoping macro.
7963 (eieio-defclass): Use pushnew instead of add-to-list.
7964 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7965 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7966 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7967 `scoped-class' variable, use new eieio--scoped-class, and
7968 eieio--with-scoped-class.
7970 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7972 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7974 * eshell/esh-ext.el (eshell-external-command): Pass args to
7975 `eshell-find-interpreter'.
7976 (eshell-find-interpreter): Add new second parameter ARGS.
7978 * eshell/em-script.el (eshell-script-initialize): Add second arg
7979 to the function added as MATCH to `eshell-interpreter-alist'.
7981 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7982 the function added as MATCH to `eshell-interpreter-alist'.
7984 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7985 (eshell-visual-options): New defcustom.
7986 (eshell-escape-control-x): Adapt docstring.
7987 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7988 `eshell-visual-options' in addition to `eshell-visual-commands'.
7989 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7991 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7993 * progmodes/python.el (python-indent-block-enders): Add break,
7994 continue and raise keywords.
7996 2013-06-01 Glenn Morris <rgm@gnu.org>
7998 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8000 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8001 * progmodes/cc-cmds.el (delete-forward-p):
8002 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8003 * progmodes/cc-engine.el (buffer-syntactic-context):
8004 * progmodes/cc-fonts.el (face-property-instance):
8005 * progmodes/cc-mode.el (set-keymap-parents):
8006 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8007 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8008 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8009 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8010 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8012 * progmodes/cc-vars.el (other): Emacs has this widget since
8013 at least 21.1, so don't (re)define it.
8015 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8016 Replace the obsolete alias pcomplete-arg-quote-list.
8018 2013-06-01 Leo Liu <sdl.web@gmail.com>
8020 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8022 (inferior-octave-minimal-columns)
8023 (inferior-octave-last-column-width): New variables.
8024 (inferior-octave-track-window-width-change): New function.
8025 (inferior-octave-mode): Adjust column width so that Octave output,
8026 for example from 'ls', can fit into the window nicely.
8028 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8030 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8031 Highlight expansions inside regexp literals.
8033 2013-05-31 Glenn Morris <rgm@gnu.org>
8035 * obsolete/sym-comp.el (symbol-complete):
8036 Replace obsolete completion-annotate-function.
8038 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8040 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8042 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8043 New function, checks if point is inside a literal that allows
8044 expression expansion.
8045 (ruby-syntax-propertize-expansion): Use it.
8046 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8049 2013-05-30 Juri Linkov <juri@jurta.org>
8051 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8053 (isearch-invisible): New variable.
8054 (isearch-forward): Doc fix.
8055 (isearch-mode): Set `isearch-invisible'
8056 to the value of `search-invisible'.
8057 (isearch-toggle-case-fold): Doc fix.
8058 (isearch-toggle-invisible): New command.
8059 (isearch-query-replace): Let-bind `search-invisible'
8060 to the value of `isearch-invisible'.
8061 (isearch-search): Use `isearch-invisible' instead of
8062 `search-invisible'. Let-bind `search-invisible'
8063 to the value of `isearch-invisible'. (Bug#11378)
8065 2013-05-30 Juri Linkov <juri@jurta.org>
8067 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8068 call when `query-flag' is nil and `search-invisible' is non-nil.
8071 2013-05-30 Glenn Morris <rgm@gnu.org>
8073 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8075 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8076 (cc-require): Suppress spurious "noruntime" warnings.
8077 (cc-require-when-compile): Use fboundp, for sake of compiler.
8079 * progmodes/cc-mode.el: Move load of cc-vars before that of
8080 cc-langs (which in turn loads cc-vars), to quieten compiler.
8082 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8084 * paren.el: Simplify the code.
8085 (show-paren-mode): Always start the timer.
8086 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8087 (show-paren--overlay, show-paren--overlay-1): Rename from
8088 show-paren-overlay and show-paren-overlay-1, and initialize to an
8089 overlay rather than to nil.
8090 (show-paren-function): Misc cleanup and simplifications.
8092 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8094 * paren.el (show-paren-data-function): New hook.
8095 (show-paren--default): New function, extracted from show-paren-function.
8096 (show-paren-function): Use show-paren-data-function.
8098 2013-05-30 Glenn Morris <rgm@gnu.org>
8100 * ielm.el (ielm-map, ielm-complete-symbol):
8101 Use completion-at-point rather than obsolete functions.
8102 (inferior-emacs-lisp-mode): Doc fix.
8103 Set completion-at-point-functions, rather than
8104 comint-dynamic-complete-functions.
8106 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8107 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8108 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8110 * image.el (image-animated-p): Tweak definition.
8112 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8113 (rlogin-process-connection-type): Tweak default. Add set-after.
8114 (rlogin-host): Doc fix.
8115 (rlogin): Tweak prompt.
8116 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8118 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8119 * progmodes/tcl.el (inferior-tcl-mode-map):
8120 Use completion-at-point rather than obsolete alias.
8122 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8124 * minibuffer.el (read-file-name-completion-ignore-case):
8125 Move before completion--in-region, for eager macro expansion.
8127 2013-05-29 Juri Linkov <juri@jurta.org>
8129 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8130 for total count of matching lines. Add `global-matches' for total
8131 count of matches. Rename `matches' to `lines' for count of
8132 matching lines. Add `matches' for count of matches.
8133 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8134 to `prev-line' for line number of prev match endpt.
8135 Increment `matches' for every match. Print the number of
8136 matching lines in the header.
8137 (occur-context-lines): Rename `lines' to `curr-line'.
8138 Rename `prev-lines' to `prev-line'. (Bug#14017)
8140 2013-05-29 Juri Linkov <juri@jurta.org>
8142 * replace.el (perform-replace): Add `skip-read-only-count',
8143 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8144 Increment them for corresponding conditions and report the number
8145 of skipped occurrences in the final message. (Bug#11746)
8146 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8147 (replace-string, replace-regexp): Doc fix.
8149 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8151 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8153 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8154 prog-mode-map (bug#14504).
8156 2013-05-29 Leo Liu <sdl.web@gmail.com>
8158 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8159 (octave-help): Small simplification.
8161 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8162 off the highlight first.
8164 2013-05-29 Glenn Morris <rgm@gnu.org>
8166 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8167 Handle idlwave-last-system-routine-info-cons-cell being nil.
8169 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8170 (idlwave-write-paths): Simplify via with-temp-buffer.
8172 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8173 * emulation/cua-rect.el: Also load cua-base at run time.
8175 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8176 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8177 (cperl-imenu-on-info): Require imenu.
8179 2013-05-28 Alan Mackenzie <acm@muc.de>
8181 Handle "capitalised keywords" correctly.
8182 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8184 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8186 * eshell/em-unix.el: Add -r option to cp.
8188 2013-05-28 Glenn Morris <rgm@gnu.org>
8190 * vc/vc-arch.el (vc-exec-after): Declare.
8191 (vc-switches): Autoload.
8192 * vc/vc-bzr.el: No need to require vc when compiling.
8193 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8194 (vc-resynch-buffer, vc-dir-refresh): Declare.
8195 (vc-setup-buffer, vc-switches): Autoload.
8196 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8197 (vc-resynch-buffer): Declare.
8198 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8199 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8200 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8201 (grep-read-regexp, grep-read-files, grep-expand-template)
8202 (vc-dir-refresh): Declare.
8203 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8204 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8205 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8206 * vc/vc-mtn.el (vc-exec-after): Declare.
8207 (vc-switches): Autoload.
8208 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8209 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8210 (vc-file-tree-walk): Declare.
8211 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8212 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8213 (vc-tag-precondition, vc-rename-master): Autoload.
8214 * vc/vc-svn.el (vc-exec-after): Declare.
8215 (vc-switches, vc-setup-buffer): Autoload.
8216 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8218 (vc-resynch-buffer): Declare.
8220 * obsolete/fast-lock.el (byte-compile-warnings):
8221 Don't warn about obsolete features in this obsolete file.
8223 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8224 Move definition before use.
8226 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8227 (dun-unix-verbs): Remove dun-zippy.
8228 (dun-zippy): Remove function.
8230 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8232 2013-05-27 Juri Linkov <juri@jurta.org>
8234 * replace.el (replace-search): New function with code moved out
8235 from `perform-replace'.
8236 (replace-highlight, replace-dehighlight): Move function definitions
8237 up closer to `replace-search'. (Bug#11746)
8239 2013-05-27 Juri Linkov <juri@jurta.org>
8241 * replace.el (perform-replace): Ignore invisible matches.
8242 In addition to checking `query-replace-skip-read-only', also
8243 filter out matches by calling `run-hook-with-args-until-failure'
8244 on `isearch-filter-predicates', and also check `search-invisible'
8245 for t or call `isearch-range-invisible'.
8246 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8248 2013-05-27 Juri Linkov <juri@jurta.org>
8250 * isearch.el (isearch-filter-predicates): Rename from
8251 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8252 (isearch-message-prefix): Display text from the property
8253 `isearch-message-prefix' of the currently active filters.
8254 (isearch-search): Don't compare `isearch-filter-predicate' with
8255 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8256 on `isearch-filter-predicates'. Also check `search-invisible' for t
8257 or call `isearch-range-invisible'.
8258 (isearch-filter-visible): Make obsolete.
8259 (isearch-lazy-highlight-search):
8260 Call `run-hook-with-args-until-failure' on
8261 `isearch-filter-predicates' and use `isearch-range-invisible'.
8263 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8264 `isearch-filter-predicates' instead of `funcall'ing
8265 `isearch-filter-predicate'.
8266 (Info-mode): Set `Info-isearch-filter' to
8267 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8269 * dired-aux.el (dired-isearch-filter-predicate-orig):
8271 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8272 (dired-isearch-filenames-end): Add and remove
8273 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8274 instead of changing the value of `isearch-filter-predicate'.
8275 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8276 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8277 Put property `isearch-message-prefix' to "filename " on
8278 `dired-isearch-filter-filenames'.
8280 * wdired.el (wdired-change-to-wdired-mode):
8281 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8282 locally instead of changing `isearch-filter-predicate'.
8283 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8285 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8287 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8288 return the commit hash (Bug#14459). Also set the
8289 `vc-git-detached' property.
8290 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8291 (vc-git-mode-line-string): Use the same help-echo format whether
8292 in detached mode or not, because we know the actual revision now.
8293 When in detached mode, shorten the revision to 7 chars.
8295 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8297 * emacs-lisp/easy-mmode.el (define-minor-mode):
8298 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8299 mode hook and provide a docstring.
8301 2013-05-27 Alan Mackenzie <acm@muc.de>
8303 Remove spurious syntax-table text properties inserted by C-y.
8304 * progmodes/cc-mode.el (c-after-change): Also clear hard
8305 syntax-table property with value nil.
8307 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8309 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8310 when reading the events; the buffer layout shall not be changed.
8312 2013-05-27 Leo Liu <sdl.web@gmail.com>
8314 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8316 (inferior-octave-directory-tracker): Automatically re-sync
8318 (octave-help): Improve handling of 'See also'.
8320 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8322 * doc-view.el: Minor naming convention tweaks.
8323 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8325 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8326 even if there's no `display' property yet (bug#14435).
8328 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8330 * subr.el (unmsys--file-name): Rename from reveal-filename.
8332 * Makefile.in (custom-deps, finder-data, autoloads)
8333 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8334 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8335 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8337 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8339 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8340 error-completion on the first 2 args of condition-case (bug#14446).
8343 2013-05-25 Leo Liu <sdl.web@gmail.com>
8345 * comint.el (comint-previous-matching-input): Do not flood the
8346 *Messages* buffer with trivial messages.
8348 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8350 * progmodes/flymake.el (flymake-nop): Don't return a string.
8351 (flymake-set-at): Fix typo.
8353 * simple.el (read--expression): New function, extracted from
8354 eval-expression. Set completion-at-point-functions (bug#14465).
8355 (eval-expression, eval-minibuffer): Use it.
8357 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8359 * progmodes/flymake.el (flymake-save-buffer-in-file)
8360 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8361 (flymake-selected-frame, flymake-log, flymake-ins-after)
8362 (flymake-set-at, flymake-get-buildfile-from-cache)
8363 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8364 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8365 Refine the doc string.
8366 (flymake-get-file-name-mode-and-masks): Reformat.
8367 (flymake-get-real-file-name-function): Fix a minor bug.
8369 2013-05-24 Juri Linkov <juri@jurta.org>
8371 * progmodes/grep.el (grep-mode-font-lock-keywords):
8372 Support =linenumber= format used by git-grep for lines with
8373 function names. (Bug#13549)
8375 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8377 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8378 0 after a semi-colon; it works better for smie-auto-fill.
8379 (octave--indent-new-comment-line): New function.
8380 (octave-indent-new-comment-line): Use it (indirectly).
8381 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8382 modify comment-line-break-function.
8384 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8385 (smie-setup): Use add-function to set it.
8387 2013-05-24 Sam Steingold <sds@gnu.org>
8389 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8390 argument (before the `interactive' argument).
8392 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8394 * image-mode.el (image-mode-winprops): Add winprops to
8395 image-mode-winprops-alist before running
8396 image-mode-new-window-functions.
8397 * doc-view.el (doc-view-new-window-function): Don't delay
8398 doc-view-goto-page via timers (bug#14435).
8400 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8402 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8403 (doc-view-desktop-save-buffer): New function.
8404 (doc-view-restore-desktop-buffer): New function.
8405 (desktop-buffer-mode-handlers):
8406 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8408 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8409 `desktop-save-buffer' function.
8411 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8413 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8414 (tramp-gvfs-file-name-handler): Raise a user error when
8415 `tramp-gvfs-enabled' is nil.
8416 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8417 Do not raise a user error when loading package. (Bug#14447)
8419 * net/xesam.el: Move to obsolete/.
8421 2013-05-24 Glenn Morris <rgm@gnu.org>
8423 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8425 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8427 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8428 (Info-find-node, Man-getpage-in-background): Declare.
8430 * mail/unrmail.el (unrmail):
8431 Replace obsolete detect-coding-with-priority.
8433 * net/socks.el (socks-split-string): Use this rather than split-string.
8434 (socks-nslookup-host): Update for above change.
8435 (dynamic-choice, s5-dynamic-choice-match)
8436 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8437 Comment out unused code.
8439 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8440 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8441 (gud-tooltip-echo-area): Make obsolete.
8442 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8444 * progmodes/js.el (js--optimize-arglist): Declare.
8446 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8448 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8449 (ediff-window-C): Declare.
8451 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8452 Tweak requires to silence compiler.
8454 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8455 (he-search-string, he-tried-table, he-expand-list)
8456 (he-init-string, he-string-member, he-substitute-string)
8457 (he-reset-string): Declare.
8459 * obsolete/options.el (list-options): Use custom-variable-p,
8460 rather than obsolete alias.
8462 2013-05-23 Sam Steingold <sds@gnu.org>
8464 * simple.el (shell-command-on-region): Pass the `replace' argument
8465 down to `call-process-region' to comply with the doc as reported on
8466 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8468 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8470 * emacs-lisp/smie.el (smie-indent-forward-token)
8471 (smie-indent-backward-token): Handle string tokens (bug#14381).
8473 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8475 * ielm.el (ielm-menu): New menu.
8476 (inferior-emacs-lisp-mode): Set comment-start.
8478 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8480 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8481 Fix deactivate action.
8483 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8484 Add cleveref macros.
8486 * lisp/textmodes/reftex-parse.el
8487 (reftex-locate-bibliography-files): Accept options for
8488 bibliography commands.
8489 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8490 Add addbibresource. Basic Biblatex support.
8492 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8494 * net/tramp-gvfs.el (top):
8495 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8496 when loading package. (Bug#14447)
8498 2013-05-23 Glenn Morris <rgm@gnu.org>
8500 * progmodes/js.el: No need to load comint when compiling.
8501 (ring-insert, comint-send-string, comint-send-input)
8502 (comint-last-input-end, ido-chop): Declare.
8504 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8505 * vc/ediff-mult.el: Adjust requires.
8506 (ediff-directories-internal, ediff-directory-revisions-internal)
8507 (ediff-patch-file-internal): Declare.
8508 * vc/ediff-ptch.el: Adjust requires.
8509 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8510 (ediff-find-file): Autoload.
8511 * vc/ediff-util.el: No need to load ediff when compiling.
8512 (ediff-regions-internal): Declare.
8513 * vc/ediff-wind.el: Adjust requires.
8514 (ediff-compute-toolbar-width): Define when compiling.
8515 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8516 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8517 (dired-get-filename, dired-get-marked-files)
8518 (ediff-last-dir-patch, ediff-patch-default-directory)
8519 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8520 (ediff-patch-buffer-internal): Declare.
8522 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8523 (ispell-process, ispell-buffer-local-words, lm-summary)
8524 (lm-section-start, lm-section-end): Declare.
8525 (checkdoc-ispell-init): Simplify.
8527 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8528 (he-string-member, he-reset-string, he-substitute-string): Declare.
8530 * eshell/em-ls.el: Adjust requires.
8531 (eshell-glob-regexp): Declare.
8532 * eshell/em-tramp.el: Adjust requires.
8533 (eshell-parse-command): Autoload.
8534 * eshell/em-xtra.el: Adjust requires.
8535 (eshell-parse-command): Autoload.
8536 * eshell/esh-ext.el: Adjust requires.
8537 (eshell-parse-command, eshell-close-handles): Autoload.
8538 * eshell/esh-io.el: Adjust requires.
8539 (eshell-output-filter): Autoload.
8540 * eshell/esh-util.el: No need to load tramp when compiling.
8541 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8543 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8544 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8545 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8546 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8547 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8548 * eshell/esh-opt.el, eshell/esh-proc.el:
8549 * eshell/esh-var.el: Adjust requires.
8550 * eshell/eshell.el: Do not require esh-util twice.
8551 (eshell-add-input-to-history): Declare.
8552 (eshell-command): Check history module is active before using it.
8554 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8556 2013-05-22 Leo Liu <sdl.web@gmail.com>
8558 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8560 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8562 * autorevert.el (auto-revert-notify-add-watch)
8563 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8564 it indicates changes in file modification time.
8566 2013-05-22 Glenn Morris <rgm@gnu.org>
8568 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8569 Always delete the autoloaded function from the noruntime and
8570 unresolved functions lists.
8572 * allout.el: No need to load epa, epg, overlay when compiling.
8573 (epg-context-set-passphrase-callback, epg-list-keys)
8574 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8575 (epg-key-user-id-list): Declare.
8577 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8578 (viper-set-parsing-style-toggling-macro)
8579 (viper-set-emacs-state-searchstyle-macros):
8580 Use called-interactively-p on Emacs.
8581 (viper-looking-back): Make it an obsolete alias. Update callers.
8582 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8583 Use looking-back rather than viper-looking-back.
8584 (viper-tmp-insert-at-eob, viper-enlarge-region)
8585 (viper-read-string-with-history, viper-register-to-point)
8586 (viper-append-to-register, viper-change-state-to-vi)
8587 (viper-backward-char-carefully, viper-forward-char-carefully)
8588 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8589 (viper-change-state-to-emacs): Declare.
8590 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8591 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8592 * emulation/viper-mous.el: Do not load viper-cmd.
8593 (viper-backward-char-carefully, viper-forward-char-carefully)
8594 (viper-forward-word, viper-adjust-window): Declare.
8596 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8598 * progmodes/idlw-help.el (idlwave-help-fontify):
8599 Use called-interactively-p.
8601 * term/w32console.el (w32-get-console-codepage)
8602 (w32-get-console-output-codepage): Declare.
8604 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8605 Remove unnecessary declarations.
8606 (dframe-message): Doc fix.
8608 * info.el (dframe-select-attached-frame, dframe-current-frame):
8611 * speedbar.el (speedbar-message): Make it an obsolete alias.
8613 (speedbar-with-attached-buffer)
8614 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8615 (speedbar-with-writable): Use backquote.
8616 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8617 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8618 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8619 rather than speedbar- aliases.
8620 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8621 (speedbar-make-specialized-keymap, speedbar-insert-button)
8622 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8623 (speedbar-do-function-pointer): Declare.
8624 (rmail-speedbar-button, rmail-speedbar-find-file)
8625 (rmail-speedbar-move-message):
8626 Use dframe-with-attached-buffer rather than speedbar- alias.
8627 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8628 (dframe-message, speedbar-make-specialized-keymap)
8629 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8630 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8631 (speedbar-insert-button, dframe-select-attached-frame)
8632 (dframe-maybee-jump-to-attached-frame)
8633 (speedbar-change-initial-expansion-list)
8634 (speedbar-previously-used-expansion-list-name): Declare.
8635 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8636 Use dframe-message, dframe-with-attached-buffer rather than
8638 (gud-sentinel): Silence compiler.
8639 * progmodes/vhdl-mode.el (speedbar-refresh)
8640 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8641 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8642 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8643 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8644 (speedbar-file-lists, speedbar-make-tag-line)
8645 (speedbar-line-directory, speedbar-goto-this-file)
8646 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8647 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8648 (speedbar-make-button, speedbar-reset-scanners)
8649 (speedbar-files-item-info, speedbar-line-text)
8650 (speedbar-find-file-in-frame, speedbar-set-timer)
8651 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8652 (speedbar-with-writable): Do not (re)define it.
8653 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8654 rather than speedbar- alias.
8656 2013-05-21 Leo Liu <sdl.web@gmail.com>
8658 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8660 (octave-mode): Tweak fill-nobreak-predicate.
8661 (inferior-octave-startup): Check process to avoid infinite loop.
8662 (inferior-octave): Pop to buffer first to show abornmal process
8665 2013-05-21 Glenn Morris <rgm@gnu.org>
8667 * printing.el (pr-menu-bar): Define when compiling.
8669 2013-05-21 Leo Liu <sdl.web@gmail.com>
8671 * progmodes/octave.el (octave-auto-fill): Remove.
8672 (octave-indent-new-comment-line): Improve.
8673 (octave-mode): Use auto fill mode through
8674 comment-line-break-function and fill-nobreak-predicate.
8675 (octave-goto-function-definition): Support DEFUN_DLD.
8676 (octave-beginning-of-defun): Small tweak.
8677 (octave-help): Show parent directory.
8679 2013-05-21 Glenn Morris <rgm@gnu.org>
8681 * files.el (dired-unmark):
8682 * progmodes/gud.el (gdb-input): Update declarations.
8684 * calculator.el (electric, ehelp): No need to load when compiling.
8685 (Electric-command-loop, electric-describe-mode): Declare.
8687 * doc-view.el (doc-view-current-converter-processes): Move before use.
8689 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8690 Move MODE-set-explicitly definition before use.
8692 * international/mule-diag.el (mule-diag):
8693 Don't use obsolete window-system-version.
8695 * mail/feedmail.el (smtpmail): No need to load when compiling.
8696 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8698 * mail/mail-utils.el (rfc822): No need to load when compiling.
8699 (rfc822-addresses): Autoload it.
8700 (mail-strip-quoted-names): Trivial simplification.
8702 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8703 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8705 * net/snmp-mode.el (tempo): Don't duplicate requires.
8707 * progmodes/prolog.el (info): No need to load when compiling.
8708 (comint): Require before shell requires it.
8709 (Info-goto-node): Autoload it.
8710 (Info-follow-nearest-node): Declare.
8711 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8713 * textmodes/artist.el (picture-mode-exit): Declare.
8715 * textmodes/reftex-parse.el (reftex-parse-from-file):
8716 Trivial rewrite so the compiler can parse it better.
8718 2013-05-20 Leo Liu <sdl.web@gmail.com>
8720 * progmodes/octave.el (octave-help-mode-map)
8721 (octave-help-mode-finish-hook): New variables.
8722 (octave-help-mode, octave-help-mode-finish): New functions.
8723 (octave-help): Use octave-help-mode.
8725 2013-05-20 Glenn Morris <rgm@gnu.org>
8727 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8729 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8731 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8732 start at point, so that expansion starting right after opening
8733 slash in a regexp is recognized.
8734 (ruby-syntax-before-regexp-re): New defvar, extracted from
8735 ruby-syntax-propertize-function. Since the value of this regexp
8736 is looked up at runtime now, we should be able to turn
8737 `ruby-syntax-methods-before-regexp' into a defcustom later.
8738 (ruby-syntax-propertize-function): Split regexp matching into two
8739 parts, for opening and closing slashes. That allows us to skip
8740 over string interpolations and support multiline regexps.
8741 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8742 for them, which calls `ruby-syntax-propertize-expansion'.
8743 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8744 call to `ruby-syntax-propertize-function'.
8745 (ruby-syntax-propertize-expansion): Extracted from
8746 `ruby-syntax-propertize-expansions'. Handles one expansion.
8747 (ruby-syntax-propertize-percent-literal): Leave point right after
8748 the percent symbol, so that the expression expansion rule can
8749 propertize the contents.
8750 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8752 (ruby-syntax-propertize-expansions): Remove.
8754 2013-05-18 Juri Linkov <juri@jurta.org>
8756 * man.el (Man-default-man-entry): Remove `-' from the end
8757 of the default value. (Bug#14400)
8759 2013-05-18 Glenn Morris <rgm@gnu.org>
8761 * comint.el (comint-password-prompt-regexp):
8762 Allow "password for XXX" where XXX contains colons (eg https://...).
8764 2013-05-18 Leo Liu <sdl.web@gmail.com>
8766 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8767 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8768 (octave-source-directories): Don't check process.
8769 (octave-source-directories, octave-find-definition): Doc fix.
8771 2013-05-18 Glenn Morris <rgm@gnu.org>
8773 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8774 Remove backspace/delete bindings. (Bug#14392)
8776 * cus-dep.el (custom-make-dependencies): Sort the output.
8777 (custom-versions-load-alist): Convert comment to doc.
8779 2013-05-17 Leo Liu <sdl.web@gmail.com>
8781 * newcomment.el (comment-search-backward): Stricter in finding
8782 comment start. (Bug#14303)
8784 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8785 (octave-comment-start-skip): Properly anchored.
8787 2013-05-17 Leo Liu <sdl.web@gmail.com>
8789 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8790 Clean up when turned off. (Bug#14395)
8791 (smie--highlight-matching-block-overlay): No longer buffer-local.
8792 (smie-highlight-matching-block): Adjust.
8794 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8796 Doc string fix for "nanoseconds" (Bug#14406).
8797 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8798 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8800 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8802 * calc/calc-units.el (math-extract-units): Preserve powers
8805 2013-05-17 Leo Liu <sdl.web@gmail.com>
8807 * subr.el (delete-consecutive-dups): New function.
8808 * ido.el (ido-set-matches-1): Use it.
8809 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8810 * ido.el (ido-remove-consecutive-dups): Remove.
8812 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8814 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8815 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8816 regexp-opt's `words'.
8818 2013-05-16 Leo Liu <sdl.web@gmail.com>
8820 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8821 (smie--highlight-matching-block-overlay)
8822 (smie--highlight-matching-block-lastpos)
8823 (smie--highlight-matching-block-timer): New variables.
8824 (smie-highlight-matching-block): New function.
8825 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8826 (smie-setup): Conditionally enable smie-blink-matching-open.
8828 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8830 Sync with upstream verilog-mode r840.
8831 * progmodes/verilog-mode.el (verilog-mode-version)
8832 (verilog-mode-release-date): Update.
8833 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8834 (verilog-sig-tieoff): Fix string error on
8835 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8836 (verilog-read-decls): Fix parameters confusing
8837 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8839 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8841 * subr.el (reveal-filename): New function.
8843 * loadup.el: Compute Emacs executable versions on MS-Windows,
8844 where executables have the .exe extension. Add a hard link
8845 emacs-XX.YY.ZZ.exe on MS-Windows.
8847 * Makefile.in (XARGS_LIMIT): New variable.
8848 (custom-deps, finder-data, autoloads)
8849 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8850 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8851 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8852 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8854 2013-05-16 Leo Liu <sdl.web@gmail.com>
8856 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8857 (octave-mode-menu, octave-mode-map): Remove its uses.
8859 2013-05-16 Reto Zimmermann <reto@gnu.org>
8861 Sync with upstream vhdl mode v3.34.2.
8862 * progmodes/vhdl-mode.el: Use `push' throughout.
8863 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8864 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8865 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8866 (vhdl-actual-generic-name): New option to derive actual generic name.
8867 (vhdl-port-paste-signals): Replace formal by actual generics.
8868 (vhdl-beautify): New name for old group vhdl-align. Update users.
8869 (vhdl-beautify-options): New option.
8870 (vhdl-last-input-event): New compat alias. Use throughout.
8871 (vhdl-goto-line): Replace user level function `goto-line'.
8872 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8873 vhdl-fix-statement-buffer.
8874 (vhdl-create-mode-menu): Add some entries.
8875 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8876 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8877 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8878 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8879 to force statements on one line.
8880 (vhdl-remove-trailing-spaces-region):
8881 New, split from vhdl-remove-trailing-spaces.
8882 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8883 Respect vhdl-beautify-options.
8884 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8885 (vhdl-update-sensitivity-list): Not add with index if exists without.
8886 Not include array index with signal. Ignore keywords in comments.
8887 (vhdl-get-visible-signals): Regexp tweaks.
8888 (vhdl-template-component-inst): Handle empty library.
8889 (vhdl-template-type): Add template for 'enum' type.
8890 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8891 Use vhdl-replace-string.
8892 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8893 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8894 (vhdl-speedbar-initialize): Update for above name change.
8895 (vhdl-compose-wire-components): Fix in handling of constants.
8896 (vhdl-error-regexp-emacs-alist): New variable.
8897 (vhdl-error-regexp-add-emacs): New function;
8898 adds support for new compile.el (Emacs 22+)
8899 (vhdl-generate-makefile-1): Change target order for single lib. units.
8900 Allow use of absolute file names.
8902 2013-05-16 Leo Liu <sdl.web@gmail.com>
8904 * simple.el (prog-indent-sexp): Indent enclosing defun.
8906 2013-05-15 Glenn Morris <rgm@gnu.org>
8908 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8909 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8910 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8911 (whitespace-highlight): Move to whitespace group.
8913 * comint.el (comint-source):
8914 * pcmpl-linux.el (pcmpl-linux):
8915 * shell.el (shell-faces):
8916 * eshell/esh-opt.el (eshell-opt):
8917 * international/ccl.el (ccl): Remove empty custom groups.
8919 * completion.el (dynamic-completion-mode):
8920 * jit-lock.el (jit-lock-debug-mode):
8921 * minibuffer.el (completion-in-region-mode):
8922 * type-break.el (type-break-mode-line-message-mode)
8923 (type-break-query-mode):
8924 * emulation/tpu-edt.el (tpu-edt-mode):
8925 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8926 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8927 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8929 * term/xterm.el (xterm): Change parent group to terminals.
8931 * master.el (master): Remove empty custom group.
8932 (master-mode): Remove unused :group argument.
8933 * textmodes/refill.el (refill): Remove empty custom group.
8934 (refill-mode): Remove unused :group argument.
8936 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8938 * cus-dep.el: Provide a feature.
8939 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8940 Don't mistakenly ignore files whose basenames match a basename
8941 from preloaded-file-list (eg cedet/ede/simple.el).
8942 Add a fallback method for getting :group.
8944 2013-05-15 Juri Linkov <juri@jurta.org>
8946 * isearch.el (isearch-char-by-name): Rename from
8947 `isearch-insert-char-by-name'. Doc fix.
8948 (isearch-forward): Mention `isearch-char-by-name' in
8949 the docstring. (Bug#13348)
8951 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8952 `exit-minibuffer' instead of
8953 `isearch-nonincremental-exit-minibuffer'.
8954 (isearch-edit-string): Remove mention of
8955 `isearch-nonincremental-exit-minibuffer' from docstring.
8956 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8957 (isearch-forward-exit-minibuffer)
8958 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8960 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8962 * loadup.el: Just use unversioned DOC.
8964 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8965 literals as extending to EOB.
8966 (nxml-last-fontify-end): Remove unused variable.
8967 (nxml-after-change1): Use with-silent-modifications.
8968 (nxml-extend-after-change-region): Simplify.
8969 (nxml-extend-after-change-region1): Remove function.
8970 (nxml-after-change1): Don't adjust for dependent regions.
8971 (nxml-fontify-matcher): Simplify.
8972 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8973 (xmltok-add-dependent): Remove function.
8974 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8975 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8976 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8977 unclosed <[[, <?, comment, and other literals as extending to EOB.
8978 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8979 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8981 (rng-do-some-validation-1): Don't mark dependent regions.
8982 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8983 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8984 (nxml-clear-dependent-regions): Remove functions.
8985 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8986 (nxml-ensure-scan-up-to-date):
8987 Don't clear&mark dependent regions.
8989 2013-05-15 Leo Liu <sdl.web@gmail.com>
8991 * progmodes/octave.el (octave-goto-function-definition):
8992 Improve and fix callers.
8994 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8996 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8997 the setter (bug#14387).
8999 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9000 surrounding group (bug#14402).
9002 2013-05-14 Juri Linkov <juri@jurta.org>
9004 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9007 2013-05-14 Glenn Morris <rgm@gnu.org>
9009 * progmodes/f90.el (f90-imenu-generic-expression):
9010 Fix typo in 2013-05-08 change. (Bug#14402)
9012 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9014 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9015 Remove signals for which replies are never received.
9017 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9019 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9020 (gdb-handler-alist, gdb-handler-number): Remove variables.
9021 (gdb-handler-list): New variable.
9022 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9023 (gdb-pending-handler-p, gdb-handle-reply)
9024 (gdb-remove-all-pending-triggers): New functions.
9025 (gdb-discard-unordered-replies): New defcustom.
9026 (gdb-handler): New defstruct.
9027 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9028 instead of gdb-pending-triggers. Update docstring.
9029 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9030 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9031 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9032 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9033 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9034 (gdb-frame-handler): Pending triggers are now automatically managed.
9035 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9037 (gdb-input): Automatically handles pending triggers. Update docstring.
9038 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9039 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9041 (gdb-done-or-error): Now use gdb-handle-reply.
9043 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9045 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9048 2013-05-14 Glenn Morris <rgm@gnu.org>
9050 * subr.el (user-emacs-directory-warning): New option.
9051 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9053 2013-05-14 Leo Liu <sdl.web@gmail.com>
9055 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9057 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9058 (octave-font-lock-texinfo-comment): Fix invalid search bound
9059 error: wrong side of point.
9061 2013-05-14 Glenn Morris <rgm@gnu.org>
9063 * progmodes/flymake.el (flymake-xml-program): New option.
9064 (flymake-xml-init): Use it.
9066 * term/xterm.el: Provide a feature.
9068 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9070 2013-05-13 Glenn Morris <rgm@gnu.org>
9072 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9073 Add compat aliases as a hack workaround. (Bug#14384)
9075 2013-05-13 Leo Liu <sdl.web@gmail.com>
9077 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9079 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9081 (octave-comment-start-skip): Include %!.
9082 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9084 2013-05-12 Leo Liu <sdl.web@gmail.com>
9086 * progmodes/octave.el (inferior-octave-startup): Store the value
9087 of __octave_srcdir__ for octave-source-directories.
9088 (inferior-octave-check-process): New function refactored out of
9089 inferior-octave-send-list-and-digest.
9090 (octave-source-directories)
9091 (octave-find-definition-filename-function): New variables.
9092 (octave-source-directories)
9093 (octave-find-definition-default-filename): New functions.
9094 (octave-find-definition): Improve to find functions implemented in C++.
9096 2013-05-12 Glenn Morris <rgm@gnu.org>
9098 * calendar/diary-lib.el (diary-outlook-format-1):
9099 Don't include dayname in the output. (Bug#14349)
9101 2013-05-11 Glenn Morris <rgm@gnu.org>
9103 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9105 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9106 Treat cc-provide like provide.
9108 2013-05-11 Kevin Ryde <user42@zip.com.au>
9110 * cus-dep.el (custom-make-dependencies):
9111 Use generated-autoload-load-name for the sake of files such
9112 such cedet/semantic/bovine/c.el, where the base file name
9113 is not in load-path. (Bug#5277)
9115 2013-05-11 Glenn Morris <rgm@gnu.org>
9117 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9120 2013-05-11 Leo Liu <sdl.web@gmail.com>
9122 * progmodes/octave.el (octave-indent-comment): Improve.
9123 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9124 (octave-eldoc-function-signatures, octave-eldoc-function):
9126 (octave-mode, inferior-octave-mode): Add eldoc support.
9128 2013-05-11 Richard Stallman <rms@gnu.org>
9130 * epa.el (epa-decrypt-file): Take output file name as argument
9131 and read it using `interactive'.
9133 2013-05-11 Leo Liu <sdl.web@gmail.com>
9135 * progmodes/octave.el (octave-beginning-of-line)
9136 (octave-end-of-line): Check before using up-list because it jumps
9137 out of more syntactic contructs since moving to smie.
9138 (octave-indent-comment): New function.
9139 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9140 (octave-begin-keywords, octave-end-keywords)
9141 (octave-reserved-words, octave-smie-bnf-table)
9142 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9144 2013-05-11 Glenn Morris <rgm@gnu.org>
9146 * faces.el (internal-face-x-get-resource):
9147 * frame.el (ns-display-monitor-attributes-list):
9148 * calc/calc-aent.el (math-to-radians-2):
9149 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9152 * calc/calc-menu.el: Make it loadable in isolation.
9154 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9155 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9156 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9157 (eudc-bbdb-query-internal): Require 'bbdb.
9159 * lpr.el (lpr-headers-switches):
9160 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9162 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9164 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9166 * term.el (term-set-escape-char): Make it idempotent.
9168 2013-05-10 Leo Liu <sdl.web@gmail.com>
9170 * progmodes/octave.el (inferior-octave-completion-table):
9171 No longer a function and all uses changed. Use cache to speed up
9172 completion due to bug#11906.
9173 (octave-beginning-of-defun): Re-write to be more general.
9175 2013-05-10 Glenn Morris <rgm@gnu.org>
9177 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9179 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9181 * comint.el (comint-redirect-send-command-to-process): Use :around
9182 rather than :override for comint-redirect-filter.
9183 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9184 Call it instead of comint-redirect-original-filter-function (which
9185 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9187 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9189 * frame.el (display-monitor-attributes-list): Add NS case.
9190 (ns-display-monitor-attributes-list): Declare.
9192 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9194 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9196 2013-05-09 Glenn Morris <rgm@gnu.org>
9198 * international/fontset.el (vertical-centering-font-regexp):
9201 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9203 * bookmark.el (bookmark-search-delay):
9204 * cus-start.el (vertical-centering-font-regexp):
9205 * ps-mule.el (ps-mule-font-info-database-default):
9206 * ps-print.el (ps-default-fg, ps-default-bg):
9207 * type-break.el (type-break-good-break-interval):
9208 * whitespace.el (whitespace-indentation-regexp)
9209 (whitespace-space-after-tab-regexp):
9210 * emacs-lisp/testcover.el (testcover-1value-functions)
9211 (testcover-noreturn-functions, testcover-progn-functions)
9212 (testcover-prog1-functions):
9213 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9214 * eshell/em-glob.el (eshell-glob-translate-alist):
9215 * play/tetris.el (tetris-tty-colors):
9216 * progmodes/cpp.el (cpp-face-default-list):
9217 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9218 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9219 (idlwave-help-browser-generic-args):
9220 * progmodes/make-mode.el (makefile-special-targets-list):
9221 * progmodes/python.el (python-shell-virtualenv-path):
9222 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9223 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9224 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9225 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9226 * textmodes/reftex-vars.el (reftex-format-label-function):
9227 * textmodes/remember.el (remember-diary-file): Fix custom types.
9229 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9232 2013-05-09 Leo Liu <sdl.web@gmail.com>
9234 * progmodes/octave.el (inferior-octave-completion-at-point):
9235 Restore file completion. (Bug#14300)
9236 (inferior-octave-startup): Fix incorrect highlighting for the
9239 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9241 * progmodes/ruby-mode.el: First cut at SMIE support.
9242 (ruby-use-smie): New var.
9243 (ruby-smie-grammar): New constant.
9244 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9245 (ruby-smie--forward-token, ruby-smie--backward-token)
9246 (ruby-smie-rules): New functions.
9247 (ruby-mode-variables): Setup SMIE if applicable.
9249 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9251 * simple.el (line-move-visual): Signal beginning/end of buffer
9252 only if vertical-motion moved less than it was requested. Avoids
9253 silly incorrect error messages when there are display strings with
9254 multiple newlines at EOL.
9256 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9258 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9259 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9260 (prolog-char-quote-workaround):
9261 * progmodes/cperl-mode.el (cperl-under-as-char):
9262 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9264 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9266 (vhdl-mode-syntax-table-init): Remove.
9268 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9271 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9273 (ld-script-font-lock-keywords):
9274 Change regexps to use things like \_< and \_>.
9276 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9277 Change all regexps to use things like \_< and \_>.
9279 * progmodes/autoconf.el (autoconf-definition-regexp)
9280 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9281 Handle a _ with symbol syntax.
9282 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9284 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9285 Consolidate declaration.
9286 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9288 (ada-create-syntax-table): Remove.
9289 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9290 already has the right syntax nowadays.
9291 (ada-goto-next-word): Don't change the syntax of "_".
9293 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9296 2013-05-08 Sam Steingold <sds@gnu.org>
9298 * thingatpt.el (thing-at-point): Accept optional second argument
9299 NO-PROPERTIES to strip the text properties from the return value.
9300 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9301 to `thing-at-point' instead of stripping the properties ourselves.
9302 Also, when `thing-at-point' fails to find a url, prepend "http://"
9303 to the filename at point on the assumption that the user is
9304 pointing at something like gnu.org/gnu.
9306 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9308 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9309 * faces.el (crm-separator):
9310 Silence byte-compiler.
9312 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9313 (tool-bar-map): Remove unneeded defvars.
9315 2013-05-08 Leo Liu <sdl.web@gmail.com>
9317 Re-work a fix for bug#10994 based on Le Wang's patch.
9318 * ido.el (ido-remove-consecutive-dups): New helper.
9319 (ido-completing-read): Use it.
9320 (ido-chop): Revert fix for bug#10994.
9322 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9324 * cus-edit.el (custom-save-variables):
9325 Pretty-print long values. (Bug#14187)
9327 2013-05-08 Glenn Morris <rgm@gnu.org>
9329 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9330 (m4-mode-syntax-table): Init in the defvar.
9331 (m4-mode-abbrev-table): Let define-derived-mode define it.
9333 2013-05-08 Tom Tromey <tromey@redhat.com>
9335 * progmodes/m4-mode.el (m4-mode-syntax-table):
9336 Do not treat "_" as word constituent. (Bug#14167)
9338 2013-05-07 Glenn Morris <rgm@gnu.org>
9340 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9341 Remove explicit eshell-isearch-cancel-map.
9343 * progmodes/f90.el (f90-smart-end-names): New option.
9344 (f90-smart-end): Doc fix.
9345 (f90-end-block-optional-name): New constant.
9346 (f90-block-match): Respect f90-smart-end-names.
9348 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9350 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9351 about implicit semi-colons (bug#14218).
9353 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9355 * frame.el (display-monitor-attributes-list)
9356 (frame-monitor-attributes): New functions.
9358 2013-05-06 Leo Liu <sdl.web@gmail.com>
9360 * progmodes/octave.el (octave-syntax-propertize-function): Change
9361 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9362 (octave-font-lock-keywords): Use octave-operator-regexp.
9363 (octave-completion-at-point): Rename from
9364 octave-completion-at-point-function.
9365 (inferior-octave-directory-tracker): Robustify.
9366 (octave-text-functions): Remove and fix its uses. No such things
9369 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9371 * emacs-lisp/trace.el (trace--display-buffer): New function.
9372 (trace-make-advice): Use it.
9374 2013-05-06 Juri Linkov <juri@jurta.org>
9376 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9377 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9379 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9380 in the help string. (Bug#12985)
9382 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9384 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9386 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9388 * progmodes/perl-mode.el: Add support for here documents.
9389 (perl-syntax-propertize-function): Match here-doc markers.
9390 (perl-syntax-propertize-special-constructs): Find their end.
9391 (perl-imenu-generic-expression): Use [:alnum:].
9393 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9394 (advice--add-function): Refresh the advice if already present
9397 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9399 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9401 2013-05-06 Glenn Morris <rgm@gnu.org>
9403 * w32-fns.el (w32-charset-info-alist): Declare.
9405 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9406 of its defcustom properties.
9407 (eshell-cmpl-initialize): No need to load pcomplete.
9409 * generic-x.el: No need to require comint when compiling.
9411 * net/eudc-export.el: Make it loadable without bbdb.
9412 (top-level): Use require rather than load-library.
9413 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9414 (eudc-batch-export-records-to-bbdb)
9415 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9418 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9420 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9421 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9422 some tweaks, instead.
9424 2013-05-05 Leo Liu <sdl.web@gmail.com>
9426 * progmodes/octave.el (octave-font-lock-keywords)
9427 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9428 (inferior-octave-send-list-and-digest): Improve error message.
9429 (octave-mode, inferior-octave-mode): Use setq-local.
9430 (octave-help): Set info-lookup-mode.
9432 2013-05-05 Richard Stallman <rms@gnu.org>
9434 * vc/compare-w.el (compare-windows-whitespace):
9435 Treat no-break space as whitespace.
9437 * mail/rmailsum.el (rmail-summary-rmail-update):
9438 Detect empty summary and don't change selected message.
9439 (rmail-summary-goto-msg): Likewise.
9441 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9442 Doc fixes, rename args.
9444 2013-05-05 Alan Mackenzie <acm@muc.de>
9446 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9448 2013-05-05 Juri Linkov <juri@jurta.org>
9450 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9451 to not add the length of the summary segment to the return value.
9454 2013-05-05 Leo Liu <sdl.web@gmail.com>
9456 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9457 (inferior-octave-output-filter): Remove.
9458 (octave-send-region, inferior-octave-startup): Fix callers.
9459 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9460 (octave-binary-file-extensions): New user variable.
9461 (octave-find-definition): Confirm if opening binary files.
9462 (octave-help-file): Use octave-find-definition to get the binary
9464 (octave-help): Adjust for octave-help-file change.
9466 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9468 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9469 Merge the two entries that handle function definitions.
9470 (pascal--syntax-propertize): New const.
9471 (pascal-mode): Use it. Use setq-local.
9473 2013-05-04 Glenn Morris <rgm@gnu.org>
9475 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9476 (diary-from-outlook): Respect diary-from-outlook-function.
9478 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9480 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9481 Move the declaration from C.
9482 (read-minibuffer, eval-minibuffer): Move from C.
9483 (completion-setup-function): Avoid minibuffer-completion-contents.
9485 2013-05-03 Leo Liu <sdl.web@gmail.com>
9487 * progmodes/octave.el (octave-font-lock-keywords): Do not
9488 dehighlight 'end' in comments or strings.
9489 (octave-completing-read, octave-goto-function-definition):
9491 (octave-help-buffer): New user variable.
9492 (octave-help-file, octave-help-function): New button types.
9493 (octave-help): New command and bind it to C-h ;.
9494 (octave-find-definition): New command and bind it to M-.
9495 (user-error): Alias to error if not defined.
9497 2013-05-02 Leo Liu <sdl.web@gmail.com>
9499 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9501 (octave-font-lock-keywords): Include [ and {.
9503 2013-05-02 Leo Liu <sdl.web@gmail.com>
9505 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9506 (inferior-octave): Remove calling comint-mode and return the buffer.
9507 (inferior-octave-startup): Cosmetic changes.
9509 2013-05-02 Leo Liu <sdl.web@gmail.com>
9511 * progmodes/octave.el (octave-syntax-propertize-function):
9512 Include the case when ' is at line beginning. (Bug#14336)
9514 2013-05-02 Glenn Morris <rgm@gnu.org>
9516 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9517 * desktop.el (vc-dir-mode): Just autoload it here.
9519 2013-05-02 Alan Mackenzie <acm@muc.de>
9521 Eliminate variable c-standard-font-lock-fontify-region-function.
9522 * progmodes/cc-mode.el
9523 (c-standard-font-lock-fontify-region-function): Remove.
9524 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9526 2013-05-01 Leo Liu <sdl.web@gmail.com>
9528 * progmodes/octave.el: Compatible with older emacs-24 releases.
9529 (inferior-octave-has-built-in-variables): Remove. Built-in
9530 variables were removed from Octave in 2007.
9531 (inferior-octave-startup): Fix uses.
9532 (comint-line-beginning-position): Remove compatibility code for
9535 2013-05-01 Juri Linkov <juri@jurta.org>
9537 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9539 2013-05-01 Juri Linkov <juri@jurta.org>
9541 * comint.el (comint-previous-matching-input): Don't print message
9542 "History item: %d" when `isearch-mode' is active.
9543 (comint-history-isearch-message): Print message "History item: %d"
9544 when `comint-input-ring-index' is not empty and this function is
9545 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9547 2013-05-01 Leo Liu <sdl.web@gmail.com>
9549 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9550 definitions. Use completion-at-point to insert keywords.
9551 (octave-abbrev-start): Remove.
9552 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9554 2013-04-30 Leo Liu <sdl.web@gmail.com>
9556 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9559 2013-04-30 Alan Mackenzie <acm@muc.de>
9561 Handle arbitrarily long C++ member initialisation lists.
9562 * progmodes/cc-engine.el (c-back-over-member-initializers):
9564 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9565 (most) member init lists.
9567 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9569 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9572 2013-04-30 Leo Liu <sdl.web@gmail.com>
9574 * progmodes/octave.el (octave-variables): Remove. No builtin
9575 variables any more. All converted to functions.
9576 (octave-font-lock-keywords, octave-completion-at-point-function):
9578 (octave-font-lock-texinfo-comment): New user variable.
9579 (octave-texinfo-font-lock-keywords): New variable for texinfo
9581 (octave-function-comment-block): New face.
9582 (octave-font-lock-texinfo-comment): New function.
9583 (octave-mode): Font lock texinfo comment block.
9585 2013-04-29 Leo Liu <sdl.web@gmail.com>
9587 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9588 indexing expression.
9589 (octave-continuation-string): Do not use \.
9590 (inferior-octave-complete-impossible): Remove.
9591 (inferior-octave-completion-table)
9592 (inferior-octave-completion-at-point): Remove its uses.
9593 (inferior-octave-startup): completion_matches was introduced to
9594 Octave in 1996 so safe to assume it.
9595 (octave-function-file-comment): Improve to follow how Octave does it.
9596 (octave-update-function-file-comment): Tweak.
9598 2013-04-29 Leo Liu <sdl.web@gmail.com>
9600 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9601 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9602 (octave-function-file-comment): Fix typo.
9603 (octave-sync-function-file-names): Use read-char-choice.
9605 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9607 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9608 to t for the less important warnings.
9610 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9612 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9614 2013-04-27 Glenn Morris <rgm@gnu.org>
9616 * vc/log-view.el (log-view-current-entry):
9617 Treat "---" separator lines as part of the following rev. (Bug#14169)
9619 2013-04-27 Juri Linkov <juri@jurta.org>
9621 * subr.el (read-number): Doc fix about using it by interactive
9622 code letter `n'. (Bug#14254)
9624 2013-04-27 Juri Linkov <juri@jurta.org>
9626 * desktop.el (desktop-auto-save-timeout): New option.
9627 (desktop-file-checksum): New variable.
9628 (desktop-save): Add optional arg `auto-save' and don't auto-save
9630 (desktop-auto-save-timer): New variable.
9631 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9632 (after-init-hook): Call `desktop-auto-save-set-timer'.
9633 Suggested by Reuben Thomas <rrt@sc3d.org> in
9634 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9636 2013-04-27 Leo Liu <sdl.web@gmail.com>
9638 * progmodes/octave.el (octave-function-file-p)
9639 (octave-skip-comment-forward, octave-function-file-comment)
9640 (octave-update-function-file-comment): New functions.
9641 (octave-mode-map): Bind C-c ; to
9642 octave-update-function-file-comment.
9643 (octave-mode-menu): Add octave-update-function-file-comment.
9644 (octave-mode, inferior-octave-mode): Fix doc-string.
9645 (octave-insert-defun): Conform to Octave's coding convention.
9648 * files.el (basic-save-buffer): Don't let errors in
9649 before-save-hook prevent saving buffer.
9651 2013-04-20 Roland Winkler <winkler@gnu.org>
9653 * faces.el (read-face-name): Use completing-read if arg multiple
9656 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9658 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9659 displayed, move point to after the totals line.
9660 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9663 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9665 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9666 Add current dir to the load-path.
9667 (package-generate-autoloads): Don't rely on
9668 autoload-ensure-default-file.
9670 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9672 * textmodes/remember.el (remember-store-in-files): Document that
9673 the file name format is passed to `format-time-string'.
9675 2013-04-26 Leo Liu <sdl.web@gmail.com>
9677 * progmodes/octave.el (octave-sync-function-file-names): New function.
9678 (octave-mode): Use it in before-save-hook.
9680 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9682 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9685 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9686 \n and comment, even if it's not an implicit ; (bug#14218).
9688 2013-04-26 Glenn Morris <rgm@gnu.org>
9690 * subr.el (read-number): Once more use `read' rather than
9691 `string-to-number', to trap non-numeric input. (Bug#14254)
9693 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9695 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9696 Use `syntax-multiline' text property consistently instead of
9697 `font-lock-multiline'. (Bug#14237)
9699 2013-04-26 Glenn Morris <rgm@gnu.org>
9701 * emacs-lisp/shadow.el (list-load-path-shadows):
9702 No longer necessary to check for duplicate simple.el, since
9703 2012-07-07 change to init_lread to not include installation lisp
9704 directories in load-path when running uninstalled. (Bug#14270)
9706 2013-04-26 Leo Liu <sdl.web@gmail.com>
9708 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9709 (octave-mode, inferior-octave-mode): Use setq-local.
9710 (octave-not-in-string-or-comment-p): Rename to
9711 octave-in-string-or-comment-p.
9712 (octave-in-comment-p, octave-in-string-p)
9713 (octave-in-string-or-comment-p): Replace defsubst with defun.
9715 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9717 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9719 2013-04-25 Bastien Guerry <bzg@gnu.org>
9721 * textmodes/remember.el (remember-data-directory)
9722 (remember-directory-file-name-format): Fix custom types.
9724 2013-04-25 Leo Liu <sdl.web@gmail.com>
9726 * progmodes/octave.el (octave-completion-at-point-function):
9727 Make use of inferior octave process.
9728 (octave-initialize-completions): Remove.
9729 (inferior-octave-completion-table): New function.
9730 (inferior-octave-completion-at-point): Use it.
9731 (octave-completion-alist): Remove.
9733 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9735 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9736 (opascal-mode-syntax-table): New var.
9737 (opascal-literal-kind, opascal-is-literal-end)
9738 (opascal-literal-token-at): Rewrite.
9739 (opascal--literal-start-re, opascal-font-lock-keywords)
9740 (opascal--syntax-propertize): New constants.
9741 (opascal-font-lock-defaults): Adjust.
9742 (opascal-mode): Use them. Set comment-<foo> variables as well.
9743 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9744 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9745 (delphi-other-face, opascal-other-face): Remove face variables.
9746 (opascal-save-state): Remove macro.
9747 (opascal-fontifying-progress-step): Remove constant.
9748 (opascal--ignore-changes): Remove var.
9749 (opascal-set-token-property, opascal-parse-next-literal)
9750 (opascal-is-stable-literal, opascal-complete-literal)
9751 (opascal-is-literal-start, opascal-face-of)
9752 (opascal-parse-region, opascal-parse-region-until-stable)
9753 (opascal-fontify-region, opascal-after-change)
9754 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9755 (opascal-debug-parse-region, opascal-debug-parse-window)
9756 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9757 (opascal-debug-fontify-buffer): Remove.
9758 (opascal-debug-mode-map): Adjust accordingly.
9760 2013-04-25 Leo Liu <sdl.web@gmail.com>
9762 Merge octave-mod.el and octave-inf.el into octave.el with some
9764 * progmodes/octave.el: New file renamed from octave-mod.el.
9765 * progmodes/octave-inf.el: Merged into octave.el.
9766 * progmodes/octave-mod.el: Renamed to octave.el.
9768 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9770 * textmodes/reftex-vars.el
9771 (reftex-label-ignored-macros-and-environments): New defcustom.
9773 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9775 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9777 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9778 (smie-indent-keyword): Improve the check to ensure that the next
9779 comment is really on the same line.
9780 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9782 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9783 semi-colons if the line is not otherwise empty (bug#14218).
9785 2013-04-25 Glenn Morris <rgm@gnu.org>
9787 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9789 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9791 * progmodes/opascal.el (opascal-set-token-property): Rename from
9792 opascal-set-text-properties and only set `token' (bug#14134).
9793 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9794 (opascal-literal-text-properties): Remove.
9795 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9798 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9800 * textmodes/remember.el (remember-handler-functions): Add an
9801 option for a new handler `remember-store-in-files'.
9802 (remember-data-directory, remember-directory-file-name-format):
9804 (remember-store-in-files): New function to store remember notes
9805 as separate files within a directory.
9807 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9809 * progmodes/compile.el (compilation-next-error-function):
9810 Pass "formats" to compilation-find-file (bug#11777).
9812 2013-04-24 Glenn Morris <rgm@gnu.org>
9814 * vc/vc-bzr.el (vc-bzr-print-log):
9815 * vc/vc-hg.el (vc-hg-print-log):
9816 * vc/vc-svn.el (vc-svn-print-log):
9817 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9819 * vc/vc-bzr.el (vc-bzr-print-log):
9820 * vc/vc-cvs.el (vc-cvs-print-log):
9821 * vc/vc-git.el (vc-git-print-log):
9822 * vc/vc-hg.el (vc-hg-print-log):
9823 * vc/vc-mtn.el (vc-mtn-print-log):
9824 * vc/vc-rcs.el (vc-rcs-print-log):
9825 * vc/vc-sccs.el (vc-sccs-print-log):
9826 * vc/vc-svn.el (vc-svn-print-log):
9827 * vc/vc.el (vc-print-log-internal): Doc fixes.
9829 2013-04-23 Glenn Morris <rgm@gnu.org>
9831 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9832 Remove venerable code attempting to avoid substitute-command-keys.
9834 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9836 * textmodes/reftex-vars.el (reftex-label-regexps):
9837 Call `reftex-compile-variables' after changes to this variable.
9839 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9841 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9842 Use lexical-binding.
9843 (jit-lock-force-redisplay): Use markers, check buffer's continued
9844 existence and beware narrowed buffers.
9845 (jit-lock-fontify-now): Adjust call accordingly.
9847 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9849 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9850 to avoid misleading the user.
9852 2013-04-22 Leo Liu <sdl.web@gmail.com>
9854 * info-look.el: Prefer latex2e.info. (Bug#14240)
9856 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9858 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9860 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9861 * net/tramp.el (tramp-call-process): ... here.
9862 (tramp-set-completion-function, tramp-parse-putty):
9863 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9864 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9865 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9866 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9867 (tramp-call-local-coding-command): Use `tramp-call-process'
9868 instead of `tramp-compat-call-process'.
9870 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9871 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9872 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9873 (tramp-find-inline-compress): Improve traces.
9874 (tramp-maybe-send-script): Check for Perl binary.
9875 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9877 2013-04-22 Daiki Ueno <ueno@gnu.org>
9879 * epg.el (epg-context-pinentry-mode): New function.
9880 (epg-context-set-pinentry-mode): New function.
9881 (epg--start): Pass --pinentry-mode option to gpg command.
9883 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9885 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9886 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9887 `completion-at-point'. (Bug#13774)
9889 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9890 default key binding for `describe-distribution' has been moved to
9891 `C-h C-o'. (Bug#13970)
9893 2013-04-21 Glenn Morris <rgm@gnu.org>
9895 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9897 (vc-print-log): Clarify interactive prompt.
9899 2013-04-20 Glenn Morris <rgm@gnu.org>
9901 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9902 No longer include timestamp etc information.
9904 2013-04-20 Roland Winkler <winkler@gnu.org>
9906 * faces.el (read-face-name): Bug fix, return just one face if arg
9907 multiple is nil. (Bug#14209)
9909 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9911 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9912 (remove-function): Autoload.
9914 * comint.el (comint-redirect-original-filter-function): Remove.
9915 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9916 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9917 (vc-cvs-annotate-command):
9918 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9919 * progmodes/prolog.el (prolog-consult-compile):
9920 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9921 Use add/remove-function instead.
9922 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9923 (gud-tooltip-process-output, gud-tooltip-tips):
9924 Use add/remove-function instead.
9925 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9926 (scheme-interaction-mode, exit-scheme-interaction-mode):
9927 Use add/remove-function instead.
9929 * vc/vc-dispatcher.el: Use lexical-binding.
9930 (vc--process-sentinel): Rename from vc-process-sentinel.
9931 Change last arg to be the code to run. Don't use vc-previous-sentinel
9932 and vc-sentinel-commands any more.
9933 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9934 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9936 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9938 * progmodes/sh-script.el (sh-imenu-generic-expression):
9939 Handle function names with a single character. (Bug#14111)
9941 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9943 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9944 for subroutines defined in an eval (bug#14182).
9946 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9948 * bookmark.el (bookmark-completing-read): Improve handling of empty
9951 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9953 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9955 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9957 New faster Imenu implementation (bug#14058).
9958 * progmodes/python.el:
9959 (python-imenu-prev-index-position):
9960 (python-imenu-format-item-label-function)
9961 (python-imenu-format-parent-item-label-function)
9962 (python-imenu-format-parent-item-jump-label-function):
9964 (python-imenu-format-item-label)
9965 (python-imenu-format-parent-item-label)
9966 (python-imenu-format-parent-item-jump-label)
9967 (python-imenu--put-parent, python-imenu--build-tree)
9968 (python-imenu-create-index, python-imenu-create-flat-index)
9969 (python-util-popn): New functions.
9970 (python-mode): Set imenu-create-index-function to
9971 python-imenu-create-index.
9973 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9975 * winner.el (winner-active-region): Use region-active-p, activate-mark
9976 and deactivate-mark (bug#14225).
9978 * simple.el (deactivate-mark): Don't inline it.
9980 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9982 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9984 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9986 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9987 file extensions from the archive-mode entry in order to prefer
9988 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9990 2013-04-18 Leo Liu <sdl.web@gmail.com>
9992 * bindings.el (help-event-list): Add ?\?.
9994 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9996 * subr.el (with-wrapper-hook): Declare obsolete.
9997 * simple.el (filter-buffer-substring-function): New hook.
9998 (filter-buffer-substring): Use it.
9999 (filter-buffer-substring-functions): Mark obsolete.
10000 * minibuffer.el (completion-in-region-function): New hook.
10001 (completion-in-region): Use it.
10002 (completion-in-region-functions): Mark obsolete.
10003 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10004 * abbrev.el (abbrev-expand-function): New hook.
10005 (expand-abbrev): Use it.
10006 (abbrev-expand-functions): Mark obsolete.
10007 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10008 and :filter-return.
10010 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10012 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10013 and do not care about match data.
10015 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10017 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10018 completion tables when completing error conditions and
10019 `declare' arguments.
10020 (lisp-complete-symbol, field-complete): Mark as obsolete.
10021 (check-parens): Unmatched parens are user errors.
10022 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10024 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10026 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10027 command changed buffer (ie. `flyspell-pre-buffer' is not current
10028 buffer), which prevents making decisions based on invalid value of
10029 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10030 cause an error when `flyspell-pre-point' was nil after switching
10032 (flyspell-post-command-hook): No longer needs to change buffers when
10033 checking pre-word. While at it remove unnecessary progn.
10035 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10037 * textmodes/ispell.el (ispell-add-per-file-word-list):
10038 Fix `flyspell-correct-word-before-point' error when accepting
10039 words and `coment-padding' is an integer by using
10040 `comment-normalize-vars' (Bug #14214).
10042 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10044 New defun movement commands.
10045 * progmodes/python.el (python-nav--syntactically)
10046 (python-nav--forward-defun, python-nav-backward-defun)
10047 (python-nav-forward-defun): New functions.
10049 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10051 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10052 (python-syntax-context): Use named compiler-macro for backwards
10053 compatibility with Emacs 24.x.
10055 2013-04-17 Leo Liu <sdl.web@gmail.com>
10057 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10058 octave-hide-process-buffer.
10060 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10062 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10065 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10067 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10068 Fix adjustment of offset when receiving incomplete responses from GDB
10071 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10073 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10074 python-mode-abbrev-table.
10075 (python-skeleton-define): Adjust accordingly.
10076 (python-mode-abbrev-table): New table that inherits from it so that
10077 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10079 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10080 (abbrev-symbol): Use it.
10081 (abbrev--before-point): Use it since we already handle inheritance.
10083 2013-04-16 Leo Liu <sdl.web@gmail.com>
10085 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10086 binding to info-lookup-symbol.
10088 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10090 * minibuffer.el (completion--twq-all):
10091 * term/ns-win.el (ns-initialize-window-system):
10092 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10094 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10096 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10099 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10101 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10103 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10104 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10106 (ruby-end-of-defun): Remove the unused arg, change the docstring
10107 to reflect that this function is only used as the value of
10108 `end-of-defun-function'.
10109 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10110 to reflect an earlier change that beginning/end-of-defun functions
10111 jump between methods in a class definition, as well as top-level
10114 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10116 * minibuffer.el (minibuffer-complete): Don't just scroll
10117 a *Completions* that's been iconified.
10118 (minibuffer-force-complete): Make sure repetitions do cycle when going
10119 through completion-in-region -> minibuffer-complete.
10121 2013-04-15 Alan Mackenzie <acm@muc.de>
10123 Correct the placement of c-cpp-delimiters when there're #s not at
10126 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10127 place a submatch around the #.
10128 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10129 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10132 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10134 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10135 (advice--member-p): New arg `name'.
10136 (advice--add-function, advice-member-p): Use it (bug#14202).
10138 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10140 Reformulate java imenu-generic-expression.
10141 The old expression contained ill formed regexps.
10143 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10144 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10145 (cc-imenu-java-method-arg-regexp): New defconsts.
10146 (cc-imenu-java-build-type-args-regex): New defun.
10147 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10148 handling of spaces in the regexp.
10150 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10152 * textmodes/ispell.el (ispell-command-loop): Remove
10153 flyspell highlight of a word when ispell accepts it (bug #14178).
10155 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10157 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10158 uses code from the previous `ange-ftp-run-real-handler'.
10159 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10160 only in case that function exist. This is needed for proper
10161 unloading of Tramp.
10163 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10165 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10167 * textmodes/reftex.el (reftex-compile-variables): Use it.
10169 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10171 * files.el (normal-mode): Only use default major-mode if no other mode
10174 * emacs-lisp/trace.el (trace-values): New function.
10176 * files.el: Allow : in local variables (bug#14089).
10177 (hack-local-variable-regexp): New var.
10178 (hack-local-variables-prop-line, hack-local-variables): Use it.
10180 2013-04-13 Roland Winkler <winkler@gnu.org>
10182 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10183 data before it gets modified by bibtex-beginning-of-entry.
10185 2013-04-13 Roland Winkler <winkler@gnu.org>
10187 * textmodes/bibtex.el (bibtex-url): Doc fix.
10189 2013-04-13 Roland Winkler <winkler@gnu.org>
10191 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10192 does not visit a BibTeX file, exclude it from the list of buffers
10193 returned by bibtex-initialize.
10195 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10197 * window.el (split-window): Remove interactive form, since as a
10198 command this function is a special case of split-window-below.
10199 Correct doc string.
10201 2013-04-12 Roland Winkler <winkler@gnu.org>
10203 * faces.el (read-face-name): Do not override value of arg default.
10204 Allow single faces and strings as default values. Remove those
10205 elements from return value that are not faces.
10206 (describe-face): Simplify.
10207 (face-at-point): New optional args thing and multiple so that this
10208 function can provide the same functionality previously provided by
10210 (make-face-bold, make-face-unbold, make-face-italic)
10211 (make-face-unitalic, make-face-bold-italic, invert-face)
10212 (modify-face, read-face-and-attribute): Use face-at-point.
10214 * cus-edit.el (customize-face, customize-face-other-window)
10215 * cus-theme.el (custom-theme-add-face)
10216 * face-remap.el (buffer-face-set)
10217 * facemenu.el (facemenu-set-face): Use face-at-point.
10219 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10221 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10223 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10225 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10226 off leading { and trailing } from field values.
10228 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10230 * emacs-lisp/timer.el (timer--check): New function.
10231 (timer--time, timer-set-function, timer-event-handler): Use it.
10232 (timer-set-idle-time): Simplify.
10233 (timer--activate): CSE.
10234 (timer-event-handler): Give more info in error message.
10235 (internal-timer-start-idle): New function, moved from C.
10237 * mpc.el (mpc-proc): Add `restart' argument.
10238 (mpc-proc-cmd): Use it.
10239 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10240 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10243 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10245 * progmodes/sh-script.el: Implement `sh-mode' own
10246 `add-log-current-defun-function' (bug#14112).
10247 (sh-current-defun-name): New function.
10248 (sh-mode): Use the function.
10250 2013-04-09 Bastien Guerry <bzg@gnu.org>
10252 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10254 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10256 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10258 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10261 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10263 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10266 2013-04-07 Leo Liu <sdl.web@gmail.com>
10268 * pcmpl-x.el: New file.
10270 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10272 Do not set x-display-name until X connection is established.
10273 This is needed to prevent from weird situation described at
10274 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10275 * frame.el (make-frame): Set x-display-name after call to
10276 window system initialization function, not before.
10277 * term/x-win.el (x-initialize-window-system): Add optional
10278 display argument and use it.
10279 * term/w32-win.el (w32-initialize-window-system):
10280 * term/ns-win.el (ns-initialize-window-system):
10281 * term/pc-win.el (msdos-initialize-window-system):
10282 Add compatible optional display argument.
10284 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10286 * files.el (normal-backup-enable-predicate): On MS-Windows and
10287 MS-DOS compare truenames of temporary-file-directory and of the
10288 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10289 don't fail comparison by compare-strings. Also, compare file
10290 names case-insensitively on MS-Windows and MS-DOS.
10292 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10294 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10295 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10297 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10299 * whitespace.el (whitespace-color-on, whitespace-color-off):
10300 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10302 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10304 * ispell.el (ispell-set-spellchecker-params):
10305 Really set `ispell-args' for all equivs.
10307 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10309 * ido.el (ido-completions): Use extra elements of ido-decorations
10311 (ido-decorations): Update docstring.
10313 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10315 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10316 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10317 nil during initialization, in order not to miss changes since the
10318 file was opened. (Bug#14140)
10320 2013-04-05 Leo Liu <sdl.web@gmail.com>
10322 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10324 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10326 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10328 2013-04-04 Glenn Morris <rgm@gnu.org>
10330 * electric.el (electric-pair-inhibit-predicate): Add :version.
10332 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10334 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10335 when a package is required several times (bug#14082).
10337 2013-04-04 Roland Winkler <winkler@gnu.org>
10339 * faces.el (read-face-name): Behave as promised by the docstring.
10340 Assume that arg default is a list of faces.
10341 (describe-face): Call read-face-name with list of default faces.
10343 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10345 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10346 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10347 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10349 (bookmark-exit-hook-internal): Save even if list is empty.
10351 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10353 * emacs-lisp/package.el (package-pinned-packages): New var.
10354 (package--add-to-archive-contents): Obey it (bug#14118).
10356 2013-04-03 Alan Mackenzie <acm@muc.de>
10358 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10359 Also adapt to the new values of element 7 of a parse state.
10361 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10362 parameter `not-in-delimiter'. Handle being inside comment opener.
10363 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10364 character in case we're typing a '*' after a '/'.
10365 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10366 instead by passing the parameter to c-state-pp-to-literal.
10368 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10369 for elt. 7 of a parse state.
10371 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10373 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10374 * international/latin1-disp.el, international/mule-util.el:
10375 * language/cyril-util.el, language/european.el, language/ind-util.el:
10376 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10377 * language/tibetan.el, language/viet-util.el:
10378 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10380 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10382 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10383 (electric-pair-post-self-insert-function): Use it.
10384 (electric-pair-default-inhibit): New function, extracted from
10385 electric-pair-post-self-insert-function.
10387 2013-03-31 Roland Winkler <winkler@gnu.org>
10389 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10391 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10393 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10395 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10397 Un-indent after "pass" and "return" statements (Bug#13888)
10398 * progmodes/python.el (python-indent-block-enders): New var.
10399 (python-indent-calculate-indentation): Use it.
10401 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10403 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10404 defun. Defining it as defalias could introduce too eager
10405 byte-compiler optimization. (Bug#14030)
10407 2013-03-30 Chong Yidong <cyd@gnu.org>
10409 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10411 2013-03-30 Leo Liu <sdl.web@gmail.com>
10413 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10414 (kmacro-execute-from-register): Pass the keyboard macro to
10415 kmacro-call-macro or repeating won't work correctly.
10417 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10419 * progmodes/subword.el: Back to using `forward-symbol'.
10421 * subr.el (forward-whitespace, forward-symbol)
10422 (forward-same-syntax): Move from thingatpt.el.
10424 2013-03-29 Leo Liu <sdl.web@gmail.com>
10426 * kmacro.el (kmacro-to-register): New command.
10427 (kmacro-execute-from-register): New function.
10428 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10430 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10432 * mpc.el: Use defvar-local and setq-local.
10433 (mpc--proc-connect): Connection failures are not bugs.
10434 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10435 (mpc-volume-map): Bind to the up-events.
10437 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10439 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10440 instead of `forward-symbol'.
10442 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10444 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10445 (edebug--recursive-edit): Use it.
10446 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10447 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10449 2013-03-28 Leo Liu <sdl.web@gmail.com>
10451 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10453 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10455 * facemenu.el (list-colors-callback): New defvar.
10456 (list-colors-redisplay): New function.
10457 (list-colors-display): Install list-colors-redisplay as the
10458 revert-buffer-function. (Bug#14063)
10460 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10462 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10463 and suffixes don't overlap (bug#14061).
10465 * case-table.el: Use lexical-binding.
10466 (case-table-get-table): New function.
10467 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10469 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10471 * progmodes/subword.el: Add `superword-mode' to do word motion
10472 over symbol_words (parallels and leverages `subword-mode' which
10473 does word motion inside MixedCaseWords).
10475 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10477 * eshell/em-unix.el: Move su and sudo to...
10478 * eshell/em-tramp.el: ...Eshell tramp module.
10480 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10482 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10483 Change return value to be a sexp. Delay `get-buffer' to after
10484 restoring the desktop (bug#13951).
10486 2013-03-26 Leo Liu <sdl.web@gmail.com>
10488 * register.el: Move semantic tag handling back to
10489 cedet/semantic/senator.el. (Bug#14052)
10491 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10493 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10494 into the prompt either (bug#13963).
10496 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10498 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10499 part of "(error-foo)".
10501 2013-03-24 Juri Linkov <juri@jurta.org>
10503 * replace.el (list-matching-lines-prefix-face): New defcustom.
10504 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10505 `occur-engine' if `face-differs-from-default-p' returns t.
10506 (occur-engine): Add `,' inside backquote construct to evaluate
10507 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10508 Pass `prefix-face' to the functions `occur-context-lines' and
10509 `occur-engine-add-prefix'.
10510 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10511 `prefix-face' and propertize the prefix with `prefix-face'.
10514 2013-03-24 Leo Liu <sdl.web@gmail.com>
10516 * nxml/rng-valid.el (rng-validate-while-idle)
10517 (rng-validate-quick-while-idle): Guard against deleted buffer.
10520 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10521 is the last entry in kill-buffer-hook.
10523 * files.el (kill-buffer-hook): Doc fix.
10525 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10527 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10528 Make it safe-local.
10530 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10532 2013-03-23 Leo Liu <sdl.web@gmail.com>
10534 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10537 * nxml/rng-valid.el (rng-validate-mode)
10538 (rng-after-change-function, rng-do-some-validation):
10539 * nxml/rng-maint.el (rng-validate-buffer):
10540 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10541 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10542 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10543 (nxml-extend-after-change-region): Use with-silent-modifications.
10545 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10548 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10549 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10550 timer-idle-list. (Bug#13999)
10552 2013-03-23 Juri Linkov <juri@jurta.org>
10554 * info.el (info-index-match): New face.
10555 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10556 main pattern and add text properties with the new face to matches
10557 in index entries relative to the beginning of the index entry.
10560 2013-03-21 Eric Ludlam <zappo@gnu.org>
10562 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10563 Inhibit read only while inserting objects.
10565 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10567 * progmodes/cfengine.el: Update docs to mention
10568 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10569 symbol motion. Remove "_" from the word syntax.
10571 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10573 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10574 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10576 2013-03-20 Juri Linkov <juri@jurta.org>
10578 * info.el (Info-next-reference-or-link)
10579 (Info-prev-reference-or-link): New functions.
10580 (Info-next-reference, Info-prev-reference): Use them.
10581 (Info-try-follow-nearest-node): Handle footnote navigation.
10582 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10584 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10586 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10587 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10589 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10591 Suppress unnecessary non-ASCII chatter during build process.
10592 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10593 (batch-skkdic-convert): Suppress most of the chatter.
10594 It's not needed so much now that machines are faster,
10595 and its non-ASCII component was confusing; see Dmitry Gutov in
10596 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10598 2013-03-20 Leo Liu <sdl.web@gmail.com>
10600 * ido.el (ido-chop): Fix bug#10994.
10602 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10604 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10606 (whitespace-color-on, whitespace-color-off):
10607 Use `font-lock-fontify-buffer' (Bug#13817).
10609 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10611 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10612 remapping in mode-line.
10613 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10615 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10617 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10618 value for `whitespace-line' face (Bug#13875).
10619 (whitespace-font-lock-keywords): Change description.
10620 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10621 the constructed keywords instead.
10622 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10624 2013-03-19 Leo Liu <sdl.web@gmail.com>
10626 * progmodes/compile.el (compilation-display-error): New command.
10627 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10630 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10632 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10634 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10636 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10638 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10640 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10642 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10643 * net/tramp-gvfs.el (top):
10644 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10645 (tramp-handle-shell-command): Use it.
10646 (tramp-dissect-file-name): Raise an error when hostname is a
10647 method name, and neither method nor user is specified.
10649 * net/trampver.el: Update release number.
10651 2013-03-18 Leo Liu <sdl.web@gmail.com>
10653 Make sure eldoc can be turned off properly.
10654 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10656 (eldoc-display-message-p): Revert last change.
10657 (eldoc-display-message-no-interference-p)
10658 (eldoc-print-current-symbol-info): Tweak.
10660 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10662 * doc-view.el (doc-view-new-window-function): Check the new window
10663 overlay's display property instead the char property of the
10664 buffer's first char. Use `with-selected-window' instead of
10665 `save-window-excursion' with `select-window'.
10666 (doc-view-document->bitmap): Check the current doc-view overlay's
10667 display property instead the char property of the buffer's first char.
10669 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10671 Automate the build of ja-dic.el (Bug#13984).
10672 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10673 from the input, rather than assume that it's been done for us by the
10674 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10675 the current date into a ja-dic.el comment, as that complicates
10676 regression testing.
10678 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10680 * whitespace.el: Fix double evaluation.
10681 (whitespace-space, whitespace-hspace, whitespace-tab)
10682 (whitespace-newline, whitespace-trailing, whitespace-line)
10683 (whitespace-space-before-tab, whitespace-indentation)
10684 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10686 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10687 (whitespace-color-on): Use a single font-lock-add-keywords call.
10688 Fix double-evaluation of face variables.
10690 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10692 * net/tramp-adb.el (tramp-adb-parse-device-names):
10693 Use `start-process' instead of `call-process'. Otherwise, the
10694 function might be blocked under MS Windows. (Bug#13299)
10696 2013-03-17 Leo Liu <sdl.web@gmail.com>
10698 Extend eldoc to display info in the mode-line. (Bug#13978)
10699 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10700 (eldoc-mode-line-string): New variable.
10701 (eldoc-minibuffer-message): New function.
10702 (eldoc-message-function): New variable.
10703 (eldoc-message): Use it.
10704 (eldoc-display-message-p)
10705 (eldoc-display-message-no-interference-p):
10706 Support eldoc-post-insert-mode.
10708 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10709 (eval-expression): Run it.
10711 2013-03-17 Roland Winkler <winkler@gnu.org>
10713 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10714 strings in the list of return values.
10716 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10718 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10719 radix before checking for HMS forms.
10721 2013-03-16 Leo Liu <sdl.web@gmail.com>
10723 * progmodes/scheme.el: Add indentation and font-locking for λ.
10726 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10728 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10729 token before point (bug#13942).
10731 2013-03-16 Leo Liu <sdl.web@gmail.com>
10733 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10735 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10737 * startup.el (command-line-normalize-file-name): Fix handling of
10738 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10739 <xfq.free@gmail.com> in
10740 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10742 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10744 Sync with Tramp 2.2.7.
10746 * net/trampver.el: Update release number.
10748 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10750 * doc-view.el: Fix bug#13887.
10751 (doc-view-insert-image): Don't modify overlay associated to
10752 non-live windows, and implement horizontal centering of image in
10753 case it's smaller than the window.
10754 (doc-view-new-window-function): Force redisplay of new windows on
10757 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10759 * saveplace.el (save-place-alist-to-file): Don't sort
10760 `save-place-alist', just pretty-print it (bug#13882).
10762 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10764 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10765 Check whether `default-file-name-coding-system' is bound.
10766 It isn't in XEmacs.
10768 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10770 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10771 backquotes for `obsolete' (bug#13929).
10773 * international/mule.el (find-auto-coding): Include file name in
10774 obsolescence warning (bug#13922).
10776 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10778 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10779 for CFEngine 3-specific indentation.
10780 (cfengine3-indent-line): Use it. Fix up category regex.
10781 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10783 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10785 * type-break.el (type-break-file-name):
10786 * textmodes/remember.el (remember-data-file):
10787 * strokes.el (strokes-file):
10788 * shadowfile.el (shadow-initialize):
10789 * saveplace.el (save-place-file):
10790 * ps-bdf.el (bdf-cache-file):
10791 * progmodes/idlwave.el (idlwave-config-directory):
10792 * net/quickurl.el (quickurl-url-file):
10793 * international/kkc.el (kkc-init-file-name):
10794 * ido.el (ido-save-directory-list-file):
10795 * emulation/viper.el (viper-custom-file-name):
10796 * emulation/vip.el (vip-startup-file):
10797 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10798 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10800 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10802 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10803 * language/thai-word.el: Switch to UTF-8.
10805 See ChangeLog.16 for earlier changes.
10807 ;; Local Variables:
10811 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10813 This file is part of GNU Emacs.
10815 GNU Emacs is free software: you can redistribute it and/or modify
10816 it under the terms of the GNU General Public License as published by
10817 the Free Software Foundation, either version 3 of the License, or
10818 (at your option) any later version.
10820 GNU Emacs is distributed in the hope that it will be useful,
10821 but WITHOUT ANY WARRANTY; without even the implied warranty of
10822 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10823 GNU General Public License for more details.
10825 You should have received a copy of the GNU General Public License
10826 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.