1 2013-12-11 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/package.el (finder-list-matches):
4 Autoload rather than falsely declaring.
6 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
8 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
9 (eww-mode-map): Use them.
11 2013-12-11 Martin Rudalics <rudalics@gmx.at>
13 * window.el (display-buffer-in-side-window): Fix doc-string
16 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
18 * vc/vc-git.el: Silence byte-compiler warnings.
19 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
20 (log-edit-set-header): Declare.
22 2013-12-11 Eli Zaretskii <eliz@gnu.org>
24 * Makefile.in (custom-deps, finder-data): Run output file names
25 through unmsys--file-name. (Bug#16099)
27 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
29 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
30 comment-start-skip, since it fails when that uses submatch 1 (bug#16041).
32 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
33 instead of deleting the selection "by hand" (bug#16098).
34 Rely on insert-for-yank to yank rectangles.
35 (cua-highlight-region-shift-only): Mark obsolete.
36 (cua-mode): Don't enable/disable transient-mark-mode,
37 shift-select-mode (cua-mode works both with and without them), and
38 pc-selection-mode (obsolete).
39 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
40 (cua--deactivate-rectangle): Deactivate it.
42 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
43 (delete-selection-helper): Make sure yank starts at the top of the
45 (minibuffer-keyboard-quit): Use region-active-p.
47 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
49 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
50 to `delete' (bug#16109).
52 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
54 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
55 info manual and show keybindings and set `:group' keyword.
57 2013-12-11 Juri Linkov <juri@jurta.org>
59 * delsel.el (delete-active-region): Let-bind `this-command'
60 to prevent `kill-region' from changing its original value.
61 (delete-selection-helper): Handle `overwrite-mode' for the type
62 `kill' exactly the same way as for the type `t'.
63 (insert-char, quoted-insert, reindent-then-newline-and-indent):
64 Support more commands. (Bug#13312)
66 2013-12-11 Juri Linkov <juri@jurta.org>
68 * bindings.el: Map kp keys to non-kp keys systematically
69 with basic modifiers control, meta and shift. (Bug#14397)
71 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
73 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
74 "Close browser" menu items. Fix wrong function of "List
77 2013-12-11 Juri Linkov <juri@jurta.org>
79 * misearch.el (multi-isearch-buffers): Set the value of
80 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
81 arg of isearch-forward to t.
82 (multi-isearch-buffers-regexp): Set the value of
83 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
84 arg of isearch-forward-regexp to t.
85 (multi-isearch-files): Set the value of
86 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
87 arg of isearch-forward to t.
88 (multi-isearch-files-regexp): Set the value of
89 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
90 arg of isearch-forward-regexp to t. (Bug#16035)
92 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
93 arg of isearch-forward to t.
94 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
95 arg of isearch-forward-regexp to t.
96 (dired-isearch-filter-filenames): Remove unnecessary check for
97 `dired-isearch-filenames'.
99 * comint.el (comint-history-isearch-backward):
100 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
101 (comint-history-isearch-backward-regexp):
102 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
104 2013-12-10 Eli Zaretskii <eliz@gnu.org>
106 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
107 unmsys--file-name. (Bug#16099)
109 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
111 * emacs-lisp/package.el (package-keyword-button-action): Remove
112 finder.el require dependency.
114 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
116 * emacs-lisp/package.el: Require finder.el.
117 (describe-package-1): Add keyword buttons.
118 (package-make-button): New convenience function.
119 (package-keyword-button-action): Keyword button action using
120 `finder-list-matches'
122 2013-12-09 Eli Zaretskii <eliz@gnu.org>
124 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
127 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
129 * autorevert.el (auto-revert-notify-add-watch): Do not handle
132 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
134 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
135 after the end of a percent literal.
137 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
139 * progmodes/ruby-mode.el (ruby-forward-string): Document. Handle
140 caret-delimited strings (Bug#16079).
142 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
144 * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
145 `ruby-use-smie' is t, use `smie-forward-sexp' instead of
146 `ruby-parse-partial' (Bug#16078).
148 2013-12-09 Leo Liu <sdl.web@gmail.com>
150 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
152 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
154 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
155 (js-switch-indent-offset): New option.
156 (js--proper-indentation): Use it. And handle the case when
157 "default" is actually a key in an object literal.
158 (js--same-line): New function.
159 (js--multi-line-declaration-indentation): Use it.
160 (js--indent-in-array-comp, js--array-comp-indentation): New
162 (js--proper-indentation): Use them, to handle array comprehension
165 2013-12-08 Leo Liu <sdl.web@gmail.com>
167 * progmodes/flymake.el (flymake-highlight-line): Re-write.
168 (flymake-make-overlay): Remove arg MOUSE-FACE.
169 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
171 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
173 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
175 (redisplay-highlight-region-function): Use it.
177 * emulation/cua-base.el (cua--explicit-region-start)
178 (cua--last-region-shifted): Remove.
179 (cua--deactivate): Use deactivate-mark.
180 (cua--pre-command-handler-1): Don't handle shift-selection.
181 (cua--post-command-handler-1): Don't change transient-mark-mode.
182 (cua--select-keymaps): Use region-active-p rather than
183 cua--explicit-region-start or cua--last-region-shifted.
184 (cua-mode): Enable shift-select-mode.
186 2013-12-08 Leo Liu <sdl.web@gmail.com>
188 * progmodes/flymake.el (flymake-popup-current-error-menu):
189 Rename from flymake-display-err-menu-for-current-line. Reimplement.
190 (flymake-posn-at-point-as-event, flymake-popup-menu)
191 (flymake-make-emacs-menu): Remove. (Bug#16077)
193 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
195 * rect.el (rectangle-mark-mode): Activate mark even if
196 transient-mark-mode is off (bug#16066).
197 (rectangle--highlight-for-redisplay): Fix boundary condition when point
198 is > mark and at bolp.
200 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
201 (region-extract-function): Use it.
202 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
203 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
205 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
206 kill-ring-save, kill-region, delete-char, delete-forward-char.
207 Ignore self-insert-iso.
209 * emulation/cua-gmrk.el (cua--init-global-mark):
210 Ignore `self-insert-iso'.
212 * emulation/cua-base.el (cua--prefix-copy-handler)
213 (cua--prefix-cut-handler): Rely on region-extract-function rather than
214 checking cua--rectangle.
215 (cua-delete-region): Use region-extract-function.
216 (cua-replace-region): Delete function.
217 (cua-copy-region, cua-cut-region): Obey region-extract-function.
218 (cua--pre-command-handler-1): Don't do the delete-selection thing.
219 (cua--self-insert-char-p): Ignore `self-insert-iso'.
220 (cua--init-keymaps): Don't remap delete-selection commands.
221 (cua-mode): Use delete-selection-mode instead of rolling our own
224 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
225 Obey region-extract-function.
227 Make registers and delete-selection-mode work on rectangles.
228 * register.el (describe-register-1): Don't modify the register's value.
229 (copy-to-register): Obey region-extract-function.
230 * delsel.el (delete-active-region): Obey region-extract-function.
232 2013-12-08 Leo Liu <sdl.web@gmail.com>
234 * progmodes/flymake.el (flymake, flymake-error-bitmap)
235 (flymake-warning-bitmap, flymake-fringe-indicator-position)
236 (flymake-compilation-prevents-syntax-check)
237 (flymake-start-syntax-check-on-newline)
238 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
239 (flymake-start-syntax-check-on-find-file, flymake-log-level)
240 (flymake-xml-program, flymake-master-file-dirs)
241 (flymake-master-file-count-limit)
242 (flymake-allowed-file-name-masks): Relocate.
243 (flymake-makehash, flymake-float-time)
244 (flymake-replace-regexp-in-string, flymake-split-string)
245 (flymake-get-temp-dir): Remove.
246 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
247 (flymake-current-row, flymake-selected-frame)
248 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
249 related functions. (Bug#16077)
251 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
253 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
255 2013-12-07 Tassilo Horn <tsdh@gnu.org>
257 * help-fns.el (describe-function-1): Use new advice-* functions
258 rather than old ad-* functions. Fix function type description and
259 source links for advised functions and subrs.
261 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
263 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
265 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
267 * progmodes/compile.el (compilation-start):
268 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
270 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
271 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
273 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
275 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
276 Touch up the last change.
278 2013-12-06 Leo Liu <sdl.web@gmail.com>
280 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
281 (inferior-octave-startup): Always use "octave> " for prompt.
282 (octave-goto-function-definition)
283 (octave-sync-function-file-names)
284 (octave-find-definition-default-filename): Remove redundant backquotes.
286 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
288 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
290 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
291 where appropriate already.
292 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
293 end of method names (Bug#15874).
295 2013-12-06 Juri Linkov <juri@jurta.org>
297 * isearch.el (isearch--saved-overriding-local-map):
298 New internal variable.
299 (isearch-mode): Set it to the initial value of
300 `overriding-terminal-local-map'.
301 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
302 with `isearch--saved-overriding-local-map'. (Bug#16035)
304 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
306 * progmodes/octave.el (inferior-octave-completion-table):
307 Turn back into function, use `completion-table-with-cache'
308 (Bug#11906). Update all references.
310 * minibuffer.el (completion-table-with-cache): New function.
312 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
314 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
316 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
318 * net/eww.el (eww-current-source): New variable to store page
320 (eww-display-html, eww-mode, eww-save-history)
321 (eww-restore-history): Use it.
322 (eww-view-source): New command to view page source.
323 Opportunistically uses `html-mode' to highlight the buffer.
324 (eww-mode-map): Install it.
326 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
328 * net/dbus.el (dbus-unregister-service)
329 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
331 (dbus-unregister-service): Skip :serial entries in
332 `dbus-registered-objects-table'.
333 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
335 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
337 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
338 around keywords with extra `split-string' argument.
340 2013-12-04 Martin Rudalics <rudalics@gmx.at>
342 * windmove.el (windmove-other-window-loc): Handle navigation
343 between windows (excluding the minibuffer window - Bug#16017).
345 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
347 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
348 in D-Bus type syntax.
349 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
350 preserve unibyte strings. (Bug#16048)
352 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
354 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
355 Call force-mode-line-update is the proper buffer (bug#16042).
357 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
359 * vc/log-edit.el (log-edit-add-new-comment): Rename to
360 `log-edit-remember-comment', make argument optional. Adjust all
362 (log-edit-mode): Add `log-edit-remember-comment' to
363 `kill-buffer-hook' locally.
364 (log-edit-kill-buffer): Don't remember comment explicitly since
365 the buffer is killed anyway.
367 2013-12-04 Juri Linkov <juri@jurta.org>
369 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
370 add-hook and remove-hook for multi-buffer search. (Bug#16035)
372 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
374 * notifications.el (notifications-close-notification): Call the
375 D-Bus method with ID being a `:uint32'. (Bug#16030)
377 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
379 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
381 2013-12-03 Juri Linkov <juri@jurta.org>
383 * progmodes/compile.el (compilation-start): Rename window alist
384 entry `no-display-ok' to `allow-no-window'.
386 * simple.el (shell-command): Add window alist entry
387 `allow-no-window' to `display-buffer'.
388 (async-shell-command): Doc fix.
390 * window.el (display-buffer-no-window): New action function.
391 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
393 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
395 * vc/log-edit.el (log-edit-set-header): Extract from
396 `log-edit-toggle-header'.
397 (log-edit-extract-headers): Separate the summary, when extracted
398 from header, from the rest of the message with an empty line.
400 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
401 line, if present, to the Summary header.
403 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
405 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
406 in current-buffer (bug#16029).
408 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
410 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
411 (debugger-mode-map): Bind it.
412 (debugger--backtrace-base): New function.
413 (debugger-eval-expression): Use it.
414 (debugger-frame-number): Skip local vars when present.
415 (debugger--locals-visible-p, debugger--insert-locals)
416 (debugger--show-locals, debugger--hide-locals): New functions.
418 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
420 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
422 (tramp-get-remote-locale): New defun.
423 (tramp-open-connection-setup-interactive-shell): Use it.
425 2013-12-02 Leo Liu <sdl.web@gmail.com>
427 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
429 * progmodes/sh-script.el (sh-shell-process):
430 * progmodes/octave.el (inferior-octave-process-live-p):
431 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
432 (gdb-inferior-io-sentinel):
433 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
435 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
437 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
438 `save-selected-window' to `log-edit-hide-buf'. This makes
439 `log-edit-show-files' idempotent.
440 (log-edit-show-files): Mark the new window as dedicated.
442 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
444 * vc/log-edit.el (log-edit-mode-map): Add binding for
445 `log-edit-kill-biffer'.
446 (log-edit-hide-buf): Add a FIXME comment.
447 (log-edit-add-new-comment): New function, extracted from
449 (log-edit-done, log-edit-add-to-changelog): Use it.
450 (log-edit-kill-buffer): New command.
452 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
454 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
455 instead of killing the buffer.
457 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
459 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
461 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
463 * net/eww.el (eww-form-checkbox-selected-symbol)
464 (eww-form-checkbox-symbol): New customizable variable.
465 (eww-form-checkbox, eww-toggle-checkbox):
466 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
468 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
469 (shr--get-media-pref, shr--extract-best-source): New function.
470 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
471 no :src tag was specified.
473 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
474 (eww-render): Handle `eww-use-external-browser-for-content-type'.
475 Use \\` to match beginning of string instead of ^.
476 (eww-browse-with-external-browser): Provide optional URL parameter.
477 (eww-render): Set `eww-current-title' back to "".
479 * net/shr.el (shr-tag-video): Display content for video if no
481 (shr-tag-audio): Add support for <audio> tag.
483 * net/eww.el (eww-text-input-types): : New const.
484 (eww-process-text-input): Treat input types in
485 `eww-text-input-types' as text.
487 * net/shr.el (shr-tag-table): Fix comment typo.
489 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
491 * net/eww.el (eww-follow-link): New command to avoid reloading
492 pages when we follow #target links (bug#15243).
493 (eww-quit): Special mode buffers shouldn't query before exiting.
495 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
497 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
500 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
502 * net/eww.el (eww-restore-history): Update the window title after
503 moving in the history.
504 (eww-current-dom): New variable used to save the current DOM.
506 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
508 * vc/log-edit.el (log-edit-mode-map): Add binding for
509 `log-edit-beginning-of-line'.
510 (log-edit-setup-add-author): New user option.
511 (log-edit-beginning-of-line): New command.
512 (log-edit): Move major mode call above the contents setup so that
513 the local variable values are already applied.
514 (log-edit): Only insert "Author: " when
515 `log-edit-setup-add-author' is non-nil.
516 (log-edit): When SETUP is non-nil, position point after ": "
517 instead of point-min.
519 2013-12-01 Glenn Morris <rgm@gnu.org>
521 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
523 2013-11-30 Eli Zaretskii <eliz@gnu.org>
525 * startup.el (fancy-splash-frame): On MS-Windows, trigger
526 redisplay to make sure the initial frame gets a chance to become
529 2013-11-30 Martin Rudalics <rudalics@gmx.at>
531 Support resizing frames and windows pixelwise.
532 * cus-start.el (frame-resize-pixelwise)
533 (window-resize-pixelwise): New entries.
534 * emacs-lisp/debug.el (debug): Use window-total-height instead
535 of window-total-size.
536 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
537 * help.el (describe-bindings-internal): Call help-buffer
538 (temp-buffer-max-width): New option.
539 (resize-temp-buffer-window, help-window-setup)
540 (with-help-window): Rewrite.
541 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
543 * window.el (frame-char-size, window-min-pixel-height)
544 (window-safe-min-pixel-height, window-safe-min-pixel-width)
545 (window-min-pixel-width, window-safe-min-pixel-size)
546 (window-combination-p, window-safe-min-size)
547 (window-resizable-p, window--size-to-pixel)
548 (window--pixel-to-size, window--resize-apply-p): New functions.
549 (window-safe-min-height): Fix doc-string.
550 (window-size, window-min-size, window--min-size-1)
551 (window-sizable, window-sizable-p, window--min-delta-1)
552 (window-min-delta, window--max-delta-1, window-max-delta)
553 (window--resizable, window--resizable-p, window-resizable)
554 (window-full-height-p, window-full-width-p, window-at-side-p)
555 (window--in-direction-2, window-in-direction)
556 (window--resize-reset-1, window--resize-mini-window)
557 (window-resize, window-resize-no-error)
558 (window--resize-child-windows-normal)
559 (window--resize-child-windows, window--resize-siblings)
560 (window--resize-this-window, window--resize-root-window)
561 (window--resize-root-window-vertically)
562 (adjust-window-trailing-edge, enlarge-window, shrink-window)
563 (maximize-window, minimize-window, delete-window)
564 (quit-restore-window, window-split-min-size, split-window)
565 (balance-windows-2, balance-windows)
566 (balance-windows-area-adjust, balance-windows-area)
567 (window--state-get-1, window-state-get, window--state-put-1)
568 (window--state-put-2, window-state-put)
569 (display-buffer-record-window, window--display-buffer):
570 Make functions handle pixelwise sizing of windows.
571 (display-buffer--action-function-custom-type)
572 (display-buffer-fallback-action):
573 Add display-buffer-in-previous-window.
574 (display-buffer-use-some-window): Resize window to height it had
576 (fit-window-to-buffer-horizontally): New option.
577 (fit-frame-to-buffer): Describe new values.
578 (fit-frame-to-buffer-bottom-margin): Replace with
579 fit-frame-to-buffer-margins.
580 (window--sanitize-margin): New function.
581 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
582 using window-text-pixel-size.
584 2013-11-30 Glenn Morris <rgm@gnu.org>
586 * emacs-lisp/bytecomp.el (byte-compile-form):
587 Make the `interactive-only' warning like the `obsolete' one.
588 * comint.el (comint-run):
589 * files.el (insert-file-literally, insert-file):
590 * replace.el (replace-string, replace-regexp):
591 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
592 (goto-line, insert-buffer, next-line, previous-line):
593 Tweak `interactive-only' spec.
595 Stop keeping (most) generated cedet grammar files in the repository.
596 * Makefile.in (semantic): New.
597 (compile-main): Depend on semantic.
599 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
601 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
602 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
604 * uniquify.el (uniquify-buffer-name-style): Change default.
606 * loadup.el: Preload "uniquify".
608 * time.el (display-time-update): Update all mode lines (bug#15999).
610 * electric.el (electric-indent-mode): Enable by default.
611 * loadup.el: Preload "electric".
613 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
615 * emacs-lisp/helpers.el (string-empty-p): New function.
616 (string-blank-p): New function.
618 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
620 * imenu.el (imenu--index-alist): Add missing dot to the docstring
623 2013-11-29 Andreas Politz <politza@fh-trier.de>
624 * imenu.el (imenu--subalist-p): Don't error on non-conses and
625 allow non-lambda lists as functions.
626 (imenu--in-alist): Don't recurse into non-subalists.
627 (imenu): Don't pass function itself as an argument (Bug#14029).
629 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
631 * progmodes/python.el (python-mode-map): Remove binding for ":".
632 (python-indent-electric-colon): Remove command.
633 (python-indent-post-self-insert-function): Integrate the previous code
634 of python-indent-electric-colon. Make it conditional on
635 electric-indent-mode.
636 (python-mode): Add ?: to electric-indent-chars.
637 Move python-indent-post-self-insert-function to the end of
638 post-self-insert-hook.
640 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
642 * doc-view.el (doc-view-goto-page): Update mode-line.
644 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
646 2013-11-27 Glenn Morris <rgm@gnu.org>
648 * international/charprop.el, international/uni-bidi.el:
649 * international/uni-category.el, international/uni-combining.el:
650 * international/uni-comment.el, international/uni-decimal.el:
651 * international/uni-decomposition.el, international/uni-digit.el:
652 * international/uni-lowercase.el, international/uni-mirrored.el:
653 * international/uni-name.el, international/uni-numeric.el:
654 * international/uni-old-name.el, international/uni-titlecase.el:
655 * international/uni-uppercase.el:
656 Remove generated files from VCS repository.
658 2013-11-27 Eli Zaretskii <eliz@gnu.org>
660 * filenotify.el (file-notify-add-watch): Don't special-case
661 w32notify when computing the directory to watch.
663 2013-11-27 Glenn Morris <rgm@gnu.org>
665 Make bootstrap without generated uni-*.el files possible again.
666 * loadup.el: Update command-line-args checking for unidata-gen.
667 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
668 * composite.el, international/characters.el:
669 Handle unicode tables being undefined.
671 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
672 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
673 (compile-main): Depend on leim rule.
675 * loadup.el: Move leim-list.el to leim/ subdirectory.
676 * startup.el (normal-top-level): No more leim directory.
677 * international/ja-dic-cnv.el (skkdic-convert):
678 Disable version-control and autoloads in output files.
679 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
680 Disable version-control and autoloads in output files.
681 * leim/quail: Move here from ../leim.
682 * leim/quail/hangul.el (hangul-input-method-activate):
684 (generated-autoload-load-name): Set file-local value.
685 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
686 (generated-autoload-load-name): Set file-local value.
688 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
690 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
691 (eww-add-bookmark): ask confirmation when add to bookmarks
692 (eww-quit): ask confirmation before quitting eww
694 2013-11-26 Eli Zaretskii <eliz@gnu.org>
696 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
697 reading output from Diff on MS-Windows and MS-DOS.
699 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
701 * emacs-lisp/helpers.el (string-reverse): New function.
703 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
705 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
706 names on MS Windows, like "/[::1]:".
708 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
711 2013-11-26 Glenn Morris <rgm@gnu.org>
713 * progmodes/python.el (python-indent-guess-indent-offset):
714 Avoid corner-case error. (Bug#15975)
716 Preload leim-list.el. (Bug#4789)
717 * loadup.el: Load leim-list.el when found.
718 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
720 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
722 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
724 * emacs-lisp/helpers.el (string-join): New function.
726 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
728 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
729 Mark as obsolete and replace it with a symbol property.
730 (byte-compile-form): Use new 'interactive-only property.
731 * comint.el, files.el, replace.el, simple.el:
732 Apply new 'interactive-only properly.
734 2013-11-25 Martin Rudalics <rudalics@gmx.at>
736 * window.el (display-buffer-at-bottom): Make sure that
737 split-window-sensibly creates the new window on bottom
740 2013-11-23 David Kastrup <dak@gnu.org>
742 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
743 on the conflict markers when available.
744 (smerge--get-marker): New function.
745 (smerge-end-re, smerge-base-re): Add subgroup.
747 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
749 * frame.el (handle-focus-in, handle-focus-out): Add missing
752 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
754 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
755 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
757 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
759 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
760 (gomoku--last-pos): New var.
761 (gomoku--intangible-chars): New const.
762 (gomoku--intangible): New function.
763 (gomoku-mode): Use it. Derive from special-mode.
764 (gomoku-move-up): Adjust line count.
765 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
766 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
767 Simplify accordingly.
769 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
770 Remove blink-cursor code.
771 (blink-cursor-timer-function, blink-cursor-suspend):
772 Don't special-case GUIs.
773 (blink-cursor-mode): Use focus-in/out-hook.
775 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
777 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
778 work when annotation is invisible (Bug#13886).
780 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
782 * json.el (json-alist-p): Only return non-nil if the alist has
783 simple keys (Bug#13518).
785 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
787 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
788 when control-statement is the first statement in a buffer (Bug#15956).
790 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
792 * imenu.el (imenu-generic-skip-comments-and-strings):
793 New option (Bug#15560).
794 (imenu--generic-function): Use it.
796 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
798 * minibuffer.el (completion--in-region-1): Scroll the correct
801 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
803 * emacs-lisp/helpers.el: Add some string helpers.
804 (string-trim-left): Removes leading whitespace.
805 (string-trim-right): Removes trailing whitespace.
806 (string-trim): Removes leading and trailing whitespace.
808 * subr.el (string-suffix-p): New function.
810 2013-11-23 Glenn Morris <rgm@gnu.org>
812 * progmodes/python.el (python-shell-send-file):
813 Add option to delete file when done. (Bug#15647)
814 (python-shell-send-string, python-shell-send-region): Use it.
816 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
818 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
819 to set buffer-read-only to t, never to nil. (Bug#15938)
821 * textmodes/tex-mode.el (latex-noindent-environments):
822 Add safe-local-variable property. (Bug#15936)
824 2013-11-23 Glenn Morris <rgm@gnu.org>
826 * textmodes/enriched.el (enriched-mode): Doc fix.
827 * emacs-lisp/authors.el (authors-renamed-files-alist):
828 Add enriched.doc -> enriched.txt.
830 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
832 2013-11-22 Leo Liu <sdl.web@gmail.com>
834 * progmodes/octave.el (inferior-octave-startup): Spit out error
837 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
839 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
842 (ruby-encoding-magic-comment-style): Add :version.
844 2013-11-22 Leo Liu <sdl.web@gmail.com>
846 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
848 (octave-help-mode): Adapt to change to help-mode-finish to use
849 derived-mode-p on 2013-09-17.
850 (inferior-octave-prompt): Also match octave-gui.
851 (octave-kill-process): Don't ask twice. (Bug#10564)
853 2013-11-22 Leo Liu <sdl.web@gmail.com>
855 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
856 (inferior-octave-startup, inferior-octave-check-process)
857 (inferior-octave-track-window-width-change)
858 (octave-completion-at-point, octave-eldoc-function): Use it.
859 (octave-kill-process): Provide confirmation. (Bug#10564)
861 2013-11-21 Leo Liu <sdl.web@gmail.com>
863 * progmodes/octave.el (octave-mode, inferior-octave-mode):
864 Fix obsolete variable comment-use-global-state.
866 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
868 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
869 Add `octave-source-file'.
870 (octave-source-file): New function. (Bug#15935)
872 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
874 * net/eww.el (eww-local-regex): New variable.
875 (eww): Use it to detect localhost and similar.
877 2013-11-21 Leo Liu <sdl.web@gmail.com>
879 Add completion for command `ag'.
880 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
881 (pcomplete/ag): New function.
882 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
884 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
886 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
888 (make-obsolete): Remove interactive spec.
890 2013-11-21 Glenn Morris <rgm@gnu.org>
892 * startup.el (command-line-1): Use path-separator with -L.
894 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
896 * emacs-lisp/package.el (describe-package-1): Add package archive
899 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
901 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
902 Change default to "# encoding: %s" to differentiate it from the
903 default Ruby encoding comment template.
905 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
907 * ses.el (ses-mode): Doc fix. (Bug#14748)
909 2013-11-20 Leo Liu <sdl.web@gmail.com>
911 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
913 2013-11-19 Dan Nicolaescu <dann@gnu.org>
915 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
916 when rebase or bisect are in progress.
918 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
920 * filenotify.el (file-notify-add-watch): Doc fix.
922 2013-11-19 Leo Liu <sdl.web@gmail.com>
924 * obsolete/rcompile.el: Mark obsolete.
926 * progmodes/compile.el (compilation-start)
927 (compilation-goto-locus, compilation-find-file):
928 Pass no-display-ok and handle nil value from display-buffer.
931 * window.el (display-buffer-alist, display-buffer): Document the
932 new parameter no-display-ok. Return either a window or nil
933 but never a non-window value.
935 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
937 * electric.el (electric-indent-mode-map): Remove.
938 (electric-indent-mode): Change the global-map instead (bug#15915).
940 * textmodes/text-mode.el (paragraph-indent-minor-mode):
943 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
945 * emacs-lisp/nadvice.el (remove-function): Align with
946 add-function's behavior.
948 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
949 (gdb--string-regexp): New constant.
950 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
951 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
952 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
954 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
955 Adjust use accordingly.
956 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
958 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
960 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
961 interpolation curlies (Bug#15914).
963 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
965 * calc/calc.el (calc-context-sensitive-enter): New variable.
966 (calc-enter): Use `calc-context-sensitive-enter'.
968 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
970 * progmodes/cfengine.el: Version bump.
971 (cfengine-cf-promises): New defcustom to locate cf-promises.
972 (cfengine3-vartypes): Add new "data" type.
973 (cfengine3--current-word): New function to get current name-like
975 (cfengine3--current-function): New function to look up a CFEngine
976 function's definition.
977 (cfengine3-format-function-docstring): New function.
978 (cfengine3-make-syntax-cache): New function.
979 (cfengine3-documentation-function): New function: ElDoc glue.
980 (cfengine3-completion-function): New function: completion glue.
981 (cfengine3-mode): Set `compile-command',
982 `eldoc-documentation-function', and add to
983 `completion-at-point-functions'.
985 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
987 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
988 `tramp-current-connection'.
990 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
992 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
993 nil/self/true/false with "end of symbol".
995 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
997 * subr.el (version-regexp-alist): Fix a typo.
999 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1001 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1002 "en_US.utf8" and "LC_CTYPE" to "".
1003 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1004 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1006 2013-11-15 Leo Liu <sdl.web@gmail.com>
1008 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1010 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1012 * progmodes/gud.el (ctl-x-map):
1013 Remove C-x SPC binding. (Bug#12342)
1014 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1016 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1018 * subr.el (version-regexp-alist):
1019 Recognize hg, svn and darcs versions as snapshot versions.
1021 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1022 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1023 (ruby--encoding-comment-required-p): Extract from
1024 `ruby-mode-set-encoding'.
1025 (ruby-mode-set-encoding): Add the ability to always insert an
1026 utf-8 encoding comment. Fix and simplify coding comment update
1029 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1031 * net/tramp-gvfs.el (top): Run init code only when
1032 `tramp-gvfs-enabled' is not nil.
1033 (tramp-gvfs-enabled): Check also :system bus.
1035 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1037 Sync with upstream verilog-mode revision 78e66ba.
1038 * progmodes/verilog-mode.el (verilog-end-of-defun)
1039 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1040 (verilog-get-end-of-defun): Remove unused argument.
1041 (verilog-comment-depth): Remove unused local `e'.
1042 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1043 Don't pass arg to verilog-get-end-of-defun.
1045 2013-11-14 Glenn Morris <rgm@gnu.org>
1047 * obsolete/assoc.el (aget): Prefix dynamic variable.
1049 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1051 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1053 * widget.el, hfy-cmap.el: Remove bogus package version number.
1055 2013-11-13 Glenn Morris <rgm@gnu.org>
1057 * replace.el (replace-eval-replacement):
1058 Try to give more helpful error message. (Bug#15836)
1060 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1061 (archive-7z-update): Avoid custom type mismatches.
1063 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1065 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1067 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1068 address can be empty.
1070 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1071 Accept nil SWITCHES.
1072 (tramp-gvfs-handle-write-region): Implement APPEND.
1074 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1076 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1077 binary "|" operator and closing block args delimiter.
1078 Remove FIXME comment referring to Ruby 1.8-only syntax.
1079 (ruby-smie--implicit-semi-p): Not after "|" operator.
1080 (ruby-smie--closing-pipe-p): New function.
1081 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1082 (ruby-smie-rules): Indent after "|".
1084 2013-11-12 Glenn Morris <rgm@gnu.org>
1086 * ps-print.el (ps-face-attribute-list):
1087 Handle anonymous faces. (Bug#15827)
1089 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1091 * window.el (display-buffer-other-frame): Fix doc-string.
1094 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1096 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1098 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1100 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1101 (tramp-sh-handle-file-local-copy): Don't write a message when
1102 saving temporary files.
1104 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1105 both directories are remote.
1106 (tramp-smb-handle-directory-files): Do not return double entries.
1107 Do not expand full file names.
1108 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1109 (tramp-smb-handle-write-region): Implement APPEND.
1110 (tramp-smb-get-stat-capability): Fix a stupid bug.
1112 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1114 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1116 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1118 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1119 throwing error over malformed let/let* (bug#15814).
1121 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1123 * iswitchb.el (iswitchb-mode): Mark obsolete.
1125 2013-11-11 Glenn Morris <rgm@gnu.org>
1127 * international/uni-bidi.el, international/uni-category.el:
1128 * international/uni-name.el, international/uni-numeric.el:
1129 Regenerate for Unicode 6.3.0.
1131 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1133 * net/tramp.el (tramp-methods):
1134 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1135 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1137 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1139 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1140 Force highlighting text after Summary keyword in doc face for rpm.
1142 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1144 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1145 available and the word has no wildcards, append one to the grep pattern.
1146 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1147 (ispell-complete-word): Call `ispell-lookup-words' with the value
1148 independent of `ispell-look-p'.
1150 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1152 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1154 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1157 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1159 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1160 (ruby-font-lock-keywords): Use backquote.
1162 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1164 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1165 (ruby-smie--backward-token): Only consider full-string matches.
1167 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1169 * faces.el (describe-face): Add distant-foreground.
1171 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1173 * progmodes/ruby-mode.el: Improve encoding comment handling.
1174 (ruby-encoding-magic-comment-style): New option.
1175 (ruby-custom-encoding-magic-comment-template): New option.
1176 (ruby--insert-coding-comment, ruby--detect-encoding):
1177 New functions extracted from `ruby-mode-set-encoding'.
1178 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1179 to control the style of the auto-inserted encoding comment.
1181 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1183 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1184 Use `smie-backward-sexp' with token argument.
1186 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1188 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1189 Remove instrumentation code.
1191 2013-11-08 Glenn Morris <rgm@gnu.org>
1193 * progmodes/autoconf.el (autoconf-mode):
1194 Tweak comment-start-skip. (Bug#15822)
1196 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1198 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1199 at bobp (bug#15826).
1200 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1202 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1204 * man.el (Man-start-calling): New macro, extracted from
1205 Man-getpage-in-background.
1206 (Man-getpage-in-background): Use it.
1207 (Man-update-manpage): New command.
1208 (Man-mode-map): Bind it.
1210 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1212 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1213 of "and", "or", "&&" and "||".
1214 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1215 argument. Prohibit opening curly brace because it could only be a
1216 block opener in that position.
1217 (ruby-smie--forward-token, ruby-smie--backward-token):
1218 Separate "|" from "&" or "*" going after it. That can happen in block
1220 (ruby-smie--indent-to-stmt): New function, seeks the end of
1221 previous statement or beginning of buffer.
1222 (ruby-smie-rules): Use it.
1223 (ruby-smie-rules): Check if there's a ":" before a curly block
1224 opener candidate; if there is, it's a hash.
1226 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1228 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1229 (cl--block-wrapper): Fix last accidental change.
1231 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1233 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1234 Instrument, in order to hunt failure on hydra.
1236 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1238 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1239 malformed bindings form (bug#15814).
1241 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1243 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1244 "." compared to " @ ". This incidentally fixes some indentation
1246 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1247 (ruby-smie-grammar): New tokens: "and" and "or".
1248 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1249 Exclude "and" and "or". Remove "do" in order to work around token
1251 (ruby-smie-rules): Add all infix tokens. Handle the case of
1252 beginning-of-buffer.
1254 2013-11-06 Glenn Morris <rgm@gnu.org>
1256 * Makefile.in (setwins_almost, setwins_for_subdirs):
1257 Avoid accidental matches.
1259 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1261 * menu-bar.el (popup-menu): Use key-binding.
1263 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1265 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1266 menus, support also the menus produced by minor modes.
1269 2013-11-06 Leo Liu <sdl.web@gmail.com>
1271 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1272 DISTANCE to bound the search. All uses changed. (Bug#15808)
1274 2013-11-06 Glenn Morris <rgm@gnu.org>
1276 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1277 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1278 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1280 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1282 * electric.el (electric-indent-just-newline): New command.
1283 (electric-indent-mode-map): New keymap.
1284 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1285 Re-add :group which weren't redundant.
1287 * electric.el (electric-indent-local-mode): New minor mode.
1288 (electric-indent-functions-without-reindent): New var.
1289 (electric-indent-post-self-insert-function): Use it.
1290 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1292 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1294 * international/quail.el (quail-help): Be more explicit about the
1295 meaning of the labels shown on the keys. (Bug#15800)
1297 * startup.el (normal-top-level): Load the subdirs.el files before
1298 setting the locale environment. (Bug#15805)
1300 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1302 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1303 via arguments so as to get the right ones (bug#15418).
1305 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1307 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1309 Fix problems found while writing a test suite.
1311 * net/tramp-compat.el (tramp-compat-load): New defun.
1312 * net/tramp.el (tramp-handle-load): Use it.
1314 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1315 "(numberp ok-if-already-exists)" correctly.
1317 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1319 * international/characters.el (glyphless-char-display-control):
1322 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1324 * progmodes/python.el (python-mode):
1325 * progmodes/scheme.el (scheme-mode):
1326 * progmodes/prolog.el (prolog-mode):
1327 * progmodes/ruby-mode.el (ruby-mode):
1328 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1329 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1331 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1333 * rect.el (rectangle--highlight-for-redisplay):
1334 * emacs-lisp/smie.el (smie--next-indent-change):
1335 Use buffer-chars-modified-tick.
1337 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1339 * electric.el (electric-indent-post-self-insert-function):
1340 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1342 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1344 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1346 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1348 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1351 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1353 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1355 * progmodes/python.el: Fix up last change.
1356 (python-shell--save-temp-file): New function.
1357 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1358 `string' comes from the current buffer.
1359 (python-shell-send-string-no-output): Remove `msg' arg.
1360 (python--use-fake-loc): New var.
1361 (python-shell-buffer-substring): Obey it. Try to compensate for the
1362 extra coding line added by python-shell--save-temp-file.
1363 (python-shell-send-region): Use python-shell--save-temp-file and
1364 python-shell-send-file directly. Add `nomain' argument.
1365 (python-shell-send-buffer): Use python-shell-send-region.
1366 (python-electric-pair-string-delimiter): New function.
1367 (python-mode): Use it.
1369 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1371 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1372 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1373 environment and decoding all of the default-directory's to here
1375 (command-line): Decode also argv[0].
1377 * loadup.el: Error out if default-directory is a multibyte string
1378 when we are dumping.
1380 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1382 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1384 * emacs-lisp/package.el (package-menu-mode)
1385 (package-menu--print-info, package-menu--archive-predicate):
1386 Add Archive column to package list.
1388 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1390 Fix problems found while writing a test suite.
1392 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1393 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1394 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1395 to nil when running original file name handler. Otherwise,
1396 there are problems with constructs like "$$FOO".
1398 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1401 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1403 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1405 * subr.el (version<, version<=, version=):
1406 Update docstrings with information for snapshot versions.
1408 * helpers.el: New library for misc helper functions.
1409 (hash-table-keys): New function returning a list of hash keys.
1410 (hash-table-values): New function returning a list of hash values.
1412 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1414 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1415 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1417 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1419 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1420 checking whether point is after a 1-letter word.
1422 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1424 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1425 Don't infloop when expanding region over `multiline' syntax-type that
1426 begins a line (bug#15778).
1428 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1430 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1431 Make it into a proper minor mode.
1432 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1433 (rectangle-mark-mode-map): New keymap.
1434 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1436 2013-11-04 Glenn Morris <rgm@gnu.org>
1438 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1440 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1442 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1443 (ruby-smie-rules): Use smie-rule-parent instead.
1445 * emacs-lisp/smie.el (smie-rule-parent): Always call
1446 smie-indent-virtual rather than only for hanging tokens.
1447 (smie--next-indent-change): New helper command.
1449 2013-11-03 Glenn Morris <rgm@gnu.org>
1451 * Makefile.in (abs_srcdir): Remove.
1452 (emacs): Unset EMACSLOADPATH.
1454 2013-11-02 Glenn Morris <rgm@gnu.org>
1456 * Makefile.in (EMACS): Use a relative filename.
1457 (abs_top_builddir): Remove.
1458 (custom-deps, finder-data, autoloads): Use --chdir.
1460 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1462 Use relative filenames in TAGS files.
1463 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1464 (lisptagsfiles4, TAGS): Use relative file names.
1465 (TAGS-LISP): Remove.
1466 (maintainer-clean): No more TAGS-LISP file.
1468 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1469 (lisptagsfiles4): Use absolute filenames again.
1470 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1471 Remove all *loaddefs files, not just the first. Remove esh-groups.
1472 (maintainer-clean): Delete TAGS, TAGS-LISP.
1474 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1476 * emacs-lisp/package.el (package-version-join):
1477 Recognize snapshot versions.
1479 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1481 * subr.el (version-regexp-alist): Add support for snapshot versions.
1483 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1485 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1486 New function, replacement for `smie-rule-parent' for when we want to
1487 skip over our direct parent if it's an assignment token..
1488 (ruby-smie-rules): Use it.
1490 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1492 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1493 unconditionally. Remove now unnecessary forward declarations.
1494 Remove XEmacs-specific setup.
1495 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1496 (ruby-font-lock-syntactic-keywords)
1497 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1498 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1499 (ruby-here-doc-end-syntax): Remove.
1500 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1501 defined as function.
1503 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1505 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1507 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1509 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1510 table and abbrev table, `define-derived-mode' does that for us
1513 2013-11-01 Glenn Morris <rgm@gnu.org>
1515 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1516 files is atomic for some time, so no parallel compilation issues).
1518 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1520 * faces.el (face-x-resources): Add :distant-foreground.
1521 (region): Use :distant-foreground for gtk and ns.
1523 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1525 Allow multiple bibliographies when BibLaTeX is used rather than
1527 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1528 (reftex-locate-bibliography-files): Us it.
1530 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1532 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1533 allow comments in pbm files.
1535 * term/w32-win.el (dynamic-library-alist): Support newer versions
1536 of libjpeg starting with v7: look only for the DLL from the
1537 version against which Emacs was built.
1538 Support versions of libpng beyond 1.4.x.
1539 Support libtiff v4.x.
1541 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1543 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1544 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1546 (ruby-deep-arglist): Add property :type.
1548 2013-10-31 Glenn Morris <rgm@gnu.org>
1550 * Makefile.in (custom-deps, finder-data): No need to setq the target
1551 variables, we are in the right directory and the defaults work fine.
1553 2013-10-30 Glenn Morris <rgm@gnu.org>
1555 * Makefile.in (autoloads): Do not use abs_lisp.
1557 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1558 `newline' does not respect `standard-output', so use `princ'.
1560 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1562 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1563 * buff-menu.el (Buffer-menu--unmark): New function.
1564 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1566 2013-10-30 Glenn Morris <rgm@gnu.org>
1568 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1570 * emacs-lisp/package.el (lm-homepage): Declare.
1572 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1575 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1577 * Makefile.in (finder-data, autoloads, update-subdirs)
1578 (compile-main, compile-clean, compile-always, bootstrap-clean):
1579 Check return value of cd.
1580 (compile-calc): Remove.
1582 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1584 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1586 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1587 (byte-compile-and-folded): New function.
1588 (=, <, >, <=, >=): Use it.
1590 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1591 (path-separator, null-device, buffer-file-coding-system)
1592 (lpr-headers-switches): Check system-type before modifying them.
1593 (find-buffer-file-type-coding-system): Mark obsolete.
1594 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1595 find-file-not-found-set-buffer-file-coding-system.
1596 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1597 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1598 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1599 (w32-direct-print-region-helper, w32-direct-print-region-function)
1600 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1601 * startup.el (normal-top-level-add-subdirs-to-load-path):
1602 * ps-print.el (ps-print-region-function):
1603 * lpr.el (print-region-function): Use new name.
1605 * subr.el (custom-declare-variable-early): Remove function.
1606 (custom-declare-variable-list): Remove var.
1607 (error, user-error): Remove `while' loop.
1608 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1609 (user-emacs-directory-warning, locate-user-emacs-file):
1611 * simple.el (read-quoted-char-radix, read-quoted-char):
1612 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1614 * custom.el (custom-declare-variable-list): Don't process
1615 custom-declare-variable-list.
1617 * progmodes/python.el (python-shell-get-buffer): New function.
1618 (python-shell-get-process): Use it.
1619 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1620 Python which encoding was used. Don't split-string since we only care
1621 about the first line. Return the temp-file, if applicable.
1622 (python-shell-send-region): Tell compile.el how to turn locations in
1623 the temp-file into locations in the source buffer.
1625 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1627 * subr.el (undefined): Add missing behavior from the C code for
1630 * rect.el: Use lexical-binding. Add new rectangular region support.
1631 (rectangle-mark): New command.
1632 (rectangle--region): New var.
1633 (deactivate-mark-hook): Reset rectangle--region.
1634 (rectangle--extract-region, rectangle--insert-for-yank)
1635 (rectangle--highlight-for-redisplay)
1636 (rectangle--unhighlight-for-redisplay): New functions.
1637 (region-extract-function, redisplay-unhighlight-region-function)
1638 (redisplay-highlight-region-function): Use them to handle
1640 * simple.el (region-extract-function): New var.
1641 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1642 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1643 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1644 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1645 (redisplay-unhighlight-region-function)
1646 (redisplay-highlight-region-function): New vars.
1647 (redisplay--update-region-highlight): New function.
1648 (pre-redisplay-function): Use it.
1649 (exchange-point-and-mark): Don't deactivate the mark before
1650 reactivate-it anyway.
1651 * comint.el (comint-kill-region): Remove yank-handler argument.
1652 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1653 (delete-char): Remove property, since it's now part of their
1655 (self-insert-iso): Remove property since this command doesn't exist.
1657 * emacs-lisp/package.el (package--download-one-archive)
1658 (describe-package-1): Don't query the user about final newline.
1660 2013-10-29 Daniel Colascione <dancol@dancol.org>
1662 * net/tramp.el (tramp-methods): Document new functionality.
1663 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1664 tramp-hostname-checker if method provides one instead of scanning
1665 argument list for "%h" to decide hostname acceptability.
1667 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1669 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1670 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1671 Handle COPY-CONTENTS. (Bug#15737)
1673 2013-10-28 Daiki Ueno <ueno@gnu.org>
1676 (epa-file-cache-passphrase-for-symmetric-encryption):
1677 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1679 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1681 * image.el (defimage):
1682 (image-load-path): Doc fixes.
1684 2013-10-27 Alan Mackenzie <acm@muc.de>
1686 Indent statements in macros following "##" correctly.
1687 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1688 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1690 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1692 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1694 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1696 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1697 after `=' is probably a new expression.
1699 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1701 * man.el (man-imenu-title): New option.
1702 (Man-mode-map): Add menu. (Bug#15722)
1703 (Man-mode): Add imenu to menu.
1705 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1707 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1708 specific in what the first arg can be: a non-keyword word,
1709 string/regexp/percent literal opener, opening paren, or unary
1710 operator followed directly by word.
1712 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1714 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1715 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1716 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1717 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1718 Remove vars, they do not apply any more.
1719 (prolog-mode-abbrev-table): Remove redundant declaration.
1720 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1721 (prolog-use-smie): Remove.
1722 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1723 supported by prolog-electric-if-then-else-flag.
1724 (prolog-mode-variables, prolog-menu): Use setq-local.
1725 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1726 Remove binding to `Backspace' since this key doesn't exist anyway.
1727 Remove bindings for electric self-inserting keys.
1728 (prog-mode): Assume it's defined.
1729 (prolog-post-self-insert): New function.
1730 (prolog-mode): Use it.
1731 (prolog-indent-line, prolog-indent-level)
1732 (prolog-find-indent-of-matching-paren)
1733 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1734 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1735 (prolog-goto-next-paren, prolog-in-string-or-comment)
1736 (prolog-tokenize, prolog-inside-mline-comment)
1737 (prolog-find-start-of-mline-comment): Remove functions.
1738 (prolog-find-unmatched-paren, prolog-clause-end)
1739 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1740 (prolog-electric--if-then-else): Rename from
1741 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1742 (prolog-tokenize-searchkey): Remove const.
1743 (prolog-clause-info): Use forward-sexp.
1744 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1745 (prolog-electric-if-then-else): Remove commands.
1746 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1747 for use in post-self-insert-hook.
1748 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1749 for use in post-self-insert-hook.
1750 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1751 for use in post-self-insert-hook.
1752 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1753 adapt it for use in post-self-insert-hook.
1755 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1757 * emacs-lisp/ert.el (ert-run-tests-interactively):
1758 Use `completing-read'. (Bug#9756)
1760 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1762 * simple.el (line-move): Call line-move-1 instead of
1763 line-move-visual when the current window hscroll is zero, but
1764 temporary-goal-column indicates we will need to hscroll as result
1765 of the movement. (Bug#15712)
1767 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1769 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1770 capitalization. Use :visible instead of :active.
1771 Fix `ruby-indent-exp' reference. Add menu items for the generic
1772 commands that are used with SMIE.
1773 (ruby-do-end-to-brace): Insert space after `{'.
1775 2013-10-25 John Anthony <john@jo.hnanthony.com>
1777 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1779 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1781 2013-10-25 Glenn Morris <rgm@gnu.org>
1783 * vc/vc.el (vc-print-log): Don't use a working revision unless
1784 one was explicitly specified. (Bug#15322)
1786 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1788 * subr.el (add-to-list): Preserve return value in compiler-macro
1791 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1793 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1794 result. Ask user to retry using '-all' flag. (Bug#15701)
1796 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1798 * emacs-lisp/smie.el: New smie-config system.
1799 (smie-config): New defcustom.
1800 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1801 (smie-config-guess, smie-config-save): New commands.
1802 (smie-config--mode-local, smie-config--buffer-local)
1803 (smie-config--trace, smie-config--modefuns): New vars.
1804 (smie-config--advice, smie-config--mode-hook)
1805 (smie-config--setter, smie-config-local, smie-config--get-trace)
1806 (smie-config--guess-value, smie-config--guess): New functions.
1807 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1808 text properties. Treat "string fence" syntax like string syntax.
1810 * progmodes/sh-script.el (sh-use-smie): Change default.
1811 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1812 (sh-var-value): Simplify by CSE.
1813 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1814 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1816 (sh-guess-basic-offset): Use cl-incf.
1817 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1819 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1821 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1824 2013-10-24 Glenn Morris <rgm@gnu.org>
1826 * Makefile.in (abs_top_srcdir): Remove.
1827 (update-subdirs): Use relative path to update-subdirs.
1829 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1831 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1832 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1833 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1834 Call unmsys--file-name before expand-file-name, not after it.
1836 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1838 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1839 (ert-test-skipped): New error.
1840 (ert-skip, ert-stats-skipped): New defuns.
1841 (ert--skip-unless): New macro.
1842 (ert-test-skipped): New struct.
1843 (ert--run-test-debugger, ert-test-result-type-p)
1844 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1845 (ert--stats-set-test-and-result, ert-char-for-test-result)
1846 (ert-string-for-test-result, ert-run-tests-batch)
1847 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1848 Handle skipped tests. (Bug#9803)
1850 2013-10-24 Glenn Morris <rgm@gnu.org>
1852 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1854 * Makefile.in (abs_top_srcdir): New, set by configure.
1855 (update-subdirs): Correct build-aux location.
1857 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1859 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1860 value, whether we could auto-deduce `backend', or not.
1862 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1863 with parameters" example. Simplify the "is it block or is it
1864 hash" check, but also make it more thorough.
1866 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1868 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1870 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1872 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1875 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1878 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1880 * progmodes/compile.el (compilation-directory-matcher)
1881 (compilation-page-delimiter):
1882 Support GNU Make-4.0 directory quoting. (Bug#15678)
1884 2013-10-23 Leo Liu <sdl.web@gmail.com>
1886 * ido.el (ido-tidy): Handle read-only text.
1888 2013-10-23 Glenn Morris <rgm@gnu.org>
1890 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1891 (emacs, compile, compile-always):
1892 Quote entities that might contain whitespace.
1893 (custom-deps, finder-data, autoloads): Use abs_lisp.
1894 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1895 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1896 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1898 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1900 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1901 Use `following-char'.
1903 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1905 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1906 * progmodes/ruby-mode.el (ruby-smie-rules):
1907 Remove corresponding workaround. Fix indentation rule of ";" so it
1908 also applies when ";" is the parent.
1910 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1912 * frame.el (display-screens, display-pixel-height)
1913 (display-pixel-width, display-mm-width, display-backing-store)
1914 (display-save-under, display-planes, display-color-cells)
1915 (display-visual-class, display-monitor-attributes-list):
1916 Mention the optional ‘display’ argument in doc strings.
1918 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1920 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1921 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1923 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1925 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1926 TODO. Add "." after " @ ".
1927 (ruby-smie--at-dot-call): New function. Checks if point at method
1928 call with explicit target.
1929 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1930 to the method name tokens when it precedes them.
1931 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1932 (ruby-smie-rules): Add rule for indentation before and after "."
1935 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1937 * textmodes/remember.el (remember-diary-extract-entries):
1940 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1943 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1945 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1946 (ruby-smie--implicit-semi-p): Add new operator chars.
1948 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1950 (ruby-smie--args-separator-p): Check that there's no newline
1951 between method call and its arguments.
1953 2013-10-20 Alan Mackenzie <acm@muc.de>
1955 Allow comma separated lists after Java "implements".
1957 * progmodes/cc-engine.el (c-backward-over-enum-header):
1959 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1960 from a "disallowed" list in enum fontification.
1962 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1964 * startup.el (default-frame-background-mode): Remove unused defvar.
1966 * progmodes/verilog-mode.el (verilog-mode): Don't set
1967 comment-indent-function globally.
1969 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1971 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1972 Move Info menu item creation to ns-win.el.
1974 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1977 * menu-bar.el: Move GNUStep specific menus...
1979 * term/ns-win.el (ns-initialize-window-system): ... to here.
1981 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1983 * simple.el (newline): Only run post-self-insert-hook when
1984 called interactively.
1986 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1988 * icomplete.el (icomplete-with-completion-tables): Add :version.
1990 2013-10-19 Alan Mackenzie <acm@muc.de>
1992 Fix fontification bugs with constructors and const.
1994 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1995 CASE 2) Remove the check for the absence of a suffix construct
1996 after a function declaration with only types (no identifiers) in
1997 the parentheses. Also, accept a function declaration with just a
1998 type inside the parentheses, if this type can be positively
1999 recognised as such, or if a prefix keyword like "explicit" nails
2000 down the construct as a declaration.
2002 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2004 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2005 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2006 the problem whereby selecting a menu item that leads to a
2007 minibuffer prompt moves the cursor out of the minibuffer window,
2008 making it hard to type at the prompt. Suggested by Stefan Monnier
2009 <monnier@iro.umontreal.ca>.
2011 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2013 * menu-bar.el: Don't make Services menu.
2015 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2017 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2018 (ffap-alist): Use ffap-c++-mode for c++-mode.
2019 (ffap-c++-path): New variable.
2020 (ffap-c++-mode): New function.
2022 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2024 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2026 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2028 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2029 introduced on 2013-09-08, which results in an infinite loop
2030 requesting a password.
2032 2013-10-18 Glenn Morris <rgm@gnu.org>
2034 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2036 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2038 Sync with upstream verilog-mode revision 1a6ecec7.
2039 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2040 (verilog-mode-release-date): Remove.
2041 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2042 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2043 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2044 (verilog-auto-tieoff-ignore-regexp)
2045 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2046 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2047 (verilog-signals-with, verilog-dir-cache-preserving)
2048 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2050 (verilog-case-fold): New option, to control case folding in
2051 regexp searches, bug597.
2052 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2053 (verilog-string-match-fold, verilog-in-paren-count)
2054 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2055 (verilog-at-close-struct-p): New functions.
2056 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2057 (verilog-forward-sexp, verilog-set-auto-endcomments):
2058 (verilog-leap-to-case-head): Handle "unique0" case.
2059 (verilog-in-constraint-re): New constant.
2060 (verilog-keywords, verilog-type-font-keywords):
2061 Add some SystemVerilog 1800-2012 keywords.
2062 (verilog-label-be): Remove unimplemented argument, bug669.
2063 (verilog-batch-execute-func): When batch expanding clear
2064 create-lockfiles to prevent spurious user locks when a file ends
2066 (verilog-calculate-indent, verilog-calc-1)
2067 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2068 (verilog-do-indent): Fix indentation of nested constraints
2070 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2071 (verilog-auto-inst-param): Use verilog-string-match-fold.
2072 (verilog-read-inst-module-matcher):
2073 Fix AUTOINST on gate primitives with #1.
2074 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2075 Reads all user-defined typed variables.
2076 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2077 (verilog-signals-matching-regexp)
2078 (verilog-signals-not-matching-regexp, verilog-auto):
2079 Respect verilog-case-fold.
2080 (verilog-diff-report): Fix line count.
2081 (verilog-auto-assign-modport): Remove unused local `modi'.
2082 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2083 better handle multidimensional arrays.
2084 Fix packed array ports misadding bit index in AUTOINST, bug637.
2085 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2086 to not double-declare existing outputs and inputs, respectively.
2087 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2088 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2089 (verilog-sk-uvm-component): New skeleton.
2090 (verilog-submit-bug-report): Add verilog-case-fold,
2091 remove verilog-mode-release-date.
2093 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2095 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2098 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2100 * textmodes/remember.el (remember): set buffer-offer-save in
2101 remember buffers (bug#13566).
2103 2013-10-18 Daniel Colascione <dancol@dancol.org>
2105 When evaluating forms in ielm, direct standard output to ielm
2106 buffer. Add new ielm-return-for-effect command. Remove trailing
2107 whitespace throughout.
2109 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2110 (ielm-return-for-effect): New command.
2111 (ielm-send-input): Accept optional `for-effect' parameter.
2112 (ielm-eval-input): Accept optional `for-effect' parameter.
2113 Bind `standard-output' to stream we create using
2114 `ielm-standard-output-impl'. Suppress printing result when
2116 (ielm-standard-output-impl): New function.
2117 (inferior-emacs-lisp-mode): Explain new features in documentation.
2119 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2123 * net/tramp.el (tramp-debug-message): Do not check for connection
2125 (tramp-message): Use "vector" connection property.
2127 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2128 (tramp-equal-remote, tramp-eshell-directory-change)
2129 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2130 (tramp-adb-handle-rename-file)
2131 * net/tramp-cmds.el (tramp-list-remote-buffers)
2132 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2133 * net/tramp-compat.el (tramp-compat-process-running-p)
2134 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2135 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2136 (tramp-gvfs-handle-rename-file)
2137 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2138 (tramp-set-file-uid-gid)
2139 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2140 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2143 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2144 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2145 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2146 (tramp-gw-open-network-stream): Suppress unrelated traces.
2148 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2149 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2150 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2151 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2152 connection property.
2154 * net/tramp-cache.el (top): Suppress traces when reading
2157 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2158 Refactor common code. Improve debug message.
2159 (tramp-maybe-open-connection)
2160 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2161 connection buffer too early.
2163 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2164 from `tramp-smb-actions-with-acl'.
2165 (tramp-smb-actions-set-acl): New defconst.
2166 (tramp-smb-handle-copy-directory)
2167 (tramp-smb-action-get-acl): New defun, renamed from
2168 `tramp-smb-action-with-acl'.
2169 (tramp-smb-action-set-acl): New defun.
2170 (tramp-smb-handle-set-file-acl): Rewrite.
2172 2013-10-17 Glenn Morris <rgm@gnu.org>
2174 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2176 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2178 * skeleton.el (skeleton-newline): Remove.
2179 (skeleton-internal-1): Use (insert "\n") instead.
2181 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2184 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2185 forward-sexp-function while we redo its job (bug#15613).
2187 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2189 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2190 represented by lists.
2192 2013-10-16 Glenn Morris <rgm@gnu.org>
2194 * tmm.el (tmm--history): New dynamic variable.
2195 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2197 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2199 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2200 (tramp-smb-errors): Add error messages.
2201 (tramp-smb-actions-with-acl): New defconst.
2202 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2203 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2204 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2205 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2206 (tramp-smb-get-stat-capability): Fix tests.
2208 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2210 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2213 2013-10-16 Glenn Morris <rgm@gnu.org>
2215 * ansi-color.el (ansi-color-drop-regexp):
2216 Add 1J, 1K, 2K. (Bug#15617)
2218 * files.el (hack-local-variables--warned-lexical): New.
2219 (hack-local-variables):
2220 Warn about misplaced lexical-binding. (Bug#15616)
2222 * net/eww.el (eww-render): Always set eww-current-url,
2223 and update header line. (Bug#15622)
2224 (eww-display-html): ... Rather than just doing it here.
2226 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2228 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2229 menu navigations commands.
2231 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2233 * progmodes/subword.el (subword-capitalize): Be careful when
2234 the search for [[:alpha:]] fails (bug#15580).
2236 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2238 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2239 to commands that scroll the menu.
2241 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2243 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2244 Handle methods ending with `?' and `!'.
2246 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2248 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2249 `japanese-cp932' to `cp932' to fix the problem where saving a
2250 source file written in Shift_JIS twice would end up having
2251 `coding: japanese-cp932' which Ruby could not recognize.
2252 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2253 in `ruby-encoding-map'.
2254 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2255 doesn't need to be explicitly declared in magic comment.
2256 (ruby-encoding-map): Add type declaration for better customize UI.
2258 2013-10-13 Glenn Morris <rgm@gnu.org>
2260 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2261 Occur buffers are read-only. http://bugs.debian.org/720775
2263 * emacs-lisp/authors.el (authors-fixed-entries):
2264 Comment out old alpha stuff.
2266 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2268 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2269 to `after-save-hook' instead of `before-save-hook'.
2270 (ruby-mode-set-encoding): Use the value of coding system used to
2271 write the file. Call `basic-save-buffer-1' after modifying the
2274 2013-10-13 Alan Mackenzie <acm@muc.de>
2276 Fix indentation/fontification of Java enum with
2277 "implements"/generic.
2279 * progmodes/cc-engine.el (c-backward-over-enum-header):
2280 Extracted from the three other places and enhanced to handle generics.
2281 (c-inside-bracelist-p): Uses new function above.
2282 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2284 (c-font-lock-enum-tail): Uses new function above.
2286 2013-10-13 Kenichi Handa <handa@gnu.org>
2288 * international/mule-cmds.el (select-safe-coding-system): Remove a
2289 superfluous condition in chekcing whether a coding system is safe
2292 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2294 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2296 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2298 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2300 2013-10-13 Glenn Morris <rgm@gnu.org>
2302 * menu-bar.el (menu-bar-update-buffers):
2303 Unify Buffers menu prompt string. (Bug#15576)
2305 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2307 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2309 (authors-fixed-entries): Use accented form of name.
2311 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2313 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2314 method calls (bug#15594).
2315 (ruby-smie--args-separator-p): New function.
2316 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2317 recognize paren-free method calls.
2319 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2320 internals of universal-argument.
2322 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2324 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2325 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2326 dropped menu on second mouse click on the menu bar.
2328 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2330 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2331 (explicit-shell-file-name): Declare.
2332 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2333 (sh-completion-at-point-function): New function.
2335 (sh-smie--keyword-p): Remove unused argument.
2336 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2338 (sh-set-shell): Always setup SMIE, even if we use the
2339 old indentation code.
2341 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2343 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2345 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2346 predicate would return nil are almost non-existent.
2347 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2349 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2350 cache also after commands that modify the buffer but don't move
2353 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2355 * env.el (substitute-env-in-file-name): New function.
2356 (substitute-env-vars): Extend the meaning of the optional arg.
2358 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2360 * term/w32-win.el (dynamic-library-alist): Define separate lists
2361 of GIF DLLs for versions before and after 5.0.0 of giflib.
2364 2013-10-10 João Távora <joaotavora@gmail.com>
2366 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2367 not locked, use last revision and current source as
2368 defaults. (Bug#15569)
2370 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2372 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2375 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2377 * window.el (pop-to-buffer-same-window): Fix doc-string.
2380 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2382 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2384 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2386 * calendar/icalendar.el (icalendar-import-file):
2387 Fix interactive spec. (Bug#15482)
2389 2013-10-10 Glenn Morris <rgm@gnu.org>
2391 * desktop.el (desktop-save): Default to saving in .emacs.d,
2392 since PWD is no longer in desktop-path by default. (Bug#15319)
2394 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2395 now that text mode has a menu with the same entry.
2396 (menu-bar-text-mode-auto-fill): Remove now unused func.
2397 * textmodes/text-mode.el (text-mode-map):
2398 Use auto-fill help text from menu-bar.el.
2400 2013-10-10 John Anthony <john@jo.hnanthony.com>
2402 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2404 2013-10-09 Juri Linkov <juri@jurta.org>
2406 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2407 instead of this-command-keys. Add universal-argument-more and
2408 universal-argument-minus to the list of prefix commands. (Bug#15568)
2410 2013-10-09 Glenn Morris <rgm@gnu.org>
2412 * vc/vc-svn.el (vc-svn-create-repo):
2413 Expand paths in file://... url. (Bug#15446)
2415 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2417 (authors): Remove unused local variables.
2419 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2421 * profiler.el: Create a more coherent calltree from partial backtraces.
2422 (profiler-format): Hide the tail with `invisible' so that C-s can still
2423 find the hidden elements.
2424 (profiler-calltree-depth): Don't recurse so enthusiastically.
2425 (profiler-function-equal): New hash-table-test.
2426 (profiler-calltree-build-unified): New function.
2427 (profiler-calltree-build): Use it.
2428 (profiler-report-make-name-part): Indent the calltree less.
2429 (profiler-report-mode): Add visibility specs for profiler-format.
2430 (profiler-report-expand-entry, profiler-report-toggle-entry):
2431 Expand the whole subtree when provided with a prefix arg.
2433 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2435 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2437 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2438 hanging iuwu-mod token.
2439 (ruby-smie--forward-token): Do not include a dot after a token in
2441 (ruby-smie--backward-token): Likewise.
2443 2013-10-08 Juri Linkov <juri@jurta.org>
2445 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2446 to isearch-other-control-char.
2447 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2448 and isearch-post-command-hook to post-command-hook.
2449 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2450 and isearch-post-command-hook from post-command-hook.
2451 (isearch-unread-key-sequence)
2452 (isearch-reread-key-sequence-naturally)
2453 (isearch-lookup-scroll-key, isearch-other-control-char)
2454 (isearch-other-meta-char): Remove functions.
2455 (isearch-pre-command-hook, isearch-post-command-hook):
2456 New functions based on isearch-other-meta-char rewritten
2457 relying on the new behavior of overriding-terminal-local-map
2458 that does not replace the local keymaps any more. (Bug#15200)
2460 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2462 Support menus on text-mode terminals.
2463 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2466 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2468 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2469 Move here from mouse.el.
2470 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2472 (tty-menu-navigation-map): New map for TTY menu navigation.
2474 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2476 * frame.el (display-mouse-p): Report text-mode mouse as available
2478 (display-popup-menus-p): Report availability if mouse is
2479 available; don't condition on window-system.
2481 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2482 (tty-menu-selected-face): New faces.
2484 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2486 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2487 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2488 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2489 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2491 (lisp-mode-variables): New `elisp' argument.
2492 (emacs-lisp-mode): Use it.
2493 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2494 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2496 * indent.el: Use lexical-binding.
2497 (indent-region): Add progress reporter.
2498 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2500 (indent--next-tab-stop): New function to implement this behavior.
2501 (tab-to-tab-stop, move-to-tab-stop): Use it.
2503 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2505 * indent.el (indent-rigidly--current-indentation): New function.
2506 (indent-rigidly-map): New var.
2507 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2509 2013-10-08 Bastien Guerry <bzg@gnu.org>
2511 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2513 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2515 * progmodes/perl-mode.el: Use lexical-binding.
2516 Remove redundant :group args.
2517 (perl-nochange): Change default to be closer to other major modes's
2519 (perl-indent-line): Don't consider text on current line as a
2520 valid beginning of function from which to indent.
2522 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2523 with more than one argument (bug#15538).
2525 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2527 * vc/pcvs.el: Use lexical-binding.
2528 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2529 environment of `eval'.
2530 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2531 than a list of expressions. Adjust callers.
2532 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2534 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2536 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2537 case of the dot in a chained method call being on the following line.
2539 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2541 * electric.el (electric-indent-inhibit): New var.
2542 (electric-indent-post-self-insert-function): Use it.
2543 * progmodes/python.el (python-mode): Set it.
2545 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2548 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2550 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2551 (css-mode): Use electric-indent-chars.
2553 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2554 (font-lock-beg, font-lock-end): Move before first use.
2555 (nxml-mode): Use syntax-propertize-function.
2556 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2557 (nxml-extend-after-change-region): Remove.
2558 * nxml/xmltok.el: Use lexical-binding.
2559 (xmltok-save): Use `declare'.
2560 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2561 * nxml/nxml-util.el: Use lexical-binding.
2562 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2564 * nxml/nxml-ns.el: Use lexical-binding.
2565 (nxml-ns-save): Use `declare'.
2566 (nxml-ns-prefixes-for): Avoid add-to-list.
2567 * nxml/rng-match.el: Use lexical-binding.
2568 (rng--ipattern): Use cl-defstruct.
2569 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2570 (rng-cons-group-after, rng-subst-group-after)
2571 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2572 Use closures instead of `(lambda...).
2574 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2576 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2579 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2580 Use `tramp-handle-insert-file-contents'.
2581 (tramp-gvfs-handle-insert-file-contents): Remove function.
2583 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2584 Use `save-restriction' in order to keep markers.
2586 * net/trampver.el: Update release number.
2588 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2590 * progmodes/compile.el (compilation-parse-errors):
2591 Use compilation--put-prop.
2592 (compilation--ensure-parse): Check compilation-multiline.
2594 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2596 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2599 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2601 * progmodes/ruby-mode.el: Fix recently added tests.
2602 (ruby-smie-grammar): Add - and +.
2603 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2604 (ruby-smie--backward-id): New functions.
2605 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2606 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2609 2013-10-07 Leo Liu <sdl.web@gmail.com>
2611 * register.el (register-preview-delay)
2612 (register-preview-functions): New variables.
2613 (register-read-with-preview, register-preview)
2614 (register-describe-oneline): New functions.
2615 (point-to-register, window-configuration-to-register)
2616 (frame-configuration-to-register, jump-to-register)
2617 (number-to-register, view-register, insert-register)
2618 (copy-to-register, append-to-register, prepend-to-register)
2619 (copy-rectangle-to-register): Use register-read-with-preview to
2620 read register. (Bug#15525)
2622 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2624 * net/network-stream.el (network-stream-open-starttls): Don't add
2625 --insecure if it's already present, because that gnutls-cli
2626 rejects getting that parameter twice.
2628 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2630 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2633 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2635 * newcomment.el (comment-use-global-state): Change default value
2636 to t, mark obsolete (Bug#15251).
2637 (comment-beginning): In addition to `comment-to-syntax', check the
2638 value of `comment-use-global-state'.
2640 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2642 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2643 (ruby-comment-column): Follow the global default, by default.
2644 (ruby-smie-grammar): Add assignment syntax.
2645 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2646 open-paren, a comma, or a \.
2647 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2648 and line continuations.
2649 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2650 followed by implicit semi-colons. Add rule for string concatenation
2651 and for indentation at BOB.
2652 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2654 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2655 calling next-sexp, since next-token may have skipped chars which
2656 next-sexp doesn't know should be skipped!
2658 2013-10-05 Leo Liu <sdl.web@gmail.com>
2660 * progmodes/octave.el (octave-send-region):
2661 Call compilation-forget-errors.
2663 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2665 * vc/vc-svn.el (vc-svn-find-admin-dir):
2666 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2667 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2668 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2669 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2671 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2673 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2675 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2677 * subr.el (read-passwd): Hide chars even when called within a context
2678 where after-change-functions is disabled (bug#15501).
2679 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2680 until we removed ourself from overriding-terminal-local-map.
2682 2013-10-04 Leo Liu <sdl.web@gmail.com>
2684 * progmodes/octave.el (inferior-octave-mode):
2685 Call compilation-forget-errors.
2687 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2689 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2691 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2693 * net/secrets.el (secrets-create-collection): Add optional
2694 argument ALIAS. Use proper Label keyword. Append ALIAS as
2695 dbus-call-method argument. (Bug#15516)
2697 2013-10-04 Leo Liu <sdl.web@gmail.com>
2699 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2700 (inferior-octave-compilation-font-lock-keywords): New variables.
2701 (compilation-error-regexp-alist)
2702 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2703 (inferior-octave-mode): Use compilation-shell-minor-mode.
2705 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2707 * minibuffer.el (completion--replace): Be careful that `end' might be
2710 2013-10-03 Daiki Ueno <ueno@gnu.org>
2712 Add support for package signature checking.
2713 * emacs-lisp/package.el (url-http-file-exists-p)
2714 (epg-make-context, epg-context-set-home-directory)
2715 (epg-verify-string, epg-context-result-for)
2716 (epg-signature-status, epg-signature-to-string)
2717 (epg-check-configuration, epg-configuration)
2718 (epg-import-keys-from-file): Declare.
2719 (package-check-signature): New user option.
2720 (package-unsigned-archives): New user option.
2721 (package-desc): Add `signed' field.
2722 (package-load-descriptor): Set `signed' field if .signed file exists.
2723 (package--archive-file-exists-p): New function.
2724 (package--check-signature): New function.
2725 (package-install-from-archive): Check package signature.
2726 (package--download-one-archive): Check archive signature.
2727 (package-delete): Remove .signed file.
2728 (package-import-keyring): New command.
2729 (package-refresh-contents): Import default keyring.
2730 (package-desc-status): Add "unsigned" status.
2731 (describe-package-1, package-menu--print-info)
2732 (package-menu-mark-delete, package-menu--find-upgrades)
2733 (package-menu--status-predicate): Support "unsigned" status.
2735 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2737 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2738 the new compilation scheme using the new byte-codes.
2740 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2741 (byte-pophandler): New byte codes.
2742 (byte-goto-ops): Adjust accordingly.
2743 (byte-compile--use-old-handlers): New var.
2744 (byte-compile-catch): Use new byte codes depending on
2745 byte-compile--use-old-handlers.
2746 (byte-compile-condition-case--old): Rename from
2747 byte-compile-condition-case.
2748 (byte-compile-condition-case--new): New function.
2749 (byte-compile-condition-case): New function that dispatches depending
2750 on byte-compile--use-old-handlers.
2751 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2754 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2755 Optimize under `condition-case' and `catch' if
2756 byte-compile--use-old-handlers is nil.
2757 (disassemble-offset): Handle new bytecodes.
2759 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2761 * subr.el (error): Use `declare'.
2762 (decode-char, encode-char): Use advertised-calling-convention instead
2763 of the docstring to discourage use of the `restriction' arg.
2765 2013-10-03 Daiki Ueno <ueno@gnu.org>
2767 * epg.el (epg-verify-file): Add a comment saying that it does not
2768 notify verification error as a return value nor a signal.
2769 (epg-verify-string): Ditto.
2771 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2773 * progmodes/compile.el (compilation-start): Try globbing the arg to
2776 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2778 Sync with Tramp 2.2.8.
2780 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2781 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2782 * net/trampver.el: Update release number.
2784 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2786 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2787 and default-process-coding-system for darwin only.
2789 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2791 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2793 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2795 * vc/vc-git.el (vc-git-grep): Disable pager.
2797 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2799 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2800 Use :url instead of :homepage, as per
2801 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2803 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2804 non-nil, use `syntax-ppss' (Bug#15251).
2806 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2808 * progmodes/octave.el (inferior-octave-startup-file):
2809 Prefer ~/.emacs.d/init_octave.m.
2811 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2813 * emacs-lisp/package.el (package-desc-from-define):
2814 Accept additional arguments as plist, convert them to an alist and store
2815 them in the `extras' slot.
2816 (package-generate-description-file): Convert extras alist back to
2817 plist and append to the `define-package' form arguments.
2818 (package--alist-to-plist): New function.
2819 (package--ac-desc): Add `extras' slot.
2820 (package--add-to-archive-contents): Check if the archive-contents
2821 vector is long enough, and if it is, pass its `extras' slot value
2822 to `package-desc-create'.
2823 (package-buffer-info): Call `lm-homepage', pass the returned value
2824 to `package-desc-from-define'.
2825 (describe-package-1): Render the homepage button (Bug#13291).
2827 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2828 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2830 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2832 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2833 and default-process-coding-system to utf-8-unix (Bug#15402).
2835 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2837 * subr.el (looking-back): Do not recommend using looking-back.
2839 2013-09-28 Alan Mackenzie <acm@muc.de>
2841 Fix indentation/fontification of Java enum with "implements".
2843 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2844 regexp which matches "implements", etc., in Java.
2845 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2846 specifier clauses coming after "enum".
2847 * progmodes/cc-fonts.el (c-font-lock-declarations)
2848 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2851 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2853 * faces.el (region): Change ns_selection_color to
2854 ns_selection_fg_color, add ns_selection_bg_color.
2856 2013-09-28 Leo Liu <sdl.web@gmail.com>
2858 * progmodes/octave.el (inferior-octave-completion-table)
2859 (inferior-octave-completion-at-point): Minor tweaks.
2861 * textmodes/ispell.el (ispell-lookup-words): Rename from
2862 lookup-words. (Bug#15460)
2863 (lookup-words): Obsolete.
2864 (ispell-complete-word, ispell-command-loop): All uses changed.
2866 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2868 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2869 (octave-mode-menu): Add octave-send-buffer.
2870 (octave-send-buffer): New function.
2872 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2874 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2876 (octave-mode-menu): Add octave-lookfor.
2877 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2879 (octave-lookfor): New function.
2881 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2883 * emacs-lisp/cl-macs.el:
2884 (cl--loop-destr-temps): Remove.
2885 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2887 (cl--loop-set-iterator-function): New function.
2888 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2889 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2890 Bind `it' with `let' instead of substituting it with `cl-subst'.
2891 (cl--unused-var-p): New function.
2892 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2893 Eliminate some unused variable warnings (bug#15326).
2895 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2897 * doc-view.el (doc-view-scale-reset): Rename from
2898 `doc-view-reset-zoom-level'.
2899 (doc-view-scale-adjust): New command.
2900 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2901 `doc-view-scale-adjust'.
2903 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2905 * doc-view.el (doc-view-reset-zoom-level): New command.
2906 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2907 zoom commands (bug#15466).
2909 2013-09-26 Kenichi Handa <handa@gnu.org>
2911 * international/quail.el (quail-help): Make it not a command.
2913 2013-09-26 Leo Liu <sdl.web@gmail.com>
2915 * minibuffer.el (completion-all-sorted-completions): Make args
2916 optional as they are.
2918 2013-09-25 Daniel Colascione <dancol@dancol.org>
2920 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2921 specs are and that they're not evaluated.
2923 2013-09-24 Sam Steingold <sds@gnu.org>
2925 * midnight.el (clean-buffer-list-kill-regexps)
2926 (clean-buffer-list-kill-buffer-names): Update for the new Man
2927 buffer naming which includes the object name.
2929 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2931 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2932 (eshell-parse-command, eshell-parse-pipeline): Use it since
2933 eshell-separate-commands requires a dynamic scoped var.
2934 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2936 2013-09-23 Leo Liu <sdl.web@gmail.com>
2938 * autoinsert.el (auto-insert-alist): Make the value of
2939 lexical-binding match its file setting.
2941 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2943 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2945 * autoarg.el (autoarg-kp-digit-argument):
2946 * electric.el (Electric-command-loop):
2947 * kmacro.el (kmacro-step-edit-insert):
2948 Do not set universal-argument-num-events.
2950 2013-09-22 Leo Liu <sdl.web@gmail.com>
2952 * files.el (interpreter-mode-alist): Add octave.
2954 2013-09-21 Alan Mackenzie <acm@muc.de>
2956 C++: fontify identifier in declaration following "public:" correctly.
2957 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2958 to match "public", etc.
2959 (c-decl-prefix-re): Add ":" into the C++ value.
2960 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2961 bit. Add a check for a ":" preceded by "public", etc.
2963 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2965 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2966 recognized by GDB 7.5 and later.
2968 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2970 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2972 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2974 * subr.el (internal--call-interactively): New const.
2975 (called-interactively-p): Use it (bug#3984).
2977 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2979 * vc/pcvs.el (cvs-mode-ignore):
2980 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2981 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2983 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2985 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2986 (eshell-ls-orig-insert-directory): Remove.
2987 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2988 (eshell-ls-use-in-dired): Use advice-add/remove.
2989 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2990 Add `orig-fun' arg for use in :around advice.
2991 Make it check (redundantly) eshell-ls-use-in-dired.
2993 2013-09-19 Glenn Morris <rgm@gnu.org>
2995 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2997 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2999 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3001 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3003 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3004 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3005 (tramp-get-remote-python): New defuns.
3006 (tramp-get-remote-uid-with-perl)
3007 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3008 contributed by yary <not.com@gmail.com> (tiny change).
3009 (tramp-get-remote-uid-with-python)
3010 (tramp-get-remote-gid-with-python): New defuns. Python code
3011 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3012 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3014 2013-09-19 Glenn Morris <rgm@gnu.org>
3016 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3018 * eshell/em-unix.el (eshell-remove-entries):
3019 Rename argument to avoid name-clash with global `top-level'.
3021 * eshell/esh-proc.el (eshell-kill-process-function):
3022 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3023 (eshell-reset-after-proc): Remove unused arg `proc'.
3025 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3026 (directory-files-and-attributes): Mark unused arg.
3028 * eshell/em-unix.el (eshell-remove-entries):
3029 Remove unused arg `path'. Update callers.
3031 * eshell/em-hist.el (eshell-hist-parse-arguments):
3032 Remove unused arg `silent'. Update callers.
3034 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3035 Fix (f)boundp mix-up.
3037 * eshell/em-smart.el (eshell-smart-scroll-window)
3038 (eshell-disable-after-change):
3039 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3041 2013-09-18 Alan Mackenzie <acm@muc.de>
3043 Fix fontification of type when followed by "const".
3044 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3045 "known" types from fontification.
3047 2013-09-18 Glenn Morris <rgm@gnu.org>
3049 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3050 (chart-face-list): Drop Emacsen without display-color-p.
3052 * net/eww.el (libxml-parse-html-region): Declare.
3053 (eww-display-html): Explicit error if no libxml2 support.
3055 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3057 * image.el (image-type-from-buffer, image-multi-frame-p):
3058 Remove --without-x warning/error.
3060 * mouse.el (mouse-yank-primary):
3061 * term.el (term-mouse-paste):
3062 Reorder to silence --without-x compilation.
3064 * mpc.el (doc-view-mode): Silence --without-x compilation.
3066 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3067 Silence --without-x compilation.
3069 * progmodes/gud.el (gud-find-file, gud-mode):
3070 Silence --without-x compilation.
3071 (tooltip-mode): Declare.
3073 * wdired.el (dired-backup-overwrite): Remove declaration.
3074 (wdired-mode-map): Add doc string.
3076 * custom.el (x-get-resource): Declare.
3078 * eshell/em-glob.el (ange-cache):
3079 * eshell/em-unix.el (ange-cache): Declare.
3081 * faces.el (x-display-list, x-open-connection, x-get-resource):
3084 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3085 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3088 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3090 * net/gnutls.el (gnutls-log-level): Declare.
3092 * net/shr.el (image-size, image-animate): Declare.
3094 * simple.el (font-info): Declare.
3096 * subr.el (x-popup-dialog): Declare.
3098 * term/common-win.el (x-select-enable-primary)
3099 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3102 * term/ns-win.el (x-handle-args): Declare.
3104 * term/x-win.el (x-select-enable-clipboard): Declare.
3106 * term/w32-win.el (create-default-fontset): Declare.
3108 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3111 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3112 (fit-frame-to-buffer): Explicit error if --without-x.
3113 (mouse-autoselect-window-select): Silence compiler.
3115 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3117 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3118 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3119 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3120 * eshell/esh-util.el (eshell-sublist):
3121 Remove unused local variables.
3123 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3125 * textmodes/two-column.el: Make 2C-split work for --without-x.
3126 (scroll-bar-columns): Autoload.
3127 (top-level): Require fringe when compiling.
3129 2013-09-18 Leo Liu <sdl.web@gmail.com>
3131 * subr.el (add-hook): Robustify to handle closure as well.
3133 2013-09-17 Glenn Morris <rgm@gnu.org>
3135 * simple.el (messages-buffer-mode-map): Unbind "g".
3137 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3139 * help-mode.el (help-mode-finish): Use derived-mode-p.
3140 Remove obsolete highlighting.
3142 * play/life.el (life-mode): Use define-derived-mode. Derive from
3144 (life): Let-bind inhibit-read-only.
3145 (life-setup): Avoid `setq'. Use `life-mode'.
3147 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3148 which should not be needed any more.
3149 (package-menu-refresh, package-menu-describe-package): Use user-error.
3151 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3152 (eshell-post-rewrite-command-hook): Make obsolete.
3153 (eshell-parse-command): Simplify.
3154 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3155 (eshell--cmd): Declare.
3156 (eshell-parse-pipeline): Remove unused var `final-p'.
3157 Pass a dynvar to eshell-post-rewrite-command-hook.
3158 Implement the new eshell-post-rewrite-command-function.
3159 (eshell-invoke-directly): Remove unused arg `input'.
3160 * eshell/esh-io.el (eshell-io-initialize):
3161 Use eshell-post-rewrite-command-function (bug#15399).
3162 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3163 adjust to new calling convention.
3164 (eshell-create-handles): Rename args to avoid clashing with dynvar
3167 2013-09-17 Glenn Morris <rgm@gnu.org>
3169 * simple.el (messages-buffer-mode): New major mode.
3170 (messages-buffer): New function.
3171 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3172 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3173 (ert-run-test): Use `messages-buffer' function.
3174 (ert--force-message-log-buffer-truncation): Ignore read-only.
3175 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3176 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3178 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3180 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3182 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3184 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3186 * icomplete.el (icomplete-in-buffer): New var.
3187 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3188 vars and replace them with functions.
3189 (icomplete-minibuffer-setup): Adjust accordingly.
3190 (icomplete--completion-table, icomplete--completion-predicate)
3191 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3193 (icomplete-forward-completions, icomplete-backward-completions)
3194 (icomplete-simple-completing-p, icomplete-exhibit)
3195 (icomplete-completions): Use them.
3196 (icomplete--in-region-buffer): New var.
3197 (icomplete--in-region-setup): New function.
3198 (icomplete-mode): Use it.
3200 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3202 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3203 return args and options.
3204 (eshell-eval-using-options): Use the new return value of
3205 eshell--do-opts to set the options's vars in their scope.
3206 (eshell--set-option): Rename from eshell-set-option.
3208 (eshell--process-option): Rename from eshell-process-option.
3210 (eshell--process-args): Use an `opt-vals' alist to store the options's
3211 values during their processing and return them additionally to the
3214 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3216 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3217 continuation character an operator, as far as indentation is
3218 concerned (Bug#15369).
3220 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3222 * window.el (window--state-put-2): Don't process buffer state
3223 when buffer doesn't exist any more (Bug#15382).
3225 2013-09-15 Glenn Morris <rgm@gnu.org>
3227 * eshell/em-unix.el (eshell/rm):
3228 Make -f ignore missing files. (Bug#15373)
3230 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3231 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3232 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3234 2013-09-14 Glenn Morris <rgm@gnu.org>
3236 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3238 2013-09-13 Glenn Morris <rgm@gnu.org>
3240 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3241 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3243 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3245 * frame.el (x-focus-frame): Mark as declared in frame.c.
3247 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3249 * ls-lisp.el: Use advice-add.
3250 (original-insert-directory): Remove.
3251 (ls-lisp--insert-directory): Rename from insert-directory; add
3252 `orig-fun' argument.
3253 (insert-directory): Advise.
3255 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3257 * term.el (term-emulate-terminal): Decode the command string
3258 before passing it to term-command-hook. (Bug#15337)
3260 2013-09-13 Glenn Morris <rgm@gnu.org>
3262 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3264 * eshell/esh-ext.el (eshell-search-path): Declare.
3266 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3267 Otherwise an error occurs if eshell-dirs module not loaded.
3269 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3271 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3273 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3274 `tramp-check-proper-host'. Check for a valid method name.
3276 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3277 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3278 * net/tramp-sh.el (tramp-maybe-open-connection):
3279 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3281 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3282 also for hash values.
3284 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3286 * term/ns-win.el (parameters): Don't declare as dynamic.
3287 (before-make-frame-hook): Don't add ineffective function.
3289 * eshell/*.el: Use lexical-binding (bug#15231).
3291 2013-09-12 Kenichi Handa <handa@gnu.org>
3293 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3295 2013-09-12 Glenn Morris <rgm@gnu.org>
3297 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3298 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3300 * subr.el (do-after-load-evaluation): Also give compiler warnings
3301 when obsolete files are used (except by obsolete files).
3303 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3304 in the status output, assume `filename' is the first. (Bug#15322)
3306 * vc/vc.el (vc-deduce-fileset): Doc fix.
3308 * calc/calc-help.el (Info-goto-node):
3309 * progmodes/cperl-mode.el (Info-find-node):
3310 * vc/ediff.el (Info-goto-node): Update declarations.
3312 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3314 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3315 (vc-bzr-pull): Require vc-dispatcher.
3316 * vc/vc-git.el (vc-compilation-mode): Declare.
3317 (vc-git-pull): Require vc-dispatcher.
3319 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3321 * progmodes/octave.el (help-button-action): Declare.
3323 * shell.el (shell-directory-tracker): Output error as a message
3324 rather than just returning it as a string.
3325 (shell-process-pushd): Remove useless use of message.
3327 * dframe.el (dframe-timer-fn):
3328 * files.el (dir-locals-read-from-file):
3329 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3331 * reveal.el (reveal-post-command):
3332 * saveplace.el (load-save-place-alist-from-file):
3333 * shell.el (shell-resync-dirs):
3334 * w32-common-fns.el (x-get-selection-value):
3335 * emacs-lisp/copyright.el (copyright-find-copyright):
3336 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3337 * emulation/tpu-edt.el (tpu-copy-keyfile):
3338 * play/bubbles.el (bubbles--mark-neighbourhood):
3339 * progmodes/executable.el
3340 (executable-make-buffer-file-executable-if-script-p):
3341 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3343 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3345 Cleanup Eshell to rely less on dynamic scoping.
3346 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3347 last-value, and ext-command here. Bind `args' closer to `body'.
3348 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3349 (eshell--args): Declare new dynamic var.
3350 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3351 last-value, and ext-command. Pass `args' to `body'.
3352 (eshell-process-args): Bind eshell--args.
3353 (eshell-set-option): Use eshell--args.
3354 * eshell/eshell.el (eshell): Use derived-mode-p.
3355 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3356 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3357 (eshell-glob-function): Declare.
3358 * eshell/esh-util.el: Require cl-lib.
3359 (eshell-read-hosts-file): Avoid add-to-list.
3360 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3362 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3364 (eshell/diff): Remove unused var `err'.
3365 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3367 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3368 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3370 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3371 Move declaration before first use.
3372 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3373 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3376 2013-09-12 Glenn Morris <rgm@gnu.org>
3378 * term/ns-win.el (global-map): Remove binding for ispell-next,
3379 deleted 1999-05-29. (Bug#15357)
3381 2013-09-11 Glenn Morris <rgm@gnu.org>
3383 * echistory.el (electric-command-history): Remove call to deleted func.
3385 * play/landmark.el (landmark-mode): Fix typos.
3387 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3388 Check cvs-sort-ignore-file is bound.
3390 * savehist.el: No need for cl when compiling on Emacs.
3392 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3394 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3396 (eshell-self-insert-command, eshell-send-invisible):
3397 Remove unused argument.
3398 (eshell-handle-control-codes): Remove unused var `orig'.
3399 Avoid delete-backward-char.
3401 * files.el (set-auto-mode): Simplify a bit further.
3403 2013-09-11 Glenn Morris <rgm@gnu.org>
3405 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3406 (set-auto-mode): Don't regexp-quote elements.
3407 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3408 * progmodes/cc-mode.el (interpreter-mode-alist):
3409 * progmodes/ruby-mode.el (interpreter-mode-alist):
3410 Revert previous change.
3412 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3414 * play/snake.el (snake-mode):
3415 * play/mpuz.el (mpuz-mode):
3416 * play/landmark.el (lm-mode):
3417 * play/blackbox.el (blackbox-mode):
3418 * play/5x5.el (5x5-mode):
3419 * obsolete/options.el (Edit-options-mode):
3420 * net/quickurl.el (quickurl-list-mode):
3421 * net/newst-treeview.el (newsticker-treeview-mode):
3422 * mail/rmailsum.el (rmail-summary-mode):
3423 * mail/mspools.el (mspools-mode):
3424 * locate.el (locate-mode):
3425 * ibuffer.el (ibuffer-mode):
3426 * emulation/ws-mode.el (wordstar-mode):
3427 * emacs-lisp/debug.el (debugger-mode):
3428 * array.el (array-mode):
3429 * net/eudc.el (eudc-mode): Use define-derived-mode.
3430 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3431 Move initialization into declaration.
3432 (mairix-searches-mode): Use define-derived-mode.
3433 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3434 (eudc-edit-hotlist): Use dolist.
3435 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3436 (Man-mode): Use define-derived-mode.
3437 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3438 (Info-edit-mode): Use define-derived-mode.
3439 (Info-cease-edit): Use Info-mode.
3440 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3442 (eshell-mode): Use define-derived-mode.
3443 * chistory.el (command-history-mode-map): Rename from
3444 command-history-map.
3445 (command-history-mode): Use define-derived-mode.
3446 (Command-history-setup): Remove function.
3447 * calc/calc.el (calc-trail-mode-map): New var.
3448 (calc-trail-mode): Use define-derived-mode.
3449 (calc-trail-buffer): Set calc-main-buffer manually.
3450 * bookmark.el (bookmark-insert-annotation): New function.
3451 (bookmark-edit-annotation): Use it.
3452 (bookmark-edit-annotation-mode): Make it a proper major mode.
3453 (bookmark-send-edited-annotation): Use derived-mode-p.
3454 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3455 closer to its ideal place. Use \' to match EOS.
3457 * profiler.el (profiler-calltree-find): Use function-equal.
3459 2013-09-10 Glenn Morris <rgm@gnu.org>
3461 * files.el (interpreter-mode-alist): Convert to regexps.
3462 (set-auto-mode): Adapt for this. (Bug#15306)
3463 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3464 Comment out unused variable.
3465 * progmodes/cc-mode.el (interpreter-mode-alist):
3466 * progmodes/python.el (interpreter-mode-alist):
3467 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3468 * progmodes/sh-script.el (sh-set-shell):
3469 No longer use interpreter-mode-alist to get list of shells.
3471 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3473 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3475 * simple.el: Use set-temporary-overlay-map for universal-argument.
3476 (universal-argument-map): Don't use default-bindings (bug#15317).
3477 Bind switch-frame explicitly. Replace universal-argument-minus with
3478 a conditional binding.
3479 (universal-argument-num-events, saved-overriding-map): Remove.
3480 (restore-overriding-map): Remove.
3481 (universal-argument--mode): Rename from save&set-overriding-map,
3483 (universal-argument, universal-argument-more, negative-argument)
3484 (digit-argument): Adjust accordingly.
3485 (universal-argument-minus): Remove.
3486 (universal-argument-other-key): Remove.
3488 * subr.el (with-demoted-errors): Add `format' argument.
3490 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3492 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3493 `tramp-cleanup-connection'.
3495 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3496 parameters KEEP-DEBUG and KEEP-PASSWORD.
3498 * net/tramp.el (tramp-file-name-handler):
3499 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3500 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3501 (tramp-maybe-open-connection):
3502 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3503 Use `tramp-cleanup-connection'.
3505 * net/tramp-sh.el (tramp-maybe-open-connection):
3506 Catch 'uname-changed inside the progress reporter.
3508 2013-09-10 Glenn Morris <rgm@gnu.org>
3510 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3512 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3513 returns "alternate access method" in mode (eg "-rw-r--r--.").
3515 2013-09-08 Glenn Morris <rgm@gnu.org>
3517 * saveplace.el (load-save-place-alist-from-file):
3518 Demote errors. (Bug#15305)
3520 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3522 Improve compatibility with older Emacsen, and XEmacs.
3524 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3525 only if it is bound. It isn't for XEmacs.
3526 (with-tramp-progress-reporter): Do not let-bind `result'.
3527 This yields to scoping errors in XEmacs.
3528 (tramp-handle-make-auto-save-file-name): New function, moved from
3531 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3532 for `make-auto-save-file-name'.
3533 (tramp-adb--gnu-switches-to-ash):
3534 Use `tramp-compat-replace-regexp-in-string'.
3536 * net/tramp-cache.el (tramp-cache-print): Call
3537 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3539 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3540 bound. It isn't for XEmacs.
3542 * net/tramp-compat.el (tramp-compat-copy-file):
3543 Catch `wrong-number-of-arguments' error.
3544 (tramp-compat-replace-regexp-in-string): New defun.
3546 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3547 for `make-auto-save-file-name'.
3548 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3550 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3551 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3552 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3554 * net/tramp-gw.el (tramp-gw-open-network-stream):
3555 Use `tramp-compat-replace-regexp-in-string'.
3557 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3558 Call `tramp-handle-make-auto-save-file-name'.
3559 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3560 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3561 (tramp-sh-file-inotifywait-process-filter):
3562 Use `tramp-compat-replace-regexp-in-string'.
3563 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3565 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3566 for `make-auto-save-file-name'.
3567 (tramp-smb-handle-copy-directory):
3568 Call `tramp-compat-replace-regexp-in-string'.
3569 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3570 (tramp-smb-handle-copy-file): Improve error message.
3571 (tramp-smb-handle-rename-file): Rename directly only in case
3572 `newname' does not exist yet. This is a restriction of smbclient.
3573 (tramp-smb-maybe-open-connection): Rerun the function only when
3574 `auth-sources' is non-nil.
3576 2013-09-08 Kenichi Handa <handa@gnu.org>
3578 * international/characters.el: Set category "^" (Combining) for
3581 2013-09-07 Alan Mackenzie <acm@muc.de>
3583 Correctly fontify Java class constructors.
3584 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3586 (c-recognize-typeless-decls): Set the Java value to t.
3587 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3588 While handling a "(", add a check for, effectively, Java, and handle a
3589 "typeless" declaration there.
3591 2013-09-07 Roland Winkler <winkler@gnu.org>
3593 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3594 field subtitle for entry type book.
3596 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3598 * minibuffer.el: Make minibuffer-complete call completion-in-region
3599 rather than other way around.
3600 (completion--some, completion-pcm--find-all-completions):
3601 Don't delay signals when debugging.
3602 (minibuffer-completion-contents): Beware fields within the
3603 minibuffer contents.
3604 (completion-all-sorted-completions): Use defvar-local.
3605 (completion--do-completion, completion--cache-all-sorted-completions)
3606 (completion-all-sorted-completions, minibuffer-force-complete):
3607 Add args `beg' and `end'.
3608 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3609 (minibuffer-complete): Use completion-in-region.
3610 (completion-complete-and-exit): New fun, extracted from
3611 minibuffer-complete-and-exit.
3612 (minibuffer-complete-and-exit): Use it.
3613 (completion--complete-and-exit): Rename from
3614 minibuffer--complete-and-exit.
3615 (completion-in-region--single-word): New function, extracted from
3616 minibuffer-complete-word.
3617 (minibuffer-complete-word): Use it.
3618 (display-completion-list): Make `common-substring' argument obsolete.
3619 (completion--in-region): Call completion--in-region-1 instead of
3620 minibuffer-complete.
3621 (completion-help-at-point): Pass boundaries to
3622 minibuffer-completion-help as args rather than via an overlay.
3623 (completion-pcm--string->pattern): Use `any-delim'.
3624 (completion-pcm--optimize-pattern): New function.
3625 (completion-pcm--pattern->regex): Handle `any-delim'.
3626 * icomplete.el (icomplete-forward-completions)
3627 (icomplete-backward-completions, icomplete-completions):
3628 Adjust calls to completion-all-sorted-completions and
3629 completion--cache-all-sorted-completions.
3630 (icomplete-with-completion-tables): Default to t.
3631 * emacs-lisp/crm.el (crm--current-element): Rename from
3632 crm--select-current-element. Don't put an overlay but return the
3634 (crm--completion-command): Take two new args to bind to the boundaries.
3635 (crm-completion-help): Adjust accordingly.
3636 (crm-complete): Use completion-in-region.
3637 (crm-complete-word): Use completion-in-region--single-word.
3638 (crm-complete-and-exit): Use completion-complete-and-exit.
3640 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3642 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3645 2013-09-06 Juri Linkov <juri@jurta.org>
3647 * info.el (Info-display-images-node): When image file doesn't exist
3648 display text version of the image if it's provided in the Info file.
3649 Otherwise, display the location of missing image from SRC attribute.
3650 Add help-echo text property from ALT attribute. (Bug#15279)
3652 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3654 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3655 (edit-abbrevs-mode): Use define-derived-mode.
3657 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3658 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3660 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3661 Use define-derived-mode.
3663 * epg.el (epg-start-encrypt): Minor CSE simplification.
3665 2013-09-06 William Xu <william.xwl@gmail.com>
3667 * arc-mode.el: Add support for 7za (bug#15264).
3668 (archive-7z-program): New var.
3669 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3670 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3671 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3673 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3677 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3678 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3679 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3680 (tramp-postfix-host-format, tramp-file-name-regexp)
3681 (tramp-completion-file-name-regexp)
3682 (tramp-completion-dissect-file-name)
3683 (tramp-handle-substitute-in-file-name): Remove 'url case.
3684 (tramp-file-name-regexp-url)
3685 (tramp-completion-file-name-regexp-url): Remove constants.
3687 2013-09-06 Glenn Morris <rgm@gnu.org>
3689 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3691 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3693 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3694 keywords" below "here-doc beginnings" (Bug#15270).
3696 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3698 * subr.el (pop): Use `car-safe'.
3699 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3700 to detect unused `pop' return value.
3702 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3704 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3705 (python-fill-string): Remove unused var `marker'.
3706 (python-skeleton-add-menu-items): Remove unused var `items'.
3708 * international/mule-cmds.el: Require CL.
3709 (find-coding-systems-for-charsets): Avoid add-to-list.
3710 (sanitize-coding-system-list): New function, extracted from
3711 select-safe-coding-system-interactively.
3712 (select-safe-coding-system-interactively): Use it.
3713 (read-input-method-name): Accept symbols for `default'.
3715 * emacs-lisp/advice.el (defadvice): Add indent rule.
3717 2013-09-05 Daniel Hackney <dan@haxney.org>
3721 * net/browse-url.el:
3724 * net/eudcb-ldap.el:
3737 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3738 byte compiler. Remove some unused let-bound variables.
3740 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3742 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3743 a "ref-cell", since it gets better optimized (bug#14883).
3745 2013-09-05 Glenn Morris <rgm@gnu.org>
3747 * progmodes/cc-awk.el (c-forward-sws): Declare.
3749 2013-09-04 Glenn Morris <rgm@gnu.org>
3751 * generic-x.el [rul-generic-mode]: Require cc-mode.
3752 (c++-mode-syntax-table): Declare.
3753 (rul-generic-mode-syntax-table): Init in the defvar.
3755 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3757 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3758 (vc-do-command, vc-set-async-update):
3759 * vc/vc-mtn.el (vc-mtn-dir-status):
3760 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3761 (vc-hg-pull, vc-hg-merge-branch):
3762 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3763 (vc-git-merge-branch):
3764 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3765 (vc-cvs-dir-status-files):
3766 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3767 (vc-bzr-dir-status-files):
3768 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3769 * vc/vc-annotate.el: Use lexical-binding.
3770 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3771 (vc-sentinel-movepoint): Declare.
3772 (vc-annotate): Don't use `goto-line'.
3773 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3774 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3775 (vc-sentinel-movepoint): Declare.
3776 * vc/vc-svn.el: Use lexical-binding.
3777 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3779 * vc/vc-rcs.el: Use lexical-binding.
3781 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3782 `deleted'. Don't drop errors silently.
3784 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3786 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3788 * vc/vc.el (vc-ignore): Rewrite.
3789 (vc-default-ignore): New function.
3790 (vc-default-ignore-completion-table): Use find-ignore-file.
3792 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3793 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3794 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3795 Remove. Most code moved to vc.el.
3797 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3799 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3800 * net/tramp-smb.el (tramp-smb-get-file-entries):
3801 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3802 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3804 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3806 (eww-change-select): Remove unused var `properties'.
3807 (eww-make-unique-file-name): Remove unused var `base'.
3809 * finder.el (finder-compile-keywords): Don't mess with windows.
3811 * calculator.el (calculator-funcall): Fix typo in last change.
3813 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3815 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3816 <pkg>-autoloads.el file stop us.
3818 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3819 warnings, and factor out common code.
3821 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3823 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3824 two-character operators and whether the character preceding them
3825 changes their meaning (Bug#15208).
3827 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3829 Format code sent to Python shell for robustness.
3830 * progmodes/python.el (python-shell-buffer-substring):
3832 (python-shell-send-region, python-shell-send-buffer): Use it.
3834 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3836 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3837 * net/tramp.el (tramp-user-error): ... here.
3838 (tramp-find-method, tramp-check-proper-host)
3839 (tramp-dissect-file-name, tramp-debug-message)
3840 (tramp-handle-shell-command):
3841 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3842 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3844 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3846 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3848 * avoid.el (mouse-avoidance-point-position)
3849 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3852 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3854 * progmodes/python.el (python-shell-completion-get-completions):
3855 Drop use of deleted `comint-last-prompt-overlay'.
3856 (python-nav-if-name-main): New command.
3858 2013-09-01 Glenn Morris <rgm@gnu.org>
3860 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3861 Avoid leading space in $wins. Otherwise the sed command used by
3862 eg compile-main ends up containing "/*.el". (Bug#15170)
3864 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3866 2013-08-30 Glenn Morris <rgm@gnu.org>
3868 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3869 Fix is-this-a-directory logic. (Bug#15220)
3871 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3873 * textmodes/css-mode.el: Use SMIE.
3874 (css-smie-grammar): New var.
3875 (css-smie--forward-token, css-smie--backward-token)
3876 (css-smie-rules): New functions.
3877 (css-mode): Use them.
3878 (css-navigation-syntax-table): Remove var.
3879 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3880 (css-indent-calculate, css-indent-line): Remove functions.
3882 Misc changes to reduce use of `(lambda...); and other cleanups.
3883 * cus-edit.el: Use lexical-binding.
3884 (customize-push-and-save, customize-apropos)
3885 (custom-buffer-create-internal): Use closures.
3886 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3887 * progmodes/ada-xref.el: Use setq.
3888 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3889 * dframe.el: Use lexical-binding.
3890 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3891 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3892 * descr-text.el: Use lexical-binding.
3893 (describe-text-widget, describe-text-sexp, describe-property-list):
3895 * comint.el (comint-history-isearch-push-state): Use a closure.
3896 * calculator.el: Use lexical-binding.
3897 (calculator-number-to-string): Make it work with lexical-binding.
3898 (calculator-funcall): Same and use cl-letf.
3900 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3901 (lisp--company-doc-string, lisp--company-location): New functions.
3902 (lisp-completion-at-point): Use them to improve Company support.
3904 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3905 params of lambda expressions.
3906 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3907 (ruby-smie--opening-pipe-p): New function.
3908 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3909 symbols and matched |...| for formal params.
3910 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3911 from being treated as hanging. Handle "rescue".
3913 2013-08-29 Glenn Morris <rgm@gnu.org>
3915 * progmodes/cc-engine.el (c-pull-open-brace):
3916 Move definition before use.
3918 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3920 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3921 are immutable. Don't use `unsafe' any more.
3922 (cl--defsubst-expand): Don't substitute at the same time as keeping
3923 a residual unused let-binding. Don't use `unsafe' any more.
3925 2013-08-29 Glenn Morris <rgm@gnu.org>
3927 * calendar/cal-china.el (calendar-chinese-year-cache):
3930 * nxml/nxml-util.el (nxml-debug-clear-inside):
3931 Use cl-loop rather than loop.
3933 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3935 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3937 2013-08-28 Glenn Morris <rgm@gnu.org>
3939 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3941 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3943 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3945 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3947 * simple.el (repeat-complex-command--called-interactively-skip):
3949 (repeat-complex-command): Use it (bug#14136).
3951 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3952 (c-define-abbrev-table): Add `doc' argument.
3953 (c-mode-abbrev-table, c++-mode-abbrev-table)
3954 (objc-mode-abbrev-table, java-mode-abbrev-table)
3955 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3956 (awk-mode-abbrev-table): Use it.
3957 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3958 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3959 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3960 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3961 Move initialization into the declaration; and remove any
3964 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3965 and dynamic let binding.
3967 * vc/smerge-mode.el: Remove redundant :group args.
3969 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3972 2013-08-28 Juri Linkov <juri@jurta.org>
3974 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3975 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3976 (isearch-other-meta-char): Handle an undefined shifted printing
3977 character by downshifting it. (Bug#15200)
3979 2013-08-28 Juri Linkov <juri@jurta.org>
3981 * isearch.el (isearch-search): Change regexp error message for
3982 non-regexp searches. (Bug#15166)
3984 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3986 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3987 for portability to hosts where /bin/sh has problems.
3989 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3991 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3993 2013-08-27 Juri Linkov <juri@jurta.org>
3995 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3996 in the keyboard macro. (Bug#15126)
3998 2013-08-27 Juri Linkov <juri@jurta.org>
4000 * isearch.el (isearch-quote-char): Comment out converting unibyte
4001 to multibyte, thus syncing with its `quoted-insert' counterpart.
4004 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4006 * window.el (display-buffer-use-some-window): Add missing
4007 argument in call of get-largest-window (Bug#15185).
4008 Reported by Stephen Leake.
4010 2013-08-27 Glenn Morris <rgm@gnu.org>
4012 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4014 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4016 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4017 from a matcher-function unless there's no more matches (bug#15161).
4019 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4021 * minibuffer.el: Revert change from 2013-08-20.
4023 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4024 with text property `tramp-default', if appropriate.
4025 (tramp-check-proper-host): New defun.
4026 (tramp-dissect-file-name): Do not check hostname. Revert change
4028 (tramp-backtrace): Make VEC-OR-PROC optional.
4030 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4031 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4032 * net/tramp-sh.el (tramp-maybe-open-connection):
4033 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4034 Apply `tramp-check-proper-host'.
4036 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4038 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4039 lambda expression in order to have `describe-variable' display it.
4041 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4043 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4044 BUF can be optional. (Bug#15186)
4046 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4048 * progmodes/flymake.el (flymake-get-real-file-name-function):
4049 Fix broken customization. (Bug#15184)
4051 2013-08-25 Alan Mackenzie <acm@muc.de>
4053 Improve indentation of bracelists defined by macros (without "=").
4055 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4056 expansion begins with "{", regard it as bracelist when it doesn't
4059 Parse C++ inher-intro when there's a template split over 2 lines.
4061 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4062 rigorously the search for "class" etc. followed by ":".
4064 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4065 random languages a regexp which never matches rather than nil.
4067 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4069 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4070 (c-awk-regexp-one-line-possibly-open-char-list-re)
4071 (c-awk-one-line-possibly-open-regexp-re)
4072 (c-awk-one-line-non-syn-ws*-re): Remove.
4073 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4074 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4075 (c-awk-space*-unclosed-regexp-/-re): New constants.
4076 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4077 aren't regexp delimiters.
4079 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4080 handling for a rare situation in AWK Mode involving unterminated
4083 2013-08-23 Glenn Morris <rgm@gnu.org>
4085 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4087 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4089 * files.el (create-file-buffer): If the result would begin with
4090 spaces, prepend a "|" instead of removing them. (Bug#15162)
4092 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4094 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4095 text-properties (bug#15155).
4097 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4099 (calc-keypad-redraw): Remove unused var `pad'.
4100 (calc-keypad-press): Remove unused var `menu'.
4102 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4104 * window.el (display-buffer-pop-up-frame):
4105 Call pop-up-frame-function with BUFFER current so `make-frame' will
4106 use it as the new frame's buffer (Bug#15133).
4108 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4110 * calendar/timeclock.el: Minor cleanups.
4111 (timeclock-ask-before-exiting, timeclock-use-display-time):
4113 (timeclock-modeline-display): Define as alias before the
4115 (timeclock-mode-line-display): Use define-minor-mode.
4116 (timeclock-day-list-template): Make it a function, add an argument.
4117 (timeclock-day-list-required, timeclock-day-list-length)
4118 (timeclock-day-list-debt, timeclock-day-list-span)
4119 (timeclock-day-list-break): Adjust calls accordingly.
4121 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4123 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4124 Use read--expression so that completion works again.
4126 2013-08-21 Sam Steingold <sds@gnu.org>
4128 Add rudimentary inferior shell interaction
4129 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4130 (sh-set-shell): Reset it.
4131 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4132 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4134 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4136 * align.el: Use lexical-binding.
4137 (align-region): Simplify accordingly.
4139 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4141 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4143 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4146 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4150 * net/tramp-cmds.el:
4152 * net/tramp-gvfs.el:
4154 * net/tramp-sh.el: Don't wrap external variable declarations by
4155 `eval-when-compile'.
4157 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4159 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4160 now that Emacs supports ImageMagick animations.
4162 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4164 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4165 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4167 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4169 * window.el (mouse-autoselect-window-select): Do autoselect when
4170 mouse pointer is on margin.
4172 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4174 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4176 2013-08-16 Glenn Morris <rgm@gnu.org>
4178 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4179 Handle "Remote Directory" response of some clients. (Bug#15058)
4181 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4182 Tweak warning. (Bug#14926)
4184 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4185 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4187 * image-mode.el (image-mode-map): Add menu items to reverse,
4188 increase, decrease, reset animation speed.
4189 (image--set-speed, image-increase-speed, image-decrease-speed)
4190 (image-reverse-speed, image-reset-speed): New functions.
4191 (image-mode-map): Add bindings for speed commands.
4193 * image.el (image-animate-get-speed, image-animate-set-speed):
4195 (image-animate-timeout): Respect image :speed property.
4197 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4199 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4200 previous line (bug#15101).
4201 (debugger-eval-expression, debugger-record-expression):
4202 Use read--expression (bug#15102).
4204 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4206 Remove byte compiler warnings, visible when compiling with
4207 `byte-compile-force-lexical-warnings' set to t.
4209 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4210 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4211 (tramp-handle-unhandled-file-name-directory)
4212 (tramp-handle-file-notify-add-watch, tramp-action-login)
4213 (tramp-action-succeed, tramp-action-permission-denied)
4214 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4217 * net/tramp-adb.el (tramp-adb-parse-device-names)
4218 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4219 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4220 (tramp-adb-handle-file-truename): Remove unused arguments.
4222 * net/tramp-cache.el (tramp-flush-directory-property)
4223 (tramp-flush-connection-property, tramp-list-connections)
4224 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4226 * net/tramp-compat.el (tramp-compat-make-temp-file):
4227 Rename FILENAME to F.
4229 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4230 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4231 (tramp-zeroconf-parse-workstation-device-names)
4232 (tramp-zeroconf-parse-webdav-device-names)
4233 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4235 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4236 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4238 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4240 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4241 (tramp-sh-handle-insert-file-contents-literally)
4242 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4244 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4245 Remove unused variables.
4247 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4248 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4249 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4251 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4252 Make them a defconst.
4253 (tramp-uuencode-region): Remove unused variable.
4255 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4257 * frameset.el (frameset--prop-setter): New function.
4258 (frameset-prop): Add gv-setter declaration.
4259 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4260 parameter was already set in FILTERED. Doc fix.
4261 (frameset--record-minibuffer-relationships): Allow saving a
4262 minibufferless frame without its corresponding minibuffer frame.
4263 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4264 frame, if the frame id matches.
4265 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4266 frames before orphaned ones.
4267 (frameset-restore): Warn about orphaned windows, instead of error out.
4269 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4271 * window.el (window-make-atom): Don't overwrite parameter
4273 (display-buffer-in-atom-window): Handle special case where we
4274 split an already atomic window.
4275 (window--major-non-side-window, display-buffer-in-side-window)
4276 (window--side-check): Ignore minibuffer window when walking
4278 (window-deletable-p): Return 'frame only if no other frame uses
4279 our minibuffer window.
4280 (record-window-buffer): Run buffer-list-update-hook.
4281 (split-window): Make sure window--check-frame won't destroy an
4282 existing atomic window in case the new window gets nested
4284 (display-buffer-at-bottom): Ignore minibuffer window when
4285 walking window tree. Don't split a side window.
4286 (pop-to-buffer): Don't set-buffer here, the select-window call
4288 (mouse-autoselect-window-select): Autoselect only if we are in the
4289 text portion of the window.
4291 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4293 * net/shr.el (shr-parse-image-data): New function to grab both the
4294 data itself and the Content-Type.
4295 (shr-put-image): Use it.
4297 * net/eww.el (eww-display-image): Ditto.
4299 * image.el (image-content-type-suffixes): New variable.
4301 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4303 * progmodes/python.el (python-imenu--build-tree)
4304 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4306 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4308 * simple.el (backward-word): Mention the optional argument.
4310 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4312 * frameset.el (frameset--make): Rename constructor from make-frameset.
4313 (frameset-p, frameset-valid-p): Don't autoload.
4314 (frameset-valid-p): Use normal accessors.
4316 2013-08-13 Glenn Morris <rgm@gnu.org>
4318 * progmodes/compile.el (compile-command): Tweak example in doc.
4319 * obsolete/scribe.el (scribe-mode):
4320 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4322 * mail/feedmail.el (feedmail-confirm-outgoing)
4323 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4325 * cus-start.el (truncate-partial-width-windows): Fix type.
4327 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4329 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4331 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4333 * emacs-lisp/timer.el (timer--time-setter): New function.
4334 (timer--time): Use it as gv-setter.
4336 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4337 setter is not a symbol.
4339 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4341 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4342 if sending fails. This makes debugging easier.
4344 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4346 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4347 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4348 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4350 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4352 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4354 2013-08-12 Glenn Morris <rgm@gnu.org>
4356 * format.el (format-annotate-function):
4357 Handle read-only text properties in the source. (Bug#14887)
4359 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4361 * net/eww.el (eww-display-html): Ignore coding system errors.
4362 One web site uses "utf-8lias" as the coding system.
4364 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4366 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4368 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4370 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4371 (tutorial--detailed-help): Remove unused local variables.
4372 (tutorial--save-tutorial-to): Use ignore-errors.
4373 (help-with-tutorial): Use looking-at-p.
4375 * view.el (view-buffer-other-window, view-buffer-other-frame):
4376 Mark unused arguments.
4378 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4379 (woman-select-symbol-fonts, woman, woman-find-file)
4380 (woman-insert-file-contents, woman-non-underline-faces):
4382 (woman1-unquote): Move declaration.
4384 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4385 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4386 argument. Remove unused local variable.
4387 (xml-parse-elem-type): Use string-match-p.
4388 (xml-substitute-numeric-entities): Use ignore-errors.
4390 * calculator.el (calculator): Mark unused argument.
4391 (calculator-paste, calculator-quit, calculator-integer-p):
4393 (calculator-string-to-number, calculator-decimal, calculator-exp)
4394 (calculator-op-or-exp): Use string-match-p.
4396 * dired.el (dired-buffer-more-recently-used-p): Declare.
4397 (dired-insert-set-properties, dired-insert-old-subdirs):
4400 * dired-aux.el (dired-compress): Use ignore-errors.
4401 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4402 (dired-do-async-shell-command, dired-do-shell-command)
4403 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4404 (dired-insert-subdir-validate): Use string-match-p.
4405 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4406 (dired-add-entry): Use string-match-p, looking-at-p.
4407 (dired-insert-subdir-newpos): Remove unused local variable.
4409 * filenotify.el (file-notify-callback): Remove unused local variable.
4411 * filesets.el (filesets-error): Mark unused argument.
4412 (filesets-which-command-p, filesets-filter-dir-names)
4413 (filesets-directory-files, filesets-get-external-viewer)
4414 (filesets-ingroup-get-data): Use string-match-p.
4416 * find-file.el (ff-other-file-name, ff-other-file-name)
4417 (ff-find-the-other-file, ff-cc-hh-converter):
4418 Remove unused local variables.
4419 (ff-get-file-name): Use string-match-p.
4420 (ff-all-dirs-under): Use ignore-errors.
4422 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4423 (follow-select-if-visible): Remove unused local variable.
4425 * forms.el (read-file-filter): Move declaration.
4426 (forms--make-format, forms--make-parser, forms-insert-record):
4427 Quote function with #'.
4428 (forms--update): Use string-match-p. Quote function with #'.
4430 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4431 (help-make-xrefs): Use looking-at-p.
4432 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4434 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4435 (ibuffer-confirm-operation-on): Use string-match-p.
4437 * msb.el (msb-item-handler, msb-dired-item-handler):
4438 Mark unused arguments.
4440 * ses.el (ses-decode-cell-symbol)
4441 (ses-kill-override): Remove unused local variable.
4442 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4443 (ses-load): Use ignore-errors, looking-at-p.
4444 (ses-jump-safe): Use ignore-errors.
4445 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4447 * tabify.el (untabify, tabify): Mark unused arguments.
4449 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4450 Mark unused argument.
4451 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4452 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4454 * emacs-lisp/timer.el (timer--time): Define setter with
4455 gv-define-setter to avoid deprecation warning.
4457 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4458 (*record-cmpl-statistics-p*): Remove (was commented out).
4459 (cmpl-statistics-block): Remove (body was commented out).
4460 All callers changed.
4461 (add-completions-from-buffer, load-completions-from-file):
4462 Remove unused variables.
4464 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4466 * filecache.el (file-cache-delete-file-list):
4467 Print message only when told so.
4468 (file-cache-files-matching): Use #' in mapconcat argument.
4470 * ffap.el (ffap-url-at-point): Fix reference to variable
4471 thing-at-point-default-mail-uri-scheme.
4473 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4475 * subr.el (define-error): New function.
4476 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4477 error-file-not-found and define with define-error.
4478 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4479 and define with define-error.
4480 * userlock.el (file-locked, file-supersession):
4481 * simple.el (mark-inactive):
4482 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4483 * progmodes/ada-mode.el (ada-mode-errors):
4484 * play/life.el (life-extinct):
4485 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4486 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4487 * nxml/rng-util.el (rng-error):
4488 * nxml/rng-uri.el (rng-uri-error):
4489 * nxml/rng-match.el (rng-compile-error):
4490 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4491 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4492 * nxml/nxml-rap.el (nxml-scan-error):
4493 * nxml/nxml-outln.el (nxml-outline-error):
4494 * net/soap-client.el (soap-error):
4495 * net/gnutls.el (gnutls-error):
4496 * net/ange-ftp.el (ftp-error):
4497 * mpc.el (mpc-proc-error):
4498 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4499 (json-number-format, json-string-escape, json-string-format)
4500 (json-key-format, json-object-format):
4501 * jka-compr.el (compression-error):
4502 * international/quail.el (quail-error):
4503 * international/kkc.el (kkc-error):
4504 * emacs-lisp/ert.el (ert-test-failed):
4505 * calc/calc.el (calc-error, inexact-result, math-overflow)
4507 * bookmark.el (bookmark-error-no-filename):
4508 * epg.el (epg-error): Define with define-error.
4510 * time.el (display-time-event-handler)
4511 (display-time-next-load-average): Don't call sit-for since it seems
4512 unnecessary (bug#15045).
4514 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4515 Use #' instead of ' to quote functions.
4516 (checkdoc-output-mode): Use setq-local.
4517 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4518 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4519 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4520 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4521 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4522 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4523 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4524 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4526 * ido.el (ido-completion-help): Fix up compiler warning.
4528 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4530 * frameset.el (frameset-p): Add autoload cookie.
4531 (frameset--jump-to-register): New function, based on code moved from
4533 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4535 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4536 (frameset-restore, frameset-save, frameset-session-filter-alist):
4537 Remove declarations.
4538 (register-alist): Doc fix.
4539 (frameset-to-register): Move to frameset.el.
4540 (jump-to-register, describe-register-1): Remove frameset-specific code.
4542 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4544 * allout-widgets.el (allout-widgets-pre-command-business)
4545 (allout-widgets-post-command-business)
4546 (allout-widgets-after-change-handler)
4547 (allout-decorate-item-and-context, allout-set-boundary-marker)
4548 (allout-body-modification-handler)
4549 (allout-graphics-modification-handler): Mark ignored arguments.
4550 (allout-widgets-post-command-business)
4551 (allout-widgets-exposure-change-processor)
4552 (allout-widgets-exposure-undo-processor)
4553 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4554 (allout-parse-item-at-point, allout-decorate-item-guides)
4555 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4556 * allout.el (epa-passphrase-callback-function): Declare.
4557 (allout-overlay-insert-in-front-handler)
4558 (allout-overlay-interior-modification-handler)
4559 (allout-isearch-end-handler, allout-chart-siblings)
4560 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4561 (allout-yank-processing, allout-process-exposed)
4562 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4563 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4564 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4565 (lisp-indent-defform): Mark ignored arguments.
4566 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4567 (calculate-lisp-indent): Remove unused variables.
4568 * international/characters.el (indian-2-column, arabic-2-column)
4569 (tibetan): Mark ignored arguments.
4570 (use-cjk-char-width-table): Mark ignored arguments.
4571 Remove unused variables.
4572 * international/fontset.el (build-default-fontset-data)
4573 (x-compose-font-name, create-fontset-from-fontset-spec):
4574 Mark ignored arguments.
4575 (fontset-plain-name): Remove unused variables.
4576 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4577 (keyboard-coding-system): Mark ignored arguments.
4578 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4579 * help.el (resize-temp-buffer-window):
4580 * window.el (display-buffer-in-major-side-window)
4581 (display-buffer-in-side-window, display-buffer-in-previous-window):
4582 Remove unused variables.
4583 * isearch.el (isearch-forward-symbol):
4584 * version.el (emacs-bzr-version-bzr):
4585 * international/mule-cmds.el (current-language-environment):
4586 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4588 * term/pc-win.el (x-list-fonts, x-display-planes)
4589 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4590 (x-server-version, x-display-screens, x-display-mm-height)
4591 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4592 (x-selection-owner-p, x-own-selection-internal)
4593 (x-disown-selection-internal, x-get-selection-internal)
4594 (msdos-initialize-window-system):
4595 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4596 * term/x-win.el (x-handle-no-bitmap-icon):
4597 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4598 (vc-default-find-file-hook, vc-default-extra-menu):
4599 Mark ignored arguments.
4601 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4603 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4604 break-condition in the context of the debugged code (bug#12685).
4606 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4609 Do not use an overlay to highlight the last prompt. (Bug#14744)
4610 (comint-mode): Make comint-last-prompt buffer local.
4611 (comint-last-prompt): New variable.
4612 (comint-last-prompt-overlay): Remove. Superseded by
4614 (comint-snapshot-last-prompt, comint-output-filter):
4615 Use comint-last-prompt.
4617 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4619 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4620 (frameset-save): Check validity of the resulting frameset.
4622 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4624 * ido.el (ido-record-command): Add doc string.
4626 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4628 * frameset.el (frameset): Do not disable creation of the default
4629 frameset-p predicate. Doc fix.
4630 (frameset-valid-p): New function, copied from the old predicate-p.
4631 Add additional checks.
4632 (frameset-restore): Check with frameset-valid-p.
4633 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4634 (frameset-name, frameset-description, frameset-properties)
4635 (frameset-states): Add docstring.
4636 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4637 (frameset-filter-alist): Doc fixes.
4639 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4641 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4643 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4645 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4646 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4647 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4648 (byte-compile-normal-call): Remove obsolescence check.
4650 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4652 * frameset.el (frameset-restore): Doc fix.
4654 * register.el (frameset-frame-id, frameset-frame-with-id)
4655 (frameset-p, frameset-restore, frameset-save): Declare.
4656 (register-alist): Document framesets.
4657 (frameset-session-filter-alist): Declare.
4658 (frameset-to-register): New function.
4659 (jump-to-register): Implement jumping to framesets. Doc fix.
4660 (describe-register-1): Describe framesets.
4662 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4664 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4666 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4667 Use lexical-binding.
4669 * frameset.el (frameset): Use type vector, not list (incompatible
4670 change). Do not declare a new constructor, use the default one.
4671 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4672 `name' and `description', respectively, and add read-only slot
4673 `timestamp'. Doc fixes.
4674 (frameset-copy, frameset-persistent-filter-alist)
4675 (frameset-filter-alist, frameset-switch-to-gui-p)
4676 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4677 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4678 (frameset-filter-iconified, frameset-keep-original-display-p):
4680 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4681 Rename from frameset-filter-(save|restore)-param. All callers changed.
4683 (frameset-p): Adapt to change to vector and be more thorough.
4684 Change arg name to OBJECT. Doc fix.
4685 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4686 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4687 All callers changed.
4688 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4689 All callers changed.
4690 (frameset--record-minibuffer-relationships): Rename from
4691 frameset--process-minibuffer-frames. All callers changed.
4692 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4693 Use new default constructor (again). Doc fix.
4694 (frameset--find-frame-if): Rename from `frameset--find-frame.
4695 All callers changed.
4696 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4697 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4699 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4700 PARAMETERS and WINDOW-STATE, respectively.
4701 (frameset-restore): Add new keyword argument PREDICATE.
4702 Reset frameset--target-display to nil. Doc fix.
4704 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4706 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4708 (bat-mode-syntax-table): Mark \n as end-of-comment.
4709 (bat-font-lock-keywords): Remove comment rule.
4711 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4712 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4714 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4715 (byte-compile-callargs-warn): Use `push'.
4716 (byte-compile-arglist-warn): Ignore higher-order "calls".
4717 (byte-compile-file-form-autoload): Use `pcase'.
4718 (byte-compile-function-form): If quoting a symbol, check that it exists.
4720 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4722 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4723 and add a few popular commands found in batch files.
4724 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4725 (dos-mode): Doc fixes.
4727 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4729 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4730 (dos-mode): Use setq-local. Add space after "rem".
4731 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4732 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4734 2013-08-07 Arni Magnusson <arnima@hafro.is>
4736 * progmodes/dos.el: New file.
4737 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4740 2013-08-06 Glenn Morris <rgm@gnu.org>
4742 * calendar/calendar.el: Add new faces, and day-header-array.
4743 (calendar-weekday-header, calendar-weekend-header)
4744 (calendar-month-header): New faces.
4745 (calendar-day-header-construct): New function.
4746 (calendar-day-header-width): Also :set calendar-day-header-array.
4747 (calendar-american-month-header, calendar-european-month-header)
4748 (calendar-iso-month-header): Use calendar- faces.
4749 (calendar-generate-month):
4750 Use calendar-day-header-array for day headers; apply faces to them.
4751 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4752 (calendar-abbrev-construct): Add optional maxlen argument.
4753 (calendar-day-name-array): Doc fix.
4754 (calendar-day-name-array, calendar-abbrev-length)
4755 (calendar-day-abbrev-array):
4756 Also :set calendar-day-header-array, and maybe redraw.
4757 (calendar-day-header-array): New option. (Bug#15007)
4758 (calendar-font-lock-keywords): Set to nil and make obsolete.
4759 (calendar-day-name): Add option to use header array.
4761 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4763 * net/shr.el (shr-render-td): Remove debugging.
4764 (shr-render-td): Make width computation consistent by defaulting
4765 all zero-width columns to 10 characters. This may not be optimal,
4766 but it's at least consistent.
4767 (shr-make-table-1): Redo last change to fix the real problem in
4770 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4772 * files.el (cache-long-line-scans):
4773 Make obsolete alias to `cache-long-scans'.
4775 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4777 * frameset.el (frameset, frameset-filter-alist)
4778 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4779 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4780 (frameset-compute-pos): Rename from frameset--compute-pos,
4782 (frameset-move-onscreen): Use frameset-compute-pos.
4783 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4785 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4786 Fix typos in docstrings.
4788 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4790 * frame.el (get-other-frame): Tiny cleanup.
4792 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4794 * vc/vc.el (vc-default-ignore-completion-table):
4795 Silence byte-compiler warning.
4797 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4798 slot , which can indeed be nil.
4799 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4800 Move entry for `left' from persistent to live filter alist.
4801 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4803 (frameset-filter-params): When restoring a frame, copy items added to
4804 `filtered', to avoid unwittingly modifying the original parameters.
4805 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4806 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4808 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4809 to use looking-at-p instead of looking-at. (Bug#15028)
4811 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4813 Revert introduction of isearch-filter-predicates (bug#14714).
4814 Rely on add-function instead.
4815 * isearch.el (isearch-filter-predicates): Rename it back to
4816 isearch-filter-predicate.
4817 (isearch-message-prefix): Use advice-function-mapc and advice
4818 properties to get the isearch-message-prefix.
4819 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4820 instead of run-hook-with-args-until-failure.
4821 (isearch-filter-visible): Not obsolete any more.
4822 * loadup.el: Preload nadvice.
4823 * replace.el (perform-replace): Revert to funcall
4824 instead of run-hook-with-args-until-failure.
4825 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4826 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4827 dired-isearch-filenames-toggle; make it into a proper minor mode.
4828 Use add/remove-function.
4829 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4830 Call the minor-mode rather than add/remove-hook.
4831 (dired-isearch-filter-filenames):
4832 Remove isearch-message-prefix property.
4833 * info.el (Info--search-loop): New function, extracted from Info-search.
4834 Funcall isearch-filter-predicate instead of
4835 run-hook-with-args-until-failure isearch-filter-predicates.
4836 (Info-search): Use it.
4837 (Info-mode): Use isearch-filter-predicate instead of
4838 isearch-filter-predicates.
4840 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4842 Do not call to `selected-window' where it is assumed by default.
4843 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4844 `window-hscroll', `window-width', `window-height', `window-buffer',
4845 `window-frame', `window-start', `window-point', `next-window'
4846 and `window-display-table'.
4847 * abbrev.el (abbrev--default-expand):
4848 * bs.el (bs--show-with-configuration):
4849 * buff-menu.el (Buffer-menu-mouse-select):
4850 * calc/calc.el (calc):
4851 * calendar/calendar.el (calendar-generate-window):
4852 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4854 * comint.el (send-invisible, comint-dynamic-complete-filename)
4855 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4856 * completion.el (complete):
4857 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4858 * disp-table.el (describe-current-display-table):
4859 * doc-view.el (doc-view-insert-image):
4860 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4861 * ehelp.el (with-electric-help):
4862 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4863 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4864 * emacs-lisp/helper.el (Helper-help-scroller):
4865 * emulation/cua-base.el (cua--post-command-handler-1):
4866 * eshell/esh-mode.el (eshell-output-filter):
4867 * ffap.el (ffap-gnus-wrapper):
4868 * help-macro.el (make-help-screen):
4869 * hilit-chg.el (highlight-compare-buffers):
4870 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4871 * hl-line.el (global-hl-line-highlight):
4872 * icomplete.el (icomplete-simple-completing-p):
4873 * isearch.el (isearch-done):
4874 * jit-lock.el (jit-lock-stealth-fontify):
4875 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4876 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4877 * mpc.el (mpc-tagbrowser, mpc):
4878 * net/rcirc.el (rcirc-any-buffer):
4879 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4880 * play/landmark.el (landmark-max-width, landmark-max-height):
4881 * play/zone.el (zone):
4882 * progmodes/compile.el (compilation-goto-locus):
4883 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4884 * progmodes/etags.el (find-tag-other-window):
4885 * progmodes/fortran.el (fortran-column-ruler):
4886 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4887 * progmodes/verilog-mode.el (verilog-point-text):
4888 * reposition.el (reposition-window):
4889 * rot13.el (toggle-rot13-mode):
4890 * server.el (server-switch-buffer):
4891 * shell.el (shell-dynamic-complete-command)
4892 (shell-dynamic-complete-environment-variable):
4893 * simple.el (insert-buffer, set-selective-display)
4894 (delete-completion-window):
4895 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4896 (speedbar-recenter):
4897 * startup.el (fancy-splash-head):
4898 * textmodes/ispell.el (ispell-command-loop):
4899 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4900 * tutorial.el (help-with-tutorial):
4901 * vc/add-log.el (add-change-log-entry):
4902 * vc/compare-w.el (compare-windows):
4903 * vc/ediff-help.el (ediff-indent-help-message):
4904 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4905 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4906 (ediff-setup-control-frame):
4907 * vc/emerge.el (emerge-position-region):
4908 * vc/pcvs-util.el (cvs-bury-buffer):
4909 * window.el (walk-windows, mouse-autoselect-window-select):
4910 * winner.el (winner-set-conf, winner-undo): Related users changed.
4912 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4914 * frameset.el (frameset--set-id): Doc fix.
4915 (frameset-frame-id, frameset-frame-id-equal-p)
4916 (frameset-locate-frame-id): New functions.
4917 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4918 (frameset-restore): Use them.
4920 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4922 Do not call to `selected-frame' where it is assumed by default.
4923 Affected functions are `raise-frame', `redraw-frame',
4924 `frame-first-window', `frame-terminal' and `delete-frame'.
4925 * calendar/appt.el (appt-disp-window):
4926 * epg.el (epg-wait-for-completion):
4927 * follow.el (follow-delete-other-windows-and-split)
4928 (follow-avoid-tail-recenter):
4929 * international/mule.el (set-terminal-coding-system):
4930 * mail/rmail.el (rmail-mail-return):
4931 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4932 * progmodes/f90.el (f90-add-imenu-menu):
4933 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4934 * server.el (server-switch-buffer):
4935 * simple.el (delete-completion-window):
4937 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4938 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4939 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4940 * vc/ediff.el (ediff-documentation): Related users changed.
4941 * frame.el (selected-terminal): Remove the leftover.
4943 2013-08-05 Glenn Morris <rgm@gnu.org>
4945 * calendar/calendar.el (calendar-generate-month):
4946 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4947 (calendar-generate-month, calendar-font-lock-keywords):
4948 Fix for calendar-day-header-width > length of any day name.
4950 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4952 * desktop.el (desktop-clear): Use new name of sort predicate.
4954 * frameset.el (frameset): Add docstring. Move :version property to its
4956 (frameset-copy): Rename from copy-frameset.
4957 (frameset-p): Check more thoroughly.
4958 (frameset-prop): Do not check for :version, which is no longer a prop.
4959 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4960 Use new :never value instead of t.
4961 (frameset-filter-alist): Expand and clarify docstring.
4962 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4963 (frameset-filter-minibuffer, frameset-filter-save-param)
4964 (frameset-filter-restore-param, frameset-filter-iconified):
4965 Add pointer to docstring of frameset-filter-alist.
4966 (frameset-filter-params): Rename filter values to be more meaningful:
4967 :never instead of t, and reverse the meanings of :save and :restore.
4968 (frameset--process-minibuffer-frames): Clarify error message.
4969 (frameset-save): Avoid unnecessary and confusing call to framep.
4970 Use new BOA constructor for framesets.
4971 (frameset--reuse-list): Doc fix.
4972 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4973 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4974 (frameset-minibufferless-first-p): Doc fix.
4975 Rename from frameset-sort-frames-for-deletion.
4976 (frameset-restore): Doc fixes. Use new function names.
4977 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4979 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4981 * desktop.el (desktop-restore-forces-onscreen)
4982 (desktop-restore-reuses-frames): Document :keyword constant values.
4983 (desktop-filter-parameters-alist): Remove, now identical to
4984 frameset-filter-alist.
4985 (desktop--filter-tty*): Remove, moved to frameset.el.
4986 (desktop-save-frameset, desktop-restore-frameset):
4987 Do not pass :filters argument.
4989 * frameset.el (frameset-live-filter-alist)
4990 (frameset-persistent-filter-alist): New variables.
4991 (frameset-filter-alist): Use them. Add autoload cookie.
4992 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4993 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4994 `frameset--id' (it's supposed to be internal to frameset.el).
4995 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4996 (frameset--initial-params): New function.
4997 (frameset--get-frame): Use it. Doc fix.
4998 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4999 Accept :all, not 'all.
5000 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5001 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5002 with fbound symbols. Fix frame id matching, and remove matching ids if
5003 the frame being restored is deleted. Obey :delete.
5005 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5007 * subr.el (macrop): New function.
5008 (text-clone--maintaining): New var.
5009 (text-clone--maintain): Rename from text-clone-maintain. Use it
5010 instead of inhibit-modification-hooks.
5012 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5013 a proxy, so as handle autoloads and redefinitions of the target.
5014 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5016 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5017 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5018 (pcase--mutually-exclusive-p): New function.
5019 (pcase--split-consp): Use it.
5020 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5021 mutually exclusive with the current predicate.
5023 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5024 (edebug-macrop): Remove. Use `macrop' instead.
5025 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5027 * eshell/esh-cmd.el (eshell-macrop):
5028 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5030 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5032 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5033 (advice-mapc): New function, using it.
5034 (advice-function-member-p): New function.
5035 (advice--normalize): Store the cdr in advice--saved-rewrite since
5036 that's the part that will be changed.
5037 (advice--symbol-function): New function.
5038 (advice-remove): Handle removal before the function is defined.
5039 Adjust to new advice--saved-rewrite.
5040 (advice-member-p): Use advice-function-member-p and
5041 advice--symbol-function.
5043 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5045 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5046 (frameset-filter-minibuffer): Doc fix.
5047 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5048 (frameset--set-id, frameset--process-minibuffer-frames)
5049 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5050 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5052 * desktop.el (desktop-clear): Only delete frames when called
5053 interactively and desktop-restore-frames is non-nil. Doc fix.
5054 (desktop-read): Set desktop-saved-frameset to nil.
5056 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5058 * vc/vc.el (vc-ignore): Rewrite.
5059 (vc-default-ignore-completion-table):
5061 (vc--add-line, vc--remove-regexp): New functions.
5063 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5064 (vc-svn-ignore-completion-table): New function.
5066 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5067 (vc-hg-ignore-completion-table):
5068 (vc-hg-find-ignore-file): New functions.
5070 * vc/vc-git.el (vc-git-ignore): Rewrite.
5071 (vc-git-ignore-completion-table):
5072 (vc-git-find-ignore-file): New functions.
5074 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5076 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5077 (vc-bzr-ignore-completion-table):
5078 (vc-bzr-find-ignore-file): New functions.
5080 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5082 * frameset.el (frameset-prop): New function and setter.
5083 (frameset-save): Do not modify frame list passed by the caller.
5085 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5087 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5089 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5091 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5092 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5094 * custom.el (custom-initialize-default, custom-initialize-set)
5095 (custom-initialize-reset, custom-initialize-changed): Affect the
5096 toplevel-default-value (bug#6275, bug#14586).
5097 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5100 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5102 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5103 Add cl-def* expressions.
5105 * frameset.el (frameset-filter-params): Fix order of arguments.
5107 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5109 Move code related to saving frames to frameset.el.
5110 * desktop.el: Require frameset.
5111 (desktop-restore-frames): Doc fix.
5112 (desktop-restore-reuses-frames): Rename from
5113 desktop-restoring-reuses-frames.
5114 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5115 (desktop-clear): Clear frames too.
5116 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5117 (desktop--filter-tty*, desktop-save, desktop-read):
5118 Use frameset functions.
5119 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5120 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5121 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5122 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5123 (desktop--process-minibuffer-frames, desktop-save-frames)
5124 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5125 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5126 (desktop--sort-states, desktop-restoring-frames-p)
5127 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5128 (desktop-restoring-frameset-p, desktop-restore-frameset)
5129 (desktop--check-dont-save, desktop-save-frameset): New functions.
5130 (desktop--app-id): New constant.
5131 (desktop-first-buffer, desktop-buffer-ok-count)
5132 (desktop-buffer-fail-count): Move before first use.
5133 * frameset.el: New file.
5135 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5137 * files.el: Use lexical-binding.
5138 (dir-locals-read-from-file): Remove unused `err' variable.
5139 (hack-dir-local-variables--warned-coding): New var.
5140 (hack-dir-local-variables): Use it to avoid repeated warnings.
5141 (make-backup-file-name--default-function): New function.
5142 (make-backup-file-name-function): Use it as default.
5143 (buffer-stale--default-function): New function.
5144 (buffer-stale-function): Use it as default.
5145 (revert-buffer-insert-file-contents--default-function): New function.
5146 (revert-buffer-insert-file-contents-function): Use it as default.
5147 (insert-directory): Avoid add-to-list.
5149 * autorevert.el (auto-revert-handler): Simplify.
5150 Use buffer-stale--default-function.
5152 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5154 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5156 * whitespace.el (whitespace-ensure-local-variables): New function.
5157 (whitespace-cleanup-region): Call it.
5158 (whitespace-turn-on): Call it.
5160 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5162 Complete file name handlers.
5164 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5165 (tramp-handle-verify-visited-file-modtime)
5166 (tramp-handle-file-notify-rm-watch): New functions.
5167 (tramp-call-process): Do not bind `default-directory'.
5169 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5170 Order alphabetically.
5171 [access-file, add-name-to-file, dired-call-process]:
5172 [dired-compress-file, file-acl, file-notify-rm-watch]:
5173 [file-ownership-preserved-p, file-selinux-context]:
5174 [make-directory-internal, make-symbolic-link, set-file-acl]:
5175 [set-file-selinux-context, set-visited-file-modtime]:
5176 [verify-visited-file-modtime]: Add handler.
5177 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5179 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5180 [file-notify-add-watch, file-notify-rm-watch]:
5181 [set-file-times, set-visited-file-modtime]:
5182 [verify-visited-file-modtime]: Add handler.
5183 (with-tramp-gvfs-error-message)
5184 (tramp-gvfs-handle-set-visited-file-modtime)
5185 (tramp-gvfs-fuse-file-name): Remove.
5186 (tramp-gvfs-handle-file-notify-add-watch)
5187 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5188 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5190 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5191 Order alphabetically.
5192 [file-notify-rm-watch ]: Use default Tramp handler.
5193 [executable-find]: Remove private handler.
5194 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5195 `default-directory'.
5196 (tramp-sh-handle-executable-find)
5197 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5198 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5199 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5200 Do not use `format' in `tramp-message'.
5202 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5203 [file-notify-rm-watch, set-visited-file-modtime]:
5204 [verify-visited-file-modtime]: Add handler.
5205 (tramp-smb-call-winexe): Do not bind `default-directory'.
5207 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5209 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5211 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5213 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5215 (log-view-diff-changeset): Same.
5216 (log-view-diff-common): Call backend command `previous-revision'
5217 to find out the previous revision, in both cases. Swap the
5218 variables `to' and `fr', so that `fr' usually refers to the
5219 earlier revision (Bug#14989).
5221 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5223 * ibuf-ext.el (ibuffer-filter-by-filename):
5224 Make it work with dired buffers too.
5226 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5228 * emacs-lisp/re-builder.el (reb-color-display-p):
5229 * files.el (save-buffers-kill-terminal):
5230 * net/browse-url.el (browse-url):
5231 * server.el (server-save-buffers-kill-terminal):
5232 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5233 Prefer nil to selected-frame for the first arg of frame-parameter.
5235 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5237 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5239 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5241 * minibuffer.el (completion--twq-all): Try and preserve each
5242 completion's case choice (bug#14907).
5244 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5246 * net/network-stream.el (open-network-stream): Mention the new
5247 :nogreeting parameter.
5248 (network-stream-open-starttls): Use the :nogreeting parameter
5251 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5253 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5254 more natural than popping.
5256 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5257 (shr-urlify): Highlight under mouse.
5259 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5261 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5263 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5265 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5268 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5269 point-min==1. Fix search string. Fix parentheses missing.
5271 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5272 assume point-min==1. Fix search string. Fix parentheses missing.
5274 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5276 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5279 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5281 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5282 initial frame is minibuffer-less. (Bug#14841)
5284 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5286 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5289 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5290 (tramp-maybe-open-connection): Use it.
5292 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5294 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5295 minimal set of parameters passed when creating a frame, because
5296 the minibuffer status of a frame cannot be changed later.
5298 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5300 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5301 replace-regexp-in-string and inadvertent omissions in previous change.
5302 (todo-filter-items): Ensure only file names are comma-separated in
5303 name of filtered items buffer.
5305 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5307 * desktop.el: Optionally force offscreen frames back onscreen.
5308 (desktop-restoring-reuses-frames): New option.
5309 (desktop--compute-pos, desktop--move-onscreen): New functions.
5310 (desktop--make-frame): Use desktop--move-onscreen.
5312 2013-07-27 Alan Mackenzie <acm@muc.de>
5314 Fontify a Java generic method as a function.
5315 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5318 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5320 * calendar/todo-mode.el: Add command to rename todo files.
5321 (todo-rename-file): New command.
5322 (todo-key-bindings-t): Add key binding for it. Change the
5323 bindings of todo-filter-regexp-items(-multifile) to use `x'
5324 instead of `r', since the latter is better suited to the new
5327 2013-07-27 Alan Mackenzie <acm@muc.de>
5329 Make Java try-with-resources statement parse properly.
5330 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5331 (c-block-stmt-1-2-key): New language constants/variables.
5332 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5333 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5334 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5335 with c-block-stmt-1-2-key.
5337 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5339 * desktop.el (desktop--make-frame): Apply most frame parameters after
5340 creating the frame to force (partially or totally) offscreen frames to
5341 be restored as such.
5343 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5345 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5348 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5350 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5351 `base' arg of backtrace-frame.
5353 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5355 * simple.el (list-processes): Doc fix.
5357 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5359 * desktop.el (desktop--select-frame):
5360 Try harder to reuse existing frames.
5362 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5364 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5365 (edebug-eval): Use backtrace-eval.
5366 (edebug--display, edebug--recursive-edit): Don't let-bind the
5367 edebug-outer-* vars that keep track of variables we locally let-bind.
5368 (edebug-outside-excursion): Don't restore outside values of locally
5370 (edebug--display): Use user-error.
5371 (cl-lexical-debug, cl-debug-env): Remove.
5373 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5375 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5376 are restored to be sure that they are visible before deleting any
5379 2013-07-26 Matthias Meulien <orontee@gmail.com>
5381 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5382 vc-print-root-log. (Bug#14948)
5384 2013-07-26 Richard Stallman <rms@gnu.org>
5386 Add aliases for encrypting mail.
5387 * epa.el (epa-mail-aliases): New option.
5388 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5389 Bind inhibit-read-only so read-only text doesn't ruin everything.
5390 (epa-mail-default-recipients): New subroutine broken out.
5391 Handle epa-mail-aliases.
5393 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5395 Add support for lexical variables to the debugger's `e' command.
5396 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5397 vars, except for debugger-outer-match-data.
5398 (debugger-frame-number): Move check for "on a function call" from
5399 callers into it. Add `skip-base' argument.
5400 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5401 (debugger-env-macro): Only reset the state stored in non-variables,
5402 i.e. current-buffer and match-data.
5403 (debugger-eval-expression): Rewrite using backtrace-eval.
5404 * subr.el (internal--called-interactively-p--get-frame): Remove.
5405 (called-interactively-p):
5406 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5407 `base' arg of backtrace-frame instead.
5409 2013-07-26 Glenn Morris <rgm@gnu.org>
5411 * align.el (align-regexp): Doc fix. (Bug#14857)
5412 (align-region): Explicit error if subexpression missing/does not match.
5414 * simple.el (global-visual-line-mode):
5415 Do not duplicate the mode lighter. (Bug#14858)
5417 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5419 * window.el (display-buffer): In display-buffer bind
5420 split-window-keep-point to t, bug#14829.
5422 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5424 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5425 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5426 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5427 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5429 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5430 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5432 2013-07-25 Glenn Morris <rgm@gnu.org>
5434 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5436 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5438 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5439 parameter to modify-frame-parameters if the value has not changed;
5440 this is a workaround for bug#14949.
5441 (desktop--make-frame): On cl-delete-if call, check parameter name,
5444 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5446 * vc/vc.el (vc-ignore): New function.
5448 * vc/vc-svn.el (vc-svn-ignore): New function.
5450 * vc/vc-hg.el (vc-hg-ignore): New function.
5452 * vc/vc-git.el (vc-git-ignore): New function.
5454 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5455 (vc-dir-ignore): New function.
5457 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5458 (cvs-append-to-ignore): Move here from pcvs.el.
5460 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5462 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5464 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5466 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5467 (desktop-restore-frames): Warn when deleting an existing frame failed.
5469 2013-07-24 Glenn Morris <rgm@gnu.org>
5471 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5473 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5475 * filenotify.el (file-notify-supported-p):
5476 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5479 * autorevert.el (auto-revert-use-notify):
5480 (auto-revert-notify-add-watch):
5481 * net/tramp.el (tramp-file-name-for-operation):
5482 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5483 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5484 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5485 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5486 Remove `file-notify-supported-p' entry.
5488 2013-07-24 Glenn Morris <rgm@gnu.org>
5490 * printing.el: Replace all uses of deleted ps-windows-system,
5491 ps-lp-system, ps-flatten-list with lpr- versions.
5493 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5495 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5496 checked with memq (bug#14935).
5498 * files.el (revert-buffer-function): Use a non-nil default.
5499 (revert-buffer-preserve-modes): Declare var to
5500 provide access to the `preserve-modes' argument.
5501 (revert-buffer): Let-bind it.
5502 (revert-buffer--default): New function, extracted from revert-buffer.
5504 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5506 * lpr.el: Signal print errors more prominently.
5507 (print-region-function): Don't default to nil.
5508 (lpr-print-region): New function, extracted from print-region-1.
5509 Check lpr's return value and signal an error in case of problem.
5510 (print-region-1): Use it.
5511 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5513 (ps-printer-name): Default to nil.
5514 (ps-printer-name-option): Default to lpr-printer-switch.
5515 (ps-print-region-function): Don't default to nil.
5516 (ps-postscript-code-directory): Simplify default.
5517 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5518 (ps-string-list, ps-eval-switch, ps-flatten-list)
5519 (ps-flatten-list-1): Remove.
5520 (ps-multibyte-buffer): Avoid setq.
5521 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5522 (print-region-function, ps-print-region-function): Don't set them here.
5524 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5526 * ido.el (ido-fractionp):
5527 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5528 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5529 (ido-max-directory-size, ido-max-dir-file-cache)
5530 (ido-decorations): Doc fix.
5532 * ansi-color.el: Fix old URL.
5534 2013-07-23 Michael R. Mauger <michael@mauger.com>
5536 * progmodes/sql.el: Version 3.3
5537 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5538 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5539 (sql-interactive-remove-continuation-prompt): Rewrite, use
5540 functions above. Fix continuation prompt and complete output line
5542 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5543 redirected output buffer.
5544 (sql-mode): Restore deleted code (Bug#13591).
5546 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5548 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5550 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5552 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5554 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5555 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5556 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5558 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5560 * desktop.el (desktop-clear): Simplify; remove useless checks
5561 against invalid buffer names.
5562 (desktop-list*): Use cl-list*.
5563 (desktop-buffer-info, desktop-create-buffer): Simplify.
5565 2013-07-23 Leo Liu <sdl.web@gmail.com>
5567 * bookmark.el (bookmark-make-record): Restore NAME as a default
5570 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5572 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5573 extracted from autoload--insert-text.
5574 (autoload--insert-text): Remove.
5575 (autoload--print-cookie-text): New function, extracted from
5576 autoload--insert-cookie-text.
5577 (autoload--insert-cookie-text): Remove.
5578 (autoload-generate-file-autoloads): Adjust calls accordingly.
5580 * winner.el (winner-hook-installed-p): Remove.
5581 (winner-mode): Simplify accordingly.
5583 * subr.el (add-to-list): Fix compiler-macro when `append' is
5584 not constant. Don't use `cl-member' for the base case.
5586 * progmodes/subword.el: Fix boundary case (bug#13758).
5587 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5589 (subword-backward-regexp): Make it a constant.
5590 (subword-forward-internal): Don't treat a trailing capital as the
5591 beginning of a word.
5593 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5595 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5596 global value of tabulated-list-revert-hook (bug#14930).
5598 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5600 * desktop.el: Require 'cl-lib.
5601 (desktop-before-saving-frames-functions): New hook.
5602 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5603 for frames being saved. Rename from desktop--save-minibuffer-frames.
5604 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5605 Do not save frames with non-nil `desktop-dont-save' parameter.
5606 Filter out deleted frames.
5607 (desktop--find-frame): Use cl-find-if.
5608 (desktop--select-frame): Use cl-(first|second|third) to access values
5610 (desktop--make-frame): Use cl-delete-if.
5611 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5612 (desktop-restore-frames): Use cl-(first|second|third) to access values
5613 of desktop-mini. Look for visible frame at the end, not while
5616 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5617 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5618 Use string-match-p, looking-at-p (bug#14927).
5620 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5622 * desktop.el (desktop-saved-frame-states):
5623 Rename from desktop--saved-states; all users changed.
5624 (desktop-save-frames): Rename from desktop--save-frames.
5625 Do not save state to desktop file.
5626 (desktop-save): Save desktop-saved-frame-states to desktop file
5628 (desktop-restoring-frames-p): New function.
5629 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5630 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5631 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5633 * desktop.el: Correctly restore iconified frames.
5634 (desktop--filter-iconified-position): New function.
5635 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5637 2013-07-20 Glenn Morris <rgm@gnu.org>
5639 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5640 Let `message' do the formatting.
5641 (def-gdb-preempt-display-buffer): Add explicit format.
5643 * image-dired.el (image-dired-track-original-file):
5644 Use with-current-buffer.
5645 (image-dired-track-thumbnail): Use with-current-buffer.
5646 Avoid changing point of wrong window.
5648 * image-dired.el (image-dired-track-original-file):
5649 Avoid changing point of wrong window. (Bug#14909)
5651 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5653 * progmodes/gdb-mi.el (gdb-done-or-error):
5654 Guard against "%" in gdb output. (Bug#14127)
5656 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5658 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5661 * international/mule.el (coding-system-iso-2022-flags): Fix last
5664 2013-07-20 Kenichi Handa <handa@gnu.org>
5666 * international/mule.el (coding-system-iso-2022-flags):
5667 Add `8-bit-level-4'. (Bug#8522)
5669 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5671 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5674 * net/eww.el (eww-process-text-input): Allow inputting when the
5675 point is at the start of the line, as the properties aren't
5678 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5681 2013-07-19 Richard Stallman <rms@gnu.org>
5683 * epa.el (epa-popup-info-window): Doc fix.
5685 * subr.el (split-string): New arg TRIM.
5687 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5689 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5690 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5692 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5694 * filenotify.el (file-notify--library): Rename from
5695 `file-notify-support'. Do not autoload. Adapt all uses.
5696 (file-notify-supported-p): New defun.
5698 * autorevert.el (auto-revert-use-notify):
5699 Use `file-notify-supported-p' instead of `file-notify-support'.
5701 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5703 * net/tramp.el (tramp-file-name-for-operation):
5704 Add `file-notify-supported-p'.
5706 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5708 (tramp-sh-file-name-handler-alist): Add it as handler for
5709 `file-notify-supported-p '.
5711 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5712 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5713 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5714 Add `ignore' as handler for `file-notify-*' functions.
5716 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5718 * simple.el (line-move-partial, line-move): Don't start vscroll or
5719 scroll-up if the current line is not taller than the window.
5722 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5724 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5725 highlight question marks in the method names as strings.
5726 (ruby-block-beg-keywords): Inline.
5727 (ruby-font-lock-keyword-beg-re): Extract from
5728 `ruby-font-lock-keywords'.
5730 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5732 * frame.el (blink-cursor-blinks): New defcustom.
5733 (blink-cursor-blinks-done): New defvar.
5734 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5735 (blink-cursor-timer-function): Check if number of blinks has been
5737 (blink-cursor-suspend, blink-cursor-check): New defuns.
5739 2013-07-15 Glenn Morris <rgm@gnu.org>
5741 * edmacro.el (edmacro-format-keys): Fix previous change.
5743 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5745 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5746 The hack didn't work outside English locales anyway.
5748 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5750 * simple.el (define-alternatives): Rename from alternatives-define,
5751 per RMS' suggestion.
5753 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5755 * desktop.el (desktop-restore-frames): Change default to t.
5756 (desktop-restore-in-current-display): Now offer more options.
5757 (desktop-restoring-reuses-frames): New customization option.
5758 (desktop--saved-states): Doc fix.
5759 (desktop-filter-parameters-alist): New variable, renamed and expanded
5760 from desktop--excluded-frame-parameters.
5761 (desktop--target-display): New variable.
5762 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5763 (desktop--filter-tty*, desktop--filter-*-color)
5764 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5765 (desktop--filter-save-desktop-parm)
5766 (desktop-restore-in-original-display-p): New functions.
5767 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5768 (desktop--save-minibuffer-frames): New function, inspired by a similar
5769 function from Martin Rudalics.
5770 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5771 (desktop--restore-in-this-display-p): Remove.
5772 (desktop--find-frame): Rename from desktop--find-frame-in-display
5773 and add predicate argument.
5774 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5775 (desktop--reuse-list): New variable.
5776 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5778 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5780 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5782 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5784 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5786 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5787 Highlight conversion methods on Kernel.
5789 2013-07-13 Alan Mackenzie <acm@muc.de>
5791 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5792 and comment it out. This out-commenting enables certain C++
5793 declarations to be parsed correctly.
5795 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5797 * international/mule.el (define-coding-system): Doc fix.
5799 * simple.el (default-font-height): Don't call font-info if the
5800 frame's default font didn't change since the frame was created.
5803 2013-07-13 Leo Liu <sdl.web@gmail.com>
5805 * ido.el (ido-read-file-name): Guard against non-symbol value.
5807 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5809 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5812 2013-07-13 Leo Liu <sdl.web@gmail.com>
5814 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5815 ido-set-matches call. (Bug#6852)
5817 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5819 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5820 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5822 (ruby-font-lock-keywords): Distinguish calls to functions with
5823 module-like names from module references. Highlight character
5826 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5828 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5829 (gdb-send): Handle continued commands. (Bug#14847)
5831 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5833 * desktop.el (desktop--v2s): Remove unused local variable.
5834 (desktop-save-buffer): Make defvar-local; adjust docstring.
5835 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5836 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5838 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5840 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5842 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5844 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5847 2013-07-12 Glenn Morris <rgm@gnu.org>
5849 * doc-view.el: Require cl-lib at runtime too.
5850 (doc-view-remove-if): Remove.
5851 (doc-view-search-next-match, doc-view-search-previous-match):
5854 * edmacro.el: Require cl-lib at runtime too.
5855 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5856 (edmacro-mismatch, edmacro-subseq): Remove.
5858 * shadowfile.el: Require cl-lib.
5859 (shadow-remove-if): Remove.
5860 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5863 * wid-edit.el: Require cl-lib.
5864 (widget-choose): Use cl-remove-if.
5865 (widget-remove-if): Remove.
5867 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5868 (ebrowse-delete-if-not): Remove.
5869 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5870 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5871 Use cl-delete-if-not.
5873 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5875 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5876 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5878 2013-07-12 Leo Liu <sdl.web@gmail.com>
5880 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5882 2013-07-11 Glenn Morris <rgm@gnu.org>
5884 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5885 (edebug-gensym-index, edebug-gensym):
5886 Remove reimplementation of cl-gensym.
5887 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5889 * thumbs.el: Require cl-lib at run-time too.
5890 (thumbs-gensym-counter, thumbs-gensym):
5891 Remove reimplementation of cl-gensym.
5892 (thumbs-temp-file): Use cl-gensym.
5894 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5895 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5896 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5897 (ert--union, ert--gensym-counter, ert--gensym-counter)
5898 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5899 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5900 (ert-make-test-unbound, ert--expand-should-1)
5901 (ert--expand-should, ert--should-error-handle-error)
5902 (should-error, ert--explain-equal-rec)
5903 (ert--plist-difference-explanation, ert-select-tests)
5904 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5905 Use cl-lib functions rather than reimplementations.
5907 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5909 * net/tramp.el (tramp-methods): Extend docstring.
5910 (tramp-connection-timeout): New defcustom.
5911 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5912 (with-tramp-progress-reporter): Simplify.
5913 (tramp-process-actions): Improve messages.
5915 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5916 * net/tramp-sh.el (tramp-maybe-open-connection):
5917 Use `tramp-connection-timeout'.
5918 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5921 2013-07-11 Leo Liu <sdl.web@gmail.com>
5923 * ido.el (ido-read-file-name): Conform to the requirements of
5924 read-file-name. (Bug#11861)
5925 (ido-read-directory-name): Conform to the requirements of
5926 read-directory-name.
5928 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5930 * subr.el (delay-warning): New function.
5932 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5934 * simple.el (default-line-height): New function.
5935 (line-move-partial, line-move): Use it instead of computing the
5937 (line-move-partial): Always compute ROWH. If the last line is
5938 partially-visible, but its text is completely visible, allow
5939 cursor to enter such a partially-visible line.
5941 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5943 Improve error messages. (Bug#14808)
5945 * net/tramp.el (tramp-current-connection): New defvar, moved from
5947 (tramp-message-show-progress-reporter-message): Remove, not
5949 (tramp-error-with-buffer): Show message in minibuffer.
5950 Discard input before waiting. Reset connection timestamp.
5951 (with-tramp-progress-reporter): Improve messages.
5952 (tramp-process-actions): Use progress reporter. Delete process in
5953 case of error. Improve messages.
5955 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5956 Call `tramp-error-with-buffer' with vector and buffer.
5957 (tramp-current-connection): Remove.
5958 (tramp-maybe-open-connection): The car of
5959 `tramp-current-connection' are the first 3 slots of the vector.
5961 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5963 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5964 inside continued strings.
5966 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5968 Timestamp fixes for undo (Bug#14824).
5969 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5971 2013-07-10 Leo Liu <sdl.web@gmail.com>
5973 * files.el (require-final-newline): Allow safe local value.
5976 2013-07-09 Leo Liu <sdl.web@gmail.com>
5978 * ido.el (ido-read-directory-name): Handle fallback.
5979 (ido-read-file-name): Update DIR to ido-current-directory.
5981 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5983 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5985 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5986 "autoload". Remove "warn lower camel case" section, previously
5987 commented out. Highlight negation char. Do not highlight the
5988 target in singleton method definitions.
5990 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5992 * faces.el (tty-setup-hook): Declare the hook.
5994 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5995 and detect when a guard/pred depends on local vars (bug#14773).
5996 (pcase--u1): Adjust caller.
5998 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6000 * simple.el (line-move-partial, line-move): Account for
6002 (line-move-partial): Avoid setting vscroll when the last
6003 partially-visible line in window is of default height.
6005 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6007 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6010 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6012 * subr.el (read-quoted-char): Remove unused local variable `char'.
6014 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6016 * ediff.el (ediff-version): Version update.
6017 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6018 (ediff-merge-with-ancestor-command, ediff-directories-command)
6019 (ediff-directories3-command, ediff-merge-directories-command)
6020 (ediff-merge-directories-with-ancestor-command): New functions.
6021 All are command-line interfaces to ediff: to facilitate calling
6022 Emacs with the appropriate ediff functions invoked.
6024 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6025 (viper-save-kill-buffer): Check if buffer is modified.
6027 * viper.el (viper-version): Version update.
6028 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6030 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6032 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6033 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6034 (viper-intercept-ESC-key): Simplify.
6035 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6036 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6037 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6038 (viper-setup-ESC-to-escape): New functions.
6039 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6040 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6042 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6044 * simple.el (default-font-height, window-screen-lines):
6046 (line-move, line-move-partial): Use them instead of
6047 frame-char-height and window-text-height. This makes scrolling
6048 text smoother when the buffer's default face uses a font that is
6049 different from the frame's default font.
6051 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6053 * files.el (write-file): Do not display confirm dialog for NS,
6054 it does its own dialog, which can't be cancelled (Bug#14578).
6056 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6058 * simple.el (line-move-partial): Adjust the row returned by
6059 posn-at-point for the current window-vscroll. (Bug#14567)
6061 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6063 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6064 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6067 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6069 * window.el (window-state-put-stale-windows): New variable.
6070 (window--state-put-2): Save list of windows without matching buffer.
6071 (window-state-put): Remove "bufferless" windows if possible.
6073 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6075 * simple.el (alternatives-define): Remove leftover :group keyword.
6078 2013-07-06 Leo Liu <sdl.web@gmail.com>
6080 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6081 (ido-enable-virtual-buffers): New variable.
6082 (ido-buffer-internal, ido-toggle-virtual-buffers)
6083 (ido-make-buffer-list): Use it.
6084 (ido-exhibit): Support turning on and off virtual buffers
6087 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6089 * simple.el (alternatives-define): New macro.
6091 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6093 * subr.el (read-quoted-char): Use read-key.
6094 (sit-for): Let read-event decode tty input (bug#14782).
6096 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6098 * calendar/todo-mode.el: Add handling of file deletion, both by
6099 mode command and externally. Fix various related bugs.
6100 Clarify Commentary and improve some documentation strings and code.
6101 (todo-delete-file): New command.
6102 (todo-check-file): New function.
6103 (todo-show): Handle external deletion of the file we're trying to
6104 show (bug#14688). Replace called-interactively-p by an optional
6105 prefix argument to avoid problematic interaction with catch form
6106 when byte compiled (bug#14702).
6107 (todo-quit): Handle external deletion of the archive's todo file.
6108 Make sure the buffer that was visiting the archive file is still
6109 live before trying to bury it.
6110 (todo-category-completions): Handle external deletion of any
6111 category completion files.
6112 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6113 of todo files, in case of external deletion.
6114 (todo-add-file): Replace unnecessary setq by let-binding.
6115 (todo-find-archive): Check whether there are any archives.
6116 Replace unnecessary setq by let-binding.
6117 (todo-archive-done-item): Use find-file-noselect to get the
6118 archive buffer whether or not the archive already exists.
6119 Remove superfluous code. Use file size instead of buffer-file-name to
6120 check if the archive is new; if it is, update list of archives.
6121 (todo-default-todo-file): Allow nil to be a valid value for when
6122 there are no todo files.
6123 (todo-reevaluate-default-file-defcustom): Use corrected definition
6124 of todo-default-todo-file.
6125 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6126 (todo-delete-category, todo-show-categories-table)
6127 (todo-category-number): Clarify comment.
6128 (todo-filter-items): Clarify documentation string.
6129 (todo-show-current-file, todo-display-as-todo-file)
6130 (todo-reset-and-enable-done-separator): Tweak documentation string.
6131 (todo-done-separator): Make separator length window-width, since
6132 bug#2749 is now fixed.
6134 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6136 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6137 Support both "gvfs-monitor-dir" and "inotifywait".
6138 (tramp-sh-file-inotifywait-process-filter): Rename from
6139 `tramp-sh-file-notify-process-filter'.
6140 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6141 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6143 2013-07-05 Leo Liu <sdl.web@gmail.com>
6145 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6147 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6149 * frame.el (display-pixel-height, display-pixel-width)
6150 (display-mm-height, display-mm-width): Mention behavior on
6151 multi-monitor setups in docstrings.
6152 (w32-display-monitor-attributes-list): Declare function.
6153 (display-monitor-attributes-list): Use it.
6155 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6157 * filenotify.el: New package.
6159 * autorevert.el (top): Require filenotify.el.
6160 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6162 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6163 (auto-revert-notify-handler): Use `file-notify-*' functions.
6165 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6167 * net/tramp.el (tramp-file-name-for-operation):
6168 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6170 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6171 for `file-notify-add-watch' and `file-notify-rm-watch'.
6172 (tramp-process-sentinel): Improve trace.
6173 (tramp-sh-handle-file-notify-add-watch)
6174 (tramp-sh-file-notify-process-filter)
6175 (tramp-sh-handle-file-notify-rm-watch)
6176 (tramp-get-remote-inotifywait): New defuns.
6178 2013-07-03 Juri Linkov <juri@jurta.org>
6180 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6181 call of `occur-read-primary-args' to interactive spec.
6183 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6184 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6186 2013-07-03 Matthias Meulien <orontee@gmail.com>
6188 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6189 `Buffer-menu-multi-occur'. Add it to the menu.
6190 (Buffer-menu-mode): Document it in docstring.
6191 (Buffer-menu-multi-occur): New command. (Bug#14673)
6193 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6195 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6196 keywords and built-ins.
6198 2013-07-03 Glenn Morris <rgm@gnu.org>
6200 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6202 Make info-xref checks case-sensitive by default
6203 * info.el (Info-find-node, Info-find-in-tag-table)
6204 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6205 Add option for exact case matching of nodes.
6206 * info-xref.el (info-xref): New custom group.
6207 (info-xref-case-fold): New option.
6208 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6210 2013-07-03 Leo Liu <sdl.web@gmail.com>
6212 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6214 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6216 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6217 middle of block statement initially, lower the depth. Remove
6218 FIXME comment, not longer valid. Remove middle of block statement
6219 detection, no need to do that anymore since we've been using
6220 `ruby-parse-region' here.
6222 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6224 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6226 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6228 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6230 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6232 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6233 (desktop-restore-in-current-display): New customization option.
6234 (desktop--excluded-frame-parameters): Add `font'.
6235 (desktop--save-frames): Rename from desktop--save-windows.
6236 (desktop--restore-in-this-display-p): New function.
6237 (desktop--make-full-frame): Remove unwanted width/height from
6238 full(width|height) frames.
6239 (desktop--restore-frames): Rename from desktop--restore-windows.
6240 Obey desktop-restore-current-display. Do not delete old frames or
6241 select a new frame unless we were able to restore at least one frame.
6243 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6245 * files.el (find-file-noselect): Simplify conditional expression.
6247 * remember.el (remember-append-to-file):
6248 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6250 Add `remember-notes' function to store random notes across Emacs
6252 * remember.el (remember-data-file): Add :set callback to affect
6253 notes buffer (if any).
6254 (remember-notes): New command.
6255 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6256 New defcustoms for the `remember-notes' function.
6257 (remember-notes-save-and-bury-buffer): New command.
6258 (remember-notes-mode-map): New variable.
6259 (remember-mode): New minor mode.
6260 (remember-notes--kill-buffer-query): New function.
6261 * startup.el (initial-buffer-choice): Add notes to custom type.
6263 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6265 * bindings.el (right-char, left-char): Don't call sit-for, this is
6266 no longer needed. Use arithmetic comparison only for numerical
6269 * international/mule-cmds.el (select-safe-coding-system):
6270 Handle the case of FROM being a string correctly. (Bug#14755)
6272 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6274 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6275 progression on degenerate tables.
6276 (shr-rescale-image): ImageMagick animated images currently don't work.
6278 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6280 Some fixes and improvements for desktop frame restoration.
6281 It is still experimental and disabled by default.
6282 * desktop.el (desktop--save-windows): Put the selected frame at
6283 the head of the list.
6284 (desktop--make-full-frame): New function.
6285 (desktop--restore-windows): Try to re-select the frame that was
6286 selected upon saving. Do not abort if some frames fail to restore,
6287 just show an error message and continue. Set up maximized frames
6288 so they have default non-maximized dimensions.
6290 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6292 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6293 Don't start heredoc inside a string or comment.
6295 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6297 * bindings.el (visual-order-cursor-movement): New defcustom.
6298 (right-char, left-char): Provide visual-order cursor motion by
6299 calling move-point-visually. Update the doc strings.
6301 2013-06-28 Kenichi Handa <handa@gnu.org>
6303 * international/mule.el (define-coding-system): New coding system
6304 properties :inhibit-null-byte-detection,
6305 :inhibit-iso-escape-detection, and :prefer-utf-8.
6306 (set-buffer-file-coding-system): If :charset-list property of
6307 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6308 appropriate for setting.
6310 * international/mule-cmds.el (select-safe-coding-system):
6311 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6312 multibyte characters, return utf-8 (or one of its siblings).
6314 * international/mule-conf.el (prefer-utf-8): New coding system.
6315 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6318 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6320 * net/shr.el (shr-render-region): New function.
6322 * net/eww.el: Autoload `eww-browse-url'.
6324 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6326 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6327 Adapt to `package-desc-version' being a list.
6328 Use `package--ac-desc-version' to retrieve version from a package
6331 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6333 New experimental feature to save&restore window and frame setup.
6334 * desktop.el (desktop-save-windows): New defcustom.
6335 (desktop--saved-states): New var.
6336 (desktop--excluded-frame-parameters): New defconst.
6337 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6338 (desktop--restore-windows, desktop--save-windows): New functions.
6339 (desktop-save): Call `desktop--save-windows'.
6340 (desktop-read): Call `desktop--restore-windows'.
6342 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6344 * net/shr.el (add-face-text-property): Remove compat definition.
6346 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6348 * info.el (Info-try-follow-nearest-node): Move search for footnote
6349 above search for node name to prevent missing a footnote (bug#14717).
6351 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6353 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6355 2013-06-27 Leo Liu <sdl.web@gmail.com>
6357 * net/eww.el (eww-read-bookmarks): Check file size.
6359 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6361 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6362 advice--pending if newdef is nil or an autoload (bug#13820).
6363 (advice-mapc): New function.
6365 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6367 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6369 (eww-mode-map): Add a menu bar.
6370 (eww-add-bookmark): New command.
6371 (eww-bookmark-mode): New mode and commands.
6372 (eww-add-bookmark): Remove newlines from the title.
6373 (eww-bookmark-browse): Don't bug out if it's the only window.
6375 2013-06-26 Glenn Morris <rgm@gnu.org>
6377 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6378 (hfy-size): Handle ttys. (Bug#14668)
6380 * info-xref.el: Update for Texinfo 5 change in *note format.
6381 (info-xref-node-re, info-xref-note-re): New constants.
6382 (info-xref-check-buffer): Use info-xref-note-re.
6384 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6386 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6388 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6389 nil terminate the loop (bug#14718).
6391 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6393 * net/eww.el: Rework history traversal. When going forward/back,
6394 put these actions into the history, too, so that they can be
6396 (eww-render): Move the history reset to the correct buffer.
6398 2013-06-25 Juri Linkov <juri@jurta.org>
6400 * files-x.el (modify-dir-local-variable): Change the header comment
6401 in the file with directory local variables. (Bug#14692)
6403 * files-x.el (read-file-local-variable-value): Add `default'.
6406 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6408 * net/eww.el (eww-make-unique-file-name): Create a unique file
6409 name before saving to entering `y' accidentally asynchronously.
6411 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6413 * net/eww.el (eww-download): New command and keystroke.
6415 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6417 * net/eww.el (eww-copy-page-url): Change name of command.
6419 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6420 be more consistent with Info and dired.
6422 * net/eww.el (eww-mode-map): Ditto.
6424 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6426 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6427 packages from archives.
6428 (package-archive-contents): Change format; include obsolete packages.
6429 (package-desc): Use `dir' to mark builtin packages.
6430 (package--from-builtin): Set the `dir' field to `builtin'.
6431 (generated-autoload-file, version-control): Declare.
6432 (package-compute-transaction): Change first arg and return value to be
6433 lists of package-descs. Adjust to new package-archive-contents format.
6434 (package--add-to-archive-contents): Adjust to new
6435 package-archive-contents format.
6436 (package-download-transaction): Arg is now a list of package-descs.
6437 (package-install): If `pkg' is a package name, pass it as
6438 a requirement, so it is subject to the usual (e.g. disabled) checks.
6439 (describe-package): Accept package-desc as well.
6440 (describe-package-1): Describe a specific package-desc. Add links to
6441 other package-descs for the same package name.
6442 (package-menu-describe-package): Pass the actual package-desc.
6443 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6445 (package-desc-status): New function.
6446 (package-menu--refresh): New function, extracted
6447 from package-menu--generate.
6448 (package-menu--generate): Use it.
6449 (package-delete): Update package-alist.
6450 (package-menu-execute): Don't call package-initialize.
6452 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6453 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6454 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6455 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6456 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6457 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6459 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6461 * window.el (window--state-get-1): Workaround for bug#14527.
6462 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6464 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6466 * net/eww.el (eww-back-url): Implement the history by stashing all
6467 the data into a list.
6468 (eww-forward-url): Allow going forward in the history, too.
6470 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6472 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6473 for values and use read--expression for expressions (bug#14710).
6474 (read-file-local-variable): Avoid setq.
6475 (read-file-local-variable-mode): Use minor-mode-list.
6477 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6479 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6482 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6484 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6485 Update imenu-support when dialect changes.
6487 2013-06-25 Leo Liu <sdl.web@gmail.com>
6489 * ido.el (ido-read-internal): Allow forward slash on windows.
6491 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6493 * net/eww.el (eww): Start of strings is \\`, not ^.
6495 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6497 * net/shr.el (shr-browse-url): Fix interactive spec.
6499 * net/eww.el (eww): Add a trailing slash to domain names.
6501 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6503 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6505 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6507 * net/shr.el (shr-browse-url): Use an external browser if given a
6510 * net/eww.el (eww-external-browser): Move to shr.
6512 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6514 * net/eww.el (eww): Work more correctly for file: URLs.
6515 (eww-detect-charset): Allow quoted charsets.
6516 (eww-yank-page-url): New command and keystroke.
6518 2013-06-24 Daiki Ueno <ueno@gnu.org>
6520 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6521 file name of gpg executable.
6522 (epg-context-program): New function.
6523 (epg-context-home-directory): New function.
6524 (epg-context-set-program): New function.
6525 (epg-context-set-home-directory): New function.
6526 (epg--start): Use `epg-context-program' instead of
6528 (epg--list-keys-1): Likewise.
6530 2013-06-24 Leo Liu <sdl.web@gmail.com>
6532 * ido.el (ido-read-internal): Fix bug#14620.
6534 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6536 * faces.el (face-documentation): Simplify.
6537 (read-face-attribute, tty-find-type, x-resolve-font-name):
6538 Use `string-match-p'.
6539 (list-faces-display): Use `string-match-p'. Simplify.
6540 (face-spec-recalc): Check face to avoid face alias loops.
6541 (read-color): Use `string-match-p' and non-capturing parenthesis.
6543 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6545 * net/shr.el (shr-rescale-image): Use the new
6546 :max-width/:max-height functionality.
6548 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6550 * net/eww.el (eww-search-prefix): New variable.
6552 (eww-external-browser): New variable.
6553 (eww-mode-map): New keystroke.
6554 (eww-browse-with-external-browser): New command.
6556 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6558 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6560 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6561 Don't skip aligning the next header field when padding is 0;
6562 otherwise, field width is not respected unless the title is as
6565 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6567 * emacs-lisp/package.el (package-el-version): Remove.
6568 (package-process-define-package): Fix inf-loop.
6569 (package-install): Allow symbols as arguments again.
6571 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6573 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6574 add some more keyword-like methods.
6575 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6577 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6579 * bs.el (bs-buffer-show-mark): Make defvar-local.
6580 (bs-mode): Use setq-local.
6582 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6583 (emacs-lock--try-unlocking): Make defvar-local.
6585 2013-06-22 Glenn Morris <rgm@gnu.org>
6587 * play/cookie1.el (cookie-apropos): Minor simplification.
6589 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6591 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6593 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6594 `regexp-opt', it breaks the build during dumping.
6596 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6598 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6599 Highlight keyword-like methods on Kernel and Module with
6600 font-lock-builtin-face.
6601 (auto-mode-alist): Consolidate different entries into one regexp
6602 and add more *file-s.
6604 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6606 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6608 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6609 (diary-entry): Use it in the action of this button type instead of
6612 * calendar/todo-mode.el: New version.
6613 (todo-add-category): Append new category to end of file and give
6614 it the highest number, instead of putting it at the beginning and
6615 giving it 0. Incorporate noninteractive functionality.
6616 (todo-forward-category): Adapt to 1-based category numbering.
6617 Allow skipping over archived categories.
6618 (todo-backward-category): Derive from todo-forward-category.
6619 (todo-backward-item, todo-forward-item): Make noninteractive and
6620 delegate interactive part to new commands. Make sensitive to done items.
6621 (todo-categories): Make value an alist of category names and
6622 vectors of item counts.
6623 (todo-category-beg): Make a defconst.
6624 (todo-category-number): Use 1 instead of 0 as initial value.
6625 (todo-category-select): Make sensitive to overlays, optional item
6626 highlighting and done items.
6627 (todo-delete-item): Make sensitive to overlays and marked and done items.
6628 (todo-edit-item): Make sensitive to overlays and editing of
6629 date/time header optional. Add format checks.
6630 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6631 no-op if point is not on an item. Advertise using todo-edit-quit.
6632 (todo-edit-mode): Make sensitive to new format, font-locking, and
6633 multiple todo files.
6634 (todo-insert-item, todo-insert-item-here): Derive from
6635 todo-basic-insert-item and extend functionality.
6636 (todo-item-end, todo-item-start): Make sensitive to done items.
6637 (todo-item-string): Don't return text properties. Restore point.
6638 (todo-jump-to-category): Make sensitive to multiple todo files and
6639 todo archives. Use extended category completion.
6640 (todo-lower-item, todo-raise-item): Rename to *-priority and
6641 derive from todo-set-item-priority.
6642 (todo-mode): Derive from special-mode. Make sensitive to new
6643 format, font-locking and multiple todo files. Make read-only.
6644 (todo-mode-map): Don't suppress digit keys, so they can supply
6645 prefix arguments. Add many new key bindings.
6646 (todo-prefix): Insert as an overlay instead of file text.
6647 Change semantics from diary date expression to purely visual mark.
6648 (todo-print): Rename to todo-print-buffer. Make buffer display
6649 features printable. Remove option to restrict number of items
6650 printed. Add option to print to file.
6651 (todo-print-function): Rename to todo-print-buffer-function.
6652 (todo-quit): Extend to handle exiting new todo modes.
6653 (todo-remove-item): Make sensitive to overlays.
6654 (todo-save): Extend to buffers of filtered items.
6655 (todo-show): Make sensitive to done items, multiple todo files and
6656 new todo modes. Offer to convert legacy todo file before creating
6657 first new todo file.
6658 (todo-show-priorities): Rename to todo-top-priorities.
6659 Change semantics of value 0.
6660 (todo-top-priorities): Rename to todo-filter-top-priorities,
6661 derive from todo-filter-items and extend functionality.
6662 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6663 and extend functionality to other types of filtered items.
6664 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6665 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6666 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6667 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6668 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6669 (todo-edit-mode-hook, todo-entry-prefix-function)
6670 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6671 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6672 (todo-initials, todo-insert-threshold, todo-item-string-start)
6673 (todo-line-string, todo-menu, todo-mode-hook)
6674 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6675 (todo-print-priorities, todo-remove-separator)
6676 (todo-save-top-priorities-too, todo-string-count-lines)
6677 (todo-string-multiline-p, todo-time-string-format)
6678 (todo-tmp-buffer-name): Remove.
6679 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6680 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6681 (todo-edit-category-diary-inclusion)
6682 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6683 (todo-edit-file, todo-edit-item-date-day)
6684 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6685 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6686 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6687 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6688 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6689 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6690 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6691 (todo-filter-top-priorities-multifile, todo-find-archive)
6692 (todo-find-filtered-items-file, todo-go-to-source-item)
6693 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6694 (todo-jump-to-archive-category, todo-lower-category)
6695 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6696 (todo-move-category, todo-move-item, todo-next-button)
6697 (todo-next-item, todo-padded-string, todo-powerset)
6698 (todo-previous-button, todo-previous-item)
6699 (todo-print-buffer-to-file, todo-raise-category)
6700 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6701 (todo-set-category-number, todo-set-item-priority)
6702 (todo-set-top-priorities-in-category)
6703 (todo-set-top-priorities-in-file, todo-show-categories-table)
6704 (todo-sort-categories-alphabetically-or-numerically)
6705 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6706 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6707 (todo-toggle-item-header, todo-toggle-item-highlighting)
6708 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6709 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6710 (todo-unarchive-items, todo-unmark-category): New commands.
6711 (todo-absolute-file-name, todo-add-to-buffer-list)
6712 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6713 (todo-basic-insert-item, todo-category-completions)
6714 (todo-category-number, todo-category-string-matcher-1)
6715 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6716 (todo-check-format, todo-clear-matches)
6717 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6718 (todo-current-category, todo-date-string-matcher)
6719 (todo-define-insertion-command, todo-diary-expired-matcher)
6720 (todo-diary-goto-entry, todo-diary-item-p)
6721 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6722 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6723 (todo-done-item-section-p, todo-done-separator)
6724 (todo-done-string-matcher, todo-files, todo-filter-items)
6725 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6726 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6727 (todo-insert-category-line, todo-insert-item-from-calendar)
6728 (todo-insert-sort-button, todo-insert-with-overlays)
6729 (todo-insertion-command-name, todo-insertion-key-bindings)
6730 (todo-label-to-key, todo-longest-category-name-length)
6731 (todo-make-categories-list, todo-mode-external-set)
6732 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6733 (todo-modes-set-3, todo-multiple-filter-files)
6734 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6735 (todo-read-category, todo-read-date, todo-read-dayname)
6736 (todo-read-file-name, todo-read-time)
6737 (todo-reevaluate-category-completions-files-defcustom)
6738 (todo-reevaluate-default-file-defcustom)
6739 (todo-reevaluate-filelist-defcustoms)
6740 (todo-reevaluate-filter-files-defcustom)
6741 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6742 (todo-reset-done-separator, todo-reset-done-separator-string)
6743 (todo-reset-done-string, todo-reset-global-current-todo-file)
6744 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6745 (todo-reset-prefix, todo-set-categories)
6746 (todo-set-date-from-calendar, todo-set-show-current-file)
6747 (todo-set-top-priorities, todo-short-file-name)
6748 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6749 (todo-total-item-counts, todo-update-buffer-list)
6750 (todo-update-categories-display, todo-update-categories-sexp)
6751 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6753 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6755 (todo-categories, todo-display, todo-edit, todo-faces)
6756 (todo-filtered): New defgroups.
6757 (todo-archived-only, todo-button, todo-category-string, todo-date)
6758 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6759 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6760 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6761 (todo-add-item-if-new-category, todo-always-add-time-string)
6762 (todo-categories-align, todo-categories-archived-label)
6763 (todo-categories-category-label, todo-categories-diary-label)
6764 (todo-categories-done-label, todo-categories-number-separator)
6765 (todo-categories-todo-label, todo-categories-totals-label)
6766 (todo-category-completions-files, todo-completion-ignore-case)
6767 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6768 (todo-done-separator-string, todo-done-string)
6769 (todo-files-function, todo-filter-done-items, todo-filter-files)
6770 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6771 (todo-initial-category, todo-initial-file, todo-item-mark)
6772 (todo-legacy-date-time-regexp, todo-mode-line-function)
6773 (todo-nondiary-marker, todo-number-prefix)
6774 (todo-print-buffer-function, todo-show-current-file)
6775 (todo-show-done-only, todo-show-first, todo-show-with-done)
6776 (todo-skip-archived-categories, todo-top-priorities-overrides)
6777 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6778 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6780 (todo-category-done, todo-date-pattern, todo-date-string-start)
6781 (todo-diary-items-buffer, todo-done-string-start)
6782 (todo-filtered-items-buffer, todo-item-start)
6783 (todo-month-abbrev-array, todo-month-name-array)
6784 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6785 (todo-top-priorities-buffer): New defconsts.
6786 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6787 (todo-categories-with-marks, todo-category-string-face)
6788 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6789 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6790 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6791 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6792 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6793 (todo-font-lock-keywords, todo-global-current-todo-file)
6794 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6795 (todo-insertion-commands-args)
6796 (todo-insertion-commands-args-genlist)
6797 (todo-insertion-commands-names, todo-insertion-map)
6798 (todo-key-bindings-t, todo-key-bindings-t+a)
6799 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6800 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6801 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6802 (todo-visited): New variables.
6804 2013-06-21 Glenn Morris <rgm@gnu.org>
6806 * play/cookie1.el (cookie-apropos): Add optional display argument.
6807 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6808 (psychoanalyze-pinhead): Use cookie-doctor.
6810 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6812 * emacs-lisp/package.el (tar-get-file-descriptor)
6813 (tar--extract): Declare.
6815 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6817 Extend flymake's warning predicate to be a function (bug#14217).
6818 * progmodes/flymake.el (flymake-warning-predicate): New.
6819 (flymake-parse-line): Use it.
6820 (flymake-warning-re): Make obsolete alias to
6821 `flymake-warning-predicate'.
6823 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6825 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6826 (package-obsolete-list): Remove.
6827 (package-activate): Remove min-version argument. Add `force' argument.
6828 Adjust to new package-alist format.
6829 (package-mark-obsolete): Remove.
6830 (package-unpack): Force reload of the package's autoloads.
6831 (package-installed-p): Check builtins if the installed package is not
6833 (package-initialize): Don't reset package-obsolete-list.
6834 Don't specify which package version to activate.
6835 (package-process-define-package, describe-package-1)
6836 (package-menu--generate): Adjust to new package-alist format.
6838 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6840 * allout-widgets.el (allout-widgets-mode-off)
6841 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6842 (allout-widgets-post-command-business)
6843 (allout-widgets-after-copy-or-kill-function)
6844 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6845 (allout-decorate-item-and-context)
6846 (allout-graphics-modification-handler): Fix typos in docstrings.
6847 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6849 * cmuscheme.el (scheme-start-file): Doc fix.
6850 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6851 (scheme-input-filter): Use `string-match-p'.
6853 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6855 * dired-x.el: Use Dired consistently in docstrings.
6857 * dired.el: Use Dired consistently in docstrings.
6858 (dired-readin, dired-mode): Use `setq-local'.
6859 (dired-switches-alist): Make defvar-local.
6860 (dired-buffers-for-dir): Use `zerop'.
6861 (dired-safe-switches-p, dired-switches-escape-p)
6862 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6863 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6864 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6865 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6866 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6867 (dired-toggle-marks, dired-mark-files-containing-regexp)
6868 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6869 (dired-flag-auto-save-files, dired-flag-backup-files):
6871 (dired-mark-files-regexp, dired-build-subdir-alist):
6872 Use `string-match-p', `looking-at-p'.
6874 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6875 (direct-print-region-helper): Use `string-match-p'.
6877 2013-06-21 Leo Liu <sdl.web@gmail.com>
6879 * comint.el (comint-redirect-results-list-from-process):
6882 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6884 * net/eww.el (eww-update-header-line-format): Quote % characters.
6886 2013-06-21 Glenn Morris <rgm@gnu.org>
6888 * play/cookie1.el (cookie): New custom group.
6889 (cookie-file): New option.
6890 (cookie-check-file): New function.
6891 (cookie): Make it interactive. Make start and end messages optional.
6892 Interactively, display the result. Default to cookie-file.
6893 (cookie-insert): Default to cookie-file.
6894 (cookie-snarf): Make start and end messages optional.
6895 Default to cookie-file. Use with-temp-buffer.
6896 (cookie-read): Rename from read-cookie.
6897 Make start and end messages optional. Default to cookie-file.
6898 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6900 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6901 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6903 2013-06-21 Leo Liu <sdl.web@gmail.com>
6905 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6907 2013-06-21 Glenn Morris <rgm@gnu.org>
6909 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6911 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6912 Daniel Hackney <dan@haxney.org>
6914 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6915 Consolidate the single-file vs tarball code.
6916 (package-desc-suffix): New function.
6917 (package-desc-full-name): Don't bother inlining it.
6918 (package-load-descriptor): Return the new package-desc.
6919 (package-mark-obsolete): Remove unused arg `package'.
6920 (package-unpack): Make it work for single files as well.
6921 Make it update package-alist.
6922 (package--make-autoloads-and-stuff): Rename from
6923 package--make-autoloads-and-compile. Don't compile any more.
6924 (package--compile): New function.
6925 (package-generate-description-file): New function, extracted from
6926 package-unpack-single.
6927 (package-unpack-single): Remove.
6928 (package--with-work-buffer): Add indentation and debugging info.
6929 (package-download-single): Remove.
6930 (package-install-from-archive): Rename from package-download-tar, make
6931 it take a pkg-desc, and make it work for single files as well.
6932 (package-download-transaction): Simplify.
6933 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6934 external tar program.
6935 (package-install-from-buffer): Remove `pkg-desc' argument.
6936 Use package-tar-file-info for tar-mode buffers.
6937 (package-install-file): Simplify accordingly.
6938 (package-archive-base): Change to take a pkg-desc.
6939 * tar-mode.el (tar--check-descriptor): New function, extracted from
6941 (tar-get-descriptor): Use it.
6942 (tar-get-file-descriptor): New function.
6943 (tar--extract): New function, extracted from tar-extract.
6944 (tar--extract): Use it.
6945 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6946 case the summary uses non-ascii. Adjust to new calling convention of
6947 package-tar-file-info.
6949 2013-06-21 Leo Liu <sdl.web@gmail.com>
6951 * comint.el (comint-redirect-results-list-from-process):
6952 Fix random delay. (Bug#14681)
6954 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6956 * profiler.el (profiler-format-number): Use log, not log10.
6958 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6960 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6962 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6964 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6965 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6967 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6968 (AUTOGENEL): ... here.
6969 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6970 (cl--defsubst-expand): Use it.
6972 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6974 * subr.el (log10): Move here from C code, and declare as obsolete.
6975 All uses of (log10 X) replaced with (log X 10).
6977 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6979 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6980 Declare with `defvar-local'.
6981 (tabulated-list-use-header-line, tabulated-list-entries)
6982 (tabulated-list-padding, tabulated-list-printer)
6983 (tabulated-list-sort-key): Declare with `defvar-local'.
6984 (tabulated-list-init-header, tabulated-list-print-fake-header):
6987 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6989 * arc-mode.el (archive-mode): Add `archive-write-file' to
6990 `write-contents-functions' also for remote files. (Bug#14652)
6992 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6994 * cus-edit.el (custom-commands): Fix typos.
6995 (custom-display): Fix tooltip text.
6996 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6997 Fix typos in docstrings.
6998 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6999 (custom-unlispify-menu-entry, custom-magic-value-create)
7000 (custom-add-see-also, custom-group-value-create): Use ?\s.
7001 (custom-guess-type, customize-apropos, editable-field)
7002 (custom-face-value-create): Use `string-match-p'.
7003 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7005 * custom.el (custom-load-symbol): Use `string-match-p'.
7007 * ansi-color.el: Convert to lexical binding.
7008 (ansi-colors): Fix URL.
7009 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7010 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7011 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7013 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7015 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7017 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7019 2013-06-19 Tom Tromey <tromey@redhat.com>
7021 * net/eww.el (eww-top-url): Remove.
7022 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7023 (eww-render): Set new variables. Don't set eww-top-url.
7024 (eww-handle-link): Handle "prev", "home", and "contents".
7025 Downcase the rel text.
7026 (eww-top-url): Choose best top URL.
7028 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7030 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7031 relying in widget.el. Using widget.el leads to too many
7032 user interface inconsistencies.
7033 (eww-self-insert): Implement entering commands in text fields.
7034 (eww-process-text-input): New function to make text input field editing
7036 (eww-submit): Rewrite to use the new-style form methods.
7037 (eww-select-display): Display the correct selected item.
7038 (eww-change-select): Implement changing the select value.
7039 (eww-toggle-checkbox): Implement radio/checkboxes.
7040 (eww-update-field): Fix compilation error.
7041 (eww-tag-textarea): Implement <textarea>.
7043 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7044 we don't shadow mode-specific bindings.
7046 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7049 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7051 2013-06-19 Glenn Morris <rgm@gnu.org>
7053 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7055 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7057 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7060 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7062 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7064 * net/browse-url.el (browse-url-browser-function):
7065 `eww-browse-url' has the right calling signature, `eww' does not.
7067 2013-06-19 Glenn Morris <rgm@gnu.org>
7069 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7070 Only eval autoloaded macros.
7071 (byte-compile-autoload): Only give the macro warning for macros.
7073 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7074 (ps-underlined-faces): Declare.
7076 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7077 (speedbar-add-supported-extension): Declare.
7079 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7080 Don't include a date stamp in the header of the generated file;
7081 it leads to needless differences between output files.
7083 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7085 * net/secrets.el (secrets-struct-secret-content-type):
7086 Replace check of introspection data by a test call of "CreateItem".
7087 Some servers do not offer introspection.
7089 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7091 * electric.el (electric-pair-mode): Improve interaction with
7092 electric-layout-mode.
7093 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7094 (electric-pair-syntax): Use text-mode-syntax-table in comments
7096 (electric-pair--insert): New function.
7097 (electric-pair-post-self-insert-function): Use it and
7098 electric--after-char-pos.
7100 2013-06-19 Leo Liu <sdl.web@gmail.com>
7102 * progmodes/octave.el (octave-help): Fix regexp.
7104 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7106 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7107 (shr-table-horizontal-line): Allow nil as a value, and change the
7109 (shr-insert-table-ruler): Respect the nil value.
7111 2013-06-18 Tom Tromey <tromey@barimba>
7113 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7115 (eww-open-file): New defun.
7116 (eww-render): Initialize new variables.
7117 (eww-display-html): Handle "link" and "a".
7118 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7119 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7120 (eww-back-url): Rename from eww-previous-url.
7121 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7124 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7126 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7127 Distinguish ternary operator tokens from slash symbol and slash
7130 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7132 Convert symbol prettification into minor mode and global minor mode.
7134 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7135 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7136 (prettify-symbols--keywords): Rename from
7137 `prog-prettify-symbols-alist' and make a local defvar.
7138 (prettify-symbols--compose-symbol): Rename from
7139 `prog--prettify-font-lock-compose-symbol'.
7140 (prettify-symbols--make-keywords): Rename from
7141 `prog-prettify-font-lock-symbols-keywords' and simplify.
7142 (prog-prettify-install): Remove.
7143 (prettify-symbols-mode): New minor mode, based on
7144 `prog-prettify-install'.
7145 (turn-on-prettify-symbols-mode): New function.
7146 (global-prettify-symbols-mode): New globalized minor mode.
7148 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7149 * progmodes/cfengine.el (cfengine3-mode):
7150 * progmodes/perl-mode.el (perl-mode): Don't call
7151 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7153 2013-06-18 Juri Linkov <juri@jurta.org>
7155 * files-x.el (modify-file-local-variable-message): New function.
7156 (modify-file-local-variable)
7157 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7158 and call `modify-file-local-variable-message' when it's non-nil.
7159 (add-file-local-variable, delete-file-local-variable)
7160 (add-file-local-variable-prop-line)
7161 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7162 and use it. (Bug#9820)
7164 2013-06-18 Juri Linkov <juri@jurta.org>
7166 * emulation/vi.el (vi-shell-op):
7167 * emulation/vip.el (vip-execute-com, ex-command):
7168 * emulation/viper-cmd.el (viper-exec-bang):
7169 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7170 the call of `shell-command-on-region'. (Bug#14637)
7172 * simple.el (shell-command-on-region): Doc fix.
7174 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7176 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7179 2013-06-18 Glenn Morris <rgm@gnu.org>
7181 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7183 * newcomment.el (comment-search-forward, comment-search-backward):
7184 Doc fix. (Bug#14376)
7186 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7188 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7189 (buffer-face-mode-invoke): Doc fix.
7191 2013-06-18 Matthias Meulien <orontee@gmail.com>
7193 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7194 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7196 2013-06-18 Glenn Morris <rgm@gnu.org>
7198 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7199 Replace obsolete function generic-make-keywords with its expansion.
7201 * progmodes/python.el (ffap-alist): Declare.
7203 * textmodes/reftex.el (bibtex-mode-map): Declare.
7205 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7207 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7208 (package-unpack, package-unpack-single): Return the pkg-dir.
7209 (package-download-transaction): Use it to update package-alist.
7211 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7213 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7216 2013-06-17 Juri Linkov <juri@jurta.org>
7218 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7220 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7222 * emacs-lisp/package.el (package-load-descriptor):
7223 Remove `with-syntax-table' call, `read' doesn't need it.
7224 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7226 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7228 * startup.el (command-line): Expand package name returned by
7229 `package--description-file' (bug#14639).
7231 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7233 * emacs-lisp/package.el (package-load-descriptor): Do not call
7234 `emacs-lisp-mode', just use its syntax table.
7236 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7238 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7239 `font-lock-extra-managed-props' if any prettifying keyword is added.
7240 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7241 (prog-mode): Use `setq-local'.
7243 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7245 * international/characters.el (standard-case-table): Set syntax of ?»
7246 and ?« to punctuation.
7248 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7250 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7251 Save relevant match data before calling `syntax-ppss' (bug#14595).
7253 2013-06-15 Juri Linkov <juri@jurta.org>
7255 * files-x.el (modify-file-local-variable-prop-line): Add local
7256 variables to the end of the existing comment on the first line.
7257 Use `file-auto-mode-skip' to skip interpreter magic line,
7258 and also skip XML declaration.
7260 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7262 * startup.el (package--builtin-versions): New var.
7263 (package-subdirectory-regexp): Remove.
7264 (package--description-file): Hard code its value instead.
7266 * emacs-lisp/package.el: Don't activate packages older than builtin.
7267 (package-obsolete-list): Rename from package-obsolete-alist, and make
7268 it into a simple list of package-desc.
7269 (package-strip-version): Remove.
7270 (package-built-in-p): Use package--builtin-versions.
7271 (package-mark-obsolete): Simplify.
7272 (package-process-define-package): Mark it obsolete if older than the
7274 (package-handle-response): Use line-end-position.
7275 (package-read-archive-contents, package--download-one-archive):
7277 (package--add-to-archive-contents): Skip if older than the builtin or
7279 (package-menu-describe-package): Fix last change.
7280 (package-list-unversioned): New var.
7281 (package-menu--generate): Use it.
7283 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7284 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7285 (autoload-builtin-package-versions): New variable.
7286 (autoload-generate-file-autoloads): Use them.
7287 Remove the list of autoloaded functions/macros from the
7288 (autoload...) comments.
7290 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7292 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7294 * simple.el (line-move-partial): Don't jump to the next screen
7295 line as soon as it becomes visible. Instead, continue enlarging
7296 the vscroll until the portion of a tall screen line that's left on
7297 display is about the height of the frame's default font.
7300 2013-06-15 Glenn Morris <rgm@gnu.org>
7302 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7303 compilation-error-regexp-alist void, or local while let-bound.
7305 * progmodes/make-mode.el (makefile-mode-syntax-table):
7306 Treat "=" as punctuation. (Bug#14614)
7308 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7310 * help-fns.el (describe-variable):
7311 Add extra line for permanent-local variables.
7313 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7315 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7316 Add export, import, library. (Bug#9164)
7317 (library): Set indent function.
7319 2013-06-14 Glenn Morris <rgm@gnu.org>
7321 * term/xterm.el (xterm--query):
7322 Stop after first matching handler. (Bug#14615)
7324 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7326 Add support for dired in saveplace.
7327 * dired.el (dired-initial-position-hook): New variable.
7328 (dired-initial-position): Call hook to place cursor position.
7329 * saveplace.el (save-place-to-alist): Add dired position.
7330 (save-place-dired-hook): New function.
7332 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7334 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7335 through a symbol rather than letrec.
7337 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7338 (package-desc): Add `dir' field.
7339 (package-desc-full-name): New function.
7340 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7341 (package-maybe-load-descriptor): Remove.
7342 (package-load-all-descriptors): Just call package-load-descriptor.
7343 (package--disabled-p): New function.
7344 (package-desc-vers, package-desc-doc): Remove aliases.
7345 (package--dir): Remove function.
7346 (package-activate): Check if a package is disabled.
7347 (package-process-define-package): New function, extracted from
7349 (define-package): Turn into a place holder.
7350 (package-unpack-single, package-tar-file-info):
7351 Use package--description-file.
7352 (package-compute-transaction): Use package--disabled-p.
7353 (package-download-transaction): Don't call
7354 package-maybe-load-descriptor since they're all loaded anyway.
7355 (package-install): Change argument to be a pkg-desc.
7356 (package-delete): Use a single pkg-desc argument.
7357 (describe-package-1): Use package-desc-dir instead of package--dir.
7358 Use package-desc property instead of package-symbol.
7359 (package-install-button-action): Adjust accordingly.
7360 (package--push): Rewrite.
7361 (package-menu--print-info): Adjust accordingly. Change the ID format
7363 (package-menu-describe-package, package-menu-get-status)
7364 (package-menu--find-upgrades, package-menu-mark-upgrades)
7365 (package-menu-execute, package-menu--name-predicate):
7367 * startup.el (package--description-file): New function.
7368 (command-line): Use it.
7369 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7370 Use package-desc-version.
7372 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7373 (byte-compile-preprocess): Use it.
7374 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7375 can't quite recognize.
7376 (byte-compile-add-to-list): Remove.
7377 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7378 (cconv-closure-convert): Add assertion.
7380 * emacs-lisp/map-ynp.el: Use lexical-binding.
7381 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7382 Factor out some repeated code.
7384 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7386 * subr.el (with-eval-after-load): New macro.
7387 (eval-after-load): Allow form to be a function.
7388 take advantage of lexical-binding.
7389 (do-after-load-evaluation): Use dolist and adjust to new format.
7390 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7392 2013-06-13 Juri Linkov <juri@jurta.org>
7394 * replace.el (perform-replace): Display "symbol " and other search
7395 modes from `isearch-message-prefix' in the *Help* buffer.
7397 * isearch.el (isearch-query-replace): Add " symbol" and other
7398 possible search modes from `isearch-message-prefix' to the prompt.
7399 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7400 when reading a regexp to collect.
7402 2013-06-13 Juri Linkov <juri@jurta.org>
7404 * isearch.el (word-search-regexp): Match whitespace if the search
7405 string begins or ends in whitespace. The LAX arg is applied to
7406 both ends of the search string. Use `regexp-quote' and explicit
7407 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7408 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7409 boundaries are replaced with symbol boundaries, and characters
7410 between symbols match non-word non-symbol syntax. (Bug#14602)
7412 2013-06-13 Juri Linkov <juri@jurta.org>
7414 * isearch.el (isearch-del-char): Don't exceed the length of
7415 `isearch-string' by the prefix arg. (Bug#14563)
7417 2013-06-13 Juri Linkov <juri@jurta.org>
7419 * isearch.el (isearch-yank-word, isearch-yank-line)
7420 (isearch-char-by-name, isearch-quote-char)
7421 (isearch-printing-char, isearch-process-search-char):
7422 Add optional count prefix arg. (Bug#14563)
7424 * international/isearch-x.el
7425 (isearch-process-search-multibyte-characters):
7426 Add optional count prefix arg.
7428 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7430 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7431 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7434 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7436 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7438 2013-06-13 Glenn Morris <rgm@gnu.org>
7440 * startup.el (tty-handle-args):
7441 Don't just discard "--" and anything after. (Bug#14608)
7443 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7445 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7447 Implement changes in Secret Service API. Make it backward compatible.
7448 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7449 (secrets-create-item): Use it. Prefix properties with interface.
7451 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7453 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7454 (term-emulate-terminal): Respect term-suppress-hard-newline.
7456 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7458 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7459 Only remove a `thumb-file' overlay. (Bug#14548)
7461 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7463 * mail/reporter.el (reporter-submit-bug-report):
7464 Handle missing package-name. (Bug#14600)
7466 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7468 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7469 (reftex-citation-prompt, reftex-default-bibliography)
7470 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7471 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7472 (reftex-bib-sort-author, reftex-bib-sort-year)
7473 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7474 (reftex-extract-bib-entries-from-thebibliography)
7475 (reftex-get-bibkey-default, reftex-get-bib-names)
7476 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7477 (reftex-format-bib-entry, reftex-parse-bibitem)
7478 (reftex-format-bibitem, reftex-do-citation)
7479 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7480 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7481 (reftex-insert-bib-matches, reftex-format-citation)
7482 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7483 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7484 existing comments into docstrings.
7486 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7488 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7490 2013-06-12 Andreas Schwab <schwab@suse.de>
7492 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7493 for auto-save files.
7495 2013-06-12 Glenn Morris <rgm@gnu.org>
7497 * ido.el (ido-delete-ignored-files): Remove.
7498 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7499 Go back to calling ido-ignore-item-p directly.
7501 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7503 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7505 * ido.el (ido-delete-ignored-files): New function,
7506 split from ido-make-file-list-1.
7507 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7508 (ido-make-file-list-1): Use ido-delete-ignored-files.
7510 2013-06-12 Leo Liu <sdl.web@gmail.com>
7512 * progmodes/octave.el (inferior-octave-startup)
7513 (inferior-octave-completion-table)
7514 (inferior-octave-track-window-width-change)
7515 (octave-eldoc-function-signatures, octave-help)
7516 (octave-find-definition): Use single quoted strings.
7517 (inferior-octave-startup-args): Change default value.
7518 (inferior-octave-startup): Do not hard code "-i" and
7519 "--no-line-editing".
7520 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7521 (inferior-octave-directory-tracker): Use it.
7522 (octave-goto-function-definition): Robustify.
7523 (octave-help): Support highlighting operators in 'See also'.
7524 (octave-find-definition): Find subfunctions only in Octave mode.
7526 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7528 * help-fns.el (help-fns--compiler-macro): If the handler function is
7529 named, then put a link to it.
7530 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7531 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7533 (cl-eval-when): Simplify debug spec.
7534 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7535 compiler-macro function instead of setting `compiler-macro-file'.
7537 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7539 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7540 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7542 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7543 Daniel Hackney <dan@haxney.org>
7545 First part of Daniel Hackney's patch to package.el.
7546 * emacs-lisp/package.el: Use defstruct.
7547 (package-desc): New, main struct.
7548 (package--bi-desc, package--ac-desc): New structs, used to describe the
7549 format in external files.
7550 (package-desc-vers): Replace with package-desc-version accessor.
7551 (package-desc-doc): Replace with package-desc-summary accessor.
7552 (package-activate-1): Remove `package' arg since the pkg-vec now
7554 (define-package): Use package-desc-from-define.
7555 (package-unpack-single): Change file-name arg to be a symbol.
7556 (package--add-to-archive-contents): Use package-desc-create and new
7557 accessor functions to package--ac-desc.
7558 (package-buffer-info, package-tar-file-info): Return a package-desc.
7559 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7560 arg to be a package-desc.
7561 (package-install-file): Adjust accordingly. Use \' to match EOS.
7562 (package--from-builtin): New function.
7563 (describe-package-1, package-menu--generate): Use it.
7564 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7565 (package-generate-autoloads): Idem and return the name of the file.
7566 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7567 Change pkg-info arg to be a package-desc.
7568 Use package-make-ac-desc.
7569 (package-upload-file): Use \' to match EOS.
7570 * finder.el (finder-compile-keywords): Use package-make-builtin.
7572 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7574 * vc/vc.el (vc-deduce-fileset): Change error message.
7575 (vc-read-backend): New function.
7576 (vc-next-action): Use it.
7578 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7580 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7581 (prolog-font-lock-keywords): Use regexp-opt instead.
7582 Don't manually highlight strings.
7583 (prolog-mode-variables): Simplify comment-start-skip.
7584 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7586 * emacs-lisp/generic.el (generic--normalise-comments)
7587 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7588 (generic-mode-set-comments): Use them.
7589 (generic-bracket-support): Use setq-local.
7590 (generic-make-keywords-list): Declare obsolete.
7592 2013-06-11 Glenn Morris <rgm@gnu.org>
7594 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7595 Prettify after setting font-lock-defaults. (Bug#14574)
7597 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7599 * replace.el (query-replace, occur-read-regexp-defaults-function)
7601 * subr.el (declare-function, number-sequence, local-set-key)
7602 (substitute-key-definition, locate-user-emacs-file)
7603 (with-silent-modifications, split-string, eval-after-load):
7604 Fix typos, remove unneeded backslashes and reflow some docstrings.
7606 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7608 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7609 default for Elisp files.
7611 2013-06-11 Glenn Morris <rgm@gnu.org>
7613 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7614 although define-derived-mode was doing this anyway. (Bug#14583)
7616 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7618 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7619 Fix make-variable-buffer-local call to refer to the correct variable.
7621 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7623 * eshell/em-term.el (eshell-visual-commands)
7624 (eshell-visual-subcommands, eshell-visual-options):
7625 Add summary line to docstrings. Add cross-references.
7627 2013-06-10 Glenn Morris <rgm@gnu.org>
7629 * epa.el (epa-read-file-name): New function. (Bug#14510)
7630 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7632 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7634 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7635 output redirection to be ignored with visual commands.
7637 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7639 * eshell/em-term.el (eshell-visual-command-p): New function.
7640 (eshell-term-initialize): Move long lambda to separate function
7641 eshell-visual-command-p.
7642 * eshell/em-dirs.el (eshell-dirs-initialise):
7643 * eshell/em-script.el (eshell-script-initialize):
7644 Add missing #' to lambda.
7646 2013-06-08 Leo Liu <sdl.web@gmail.com>
7648 * progmodes/octave.el (octave-add-log-current-defun): New function.
7649 (octave-mode): Set add-log-current-defun-function.
7650 (octave-goto-function-definition): Do not move point if not found.
7651 (octave-find-definition): Enhance to try subfunctions first.
7653 2013-06-08 Glenn Morris <rgm@gnu.org>
7655 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7656 (byte-compile-backward-char, byte-compile-backward-word):
7657 Improve previous change, to handle non-explicit nil.
7659 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7661 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7662 (smie--opener/closer-at-point): New function.
7663 (smie--matching-block-data): Use it. Don't match from right after an
7664 opener or right before a closer. Obey smie-blink-matching-inners.
7665 Don't signal a mismatch for repeated inners like "switch..case..case".
7667 2013-06-07 Leo Liu <sdl.web@gmail.com>
7669 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7671 (octave-function-header-regexp): Fix. (Bug#14570)
7672 (octave-help-mode-finish-hook, octave-help-mode-finish):
7673 Remove. Just use temp-buffer-show-hook.
7675 * newcomment.el (comment-search-backward): Revert last change.
7678 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7680 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7682 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7683 through xargs, to avoid failure due to MS-Windows limitations on
7684 command-line length.
7686 2013-06-06 Glenn Morris <rgm@gnu.org>
7688 * font-lock.el (lisp-font-lock-keywords-2):
7689 Treat user-error like error.
7691 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7692 (byte-compile-backward-char, byte-compile-backward-word):
7693 Handle explicit nil arguments. (Bug#14565)
7695 2013-06-05 Alan Mackenzie <acm@muc.de>
7697 * isearch.el (isearch-allow-prefix): New user option.
7698 (isearch-other-meta-char): Don't exit isearch when a prefix
7699 argument is typed whilst `isearch-allow-prefix' is non-nil.
7702 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7704 * autorevert.el (auto-revert-notify-handler): Use memq.
7705 Hide assertion failure.
7707 * skeleton.el: Use cl-lib.
7708 (skeleton-further-elements): Use defvar-local.
7709 (skeleton-insert): Use cl-progv.
7711 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7713 * progmodes/prog-mode.el (prog-prettify-symbols)
7714 (prog-prettify-install): Update docstrings.
7716 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7718 * simple.el: Move all the prog-mode code to prog-mode.el.
7719 * progmodes/prog-mode.el: New file.
7720 * loadup.el: Add prog-mode.el.
7722 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7724 * simple.el (prog-prettify-symbols): Add version.
7725 (prog-prettify-install): Add convenience function to prettify symbols.
7727 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7728 (perl--augmented-font-lock-keywords-1)
7729 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7730 variables and use it.
7732 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7733 (cfengine3-mode): Remove unneeded variable and use it.
7735 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7736 (lisp--augmented-font-lock-keywords-1)
7737 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7738 Remove unneeded variables and use it.
7740 2013-06-05 João Távora <joaotavora@gmail.com>
7742 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7743 to point when opening the connection. (Bug#14380)
7745 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7747 * subr.el (load-history-regexp, load-history-filename-element)
7748 (eval-after-load, after-load-functions, do-after-load-evaluation)
7749 (eval-next-after-load, display-delayed-warnings)
7750 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7751 definition of save-match-data.
7752 (overriding-local-map): Remove accidental obsolescence declaration.
7754 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7756 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7758 Generalize symbol prettify support to prog-mode and implement it
7759 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7760 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7761 (prog--prettify-font-lock-compose-symbol)
7762 (prog-prettify-font-lock-symbols-keywords): New variables and
7763 functions to support symbol prettification.
7764 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7765 (lisp--augmented-font-lock-keywords-1)
7766 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7767 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7768 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7769 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7770 Implement prettify of -> => :: strings.
7771 * progmodes/perl-mode.el (perl-prettify-symbols)
7772 (perl--font-lock-compose-symbol)
7773 (perl--font-lock-symbols-keywords): Move to prog-mode.
7774 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7775 (perl-font-lock-keywords-1)
7776 (perl-font-lock-keywords-2): Remove explicit prettify support.
7777 (perl--augmented-font-lock-keywords)
7778 (perl--augmented-font-lock-keywords-1)
7779 (perl--augmented-font-lock-keywords-2, perl-mode):
7780 Implement prettify support.
7782 2013-06-05 Leo Liu <sdl.web@gmail.com>
7784 Re-implement smie matching block highlight using
7785 show-paren-data-function. (Bug#14395)
7786 * emacs-lisp/smie.el (smie-matching-block-highlight)
7787 (smie--highlight-matching-block-overlay)
7788 (smie--highlight-matching-block-lastpos)
7789 (smie-highlight-matching-block)
7790 (smie-highlight-matching-block-mode): Remove.
7791 (smie--matching-block-data-cache): New variable.
7792 (smie--matching-block-data): New function.
7793 (smie-setup): Use smie--matching-block-data for
7794 show-paren-data-function.
7796 * progmodes/octave.el (octave-mode-menu): Fix.
7797 (octave-find-definition): Skip garbage lines.
7799 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7801 Fix compilation error with simultaneous dynamic+lexical scoping.
7802 Add warning when a defvar appears after the first let-binding.
7803 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7804 (byte-compile-close-variables): Initialize it.
7805 (byte-compile--declare-var): New function.
7806 (byte-compile-file-form-defvar)
7807 (byte-compile-file-form-define-abbrev-table)
7808 (byte-compile-file-form-custom-declare-variable): Use it.
7809 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7810 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7811 (byte-compile-bind): Handle dynamic bindings that shadow
7813 (byte-compile-unbind): Make arg non-optional.
7814 (byte-compile-let): Simplify.
7815 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7816 (cconv--analyse-function, cconv-analyse-form): Populate it.
7817 Protect byte-compile-bound-variables to limit the scope of defvars.
7818 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7819 Remove unneeded rule for `declare'.
7821 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7822 so as to avoid depending on cl-adjoin at run-time.
7823 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7825 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7826 (macroexp--warn-and-return): Use it.
7828 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7830 * lisp/subr.el: Convert to lexical binding.
7831 (overriding-local-map): Make obsolete.
7832 (add-to-list): Doc fix. Add compiler macro.
7833 (read-key): Swap values of local maps.
7835 2013-06-05 Leo Liu <sdl.web@gmail.com>
7837 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7839 2013-06-04 Leo Liu <sdl.web@gmail.com>
7841 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7842 (compilation-auto-jump): Suppress the "Mark set" message to give
7843 way to exit message.
7845 2013-06-04 Alan Mackenzie <acm@muc.de>
7847 Remove faulty optimisation from indentation calculation.
7848 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7849 search limit based on 2000 characters back from indent-point.
7851 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7853 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7855 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7857 * emacs-lisp/lisp.el: Use lexical-binding.
7858 (lisp--local-variables-1, lisp--local-variables): New functions.
7859 (lisp--local-variables-completion-table): New var.
7860 (lisp-completion-at-point): Use it complete let-bound vars.
7862 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7863 eagerly (bug#14422).
7865 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7867 * autorevert.el (auto-revert-notify-enabled)
7868 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7869 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7870 (auto-revert-notify-handler): Handle also gfilenotify.
7872 * subr.el (file-notify-handle-event): New defun. Replacing ...
7873 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7876 2013-06-03 Juri Linkov <juri@jurta.org>
7878 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7879 `M-s h .'. (Bug#14427)
7881 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7882 command `hi-lock-face-symbol-at-point'.
7883 (hi-lock-face-symbol-at-point): New command.
7884 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7885 (hi-lock-menu): Add `highlight-symbol-at-point'.
7886 (hi-lock-mode): Doc fix.
7888 * isearch.el (isearch-forward-symbol-at-point): New command.
7889 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7890 (isearch-highlight-regexp): Add a regexp which matches
7891 words/symbols for word/symbol mode.
7893 * subr.el (find-tag-default-bounds): New function with the body
7894 mostly moved from `find-tag-default'.
7895 (find-tag-default): Move most code to `find-tag-default-bounds',
7896 call it and apply `buffer-substring-no-properties' afterwards.
7898 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7900 * eshell/em-term.el (eshell-term-initialize):
7901 Use `cl-intersection' rather than `intersection'.
7903 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7905 * vc/log-view.el: Doc fix.
7906 (log-view-mode-map): Copy keymap from `special-mode-map'.
7908 2013-06-02 Eric Ludlam <zappo@gnu.org>
7910 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7911 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7912 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7913 (eieio-unbound, eieio-default-superclass)
7914 (eieio--define-field-accessors, method-static, method-before)
7915 (method-primary, method-after, method-num-lists)
7916 (method-generic-before, method-generic-primary)
7917 (method-generic-after, method-num-slots)
7918 (eieio-specialized-key-to-generic-key)
7919 (eieio--check-type, class-v, class-p)
7920 (eieio-class-name, define-obsolete-function-alias)
7921 (eieio-class-parents-fast, eieio-class-children-fast)
7922 (same-class-fast-p, class-constructor, generic-p)
7923 (generic-primary-only-p, generic-primary-only-one-p)
7924 (class-option-assoc, class-option, eieio-object-p)
7925 (class-abstract-p, class-method-invocation-order)
7926 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7927 (eieio-class-un-autoload, eieio-defclass)
7928 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7929 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7930 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7931 (eieio-defgeneric-reset-generic-form)
7932 (eieio-defgeneric-form-primary-only)
7933 (eieio-defgeneric-reset-generic-form-primary-only)
7934 (eieio-defgeneric-form-primary-only-one)
7935 (eieio-defgeneric-reset-generic-form-primary-only-one)
7936 (eieio-unbind-method-implementations)
7937 (eieio--defmethod, eieio--typep)
7938 (eieio-perform-slot-validation, eieio-validate-slot-value)
7939 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7940 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7941 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7942 (eieio-slot-name-index, eieio-class-slot-name-index)
7943 (eieio-set-defaults, eieio-initarg-to-attribute)
7944 (eieio-attribute-to-initarg, eieio-c3-candidate)
7945 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7946 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7947 (eieio-class-precedence-list, eieio-generic-call-methodname)
7948 (eieio-generic-call-arglst, eieio-generic-call-key)
7949 (eieio-generic-call-next-method-list)
7950 (eieio-pre-method-execution-functions, eieio-generic-call)
7951 (eieio-generic-call-primary-only, eieiomt-method-list)
7952 (eieiomt-optimizing-obarray, eieiomt-install)
7953 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7954 (eieio-generic-form, eieio-defmethod, make-obsolete)
7955 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7956 (defclass): Remove `eval-and-compile' from macro.
7957 (call-next-method, shared-initialize): Instead of using
7958 `scoped-class' variable, use new eieio--scoped-class, and
7959 eieio--with-scoped-class.
7960 (initialize-instance): Rename local variable 'scoped-class' to
7961 'this-class' to remove ambiguitity from old global.
7963 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7965 (eieio--scoped-class-stack): New variable.
7966 (eieio--scoped-class): New fcn.
7967 (eieio--with-scoped-class): New scoping macro.
7968 (eieio-defclass): Use pushnew instead of add-to-list.
7969 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7970 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7971 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7972 `scoped-class' variable, use new eieio--scoped-class, and
7973 eieio--with-scoped-class.
7975 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7977 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7979 * eshell/esh-ext.el (eshell-external-command): Pass args to
7980 `eshell-find-interpreter'.
7981 (eshell-find-interpreter): Add new second parameter ARGS.
7983 * eshell/em-script.el (eshell-script-initialize): Add second arg
7984 to the function added as MATCH to `eshell-interpreter-alist'.
7986 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7987 the function added as MATCH to `eshell-interpreter-alist'.
7989 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7990 (eshell-visual-options): New defcustom.
7991 (eshell-escape-control-x): Adapt docstring.
7992 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7993 `eshell-visual-options' in addition to `eshell-visual-commands'.
7994 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7996 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7998 * progmodes/python.el (python-indent-block-enders): Add break,
7999 continue and raise keywords.
8001 2013-06-01 Glenn Morris <rgm@gnu.org>
8003 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8005 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8006 * progmodes/cc-cmds.el (delete-forward-p):
8007 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8008 * progmodes/cc-engine.el (buffer-syntactic-context):
8009 * progmodes/cc-fonts.el (face-property-instance):
8010 * progmodes/cc-mode.el (set-keymap-parents):
8011 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8012 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8013 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8014 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8015 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8017 * progmodes/cc-vars.el (other): Emacs has this widget since
8018 at least 21.1, so don't (re)define it.
8020 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8021 Replace the obsolete alias pcomplete-arg-quote-list.
8023 2013-06-01 Leo Liu <sdl.web@gmail.com>
8025 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8027 (inferior-octave-minimal-columns)
8028 (inferior-octave-last-column-width): New variables.
8029 (inferior-octave-track-window-width-change): New function.
8030 (inferior-octave-mode): Adjust column width so that Octave output,
8031 for example from 'ls', can fit into the window nicely.
8033 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8035 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8036 Highlight expansions inside regexp literals.
8038 2013-05-31 Glenn Morris <rgm@gnu.org>
8040 * obsolete/sym-comp.el (symbol-complete):
8041 Replace obsolete completion-annotate-function.
8043 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8045 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8047 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8048 New function, checks if point is inside a literal that allows
8049 expression expansion.
8050 (ruby-syntax-propertize-expansion): Use it.
8051 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8054 2013-05-30 Juri Linkov <juri@jurta.org>
8056 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8058 (isearch-invisible): New variable.
8059 (isearch-forward): Doc fix.
8060 (isearch-mode): Set `isearch-invisible'
8061 to the value of `search-invisible'.
8062 (isearch-toggle-case-fold): Doc fix.
8063 (isearch-toggle-invisible): New command.
8064 (isearch-query-replace): Let-bind `search-invisible'
8065 to the value of `isearch-invisible'.
8066 (isearch-search): Use `isearch-invisible' instead of
8067 `search-invisible'. Let-bind `search-invisible'
8068 to the value of `isearch-invisible'. (Bug#11378)
8070 2013-05-30 Juri Linkov <juri@jurta.org>
8072 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8073 call when `query-flag' is nil and `search-invisible' is non-nil.
8076 2013-05-30 Glenn Morris <rgm@gnu.org>
8078 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8080 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8081 (cc-require): Suppress spurious "noruntime" warnings.
8082 (cc-require-when-compile): Use fboundp, for sake of compiler.
8084 * progmodes/cc-mode.el: Move load of cc-vars before that of
8085 cc-langs (which in turn loads cc-vars), to quieten compiler.
8087 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8089 * paren.el: Simplify the code.
8090 (show-paren-mode): Always start the timer.
8091 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8092 (show-paren--overlay, show-paren--overlay-1): Rename from
8093 show-paren-overlay and show-paren-overlay-1, and initialize to an
8094 overlay rather than to nil.
8095 (show-paren-function): Misc cleanup and simplifications.
8097 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8099 * paren.el (show-paren-data-function): New hook.
8100 (show-paren--default): New function, extracted from show-paren-function.
8101 (show-paren-function): Use show-paren-data-function.
8103 2013-05-30 Glenn Morris <rgm@gnu.org>
8105 * ielm.el (ielm-map, ielm-complete-symbol):
8106 Use completion-at-point rather than obsolete functions.
8107 (inferior-emacs-lisp-mode): Doc fix.
8108 Set completion-at-point-functions, rather than
8109 comint-dynamic-complete-functions.
8111 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8112 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8113 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8115 * image.el (image-animated-p): Tweak definition.
8117 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8118 (rlogin-process-connection-type): Tweak default. Add set-after.
8119 (rlogin-host): Doc fix.
8120 (rlogin): Tweak prompt.
8121 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8123 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8124 * progmodes/tcl.el (inferior-tcl-mode-map):
8125 Use completion-at-point rather than obsolete alias.
8127 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8129 * minibuffer.el (read-file-name-completion-ignore-case):
8130 Move before completion--in-region, for eager macro expansion.
8132 2013-05-29 Juri Linkov <juri@jurta.org>
8134 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8135 for total count of matching lines. Add `global-matches' for total
8136 count of matches. Rename `matches' to `lines' for count of
8137 matching lines. Add `matches' for count of matches.
8138 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8139 to `prev-line' for line number of prev match endpt.
8140 Increment `matches' for every match. Print the number of
8141 matching lines in the header.
8142 (occur-context-lines): Rename `lines' to `curr-line'.
8143 Rename `prev-lines' to `prev-line'. (Bug#14017)
8145 2013-05-29 Juri Linkov <juri@jurta.org>
8147 * replace.el (perform-replace): Add `skip-read-only-count',
8148 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8149 Increment them for corresponding conditions and report the number
8150 of skipped occurrences in the final message. (Bug#11746)
8151 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8152 (replace-string, replace-regexp): Doc fix.
8154 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8156 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8158 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8159 prog-mode-map (bug#14504).
8161 2013-05-29 Leo Liu <sdl.web@gmail.com>
8163 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8164 (octave-help): Small simplification.
8166 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8167 off the highlight first.
8169 2013-05-29 Glenn Morris <rgm@gnu.org>
8171 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8172 Handle idlwave-last-system-routine-info-cons-cell being nil.
8174 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8175 (idlwave-write-paths): Simplify via with-temp-buffer.
8177 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8178 * emulation/cua-rect.el: Also load cua-base at run time.
8180 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8181 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8182 (cperl-imenu-on-info): Require imenu.
8184 2013-05-28 Alan Mackenzie <acm@muc.de>
8186 Handle "capitalised keywords" correctly.
8187 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8189 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8191 * eshell/em-unix.el: Add -r option to cp.
8193 2013-05-28 Glenn Morris <rgm@gnu.org>
8195 * vc/vc-arch.el (vc-exec-after): Declare.
8196 (vc-switches): Autoload.
8197 * vc/vc-bzr.el: No need to require vc when compiling.
8198 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8199 (vc-resynch-buffer, vc-dir-refresh): Declare.
8200 (vc-setup-buffer, vc-switches): Autoload.
8201 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8202 (vc-resynch-buffer): Declare.
8203 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8204 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8205 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8206 (grep-read-regexp, grep-read-files, grep-expand-template)
8207 (vc-dir-refresh): Declare.
8208 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8209 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8210 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8211 * vc/vc-mtn.el (vc-exec-after): Declare.
8212 (vc-switches): Autoload.
8213 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8214 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8215 (vc-file-tree-walk): Declare.
8216 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8217 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8218 (vc-tag-precondition, vc-rename-master): Autoload.
8219 * vc/vc-svn.el (vc-exec-after): Declare.
8220 (vc-switches, vc-setup-buffer): Autoload.
8221 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8223 (vc-resynch-buffer): Declare.
8225 * obsolete/fast-lock.el (byte-compile-warnings):
8226 Don't warn about obsolete features in this obsolete file.
8228 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8229 Move definition before use.
8231 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8232 (dun-unix-verbs): Remove dun-zippy.
8233 (dun-zippy): Remove function.
8235 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8237 2013-05-27 Juri Linkov <juri@jurta.org>
8239 * replace.el (replace-search): New function with code moved out
8240 from `perform-replace'.
8241 (replace-highlight, replace-dehighlight): Move function definitions
8242 up closer to `replace-search'. (Bug#11746)
8244 2013-05-27 Juri Linkov <juri@jurta.org>
8246 * replace.el (perform-replace): Ignore invisible matches.
8247 In addition to checking `query-replace-skip-read-only', also
8248 filter out matches by calling `run-hook-with-args-until-failure'
8249 on `isearch-filter-predicates', and also check `search-invisible'
8250 for t or call `isearch-range-invisible'.
8251 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8253 2013-05-27 Juri Linkov <juri@jurta.org>
8255 * isearch.el (isearch-filter-predicates): Rename from
8256 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8257 (isearch-message-prefix): Display text from the property
8258 `isearch-message-prefix' of the currently active filters.
8259 (isearch-search): Don't compare `isearch-filter-predicate' with
8260 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8261 on `isearch-filter-predicates'. Also check `search-invisible' for t
8262 or call `isearch-range-invisible'.
8263 (isearch-filter-visible): Make obsolete.
8264 (isearch-lazy-highlight-search):
8265 Call `run-hook-with-args-until-failure' on
8266 `isearch-filter-predicates' and use `isearch-range-invisible'.
8268 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8269 `isearch-filter-predicates' instead of `funcall'ing
8270 `isearch-filter-predicate'.
8271 (Info-mode): Set `Info-isearch-filter' to
8272 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8274 * dired-aux.el (dired-isearch-filter-predicate-orig):
8276 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8277 (dired-isearch-filenames-end): Add and remove
8278 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8279 instead of changing the value of `isearch-filter-predicate'.
8280 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8281 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8282 Put property `isearch-message-prefix' to "filename " on
8283 `dired-isearch-filter-filenames'.
8285 * wdired.el (wdired-change-to-wdired-mode):
8286 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8287 locally instead of changing `isearch-filter-predicate'.
8288 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8290 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8292 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8293 return the commit hash (Bug#14459). Also set the
8294 `vc-git-detached' property.
8295 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8296 (vc-git-mode-line-string): Use the same help-echo format whether
8297 in detached mode or not, because we know the actual revision now.
8298 When in detached mode, shorten the revision to 7 chars.
8300 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8302 * emacs-lisp/easy-mmode.el (define-minor-mode):
8303 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8304 mode hook and provide a docstring.
8306 2013-05-27 Alan Mackenzie <acm@muc.de>
8308 Remove spurious syntax-table text properties inserted by C-y.
8309 * progmodes/cc-mode.el (c-after-change): Also clear hard
8310 syntax-table property with value nil.
8312 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8314 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8315 when reading the events; the buffer layout shall not be changed.
8317 2013-05-27 Leo Liu <sdl.web@gmail.com>
8319 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8321 (inferior-octave-directory-tracker): Automatically re-sync
8323 (octave-help): Improve handling of 'See also'.
8325 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8327 * doc-view.el: Minor naming convention tweaks.
8328 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8330 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8331 even if there's no `display' property yet (bug#14435).
8333 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8335 * subr.el (unmsys--file-name): Rename from reveal-filename.
8337 * Makefile.in (custom-deps, finder-data, autoloads)
8338 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8339 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8340 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8342 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8344 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8345 error-completion on the first 2 args of condition-case (bug#14446).
8348 2013-05-25 Leo Liu <sdl.web@gmail.com>
8350 * comint.el (comint-previous-matching-input): Do not flood the
8351 *Messages* buffer with trivial messages.
8353 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8355 * progmodes/flymake.el (flymake-nop): Don't return a string.
8356 (flymake-set-at): Fix typo.
8358 * simple.el (read--expression): New function, extracted from
8359 eval-expression. Set completion-at-point-functions (bug#14465).
8360 (eval-expression, eval-minibuffer): Use it.
8362 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8364 * progmodes/flymake.el (flymake-save-buffer-in-file)
8365 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8366 (flymake-selected-frame, flymake-log, flymake-ins-after)
8367 (flymake-set-at, flymake-get-buildfile-from-cache)
8368 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8369 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8370 Refine the doc string.
8371 (flymake-get-file-name-mode-and-masks): Reformat.
8372 (flymake-get-real-file-name-function): Fix a minor bug.
8374 2013-05-24 Juri Linkov <juri@jurta.org>
8376 * progmodes/grep.el (grep-mode-font-lock-keywords):
8377 Support =linenumber= format used by git-grep for lines with
8378 function names. (Bug#13549)
8380 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8382 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8383 0 after a semi-colon; it works better for smie-auto-fill.
8384 (octave--indent-new-comment-line): New function.
8385 (octave-indent-new-comment-line): Use it (indirectly).
8386 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8387 modify comment-line-break-function.
8389 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8390 (smie-setup): Use add-function to set it.
8392 2013-05-24 Sam Steingold <sds@gnu.org>
8394 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8395 argument (before the `interactive' argument).
8397 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8399 * image-mode.el (image-mode-winprops): Add winprops to
8400 image-mode-winprops-alist before running
8401 image-mode-new-window-functions.
8402 * doc-view.el (doc-view-new-window-function): Don't delay
8403 doc-view-goto-page via timers (bug#14435).
8405 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8407 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8408 (doc-view-desktop-save-buffer): New function.
8409 (doc-view-restore-desktop-buffer): New function.
8410 (desktop-buffer-mode-handlers):
8411 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8413 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8414 `desktop-save-buffer' function.
8416 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8418 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8419 (tramp-gvfs-file-name-handler): Raise a user error when
8420 `tramp-gvfs-enabled' is nil.
8421 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8422 Do not raise a user error when loading package. (Bug#14447)
8424 * net/xesam.el: Move to obsolete/.
8426 2013-05-24 Glenn Morris <rgm@gnu.org>
8428 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8430 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8432 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8433 (Info-find-node, Man-getpage-in-background): Declare.
8435 * mail/unrmail.el (unrmail):
8436 Replace obsolete detect-coding-with-priority.
8438 * net/socks.el (socks-split-string): Use this rather than split-string.
8439 (socks-nslookup-host): Update for above change.
8440 (dynamic-choice, s5-dynamic-choice-match)
8441 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8442 Comment out unused code.
8444 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8445 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8446 (gud-tooltip-echo-area): Make obsolete.
8447 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8449 * progmodes/js.el (js--optimize-arglist): Declare.
8451 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8453 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8454 (ediff-window-C): Declare.
8456 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8457 Tweak requires to silence compiler.
8459 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8460 (he-search-string, he-tried-table, he-expand-list)
8461 (he-init-string, he-string-member, he-substitute-string)
8462 (he-reset-string): Declare.
8464 * obsolete/options.el (list-options): Use custom-variable-p,
8465 rather than obsolete alias.
8467 2013-05-23 Sam Steingold <sds@gnu.org>
8469 * simple.el (shell-command-on-region): Pass the `replace' argument
8470 down to `call-process-region' to comply with the doc as reported on
8471 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8473 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8475 * emacs-lisp/smie.el (smie-indent-forward-token)
8476 (smie-indent-backward-token): Handle string tokens (bug#14381).
8478 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8480 * ielm.el (ielm-menu): New menu.
8481 (inferior-emacs-lisp-mode): Set comment-start.
8483 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8485 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8486 Fix deactivate action.
8488 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8489 Add cleveref macros.
8491 * lisp/textmodes/reftex-parse.el
8492 (reftex-locate-bibliography-files): Accept options for
8493 bibliography commands.
8494 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8495 Add addbibresource. Basic Biblatex support.
8497 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8499 * net/tramp-gvfs.el (top):
8500 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8501 when loading package. (Bug#14447)
8503 2013-05-23 Glenn Morris <rgm@gnu.org>
8505 * progmodes/js.el: No need to load comint when compiling.
8506 (ring-insert, comint-send-string, comint-send-input)
8507 (comint-last-input-end, ido-chop): Declare.
8509 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8510 * vc/ediff-mult.el: Adjust requires.
8511 (ediff-directories-internal, ediff-directory-revisions-internal)
8512 (ediff-patch-file-internal): Declare.
8513 * vc/ediff-ptch.el: Adjust requires.
8514 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8515 (ediff-find-file): Autoload.
8516 * vc/ediff-util.el: No need to load ediff when compiling.
8517 (ediff-regions-internal): Declare.
8518 * vc/ediff-wind.el: Adjust requires.
8519 (ediff-compute-toolbar-width): Define when compiling.
8520 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8521 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8522 (dired-get-filename, dired-get-marked-files)
8523 (ediff-last-dir-patch, ediff-patch-default-directory)
8524 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8525 (ediff-patch-buffer-internal): Declare.
8527 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8528 (ispell-process, ispell-buffer-local-words, lm-summary)
8529 (lm-section-start, lm-section-end): Declare.
8530 (checkdoc-ispell-init): Simplify.
8532 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8533 (he-string-member, he-reset-string, he-substitute-string): Declare.
8535 * eshell/em-ls.el: Adjust requires.
8536 (eshell-glob-regexp): Declare.
8537 * eshell/em-tramp.el: Adjust requires.
8538 (eshell-parse-command): Autoload.
8539 * eshell/em-xtra.el: Adjust requires.
8540 (eshell-parse-command): Autoload.
8541 * eshell/esh-ext.el: Adjust requires.
8542 (eshell-parse-command, eshell-close-handles): Autoload.
8543 * eshell/esh-io.el: Adjust requires.
8544 (eshell-output-filter): Autoload.
8545 * eshell/esh-util.el: No need to load tramp when compiling.
8546 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8548 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8549 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8550 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8551 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8552 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8553 * eshell/esh-opt.el, eshell/esh-proc.el:
8554 * eshell/esh-var.el: Adjust requires.
8555 * eshell/eshell.el: Do not require esh-util twice.
8556 (eshell-add-input-to-history): Declare.
8557 (eshell-command): Check history module is active before using it.
8559 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8561 2013-05-22 Leo Liu <sdl.web@gmail.com>
8563 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8565 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8567 * autorevert.el (auto-revert-notify-add-watch)
8568 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8569 it indicates changes in file modification time.
8571 2013-05-22 Glenn Morris <rgm@gnu.org>
8573 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8574 Always delete the autoloaded function from the noruntime and
8575 unresolved functions lists.
8577 * allout.el: No need to load epa, epg, overlay when compiling.
8578 (epg-context-set-passphrase-callback, epg-list-keys)
8579 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8580 (epg-key-user-id-list): Declare.
8582 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8583 (viper-set-parsing-style-toggling-macro)
8584 (viper-set-emacs-state-searchstyle-macros):
8585 Use called-interactively-p on Emacs.
8586 (viper-looking-back): Make it an obsolete alias. Update callers.
8587 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8588 Use looking-back rather than viper-looking-back.
8589 (viper-tmp-insert-at-eob, viper-enlarge-region)
8590 (viper-read-string-with-history, viper-register-to-point)
8591 (viper-append-to-register, viper-change-state-to-vi)
8592 (viper-backward-char-carefully, viper-forward-char-carefully)
8593 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8594 (viper-change-state-to-emacs): Declare.
8595 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8596 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8597 * emulation/viper-mous.el: Do not load viper-cmd.
8598 (viper-backward-char-carefully, viper-forward-char-carefully)
8599 (viper-forward-word, viper-adjust-window): Declare.
8601 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8603 * progmodes/idlw-help.el (idlwave-help-fontify):
8604 Use called-interactively-p.
8606 * term/w32console.el (w32-get-console-codepage)
8607 (w32-get-console-output-codepage): Declare.
8609 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8610 Remove unnecessary declarations.
8611 (dframe-message): Doc fix.
8613 * info.el (dframe-select-attached-frame, dframe-current-frame):
8616 * speedbar.el (speedbar-message): Make it an obsolete alias.
8618 (speedbar-with-attached-buffer)
8619 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8620 (speedbar-with-writable): Use backquote.
8621 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8622 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8623 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8624 rather than speedbar- aliases.
8625 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8626 (speedbar-make-specialized-keymap, speedbar-insert-button)
8627 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8628 (speedbar-do-function-pointer): Declare.
8629 (rmail-speedbar-button, rmail-speedbar-find-file)
8630 (rmail-speedbar-move-message):
8631 Use dframe-with-attached-buffer rather than speedbar- alias.
8632 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8633 (dframe-message, speedbar-make-specialized-keymap)
8634 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8635 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8636 (speedbar-insert-button, dframe-select-attached-frame)
8637 (dframe-maybee-jump-to-attached-frame)
8638 (speedbar-change-initial-expansion-list)
8639 (speedbar-previously-used-expansion-list-name): Declare.
8640 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8641 Use dframe-message, dframe-with-attached-buffer rather than
8643 (gud-sentinel): Silence compiler.
8644 * progmodes/vhdl-mode.el (speedbar-refresh)
8645 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8646 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8647 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8648 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8649 (speedbar-file-lists, speedbar-make-tag-line)
8650 (speedbar-line-directory, speedbar-goto-this-file)
8651 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8652 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8653 (speedbar-make-button, speedbar-reset-scanners)
8654 (speedbar-files-item-info, speedbar-line-text)
8655 (speedbar-find-file-in-frame, speedbar-set-timer)
8656 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8657 (speedbar-with-writable): Do not (re)define it.
8658 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8659 rather than speedbar- alias.
8661 2013-05-21 Leo Liu <sdl.web@gmail.com>
8663 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8665 (octave-mode): Tweak fill-nobreak-predicate.
8666 (inferior-octave-startup): Check process to avoid infinite loop.
8667 (inferior-octave): Pop to buffer first to show abornmal process
8670 2013-05-21 Glenn Morris <rgm@gnu.org>
8672 * printing.el (pr-menu-bar): Define when compiling.
8674 2013-05-21 Leo Liu <sdl.web@gmail.com>
8676 * progmodes/octave.el (octave-auto-fill): Remove.
8677 (octave-indent-new-comment-line): Improve.
8678 (octave-mode): Use auto fill mode through
8679 comment-line-break-function and fill-nobreak-predicate.
8680 (octave-goto-function-definition): Support DEFUN_DLD.
8681 (octave-beginning-of-defun): Small tweak.
8682 (octave-help): Show parent directory.
8684 2013-05-21 Glenn Morris <rgm@gnu.org>
8686 * files.el (dired-unmark):
8687 * progmodes/gud.el (gdb-input): Update declarations.
8689 * calculator.el (electric, ehelp): No need to load when compiling.
8690 (Electric-command-loop, electric-describe-mode): Declare.
8692 * doc-view.el (doc-view-current-converter-processes): Move before use.
8694 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8695 Move MODE-set-explicitly definition before use.
8697 * international/mule-diag.el (mule-diag):
8698 Don't use obsolete window-system-version.
8700 * mail/feedmail.el (smtpmail): No need to load when compiling.
8701 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8703 * mail/mail-utils.el (rfc822): No need to load when compiling.
8704 (rfc822-addresses): Autoload it.
8705 (mail-strip-quoted-names): Trivial simplification.
8707 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8708 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8710 * net/snmp-mode.el (tempo): Don't duplicate requires.
8712 * progmodes/prolog.el (info): No need to load when compiling.
8713 (comint): Require before shell requires it.
8714 (Info-goto-node): Autoload it.
8715 (Info-follow-nearest-node): Declare.
8716 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8718 * textmodes/artist.el (picture-mode-exit): Declare.
8720 * textmodes/reftex-parse.el (reftex-parse-from-file):
8721 Trivial rewrite so the compiler can parse it better.
8723 2013-05-20 Leo Liu <sdl.web@gmail.com>
8725 * progmodes/octave.el (octave-help-mode-map)
8726 (octave-help-mode-finish-hook): New variables.
8727 (octave-help-mode, octave-help-mode-finish): New functions.
8728 (octave-help): Use octave-help-mode.
8730 2013-05-20 Glenn Morris <rgm@gnu.org>
8732 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8734 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8736 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8737 start at point, so that expansion starting right after opening
8738 slash in a regexp is recognized.
8739 (ruby-syntax-before-regexp-re): New defvar, extracted from
8740 ruby-syntax-propertize-function. Since the value of this regexp
8741 is looked up at runtime now, we should be able to turn
8742 `ruby-syntax-methods-before-regexp' into a defcustom later.
8743 (ruby-syntax-propertize-function): Split regexp matching into two
8744 parts, for opening and closing slashes. That allows us to skip
8745 over string interpolations and support multiline regexps.
8746 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8747 for them, which calls `ruby-syntax-propertize-expansion'.
8748 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8749 call to `ruby-syntax-propertize-function'.
8750 (ruby-syntax-propertize-expansion): Extracted from
8751 `ruby-syntax-propertize-expansions'. Handles one expansion.
8752 (ruby-syntax-propertize-percent-literal): Leave point right after
8753 the percent symbol, so that the expression expansion rule can
8754 propertize the contents.
8755 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8757 (ruby-syntax-propertize-expansions): Remove.
8759 2013-05-18 Juri Linkov <juri@jurta.org>
8761 * man.el (Man-default-man-entry): Remove `-' from the end
8762 of the default value. (Bug#14400)
8764 2013-05-18 Glenn Morris <rgm@gnu.org>
8766 * comint.el (comint-password-prompt-regexp):
8767 Allow "password for XXX" where XXX contains colons (eg https://...).
8769 2013-05-18 Leo Liu <sdl.web@gmail.com>
8771 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8772 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8773 (octave-source-directories): Don't check process.
8774 (octave-source-directories, octave-find-definition): Doc fix.
8776 2013-05-18 Glenn Morris <rgm@gnu.org>
8778 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8779 Remove backspace/delete bindings. (Bug#14392)
8781 * cus-dep.el (custom-make-dependencies): Sort the output.
8782 (custom-versions-load-alist): Convert comment to doc.
8784 2013-05-17 Leo Liu <sdl.web@gmail.com>
8786 * newcomment.el (comment-search-backward): Stricter in finding
8787 comment start. (Bug#14303)
8789 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8790 (octave-comment-start-skip): Properly anchored.
8792 2013-05-17 Leo Liu <sdl.web@gmail.com>
8794 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8795 Clean up when turned off. (Bug#14395)
8796 (smie--highlight-matching-block-overlay): No longer buffer-local.
8797 (smie-highlight-matching-block): Adjust.
8799 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8801 Doc string fix for "nanoseconds" (Bug#14406).
8802 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8803 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8805 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8807 * calc/calc-units.el (math-extract-units): Preserve powers
8810 2013-05-17 Leo Liu <sdl.web@gmail.com>
8812 * subr.el (delete-consecutive-dups): New function.
8813 * ido.el (ido-set-matches-1): Use it.
8814 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8815 * ido.el (ido-remove-consecutive-dups): Remove.
8817 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8819 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8820 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8821 regexp-opt's `words'.
8823 2013-05-16 Leo Liu <sdl.web@gmail.com>
8825 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8826 (smie--highlight-matching-block-overlay)
8827 (smie--highlight-matching-block-lastpos)
8828 (smie--highlight-matching-block-timer): New variables.
8829 (smie-highlight-matching-block): New function.
8830 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8831 (smie-setup): Conditionally enable smie-blink-matching-open.
8833 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8835 Sync with upstream verilog-mode r840.
8836 * progmodes/verilog-mode.el (verilog-mode-version)
8837 (verilog-mode-release-date): Update.
8838 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8839 (verilog-sig-tieoff): Fix string error on
8840 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8841 (verilog-read-decls): Fix parameters confusing
8842 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8844 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8846 * subr.el (reveal-filename): New function.
8848 * loadup.el: Compute Emacs executable versions on MS-Windows,
8849 where executables have the .exe extension. Add a hard link
8850 emacs-XX.YY.ZZ.exe on MS-Windows.
8852 * Makefile.in (XARGS_LIMIT): New variable.
8853 (custom-deps, finder-data, autoloads)
8854 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8855 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8856 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8857 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8859 2013-05-16 Leo Liu <sdl.web@gmail.com>
8861 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8862 (octave-mode-menu, octave-mode-map): Remove its uses.
8864 2013-05-16 Reto Zimmermann <reto@gnu.org>
8866 Sync with upstream vhdl mode v3.34.2.
8867 * progmodes/vhdl-mode.el: Use `push' throughout.
8868 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8869 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8870 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8871 (vhdl-actual-generic-name): New option to derive actual generic name.
8872 (vhdl-port-paste-signals): Replace formal by actual generics.
8873 (vhdl-beautify): New name for old group vhdl-align. Update users.
8874 (vhdl-beautify-options): New option.
8875 (vhdl-last-input-event): New compat alias. Use throughout.
8876 (vhdl-goto-line): Replace user level function `goto-line'.
8877 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8878 vhdl-fix-statement-buffer.
8879 (vhdl-create-mode-menu): Add some entries.
8880 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8881 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8882 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8883 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8884 to force statements on one line.
8885 (vhdl-remove-trailing-spaces-region):
8886 New, split from vhdl-remove-trailing-spaces.
8887 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8888 Respect vhdl-beautify-options.
8889 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8890 (vhdl-update-sensitivity-list): Not add with index if exists without.
8891 Not include array index with signal. Ignore keywords in comments.
8892 (vhdl-get-visible-signals): Regexp tweaks.
8893 (vhdl-template-component-inst): Handle empty library.
8894 (vhdl-template-type): Add template for 'enum' type.
8895 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8896 Use vhdl-replace-string.
8897 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8898 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8899 (vhdl-speedbar-initialize): Update for above name change.
8900 (vhdl-compose-wire-components): Fix in handling of constants.
8901 (vhdl-error-regexp-emacs-alist): New variable.
8902 (vhdl-error-regexp-add-emacs): New function;
8903 adds support for new compile.el (Emacs 22+)
8904 (vhdl-generate-makefile-1): Change target order for single lib. units.
8905 Allow use of absolute file names.
8907 2013-05-16 Leo Liu <sdl.web@gmail.com>
8909 * simple.el (prog-indent-sexp): Indent enclosing defun.
8911 2013-05-15 Glenn Morris <rgm@gnu.org>
8913 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8914 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8915 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8916 (whitespace-highlight): Move to whitespace group.
8918 * comint.el (comint-source):
8919 * pcmpl-linux.el (pcmpl-linux):
8920 * shell.el (shell-faces):
8921 * eshell/esh-opt.el (eshell-opt):
8922 * international/ccl.el (ccl): Remove empty custom groups.
8924 * completion.el (dynamic-completion-mode):
8925 * jit-lock.el (jit-lock-debug-mode):
8926 * minibuffer.el (completion-in-region-mode):
8927 * type-break.el (type-break-mode-line-message-mode)
8928 (type-break-query-mode):
8929 * emulation/tpu-edt.el (tpu-edt-mode):
8930 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8931 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8932 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8934 * term/xterm.el (xterm): Change parent group to terminals.
8936 * master.el (master): Remove empty custom group.
8937 (master-mode): Remove unused :group argument.
8938 * textmodes/refill.el (refill): Remove empty custom group.
8939 (refill-mode): Remove unused :group argument.
8941 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8943 * cus-dep.el: Provide a feature.
8944 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8945 Don't mistakenly ignore files whose basenames match a basename
8946 from preloaded-file-list (eg cedet/ede/simple.el).
8947 Add a fallback method for getting :group.
8949 2013-05-15 Juri Linkov <juri@jurta.org>
8951 * isearch.el (isearch-char-by-name): Rename from
8952 `isearch-insert-char-by-name'. Doc fix.
8953 (isearch-forward): Mention `isearch-char-by-name' in
8954 the docstring. (Bug#13348)
8956 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8957 `exit-minibuffer' instead of
8958 `isearch-nonincremental-exit-minibuffer'.
8959 (isearch-edit-string): Remove mention of
8960 `isearch-nonincremental-exit-minibuffer' from docstring.
8961 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8962 (isearch-forward-exit-minibuffer)
8963 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8965 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8967 * loadup.el: Just use unversioned DOC.
8969 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8970 literals as extending to EOB.
8971 (nxml-last-fontify-end): Remove unused variable.
8972 (nxml-after-change1): Use with-silent-modifications.
8973 (nxml-extend-after-change-region): Simplify.
8974 (nxml-extend-after-change-region1): Remove function.
8975 (nxml-after-change1): Don't adjust for dependent regions.
8976 (nxml-fontify-matcher): Simplify.
8977 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8978 (xmltok-add-dependent): Remove function.
8979 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8980 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8981 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8982 unclosed <[[, <?, comment, and other literals as extending to EOB.
8983 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8984 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8986 (rng-do-some-validation-1): Don't mark dependent regions.
8987 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8988 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8989 (nxml-clear-dependent-regions): Remove functions.
8990 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8991 (nxml-ensure-scan-up-to-date):
8992 Don't clear&mark dependent regions.
8994 2013-05-15 Leo Liu <sdl.web@gmail.com>
8996 * progmodes/octave.el (octave-goto-function-definition):
8997 Improve and fix callers.
8999 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9001 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9002 the setter (bug#14387).
9004 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9005 surrounding group (bug#14402).
9007 2013-05-14 Juri Linkov <juri@jurta.org>
9009 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9012 2013-05-14 Glenn Morris <rgm@gnu.org>
9014 * progmodes/f90.el (f90-imenu-generic-expression):
9015 Fix typo in 2013-05-08 change. (Bug#14402)
9017 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9019 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9020 Remove signals for which replies are never received.
9022 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9024 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9025 (gdb-handler-alist, gdb-handler-number): Remove variables.
9026 (gdb-handler-list): New variable.
9027 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9028 (gdb-pending-handler-p, gdb-handle-reply)
9029 (gdb-remove-all-pending-triggers): New functions.
9030 (gdb-discard-unordered-replies): New defcustom.
9031 (gdb-handler): New defstruct.
9032 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9033 instead of gdb-pending-triggers. Update docstring.
9034 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9035 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9036 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9037 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9038 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9039 (gdb-frame-handler): Pending triggers are now automatically managed.
9040 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9042 (gdb-input): Automatically handles pending triggers. Update docstring.
9043 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9044 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9046 (gdb-done-or-error): Now use gdb-handle-reply.
9048 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9050 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9053 2013-05-14 Glenn Morris <rgm@gnu.org>
9055 * subr.el (user-emacs-directory-warning): New option.
9056 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9058 2013-05-14 Leo Liu <sdl.web@gmail.com>
9060 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9062 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9063 (octave-font-lock-texinfo-comment): Fix invalid search bound
9064 error: wrong side of point.
9066 2013-05-14 Glenn Morris <rgm@gnu.org>
9068 * progmodes/flymake.el (flymake-xml-program): New option.
9069 (flymake-xml-init): Use it.
9071 * term/xterm.el: Provide a feature.
9073 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9075 2013-05-13 Glenn Morris <rgm@gnu.org>
9077 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9078 Add compat aliases as a hack workaround. (Bug#14384)
9080 2013-05-13 Leo Liu <sdl.web@gmail.com>
9082 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9084 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9086 (octave-comment-start-skip): Include %!.
9087 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9089 2013-05-12 Leo Liu <sdl.web@gmail.com>
9091 * progmodes/octave.el (inferior-octave-startup): Store the value
9092 of __octave_srcdir__ for octave-source-directories.
9093 (inferior-octave-check-process): New function refactored out of
9094 inferior-octave-send-list-and-digest.
9095 (octave-source-directories)
9096 (octave-find-definition-filename-function): New variables.
9097 (octave-source-directories)
9098 (octave-find-definition-default-filename): New functions.
9099 (octave-find-definition): Improve to find functions implemented in C++.
9101 2013-05-12 Glenn Morris <rgm@gnu.org>
9103 * calendar/diary-lib.el (diary-outlook-format-1):
9104 Don't include dayname in the output. (Bug#14349)
9106 2013-05-11 Glenn Morris <rgm@gnu.org>
9108 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9110 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9111 Treat cc-provide like provide.
9113 2013-05-11 Kevin Ryde <user42@zip.com.au>
9115 * cus-dep.el (custom-make-dependencies):
9116 Use generated-autoload-load-name for the sake of files such
9117 such cedet/semantic/bovine/c.el, where the base file name
9118 is not in load-path. (Bug#5277)
9120 2013-05-11 Glenn Morris <rgm@gnu.org>
9122 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9125 2013-05-11 Leo Liu <sdl.web@gmail.com>
9127 * progmodes/octave.el (octave-indent-comment): Improve.
9128 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9129 (octave-eldoc-function-signatures, octave-eldoc-function):
9131 (octave-mode, inferior-octave-mode): Add eldoc support.
9133 2013-05-11 Richard Stallman <rms@gnu.org>
9135 * epa.el (epa-decrypt-file): Take output file name as argument
9136 and read it using `interactive'.
9138 2013-05-11 Leo Liu <sdl.web@gmail.com>
9140 * progmodes/octave.el (octave-beginning-of-line)
9141 (octave-end-of-line): Check before using up-list because it jumps
9142 out of more syntactic contructs since moving to smie.
9143 (octave-indent-comment): New function.
9144 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9145 (octave-begin-keywords, octave-end-keywords)
9146 (octave-reserved-words, octave-smie-bnf-table)
9147 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9149 2013-05-11 Glenn Morris <rgm@gnu.org>
9151 * faces.el (internal-face-x-get-resource):
9152 * frame.el (ns-display-monitor-attributes-list):
9153 * calc/calc-aent.el (math-to-radians-2):
9154 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9157 * calc/calc-menu.el: Make it loadable in isolation.
9159 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9160 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9161 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9162 (eudc-bbdb-query-internal): Require 'bbdb.
9164 * lpr.el (lpr-headers-switches):
9165 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9167 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9169 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9171 * term.el (term-set-escape-char): Make it idempotent.
9173 2013-05-10 Leo Liu <sdl.web@gmail.com>
9175 * progmodes/octave.el (inferior-octave-completion-table):
9176 No longer a function and all uses changed. Use cache to speed up
9177 completion due to bug#11906.
9178 (octave-beginning-of-defun): Re-write to be more general.
9180 2013-05-10 Glenn Morris <rgm@gnu.org>
9182 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9184 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9186 * comint.el (comint-redirect-send-command-to-process): Use :around
9187 rather than :override for comint-redirect-filter.
9188 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9189 Call it instead of comint-redirect-original-filter-function (which
9190 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9192 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9194 * frame.el (display-monitor-attributes-list): Add NS case.
9195 (ns-display-monitor-attributes-list): Declare.
9197 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9199 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9201 2013-05-09 Glenn Morris <rgm@gnu.org>
9203 * international/fontset.el (vertical-centering-font-regexp):
9206 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9208 * bookmark.el (bookmark-search-delay):
9209 * cus-start.el (vertical-centering-font-regexp):
9210 * ps-mule.el (ps-mule-font-info-database-default):
9211 * ps-print.el (ps-default-fg, ps-default-bg):
9212 * type-break.el (type-break-good-break-interval):
9213 * whitespace.el (whitespace-indentation-regexp)
9214 (whitespace-space-after-tab-regexp):
9215 * emacs-lisp/testcover.el (testcover-1value-functions)
9216 (testcover-noreturn-functions, testcover-progn-functions)
9217 (testcover-prog1-functions):
9218 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9219 * eshell/em-glob.el (eshell-glob-translate-alist):
9220 * play/tetris.el (tetris-tty-colors):
9221 * progmodes/cpp.el (cpp-face-default-list):
9222 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9223 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9224 (idlwave-help-browser-generic-args):
9225 * progmodes/make-mode.el (makefile-special-targets-list):
9226 * progmodes/python.el (python-shell-virtualenv-path):
9227 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9228 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9229 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9230 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9231 * textmodes/reftex-vars.el (reftex-format-label-function):
9232 * textmodes/remember.el (remember-diary-file): Fix custom types.
9234 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9237 2013-05-09 Leo Liu <sdl.web@gmail.com>
9239 * progmodes/octave.el (inferior-octave-completion-at-point):
9240 Restore file completion. (Bug#14300)
9241 (inferior-octave-startup): Fix incorrect highlighting for the
9244 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9246 * progmodes/ruby-mode.el: First cut at SMIE support.
9247 (ruby-use-smie): New var.
9248 (ruby-smie-grammar): New constant.
9249 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9250 (ruby-smie--forward-token, ruby-smie--backward-token)
9251 (ruby-smie-rules): New functions.
9252 (ruby-mode-variables): Setup SMIE if applicable.
9254 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9256 * simple.el (line-move-visual): Signal beginning/end of buffer
9257 only if vertical-motion moved less than it was requested. Avoids
9258 silly incorrect error messages when there are display strings with
9259 multiple newlines at EOL.
9261 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9263 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9264 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9265 (prolog-char-quote-workaround):
9266 * progmodes/cperl-mode.el (cperl-under-as-char):
9267 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9269 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9271 (vhdl-mode-syntax-table-init): Remove.
9273 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9276 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9278 (ld-script-font-lock-keywords):
9279 Change regexps to use things like \_< and \_>.
9281 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9282 Change all regexps to use things like \_< and \_>.
9284 * progmodes/autoconf.el (autoconf-definition-regexp)
9285 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9286 Handle a _ with symbol syntax.
9287 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9289 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9290 Consolidate declaration.
9291 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9293 (ada-create-syntax-table): Remove.
9294 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9295 already has the right syntax nowadays.
9296 (ada-goto-next-word): Don't change the syntax of "_".
9298 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9301 2013-05-08 Sam Steingold <sds@gnu.org>
9303 * thingatpt.el (thing-at-point): Accept optional second argument
9304 NO-PROPERTIES to strip the text properties from the return value.
9305 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9306 to `thing-at-point' instead of stripping the properties ourselves.
9307 Also, when `thing-at-point' fails to find a url, prepend "http://"
9308 to the filename at point on the assumption that the user is
9309 pointing at something like gnu.org/gnu.
9311 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9313 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9314 * faces.el (crm-separator):
9315 Silence byte-compiler.
9317 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9318 (tool-bar-map): Remove unneeded defvars.
9320 2013-05-08 Leo Liu <sdl.web@gmail.com>
9322 Re-work a fix for bug#10994 based on Le Wang's patch.
9323 * ido.el (ido-remove-consecutive-dups): New helper.
9324 (ido-completing-read): Use it.
9325 (ido-chop): Revert fix for bug#10994.
9327 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9329 * cus-edit.el (custom-save-variables):
9330 Pretty-print long values. (Bug#14187)
9332 2013-05-08 Glenn Morris <rgm@gnu.org>
9334 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9335 (m4-mode-syntax-table): Init in the defvar.
9336 (m4-mode-abbrev-table): Let define-derived-mode define it.
9338 2013-05-08 Tom Tromey <tromey@redhat.com>
9340 * progmodes/m4-mode.el (m4-mode-syntax-table):
9341 Do not treat "_" as word constituent. (Bug#14167)
9343 2013-05-07 Glenn Morris <rgm@gnu.org>
9345 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9346 Remove explicit eshell-isearch-cancel-map.
9348 * progmodes/f90.el (f90-smart-end-names): New option.
9349 (f90-smart-end): Doc fix.
9350 (f90-end-block-optional-name): New constant.
9351 (f90-block-match): Respect f90-smart-end-names.
9353 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9355 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9356 about implicit semi-colons (bug#14218).
9358 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9360 * frame.el (display-monitor-attributes-list)
9361 (frame-monitor-attributes): New functions.
9363 2013-05-06 Leo Liu <sdl.web@gmail.com>
9365 * progmodes/octave.el (octave-syntax-propertize-function): Change
9366 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9367 (octave-font-lock-keywords): Use octave-operator-regexp.
9368 (octave-completion-at-point): Rename from
9369 octave-completion-at-point-function.
9370 (inferior-octave-directory-tracker): Robustify.
9371 (octave-text-functions): Remove and fix its uses. No such things
9374 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9376 * emacs-lisp/trace.el (trace--display-buffer): New function.
9377 (trace-make-advice): Use it.
9379 2013-05-06 Juri Linkov <juri@jurta.org>
9381 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9382 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9384 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9385 in the help string. (Bug#12985)
9387 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9389 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9391 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9393 * progmodes/perl-mode.el: Add support for here documents.
9394 (perl-syntax-propertize-function): Match here-doc markers.
9395 (perl-syntax-propertize-special-constructs): Find their end.
9396 (perl-imenu-generic-expression): Use [:alnum:].
9398 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9399 (advice--add-function): Refresh the advice if already present
9402 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9404 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9406 2013-05-06 Glenn Morris <rgm@gnu.org>
9408 * w32-fns.el (w32-charset-info-alist): Declare.
9410 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9411 of its defcustom properties.
9412 (eshell-cmpl-initialize): No need to load pcomplete.
9414 * generic-x.el: No need to require comint when compiling.
9416 * net/eudc-export.el: Make it loadable without bbdb.
9417 (top-level): Use require rather than load-library.
9418 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9419 (eudc-batch-export-records-to-bbdb)
9420 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9423 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9425 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9426 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9427 some tweaks, instead.
9429 2013-05-05 Leo Liu <sdl.web@gmail.com>
9431 * progmodes/octave.el (octave-font-lock-keywords)
9432 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9433 (inferior-octave-send-list-and-digest): Improve error message.
9434 (octave-mode, inferior-octave-mode): Use setq-local.
9435 (octave-help): Set info-lookup-mode.
9437 2013-05-05 Richard Stallman <rms@gnu.org>
9439 * vc/compare-w.el (compare-windows-whitespace):
9440 Treat no-break space as whitespace.
9442 * mail/rmailsum.el (rmail-summary-rmail-update):
9443 Detect empty summary and don't change selected message.
9444 (rmail-summary-goto-msg): Likewise.
9446 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9447 Doc fixes, rename args.
9449 2013-05-05 Alan Mackenzie <acm@muc.de>
9451 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9453 2013-05-05 Juri Linkov <juri@jurta.org>
9455 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9456 to not add the length of the summary segment to the return value.
9459 2013-05-05 Leo Liu <sdl.web@gmail.com>
9461 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9462 (inferior-octave-output-filter): Remove.
9463 (octave-send-region, inferior-octave-startup): Fix callers.
9464 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9465 (octave-binary-file-extensions): New user variable.
9466 (octave-find-definition): Confirm if opening binary files.
9467 (octave-help-file): Use octave-find-definition to get the binary
9469 (octave-help): Adjust for octave-help-file change.
9471 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9473 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9474 Merge the two entries that handle function definitions.
9475 (pascal--syntax-propertize): New const.
9476 (pascal-mode): Use it. Use setq-local.
9478 2013-05-04 Glenn Morris <rgm@gnu.org>
9480 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9481 (diary-from-outlook): Respect diary-from-outlook-function.
9483 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9485 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9486 Move the declaration from C.
9487 (read-minibuffer, eval-minibuffer): Move from C.
9488 (completion-setup-function): Avoid minibuffer-completion-contents.
9490 2013-05-03 Leo Liu <sdl.web@gmail.com>
9492 * progmodes/octave.el (octave-font-lock-keywords): Do not
9493 dehighlight 'end' in comments or strings.
9494 (octave-completing-read, octave-goto-function-definition):
9496 (octave-help-buffer): New user variable.
9497 (octave-help-file, octave-help-function): New button types.
9498 (octave-help): New command and bind it to C-h ;.
9499 (octave-find-definition): New command and bind it to M-.
9500 (user-error): Alias to error if not defined.
9502 2013-05-02 Leo Liu <sdl.web@gmail.com>
9504 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9506 (octave-font-lock-keywords): Include [ and {.
9508 2013-05-02 Leo Liu <sdl.web@gmail.com>
9510 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9511 (inferior-octave): Remove calling comint-mode and return the buffer.
9512 (inferior-octave-startup): Cosmetic changes.
9514 2013-05-02 Leo Liu <sdl.web@gmail.com>
9516 * progmodes/octave.el (octave-syntax-propertize-function):
9517 Include the case when ' is at line beginning. (Bug#14336)
9519 2013-05-02 Glenn Morris <rgm@gnu.org>
9521 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9522 * desktop.el (vc-dir-mode): Just autoload it here.
9524 2013-05-02 Alan Mackenzie <acm@muc.de>
9526 Eliminate variable c-standard-font-lock-fontify-region-function.
9527 * progmodes/cc-mode.el
9528 (c-standard-font-lock-fontify-region-function): Remove.
9529 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9531 2013-05-01 Leo Liu <sdl.web@gmail.com>
9533 * progmodes/octave.el: Compatible with older emacs-24 releases.
9534 (inferior-octave-has-built-in-variables): Remove. Built-in
9535 variables were removed from Octave in 2007.
9536 (inferior-octave-startup): Fix uses.
9537 (comint-line-beginning-position): Remove compatibility code for
9540 2013-05-01 Juri Linkov <juri@jurta.org>
9542 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9544 2013-05-01 Juri Linkov <juri@jurta.org>
9546 * comint.el (comint-previous-matching-input): Don't print message
9547 "History item: %d" when `isearch-mode' is active.
9548 (comint-history-isearch-message): Print message "History item: %d"
9549 when `comint-input-ring-index' is not empty and this function is
9550 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9552 2013-05-01 Leo Liu <sdl.web@gmail.com>
9554 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9555 definitions. Use completion-at-point to insert keywords.
9556 (octave-abbrev-start): Remove.
9557 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9559 2013-04-30 Leo Liu <sdl.web@gmail.com>
9561 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9564 2013-04-30 Alan Mackenzie <acm@muc.de>
9566 Handle arbitrarily long C++ member initialisation lists.
9567 * progmodes/cc-engine.el (c-back-over-member-initializers):
9569 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9570 (most) member init lists.
9572 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9574 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9577 2013-04-30 Leo Liu <sdl.web@gmail.com>
9579 * progmodes/octave.el (octave-variables): Remove. No builtin
9580 variables any more. All converted to functions.
9581 (octave-font-lock-keywords, octave-completion-at-point-function):
9583 (octave-font-lock-texinfo-comment): New user variable.
9584 (octave-texinfo-font-lock-keywords): New variable for texinfo
9586 (octave-function-comment-block): New face.
9587 (octave-font-lock-texinfo-comment): New function.
9588 (octave-mode): Font lock texinfo comment block.
9590 2013-04-29 Leo Liu <sdl.web@gmail.com>
9592 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9593 indexing expression.
9594 (octave-continuation-string): Do not use \.
9595 (inferior-octave-complete-impossible): Remove.
9596 (inferior-octave-completion-table)
9597 (inferior-octave-completion-at-point): Remove its uses.
9598 (inferior-octave-startup): completion_matches was introduced to
9599 Octave in 1996 so safe to assume it.
9600 (octave-function-file-comment): Improve to follow how Octave does it.
9601 (octave-update-function-file-comment): Tweak.
9603 2013-04-29 Leo Liu <sdl.web@gmail.com>
9605 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9606 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9607 (octave-function-file-comment): Fix typo.
9608 (octave-sync-function-file-names): Use read-char-choice.
9610 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9612 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9613 to t for the less important warnings.
9615 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9617 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9619 2013-04-27 Glenn Morris <rgm@gnu.org>
9621 * vc/log-view.el (log-view-current-entry):
9622 Treat "---" separator lines as part of the following rev. (Bug#14169)
9624 2013-04-27 Juri Linkov <juri@jurta.org>
9626 * subr.el (read-number): Doc fix about using it by interactive
9627 code letter `n'. (Bug#14254)
9629 2013-04-27 Juri Linkov <juri@jurta.org>
9631 * desktop.el (desktop-auto-save-timeout): New option.
9632 (desktop-file-checksum): New variable.
9633 (desktop-save): Add optional arg `auto-save' and don't auto-save
9635 (desktop-auto-save-timer): New variable.
9636 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9637 (after-init-hook): Call `desktop-auto-save-set-timer'.
9638 Suggested by Reuben Thomas <rrt@sc3d.org> in
9639 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9641 2013-04-27 Leo Liu <sdl.web@gmail.com>
9643 * progmodes/octave.el (octave-function-file-p)
9644 (octave-skip-comment-forward, octave-function-file-comment)
9645 (octave-update-function-file-comment): New functions.
9646 (octave-mode-map): Bind C-c ; to
9647 octave-update-function-file-comment.
9648 (octave-mode-menu): Add octave-update-function-file-comment.
9649 (octave-mode, inferior-octave-mode): Fix doc-string.
9650 (octave-insert-defun): Conform to Octave's coding convention.
9653 * files.el (basic-save-buffer): Don't let errors in
9654 before-save-hook prevent saving buffer.
9656 2013-04-20 Roland Winkler <winkler@gnu.org>
9658 * faces.el (read-face-name): Use completing-read if arg multiple
9661 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9663 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9664 displayed, move point to after the totals line.
9665 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9668 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9670 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9671 Add current dir to the load-path.
9672 (package-generate-autoloads): Don't rely on
9673 autoload-ensure-default-file.
9675 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9677 * textmodes/remember.el (remember-store-in-files): Document that
9678 the file name format is passed to `format-time-string'.
9680 2013-04-26 Leo Liu <sdl.web@gmail.com>
9682 * progmodes/octave.el (octave-sync-function-file-names): New function.
9683 (octave-mode): Use it in before-save-hook.
9685 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9687 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9690 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9691 \n and comment, even if it's not an implicit ; (bug#14218).
9693 2013-04-26 Glenn Morris <rgm@gnu.org>
9695 * subr.el (read-number): Once more use `read' rather than
9696 `string-to-number', to trap non-numeric input. (Bug#14254)
9698 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9700 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9701 Use `syntax-multiline' text property consistently instead of
9702 `font-lock-multiline'. (Bug#14237)
9704 2013-04-26 Glenn Morris <rgm@gnu.org>
9706 * emacs-lisp/shadow.el (list-load-path-shadows):
9707 No longer necessary to check for duplicate simple.el, since
9708 2012-07-07 change to init_lread to not include installation lisp
9709 directories in load-path when running uninstalled. (Bug#14270)
9711 2013-04-26 Leo Liu <sdl.web@gmail.com>
9713 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9714 (octave-mode, inferior-octave-mode): Use setq-local.
9715 (octave-not-in-string-or-comment-p): Rename to
9716 octave-in-string-or-comment-p.
9717 (octave-in-comment-p, octave-in-string-p)
9718 (octave-in-string-or-comment-p): Replace defsubst with defun.
9720 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9722 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9724 2013-04-25 Bastien Guerry <bzg@gnu.org>
9726 * textmodes/remember.el (remember-data-directory)
9727 (remember-directory-file-name-format): Fix custom types.
9729 2013-04-25 Leo Liu <sdl.web@gmail.com>
9731 * progmodes/octave.el (octave-completion-at-point-function):
9732 Make use of inferior octave process.
9733 (octave-initialize-completions): Remove.
9734 (inferior-octave-completion-table): New function.
9735 (inferior-octave-completion-at-point): Use it.
9736 (octave-completion-alist): Remove.
9738 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9740 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9741 (opascal-mode-syntax-table): New var.
9742 (opascal-literal-kind, opascal-is-literal-end)
9743 (opascal-literal-token-at): Rewrite.
9744 (opascal--literal-start-re, opascal-font-lock-keywords)
9745 (opascal--syntax-propertize): New constants.
9746 (opascal-font-lock-defaults): Adjust.
9747 (opascal-mode): Use them. Set comment-<foo> variables as well.
9748 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9749 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9750 (delphi-other-face, opascal-other-face): Remove face variables.
9751 (opascal-save-state): Remove macro.
9752 (opascal-fontifying-progress-step): Remove constant.
9753 (opascal--ignore-changes): Remove var.
9754 (opascal-set-token-property, opascal-parse-next-literal)
9755 (opascal-is-stable-literal, opascal-complete-literal)
9756 (opascal-is-literal-start, opascal-face-of)
9757 (opascal-parse-region, opascal-parse-region-until-stable)
9758 (opascal-fontify-region, opascal-after-change)
9759 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9760 (opascal-debug-parse-region, opascal-debug-parse-window)
9761 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9762 (opascal-debug-fontify-buffer): Remove.
9763 (opascal-debug-mode-map): Adjust accordingly.
9765 2013-04-25 Leo Liu <sdl.web@gmail.com>
9767 Merge octave-mod.el and octave-inf.el into octave.el with some
9769 * progmodes/octave.el: New file renamed from octave-mod.el.
9770 * progmodes/octave-inf.el: Merged into octave.el.
9771 * progmodes/octave-mod.el: Renamed to octave.el.
9773 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9775 * textmodes/reftex-vars.el
9776 (reftex-label-ignored-macros-and-environments): New defcustom.
9778 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9780 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9782 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9783 (smie-indent-keyword): Improve the check to ensure that the next
9784 comment is really on the same line.
9785 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9787 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9788 semi-colons if the line is not otherwise empty (bug#14218).
9790 2013-04-25 Glenn Morris <rgm@gnu.org>
9792 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9794 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9796 * progmodes/opascal.el (opascal-set-token-property): Rename from
9797 opascal-set-text-properties and only set `token' (bug#14134).
9798 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9799 (opascal-literal-text-properties): Remove.
9800 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9803 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9805 * textmodes/remember.el (remember-handler-functions): Add an
9806 option for a new handler `remember-store-in-files'.
9807 (remember-data-directory, remember-directory-file-name-format):
9809 (remember-store-in-files): New function to store remember notes
9810 as separate files within a directory.
9812 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9814 * progmodes/compile.el (compilation-next-error-function):
9815 Pass "formats" to compilation-find-file (bug#11777).
9817 2013-04-24 Glenn Morris <rgm@gnu.org>
9819 * vc/vc-bzr.el (vc-bzr-print-log):
9820 * vc/vc-hg.el (vc-hg-print-log):
9821 * vc/vc-svn.el (vc-svn-print-log):
9822 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9824 * vc/vc-bzr.el (vc-bzr-print-log):
9825 * vc/vc-cvs.el (vc-cvs-print-log):
9826 * vc/vc-git.el (vc-git-print-log):
9827 * vc/vc-hg.el (vc-hg-print-log):
9828 * vc/vc-mtn.el (vc-mtn-print-log):
9829 * vc/vc-rcs.el (vc-rcs-print-log):
9830 * vc/vc-sccs.el (vc-sccs-print-log):
9831 * vc/vc-svn.el (vc-svn-print-log):
9832 * vc/vc.el (vc-print-log-internal): Doc fixes.
9834 2013-04-23 Glenn Morris <rgm@gnu.org>
9836 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9837 Remove venerable code attempting to avoid substitute-command-keys.
9839 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9841 * textmodes/reftex-vars.el (reftex-label-regexps):
9842 Call `reftex-compile-variables' after changes to this variable.
9844 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9846 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9847 Use lexical-binding.
9848 (jit-lock-force-redisplay): Use markers, check buffer's continued
9849 existence and beware narrowed buffers.
9850 (jit-lock-fontify-now): Adjust call accordingly.
9852 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9854 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9855 to avoid misleading the user.
9857 2013-04-22 Leo Liu <sdl.web@gmail.com>
9859 * info-look.el: Prefer latex2e.info. (Bug#14240)
9861 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9863 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9865 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9866 * net/tramp.el (tramp-call-process): ... here.
9867 (tramp-set-completion-function, tramp-parse-putty):
9868 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9869 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9870 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9871 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9872 (tramp-call-local-coding-command): Use `tramp-call-process'
9873 instead of `tramp-compat-call-process'.
9875 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9876 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9877 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9878 (tramp-find-inline-compress): Improve traces.
9879 (tramp-maybe-send-script): Check for Perl binary.
9880 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9882 2013-04-22 Daiki Ueno <ueno@gnu.org>
9884 * epg.el (epg-context-pinentry-mode): New function.
9885 (epg-context-set-pinentry-mode): New function.
9886 (epg--start): Pass --pinentry-mode option to gpg command.
9888 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9890 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9891 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9892 `completion-at-point'. (Bug#13774)
9894 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9895 default key binding for `describe-distribution' has been moved to
9896 `C-h C-o'. (Bug#13970)
9898 2013-04-21 Glenn Morris <rgm@gnu.org>
9900 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9902 (vc-print-log): Clarify interactive prompt.
9904 2013-04-20 Glenn Morris <rgm@gnu.org>
9906 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9907 No longer include timestamp etc information.
9909 2013-04-20 Roland Winkler <winkler@gnu.org>
9911 * faces.el (read-face-name): Bug fix, return just one face if arg
9912 multiple is nil. (Bug#14209)
9914 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9916 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9917 (remove-function): Autoload.
9919 * comint.el (comint-redirect-original-filter-function): Remove.
9920 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9921 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9922 (vc-cvs-annotate-command):
9923 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9924 * progmodes/prolog.el (prolog-consult-compile):
9925 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9926 Use add/remove-function instead.
9927 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9928 (gud-tooltip-process-output, gud-tooltip-tips):
9929 Use add/remove-function instead.
9930 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9931 (scheme-interaction-mode, exit-scheme-interaction-mode):
9932 Use add/remove-function instead.
9934 * vc/vc-dispatcher.el: Use lexical-binding.
9935 (vc--process-sentinel): Rename from vc-process-sentinel.
9936 Change last arg to be the code to run. Don't use vc-previous-sentinel
9937 and vc-sentinel-commands any more.
9938 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9939 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9941 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9943 * progmodes/sh-script.el (sh-imenu-generic-expression):
9944 Handle function names with a single character. (Bug#14111)
9946 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9948 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9949 for subroutines defined in an eval (bug#14182).
9951 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9953 * bookmark.el (bookmark-completing-read): Improve handling of empty
9956 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9958 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9960 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9962 New faster Imenu implementation (bug#14058).
9963 * progmodes/python.el:
9964 (python-imenu-prev-index-position):
9965 (python-imenu-format-item-label-function)
9966 (python-imenu-format-parent-item-label-function)
9967 (python-imenu-format-parent-item-jump-label-function):
9969 (python-imenu-format-item-label)
9970 (python-imenu-format-parent-item-label)
9971 (python-imenu-format-parent-item-jump-label)
9972 (python-imenu--put-parent, python-imenu--build-tree)
9973 (python-imenu-create-index, python-imenu-create-flat-index)
9974 (python-util-popn): New functions.
9975 (python-mode): Set imenu-create-index-function to
9976 python-imenu-create-index.
9978 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9980 * winner.el (winner-active-region): Use region-active-p, activate-mark
9981 and deactivate-mark (bug#14225).
9983 * simple.el (deactivate-mark): Don't inline it.
9985 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9987 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9989 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9991 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9992 file extensions from the archive-mode entry in order to prefer
9993 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9995 2013-04-18 Leo Liu <sdl.web@gmail.com>
9997 * bindings.el (help-event-list): Add ?\?.
9999 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10001 * subr.el (with-wrapper-hook): Declare obsolete.
10002 * simple.el (filter-buffer-substring-function): New hook.
10003 (filter-buffer-substring): Use it.
10004 (filter-buffer-substring-functions): Mark obsolete.
10005 * minibuffer.el (completion-in-region-function): New hook.
10006 (completion-in-region): Use it.
10007 (completion-in-region-functions): Mark obsolete.
10008 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10009 * abbrev.el (abbrev-expand-function): New hook.
10010 (expand-abbrev): Use it.
10011 (abbrev-expand-functions): Mark obsolete.
10012 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10013 and :filter-return.
10015 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10017 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10018 and do not care about match data.
10020 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10022 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10023 completion tables when completing error conditions and
10024 `declare' arguments.
10025 (lisp-complete-symbol, field-complete): Mark as obsolete.
10026 (check-parens): Unmatched parens are user errors.
10027 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10029 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10031 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10032 command changed buffer (ie. `flyspell-pre-buffer' is not current
10033 buffer), which prevents making decisions based on invalid value of
10034 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10035 cause an error when `flyspell-pre-point' was nil after switching
10037 (flyspell-post-command-hook): No longer needs to change buffers when
10038 checking pre-word. While at it remove unnecessary progn.
10040 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10042 * textmodes/ispell.el (ispell-add-per-file-word-list):
10043 Fix `flyspell-correct-word-before-point' error when accepting
10044 words and `coment-padding' is an integer by using
10045 `comment-normalize-vars' (Bug #14214).
10047 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10049 New defun movement commands.
10050 * progmodes/python.el (python-nav--syntactically)
10051 (python-nav--forward-defun, python-nav-backward-defun)
10052 (python-nav-forward-defun): New functions.
10054 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10056 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10057 (python-syntax-context): Use named compiler-macro for backwards
10058 compatibility with Emacs 24.x.
10060 2013-04-17 Leo Liu <sdl.web@gmail.com>
10062 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10063 octave-hide-process-buffer.
10065 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10067 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10070 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10072 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10073 Fix adjustment of offset when receiving incomplete responses from GDB
10076 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10078 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10079 python-mode-abbrev-table.
10080 (python-skeleton-define): Adjust accordingly.
10081 (python-mode-abbrev-table): New table that inherits from it so that
10082 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10084 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10085 (abbrev-symbol): Use it.
10086 (abbrev--before-point): Use it since we already handle inheritance.
10088 2013-04-16 Leo Liu <sdl.web@gmail.com>
10090 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10091 binding to info-lookup-symbol.
10093 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10095 * minibuffer.el (completion--twq-all):
10096 * term/ns-win.el (ns-initialize-window-system):
10097 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10099 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10101 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10104 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10106 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10108 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10109 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10111 (ruby-end-of-defun): Remove the unused arg, change the docstring
10112 to reflect that this function is only used as the value of
10113 `end-of-defun-function'.
10114 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10115 to reflect an earlier change that beginning/end-of-defun functions
10116 jump between methods in a class definition, as well as top-level
10119 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10121 * minibuffer.el (minibuffer-complete): Don't just scroll
10122 a *Completions* that's been iconified.
10123 (minibuffer-force-complete): Make sure repetitions do cycle when going
10124 through completion-in-region -> minibuffer-complete.
10126 2013-04-15 Alan Mackenzie <acm@muc.de>
10128 Correct the placement of c-cpp-delimiters when there're #s not at
10131 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10132 place a submatch around the #.
10133 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10134 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10137 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10139 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10140 (advice--member-p): New arg `name'.
10141 (advice--add-function, advice-member-p): Use it (bug#14202).
10143 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10145 Reformulate java imenu-generic-expression.
10146 The old expression contained ill formed regexps.
10148 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10149 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10150 (cc-imenu-java-method-arg-regexp): New defconsts.
10151 (cc-imenu-java-build-type-args-regex): New defun.
10152 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10153 handling of spaces in the regexp.
10155 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10157 * textmodes/ispell.el (ispell-command-loop): Remove
10158 flyspell highlight of a word when ispell accepts it (bug #14178).
10160 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10162 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10163 uses code from the previous `ange-ftp-run-real-handler'.
10164 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10165 only in case that function exist. This is needed for proper
10166 unloading of Tramp.
10168 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10170 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10172 * textmodes/reftex.el (reftex-compile-variables): Use it.
10174 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10176 * files.el (normal-mode): Only use default major-mode if no other mode
10179 * emacs-lisp/trace.el (trace-values): New function.
10181 * files.el: Allow : in local variables (bug#14089).
10182 (hack-local-variable-regexp): New var.
10183 (hack-local-variables-prop-line, hack-local-variables): Use it.
10185 2013-04-13 Roland Winkler <winkler@gnu.org>
10187 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10188 data before it gets modified by bibtex-beginning-of-entry.
10190 2013-04-13 Roland Winkler <winkler@gnu.org>
10192 * textmodes/bibtex.el (bibtex-url): Doc fix.
10194 2013-04-13 Roland Winkler <winkler@gnu.org>
10196 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10197 does not visit a BibTeX file, exclude it from the list of buffers
10198 returned by bibtex-initialize.
10200 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10202 * window.el (split-window): Remove interactive form, since as a
10203 command this function is a special case of split-window-below.
10204 Correct doc string.
10206 2013-04-12 Roland Winkler <winkler@gnu.org>
10208 * faces.el (read-face-name): Do not override value of arg default.
10209 Allow single faces and strings as default values. Remove those
10210 elements from return value that are not faces.
10211 (describe-face): Simplify.
10212 (face-at-point): New optional args thing and multiple so that this
10213 function can provide the same functionality previously provided by
10215 (make-face-bold, make-face-unbold, make-face-italic)
10216 (make-face-unitalic, make-face-bold-italic, invert-face)
10217 (modify-face, read-face-and-attribute): Use face-at-point.
10219 * cus-edit.el (customize-face, customize-face-other-window)
10220 * cus-theme.el (custom-theme-add-face)
10221 * face-remap.el (buffer-face-set)
10222 * facemenu.el (facemenu-set-face): Use face-at-point.
10224 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10226 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10228 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10230 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10231 off leading { and trailing } from field values.
10233 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10235 * emacs-lisp/timer.el (timer--check): New function.
10236 (timer--time, timer-set-function, timer-event-handler): Use it.
10237 (timer-set-idle-time): Simplify.
10238 (timer--activate): CSE.
10239 (timer-event-handler): Give more info in error message.
10240 (internal-timer-start-idle): New function, moved from C.
10242 * mpc.el (mpc-proc): Add `restart' argument.
10243 (mpc-proc-cmd): Use it.
10244 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10245 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10248 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10250 * progmodes/sh-script.el: Implement `sh-mode' own
10251 `add-log-current-defun-function' (bug#14112).
10252 (sh-current-defun-name): New function.
10253 (sh-mode): Use the function.
10255 2013-04-09 Bastien Guerry <bzg@gnu.org>
10257 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10259 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10261 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10263 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10266 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10268 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10271 2013-04-07 Leo Liu <sdl.web@gmail.com>
10273 * pcmpl-x.el: New file.
10275 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10277 Do not set x-display-name until X connection is established.
10278 This is needed to prevent from weird situation described at
10279 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10280 * frame.el (make-frame): Set x-display-name after call to
10281 window system initialization function, not before.
10282 * term/x-win.el (x-initialize-window-system): Add optional
10283 display argument and use it.
10284 * term/w32-win.el (w32-initialize-window-system):
10285 * term/ns-win.el (ns-initialize-window-system):
10286 * term/pc-win.el (msdos-initialize-window-system):
10287 Add compatible optional display argument.
10289 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10291 * files.el (normal-backup-enable-predicate): On MS-Windows and
10292 MS-DOS compare truenames of temporary-file-directory and of the
10293 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10294 don't fail comparison by compare-strings. Also, compare file
10295 names case-insensitively on MS-Windows and MS-DOS.
10297 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10299 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10300 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10302 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10304 * whitespace.el (whitespace-color-on, whitespace-color-off):
10305 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10307 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10309 * ispell.el (ispell-set-spellchecker-params):
10310 Really set `ispell-args' for all equivs.
10312 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10314 * ido.el (ido-completions): Use extra elements of ido-decorations
10316 (ido-decorations): Update docstring.
10318 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10320 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10321 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10322 nil during initialization, in order not to miss changes since the
10323 file was opened. (Bug#14140)
10325 2013-04-05 Leo Liu <sdl.web@gmail.com>
10327 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10329 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10331 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10333 2013-04-04 Glenn Morris <rgm@gnu.org>
10335 * electric.el (electric-pair-inhibit-predicate): Add :version.
10337 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10339 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10340 when a package is required several times (bug#14082).
10342 2013-04-04 Roland Winkler <winkler@gnu.org>
10344 * faces.el (read-face-name): Behave as promised by the docstring.
10345 Assume that arg default is a list of faces.
10346 (describe-face): Call read-face-name with list of default faces.
10348 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10350 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10351 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10352 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10354 (bookmark-exit-hook-internal): Save even if list is empty.
10356 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10358 * emacs-lisp/package.el (package-pinned-packages): New var.
10359 (package--add-to-archive-contents): Obey it (bug#14118).
10361 2013-04-03 Alan Mackenzie <acm@muc.de>
10363 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10364 Also adapt to the new values of element 7 of a parse state.
10366 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10367 parameter `not-in-delimiter'. Handle being inside comment opener.
10368 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10369 character in case we're typing a '*' after a '/'.
10370 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10371 instead by passing the parameter to c-state-pp-to-literal.
10373 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10374 for elt. 7 of a parse state.
10376 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10378 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10379 * international/latin1-disp.el, international/mule-util.el:
10380 * language/cyril-util.el, language/european.el, language/ind-util.el:
10381 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10382 * language/tibetan.el, language/viet-util.el:
10383 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10385 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10387 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10388 (electric-pair-post-self-insert-function): Use it.
10389 (electric-pair-default-inhibit): New function, extracted from
10390 electric-pair-post-self-insert-function.
10392 2013-03-31 Roland Winkler <winkler@gnu.org>
10394 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10396 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10398 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10400 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10402 Un-indent after "pass" and "return" statements (Bug#13888)
10403 * progmodes/python.el (python-indent-block-enders): New var.
10404 (python-indent-calculate-indentation): Use it.
10406 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10408 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10409 defun. Defining it as defalias could introduce too eager
10410 byte-compiler optimization. (Bug#14030)
10412 2013-03-30 Chong Yidong <cyd@gnu.org>
10414 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10416 2013-03-30 Leo Liu <sdl.web@gmail.com>
10418 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10419 (kmacro-execute-from-register): Pass the keyboard macro to
10420 kmacro-call-macro or repeating won't work correctly.
10422 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10424 * progmodes/subword.el: Back to using `forward-symbol'.
10426 * subr.el (forward-whitespace, forward-symbol)
10427 (forward-same-syntax): Move from thingatpt.el.
10429 2013-03-29 Leo Liu <sdl.web@gmail.com>
10431 * kmacro.el (kmacro-to-register): New command.
10432 (kmacro-execute-from-register): New function.
10433 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10435 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10437 * mpc.el: Use defvar-local and setq-local.
10438 (mpc--proc-connect): Connection failures are not bugs.
10439 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10440 (mpc-volume-map): Bind to the up-events.
10442 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10444 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10445 instead of `forward-symbol'.
10447 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10449 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10450 (edebug--recursive-edit): Use it.
10451 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10452 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10454 2013-03-28 Leo Liu <sdl.web@gmail.com>
10456 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10458 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10460 * facemenu.el (list-colors-callback): New defvar.
10461 (list-colors-redisplay): New function.
10462 (list-colors-display): Install list-colors-redisplay as the
10463 revert-buffer-function. (Bug#14063)
10465 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10467 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10468 and suffixes don't overlap (bug#14061).
10470 * case-table.el: Use lexical-binding.
10471 (case-table-get-table): New function.
10472 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10474 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10476 * progmodes/subword.el: Add `superword-mode' to do word motion
10477 over symbol_words (parallels and leverages `subword-mode' which
10478 does word motion inside MixedCaseWords).
10480 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10482 * eshell/em-unix.el: Move su and sudo to...
10483 * eshell/em-tramp.el: ...Eshell tramp module.
10485 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10487 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10488 Change return value to be a sexp. Delay `get-buffer' to after
10489 restoring the desktop (bug#13951).
10491 2013-03-26 Leo Liu <sdl.web@gmail.com>
10493 * register.el: Move semantic tag handling back to
10494 cedet/semantic/senator.el. (Bug#14052)
10496 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10498 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10499 into the prompt either (bug#13963).
10501 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10503 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10504 part of "(error-foo)".
10506 2013-03-24 Juri Linkov <juri@jurta.org>
10508 * replace.el (list-matching-lines-prefix-face): New defcustom.
10509 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10510 `occur-engine' if `face-differs-from-default-p' returns t.
10511 (occur-engine): Add `,' inside backquote construct to evaluate
10512 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10513 Pass `prefix-face' to the functions `occur-context-lines' and
10514 `occur-engine-add-prefix'.
10515 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10516 `prefix-face' and propertize the prefix with `prefix-face'.
10519 2013-03-24 Leo Liu <sdl.web@gmail.com>
10521 * nxml/rng-valid.el (rng-validate-while-idle)
10522 (rng-validate-quick-while-idle): Guard against deleted buffer.
10525 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10526 is the last entry in kill-buffer-hook.
10528 * files.el (kill-buffer-hook): Doc fix.
10530 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10532 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10533 Make it safe-local.
10535 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10537 2013-03-23 Leo Liu <sdl.web@gmail.com>
10539 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10542 * nxml/rng-valid.el (rng-validate-mode)
10543 (rng-after-change-function, rng-do-some-validation):
10544 * nxml/rng-maint.el (rng-validate-buffer):
10545 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10546 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10547 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10548 (nxml-extend-after-change-region): Use with-silent-modifications.
10550 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10553 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10554 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10555 timer-idle-list. (Bug#13999)
10557 2013-03-23 Juri Linkov <juri@jurta.org>
10559 * info.el (info-index-match): New face.
10560 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10561 main pattern and add text properties with the new face to matches
10562 in index entries relative to the beginning of the index entry.
10565 2013-03-21 Eric Ludlam <zappo@gnu.org>
10567 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10568 Inhibit read only while inserting objects.
10570 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10572 * progmodes/cfengine.el: Update docs to mention
10573 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10574 symbol motion. Remove "_" from the word syntax.
10576 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10578 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10579 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10581 2013-03-20 Juri Linkov <juri@jurta.org>
10583 * info.el (Info-next-reference-or-link)
10584 (Info-prev-reference-or-link): New functions.
10585 (Info-next-reference, Info-prev-reference): Use them.
10586 (Info-try-follow-nearest-node): Handle footnote navigation.
10587 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10589 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10591 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10592 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10594 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10596 Suppress unnecessary non-ASCII chatter during build process.
10597 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10598 (batch-skkdic-convert): Suppress most of the chatter.
10599 It's not needed so much now that machines are faster,
10600 and its non-ASCII component was confusing; see Dmitry Gutov in
10601 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10603 2013-03-20 Leo Liu <sdl.web@gmail.com>
10605 * ido.el (ido-chop): Fix bug#10994.
10607 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10609 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10611 (whitespace-color-on, whitespace-color-off):
10612 Use `font-lock-fontify-buffer' (Bug#13817).
10614 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10616 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10617 remapping in mode-line.
10618 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10620 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10622 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10623 value for `whitespace-line' face (Bug#13875).
10624 (whitespace-font-lock-keywords): Change description.
10625 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10626 the constructed keywords instead.
10627 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10629 2013-03-19 Leo Liu <sdl.web@gmail.com>
10631 * progmodes/compile.el (compilation-display-error): New command.
10632 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10635 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10637 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10639 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10641 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10643 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10645 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10647 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10648 * net/tramp-gvfs.el (top):
10649 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10650 (tramp-handle-shell-command): Use it.
10651 (tramp-dissect-file-name): Raise an error when hostname is a
10652 method name, and neither method nor user is specified.
10654 * net/trampver.el: Update release number.
10656 2013-03-18 Leo Liu <sdl.web@gmail.com>
10658 Make sure eldoc can be turned off properly.
10659 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10661 (eldoc-display-message-p): Revert last change.
10662 (eldoc-display-message-no-interference-p)
10663 (eldoc-print-current-symbol-info): Tweak.
10665 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10667 * doc-view.el (doc-view-new-window-function): Check the new window
10668 overlay's display property instead the char property of the
10669 buffer's first char. Use `with-selected-window' instead of
10670 `save-window-excursion' with `select-window'.
10671 (doc-view-document->bitmap): Check the current doc-view overlay's
10672 display property instead the char property of the buffer's first char.
10674 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10676 Automate the build of ja-dic.el (Bug#13984).
10677 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10678 from the input, rather than assume that it's been done for us by the
10679 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10680 the current date into a ja-dic.el comment, as that complicates
10681 regression testing.
10683 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10685 * whitespace.el: Fix double evaluation.
10686 (whitespace-space, whitespace-hspace, whitespace-tab)
10687 (whitespace-newline, whitespace-trailing, whitespace-line)
10688 (whitespace-space-before-tab, whitespace-indentation)
10689 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10691 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10692 (whitespace-color-on): Use a single font-lock-add-keywords call.
10693 Fix double-evaluation of face variables.
10695 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10697 * net/tramp-adb.el (tramp-adb-parse-device-names):
10698 Use `start-process' instead of `call-process'. Otherwise, the
10699 function might be blocked under MS Windows. (Bug#13299)
10701 2013-03-17 Leo Liu <sdl.web@gmail.com>
10703 Extend eldoc to display info in the mode-line. (Bug#13978)
10704 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10705 (eldoc-mode-line-string): New variable.
10706 (eldoc-minibuffer-message): New function.
10707 (eldoc-message-function): New variable.
10708 (eldoc-message): Use it.
10709 (eldoc-display-message-p)
10710 (eldoc-display-message-no-interference-p):
10711 Support eldoc-post-insert-mode.
10713 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10714 (eval-expression): Run it.
10716 2013-03-17 Roland Winkler <winkler@gnu.org>
10718 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10719 strings in the list of return values.
10721 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10723 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10724 radix before checking for HMS forms.
10726 2013-03-16 Leo Liu <sdl.web@gmail.com>
10728 * progmodes/scheme.el: Add indentation and font-locking for λ.
10731 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10733 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10734 token before point (bug#13942).
10736 2013-03-16 Leo Liu <sdl.web@gmail.com>
10738 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10740 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10742 * startup.el (command-line-normalize-file-name): Fix handling of
10743 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10744 <xfq.free@gmail.com> in
10745 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10747 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10749 Sync with Tramp 2.2.7.
10751 * net/trampver.el: Update release number.
10753 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10755 * doc-view.el: Fix bug#13887.
10756 (doc-view-insert-image): Don't modify overlay associated to
10757 non-live windows, and implement horizontal centering of image in
10758 case it's smaller than the window.
10759 (doc-view-new-window-function): Force redisplay of new windows on
10762 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10764 * saveplace.el (save-place-alist-to-file): Don't sort
10765 `save-place-alist', just pretty-print it (bug#13882).
10767 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10769 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10770 Check whether `default-file-name-coding-system' is bound.
10771 It isn't in XEmacs.
10773 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10775 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10776 backquotes for `obsolete' (bug#13929).
10778 * international/mule.el (find-auto-coding): Include file name in
10779 obsolescence warning (bug#13922).
10781 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10783 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10784 for CFEngine 3-specific indentation.
10785 (cfengine3-indent-line): Use it. Fix up category regex.
10786 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10788 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10790 * type-break.el (type-break-file-name):
10791 * textmodes/remember.el (remember-data-file):
10792 * strokes.el (strokes-file):
10793 * shadowfile.el (shadow-initialize):
10794 * saveplace.el (save-place-file):
10795 * ps-bdf.el (bdf-cache-file):
10796 * progmodes/idlwave.el (idlwave-config-directory):
10797 * net/quickurl.el (quickurl-url-file):
10798 * international/kkc.el (kkc-init-file-name):
10799 * ido.el (ido-save-directory-list-file):
10800 * emulation/viper.el (viper-custom-file-name):
10801 * emulation/vip.el (vip-startup-file):
10802 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10803 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10805 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10807 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10808 * language/thai-word.el: Switch to UTF-8.
10810 See ChangeLog.16 for earlier changes.
10812 ;; Local Variables:
10816 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10818 This file is part of GNU Emacs.
10820 GNU Emacs is free software: you can redistribute it and/or modify
10821 it under the terms of the GNU General Public License as published by
10822 the Free Software Foundation, either version 3 of the License, or
10823 (at your option) any later version.
10825 GNU Emacs is distributed in the hope that it will be useful,
10826 but WITHOUT ANY WARRANTY; without even the implied warranty of
10827 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10828 GNU General Public License for more details.
10830 You should have received a copy of the GNU General Public License
10831 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.