1 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3 * Makefile.in (custom-deps, finder-data): Run output file names
4 through unmsys--file-name. (Bug#16099)
6 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
8 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
9 comment-start-skip, since it fails when that uses submatch 1 (bug#16041).
11 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
12 instead of deleting the selection "by hand" (bug#16098).
13 Rely on insert-for-yank to yank rectangles.
14 (cua-highlight-region-shift-only): Mark obsolete.
15 (cua-mode): Don't enable/disable transient-mark-mode,
16 shift-select-mode (cua-mode works both with and without them), and
17 pc-selection-mode (obsolete).
18 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
19 (cua--deactivate-rectangle): Deactivate it.
21 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
22 (delete-selection-helper): Make sure yank starts at the top of the
24 (minibuffer-keyboard-quit): Use region-active-p.
26 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
28 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
29 to `delete' (bug#16109).
31 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
33 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
34 info manual and show keybindings and set `:group' keyword.
36 2013-12-11 Juri Linkov <juri@jurta.org>
38 * delsel.el (delete-active-region): Let-bind `this-command'
39 to prevent `kill-region' from changing its original value.
40 (delete-selection-helper): Handle `overwrite-mode' for the type
41 `kill' exactly the same way as for the type `t'.
42 (insert-char, quoted-insert, reindent-then-newline-and-indent):
43 Support more commands. (Bug#13312)
45 2013-12-11 Juri Linkov <juri@jurta.org>
47 * bindings.el: Map kp keys to non-kp keys systematically
48 with basic modifiers control, meta and shift. (Bug#14397)
50 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
52 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
53 "Close browser" menu items. Fix wrong function of "List
56 2013-12-11 Juri Linkov <juri@jurta.org>
58 * misearch.el (multi-isearch-buffers): Set the value of
59 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
60 arg of isearch-forward to t.
61 (multi-isearch-buffers-regexp): Set the value of
62 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
63 arg of isearch-forward-regexp to t.
64 (multi-isearch-files): Set the value of
65 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
66 arg of isearch-forward to t.
67 (multi-isearch-files-regexp): Set the value of
68 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
69 arg of isearch-forward-regexp to t. (Bug#16035)
71 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
72 arg of isearch-forward to t.
73 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
74 arg of isearch-forward-regexp to t.
75 (dired-isearch-filter-filenames): Remove unnecessary check for
76 `dired-isearch-filenames'.
78 * comint.el (comint-history-isearch-backward):
79 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
80 (comint-history-isearch-backward-regexp):
81 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
83 2013-12-10 Eli Zaretskii <eliz@gnu.org>
85 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
86 unmsys--file-name. (Bug#16099)
88 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
90 * emacs-lisp/package.el (package-keyword-button-action): Remove
91 finder.el require dependency.
93 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
95 * emacs-lisp/package.el: Require finder.el.
96 (describe-package-1): Add keyword buttons.
97 (package-make-button): New convenience function.
98 (package-keyword-button-action): Keyword button action using
101 2013-12-09 Eli Zaretskii <eliz@gnu.org>
103 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
106 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
108 * autorevert.el (auto-revert-notify-add-watch): Do not handle
111 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
113 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
114 after the end of a percent literal.
116 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
118 * progmodes/ruby-mode.el (ruby-forward-string): Document. Handle
119 caret-delimited strings (Bug#16079).
121 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
123 * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
124 `ruby-use-smie' is t, use `smie-forward-sexp' instead of
125 `ruby-parse-partial' (Bug#16078).
127 2013-12-09 Leo Liu <sdl.web@gmail.com>
129 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
131 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
133 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
134 (js-switch-indent-offset): New option.
135 (js--proper-indentation): Use it. And handle the case when
136 "default" is actually a key in an object literal.
137 (js--same-line): New function.
138 (js--multi-line-declaration-indentation): Use it.
139 (js--indent-in-array-comp, js--array-comp-indentation): New
141 (js--proper-indentation): Use them, to handle array comprehension
144 2013-12-08 Leo Liu <sdl.web@gmail.com>
146 * progmodes/flymake.el (flymake-highlight-line): Re-write.
147 (flymake-make-overlay): Remove arg MOUSE-FACE.
148 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
150 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
152 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
154 (redisplay-highlight-region-function): Use it.
156 * emulation/cua-base.el (cua--explicit-region-start)
157 (cua--last-region-shifted): Remove.
158 (cua--deactivate): Use deactivate-mark.
159 (cua--pre-command-handler-1): Don't handle shift-selection.
160 (cua--post-command-handler-1): Don't change transient-mark-mode.
161 (cua--select-keymaps): Use region-active-p rather than
162 cua--explicit-region-start or cua--last-region-shifted.
163 (cua-mode): Enable shift-select-mode.
165 2013-12-08 Leo Liu <sdl.web@gmail.com>
167 * progmodes/flymake.el (flymake-popup-current-error-menu):
168 Rename from flymake-display-err-menu-for-current-line. Reimplement.
169 (flymake-posn-at-point-as-event, flymake-popup-menu)
170 (flymake-make-emacs-menu): Remove. (Bug#16077)
172 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
174 * rect.el (rectangle-mark-mode): Activate mark even if
175 transient-mark-mode is off (bug#16066).
176 (rectangle--highlight-for-redisplay): Fix boundary condition when point
177 is > mark and at bolp.
179 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
180 (region-extract-function): Use it.
181 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
182 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
184 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
185 kill-ring-save, kill-region, delete-char, delete-forward-char.
186 Ignore self-insert-iso.
188 * emulation/cua-gmrk.el (cua--init-global-mark):
189 Ignore `self-insert-iso'.
191 * emulation/cua-base.el (cua--prefix-copy-handler)
192 (cua--prefix-cut-handler): Rely on region-extract-function rather than
193 checking cua--rectangle.
194 (cua-delete-region): Use region-extract-function.
195 (cua-replace-region): Delete function.
196 (cua-copy-region, cua-cut-region): Obey region-extract-function.
197 (cua--pre-command-handler-1): Don't do the delete-selection thing.
198 (cua--self-insert-char-p): Ignore `self-insert-iso'.
199 (cua--init-keymaps): Don't remap delete-selection commands.
200 (cua-mode): Use delete-selection-mode instead of rolling our own
203 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
204 Obey region-extract-function.
206 Make registers and delete-selection-mode work on rectangles.
207 * register.el (describe-register-1): Don't modify the register's value.
208 (copy-to-register): Obey region-extract-function.
209 * delsel.el (delete-active-region): Obey region-extract-function.
211 2013-12-08 Leo Liu <sdl.web@gmail.com>
213 * progmodes/flymake.el (flymake, flymake-error-bitmap)
214 (flymake-warning-bitmap, flymake-fringe-indicator-position)
215 (flymake-compilation-prevents-syntax-check)
216 (flymake-start-syntax-check-on-newline)
217 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
218 (flymake-start-syntax-check-on-find-file, flymake-log-level)
219 (flymake-xml-program, flymake-master-file-dirs)
220 (flymake-master-file-count-limit)
221 (flymake-allowed-file-name-masks): Relocate.
222 (flymake-makehash, flymake-float-time)
223 (flymake-replace-regexp-in-string, flymake-split-string)
224 (flymake-get-temp-dir): Remove.
225 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
226 (flymake-current-row, flymake-selected-frame)
227 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
228 related functions. (Bug#16077)
230 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
232 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
234 2013-12-07 Tassilo Horn <tsdh@gnu.org>
236 * help-fns.el (describe-function-1): Use new advice-* functions
237 rather than old ad-* functions. Fix function type description and
238 source links for advised functions and subrs.
240 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
242 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
244 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
246 * progmodes/compile.el (compilation-start):
247 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
249 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
250 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
252 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
254 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
255 Touch up the last change.
257 2013-12-06 Leo Liu <sdl.web@gmail.com>
259 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
260 (inferior-octave-startup): Always use "octave> " for prompt.
261 (octave-goto-function-definition)
262 (octave-sync-function-file-names)
263 (octave-find-definition-default-filename): Remove redundant backquotes.
265 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
267 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
269 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
270 where appropriate already.
271 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
272 end of method names (Bug#15874).
274 2013-12-06 Juri Linkov <juri@jurta.org>
276 * isearch.el (isearch--saved-overriding-local-map):
277 New internal variable.
278 (isearch-mode): Set it to the initial value of
279 `overriding-terminal-local-map'.
280 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
281 with `isearch--saved-overriding-local-map'. (Bug#16035)
283 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
285 * progmodes/octave.el (inferior-octave-completion-table):
286 Turn back into function, use `completion-table-with-cache'
287 (Bug#11906). Update all references.
289 * minibuffer.el (completion-table-with-cache): New function.
291 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
293 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
295 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
297 * net/eww.el (eww-current-source): New variable to store page
299 (eww-display-html, eww-mode, eww-save-history)
300 (eww-restore-history): Use it.
301 (eww-view-source): New command to view page source.
302 Opportunistically uses `html-mode' to highlight the buffer.
303 (eww-mode-map): Install it.
305 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
307 * net/dbus.el (dbus-unregister-service)
308 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
310 (dbus-unregister-service): Skip :serial entries in
311 `dbus-registered-objects-table'.
312 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
314 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
316 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
317 around keywords with extra `split-string' argument.
319 2013-12-04 Martin Rudalics <rudalics@gmx.at>
321 * windmove.el (windmove-other-window-loc): Handle navigation
322 between windows (excluding the minibuffer window - Bug#16017).
324 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
326 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
327 in D-Bus type syntax.
328 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
329 preserve unibyte strings. (Bug#16048)
331 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
333 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
334 Call force-mode-line-update is the proper buffer (bug#16042).
336 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
338 * vc/log-edit.el (log-edit-add-new-comment): Rename to
339 `log-edit-remember-comment', make argument optional. Adjust all
341 (log-edit-mode): Add `log-edit-remember-comment' to
342 `kill-buffer-hook' locally.
343 (log-edit-kill-buffer): Don't remember comment explicitly since
344 the buffer is killed anyway.
346 2013-12-04 Juri Linkov <juri@jurta.org>
348 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
349 add-hook and remove-hook for multi-buffer search. (Bug#16035)
351 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
353 * notifications.el (notifications-close-notification): Call the
354 D-Bus method with ID being a `:uint32'. (Bug#16030)
356 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
358 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
360 2013-12-03 Juri Linkov <juri@jurta.org>
362 * progmodes/compile.el (compilation-start): Rename window alist
363 entry `no-display-ok' to `allow-no-window'.
365 * simple.el (shell-command): Add window alist entry
366 `allow-no-window' to `display-buffer'.
367 (async-shell-command): Doc fix.
369 * window.el (display-buffer-no-window): New action function.
370 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
372 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
374 * vc/log-edit.el (log-edit-set-header): Extract from
375 `log-edit-toggle-header'.
376 (log-edit-extract-headers): Separate the summary, when extracted
377 from header, from the rest of the message with an empty line.
379 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
380 line, if present, to the Summary header.
382 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
384 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
385 in current-buffer (bug#16029).
387 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
389 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
390 (debugger-mode-map): Bind it.
391 (debugger--backtrace-base): New function.
392 (debugger-eval-expression): Use it.
393 (debugger-frame-number): Skip local vars when present.
394 (debugger--locals-visible-p, debugger--insert-locals)
395 (debugger--show-locals, debugger--hide-locals): New functions.
397 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
399 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
401 (tramp-get-remote-locale): New defun.
402 (tramp-open-connection-setup-interactive-shell): Use it.
404 2013-12-02 Leo Liu <sdl.web@gmail.com>
406 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
408 * progmodes/sh-script.el (sh-shell-process):
409 * progmodes/octave.el (inferior-octave-process-live-p):
410 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
411 (gdb-inferior-io-sentinel):
412 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
414 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
416 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
417 `save-selected-window' to `log-edit-hide-buf'. This makes
418 `log-edit-show-files' idempotent.
419 (log-edit-show-files): Mark the new window as dedicated.
421 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
423 * vc/log-edit.el (log-edit-mode-map): Add binding for
424 `log-edit-kill-biffer'.
425 (log-edit-hide-buf): Add a FIXME comment.
426 (log-edit-add-new-comment): New function, extracted from
428 (log-edit-done, log-edit-add-to-changelog): Use it.
429 (log-edit-kill-buffer): New command.
431 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
433 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
434 instead of killing the buffer.
436 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
438 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
440 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
442 * net/eww.el (eww-form-checkbox-selected-symbol)
443 (eww-form-checkbox-symbol): New customizable variable.
444 (eww-form-checkbox, eww-toggle-checkbox):
445 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
447 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
448 (shr--get-media-pref, shr--extract-best-source): New function.
449 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
450 no :src tag was specified.
452 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
453 (eww-render): Handle `eww-use-external-browser-for-content-type'.
454 Use \\` to match beginning of string instead of ^.
455 (eww-browse-with-external-browser): Provide optional URL parameter.
456 (eww-render): Set `eww-current-title' back to "".
458 * net/shr.el (shr-tag-video): Display content for video if no
460 (shr-tag-audio): Add support for <audio> tag.
462 * net/eww.el (eww-text-input-types): : New const.
463 (eww-process-text-input): Treat input types in
464 `eww-text-input-types' as text.
466 * net/shr.el (shr-tag-table): Fix comment typo.
468 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
470 * net/eww.el (eww-follow-link): New command to avoid reloading
471 pages when we follow #target links (bug#15243).
472 (eww-quit): Special mode buffers shouldn't query before exiting.
474 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
476 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
479 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
481 * net/eww.el (eww-restore-history): Update the window title after
482 moving in the history.
483 (eww-current-dom): New variable used to save the current DOM.
485 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
487 * vc/log-edit.el (log-edit-mode-map): Add binding for
488 `log-edit-beginning-of-line'.
489 (log-edit-setup-add-author): New user option.
490 (log-edit-beginning-of-line): New command.
491 (log-edit): Move major mode call above the contents setup so that
492 the local variable values are already applied.
493 (log-edit): Only insert "Author: " when
494 `log-edit-setup-add-author' is non-nil.
495 (log-edit): When SETUP is non-nil, position point after ": "
496 instead of point-min.
498 2013-12-01 Glenn Morris <rgm@gnu.org>
500 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
502 2013-11-30 Eli Zaretskii <eliz@gnu.org>
504 * startup.el (fancy-splash-frame): On MS-Windows, trigger
505 redisplay to make sure the initial frame gets a chance to become
508 2013-11-30 Martin Rudalics <rudalics@gmx.at>
510 Support resizing frames and windows pixelwise.
511 * cus-start.el (frame-resize-pixelwise)
512 (window-resize-pixelwise): New entries.
513 * emacs-lisp/debug.el (debug): Use window-total-height instead
514 of window-total-size.
515 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
516 * help.el (describe-bindings-internal): Call help-buffer
517 (temp-buffer-max-width): New option.
518 (resize-temp-buffer-window, help-window-setup)
519 (with-help-window): Rewrite.
520 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
522 * window.el (frame-char-size, window-min-pixel-height)
523 (window-safe-min-pixel-height, window-safe-min-pixel-width)
524 (window-min-pixel-width, window-safe-min-pixel-size)
525 (window-combination-p, window-safe-min-size)
526 (window-resizable-p, window--size-to-pixel)
527 (window--pixel-to-size, window--resize-apply-p): New functions.
528 (window-safe-min-height): Fix doc-string.
529 (window-size, window-min-size, window--min-size-1)
530 (window-sizable, window-sizable-p, window--min-delta-1)
531 (window-min-delta, window--max-delta-1, window-max-delta)
532 (window--resizable, window--resizable-p, window-resizable)
533 (window-full-height-p, window-full-width-p, window-at-side-p)
534 (window--in-direction-2, window-in-direction)
535 (window--resize-reset-1, window--resize-mini-window)
536 (window-resize, window-resize-no-error)
537 (window--resize-child-windows-normal)
538 (window--resize-child-windows, window--resize-siblings)
539 (window--resize-this-window, window--resize-root-window)
540 (window--resize-root-window-vertically)
541 (adjust-window-trailing-edge, enlarge-window, shrink-window)
542 (maximize-window, minimize-window, delete-window)
543 (quit-restore-window, window-split-min-size, split-window)
544 (balance-windows-2, balance-windows)
545 (balance-windows-area-adjust, balance-windows-area)
546 (window--state-get-1, window-state-get, window--state-put-1)
547 (window--state-put-2, window-state-put)
548 (display-buffer-record-window, window--display-buffer):
549 Make functions handle pixelwise sizing of windows.
550 (display-buffer--action-function-custom-type)
551 (display-buffer-fallback-action):
552 Add display-buffer-in-previous-window.
553 (display-buffer-use-some-window): Resize window to height it had
555 (fit-window-to-buffer-horizontally): New option.
556 (fit-frame-to-buffer): Describe new values.
557 (fit-frame-to-buffer-bottom-margin): Replace with
558 fit-frame-to-buffer-margins.
559 (window--sanitize-margin): New function.
560 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
561 using window-text-pixel-size.
563 2013-11-30 Glenn Morris <rgm@gnu.org>
565 * emacs-lisp/bytecomp.el (byte-compile-form):
566 Make the `interactive-only' warning like the `obsolete' one.
567 * comint.el (comint-run):
568 * files.el (insert-file-literally, insert-file):
569 * replace.el (replace-string, replace-regexp):
570 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
571 (goto-line, insert-buffer, next-line, previous-line):
572 Tweak `interactive-only' spec.
574 Stop keeping (most) generated cedet grammar files in the repository.
575 * Makefile.in (semantic): New.
576 (compile-main): Depend on semantic.
578 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
580 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
581 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
583 * uniquify.el (uniquify-buffer-name-style): Change default.
585 * loadup.el: Preload "uniquify".
587 * time.el (display-time-update): Update all mode lines (bug#15999).
589 * electric.el (electric-indent-mode): Enable by default.
590 * loadup.el: Preload "electric".
592 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
594 * emacs-lisp/helpers.el (string-empty-p): New function.
595 (string-blank-p): New function.
597 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
599 * imenu.el (imenu--index-alist): Add missing dot to the docstring
602 2013-11-29 Andreas Politz <politza@fh-trier.de>
603 * imenu.el (imenu--subalist-p): Don't error on non-conses and
604 allow non-lambda lists as functions.
605 (imenu--in-alist): Don't recurse into non-subalists.
606 (imenu): Don't pass function itself as an argument (Bug#14029).
608 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
610 * progmodes/python.el (python-mode-map): Remove binding for ":".
611 (python-indent-electric-colon): Remove command.
612 (python-indent-post-self-insert-function): Integrate the previous code
613 of python-indent-electric-colon. Make it conditional on
614 electric-indent-mode.
615 (python-mode): Add ?: to electric-indent-chars.
616 Move python-indent-post-self-insert-function to the end of
617 post-self-insert-hook.
619 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
621 * doc-view.el (doc-view-goto-page): Update mode-line.
623 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
625 2013-11-27 Glenn Morris <rgm@gnu.org>
627 * international/charprop.el, international/uni-bidi.el:
628 * international/uni-category.el, international/uni-combining.el:
629 * international/uni-comment.el, international/uni-decimal.el:
630 * international/uni-decomposition.el, international/uni-digit.el:
631 * international/uni-lowercase.el, international/uni-mirrored.el:
632 * international/uni-name.el, international/uni-numeric.el:
633 * international/uni-old-name.el, international/uni-titlecase.el:
634 * international/uni-uppercase.el:
635 Remove generated files from VCS repository.
637 2013-11-27 Eli Zaretskii <eliz@gnu.org>
639 * filenotify.el (file-notify-add-watch): Don't special-case
640 w32notify when computing the directory to watch.
642 2013-11-27 Glenn Morris <rgm@gnu.org>
644 Make bootstrap without generated uni-*.el files possible again.
645 * loadup.el: Update command-line-args checking for unidata-gen.
646 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
647 * composite.el, international/characters.el:
648 Handle unicode tables being undefined.
650 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
651 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
652 (compile-main): Depend on leim rule.
654 * loadup.el: Move leim-list.el to leim/ subdirectory.
655 * startup.el (normal-top-level): No more leim directory.
656 * international/ja-dic-cnv.el (skkdic-convert):
657 Disable version-control and autoloads in output files.
658 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
659 Disable version-control and autoloads in output files.
660 * leim/quail: Move here from ../leim.
661 * leim/quail/hangul.el (hangul-input-method-activate):
663 (generated-autoload-load-name): Set file-local value.
664 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
665 (generated-autoload-load-name): Set file-local value.
667 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
669 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
670 (eww-add-bookmark): ask confirmation when add to bookmarks
671 (eww-quit): ask confirmation before quitting eww
673 2013-11-26 Eli Zaretskii <eliz@gnu.org>
675 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
676 reading output from Diff on MS-Windows and MS-DOS.
678 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
680 * emacs-lisp/helpers.el (string-reverse): New function.
682 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
684 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
685 names on MS Windows, like "/[::1]:".
687 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
690 2013-11-26 Glenn Morris <rgm@gnu.org>
692 * progmodes/python.el (python-indent-guess-indent-offset):
693 Avoid corner-case error. (Bug#15975)
695 Preload leim-list.el. (Bug#4789)
696 * loadup.el: Load leim-list.el when found.
697 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
699 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
701 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
703 * emacs-lisp/helpers.el (string-join): New function.
705 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
707 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
708 Mark as obsolete and replace it with a symbol property.
709 (byte-compile-form): Use new 'interactive-only property.
710 * comint.el, files.el, replace.el, simple.el:
711 Apply new 'interactive-only properly.
713 2013-11-25 Martin Rudalics <rudalics@gmx.at>
715 * window.el (display-buffer-at-bottom): Make sure that
716 split-window-sensibly creates the new window on bottom
719 2013-11-23 David Kastrup <dak@gnu.org>
721 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
722 on the conflict markers when available.
723 (smerge--get-marker): New function.
724 (smerge-end-re, smerge-base-re): Add subgroup.
726 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
728 * frame.el (handle-focus-in, handle-focus-out): Add missing
731 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
733 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
734 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
736 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
738 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
739 (gomoku--last-pos): New var.
740 (gomoku--intangible-chars): New const.
741 (gomoku--intangible): New function.
742 (gomoku-mode): Use it. Derive from special-mode.
743 (gomoku-move-up): Adjust line count.
744 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
745 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
746 Simplify accordingly.
748 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
749 Remove blink-cursor code.
750 (blink-cursor-timer-function, blink-cursor-suspend):
751 Don't special-case GUIs.
752 (blink-cursor-mode): Use focus-in/out-hook.
754 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
756 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
757 work when annotation is invisible (Bug#13886).
759 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
761 * json.el (json-alist-p): Only return non-nil if the alist has
762 simple keys (Bug#13518).
764 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
766 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
767 when control-statement is the first statement in a buffer (Bug#15956).
769 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
771 * imenu.el (imenu-generic-skip-comments-and-strings):
772 New option (Bug#15560).
773 (imenu--generic-function): Use it.
775 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
777 * minibuffer.el (completion--in-region-1): Scroll the correct
780 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
782 * emacs-lisp/helpers.el: Add some string helpers.
783 (string-trim-left): Removes leading whitespace.
784 (string-trim-right): Removes trailing whitespace.
785 (string-trim): Removes leading and trailing whitespace.
787 * subr.el (string-suffix-p): New function.
789 2013-11-23 Glenn Morris <rgm@gnu.org>
791 * progmodes/python.el (python-shell-send-file):
792 Add option to delete file when done. (Bug#15647)
793 (python-shell-send-string, python-shell-send-region): Use it.
795 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
797 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
798 to set buffer-read-only to t, never to nil. (Bug#15938)
800 * textmodes/tex-mode.el (latex-noindent-environments):
801 Add safe-local-variable property. (Bug#15936)
803 2013-11-23 Glenn Morris <rgm@gnu.org>
805 * textmodes/enriched.el (enriched-mode): Doc fix.
806 * emacs-lisp/authors.el (authors-renamed-files-alist):
807 Add enriched.doc -> enriched.txt.
809 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
811 2013-11-22 Leo Liu <sdl.web@gmail.com>
813 * progmodes/octave.el (inferior-octave-startup): Spit out error
816 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
818 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
821 (ruby-encoding-magic-comment-style): Add :version.
823 2013-11-22 Leo Liu <sdl.web@gmail.com>
825 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
827 (octave-help-mode): Adapt to change to help-mode-finish to use
828 derived-mode-p on 2013-09-17.
829 (inferior-octave-prompt): Also match octave-gui.
830 (octave-kill-process): Don't ask twice. (Bug#10564)
832 2013-11-22 Leo Liu <sdl.web@gmail.com>
834 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
835 (inferior-octave-startup, inferior-octave-check-process)
836 (inferior-octave-track-window-width-change)
837 (octave-completion-at-point, octave-eldoc-function): Use it.
838 (octave-kill-process): Provide confirmation. (Bug#10564)
840 2013-11-21 Leo Liu <sdl.web@gmail.com>
842 * progmodes/octave.el (octave-mode, inferior-octave-mode):
843 Fix obsolete variable comment-use-global-state.
845 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
847 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
848 Add `octave-source-file'.
849 (octave-source-file): New function. (Bug#15935)
851 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
853 * net/eww.el (eww-local-regex): New variable.
854 (eww): Use it to detect localhost and similar.
856 2013-11-21 Leo Liu <sdl.web@gmail.com>
858 Add completion for command `ag'.
859 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
860 (pcomplete/ag): New function.
861 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
863 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
865 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
867 (make-obsolete): Remove interactive spec.
869 2013-11-21 Glenn Morris <rgm@gnu.org>
871 * startup.el (command-line-1): Use path-separator with -L.
873 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
875 * emacs-lisp/package.el (describe-package-1): Add package archive
878 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
880 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
881 Change default to "# encoding: %s" to differentiate it from the
882 default Ruby encoding comment template.
884 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
886 * ses.el (ses-mode): Doc fix. (Bug#14748)
888 2013-11-20 Leo Liu <sdl.web@gmail.com>
890 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
892 2013-11-19 Dan Nicolaescu <dann@gnu.org>
894 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
895 when rebase or bisect are in progress.
897 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
899 * filenotify.el (file-notify-add-watch): Doc fix.
901 2013-11-19 Leo Liu <sdl.web@gmail.com>
903 * obsolete/rcompile.el: Mark obsolete.
905 * progmodes/compile.el (compilation-start)
906 (compilation-goto-locus, compilation-find-file):
907 Pass no-display-ok and handle nil value from display-buffer.
910 * window.el (display-buffer-alist, display-buffer): Document the
911 new parameter no-display-ok. Return either a window or nil
912 but never a non-window value.
914 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
916 * electric.el (electric-indent-mode-map): Remove.
917 (electric-indent-mode): Change the global-map instead (bug#15915).
919 * textmodes/text-mode.el (paragraph-indent-minor-mode):
922 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
924 * emacs-lisp/nadvice.el (remove-function): Align with
925 add-function's behavior.
927 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
928 (gdb--string-regexp): New constant.
929 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
930 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
931 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
933 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
934 Adjust use accordingly.
935 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
937 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
939 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
940 interpolation curlies (Bug#15914).
942 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
944 * calc/calc.el (calc-context-sensitive-enter): New variable.
945 (calc-enter): Use `calc-context-sensitive-enter'.
947 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
949 * progmodes/cfengine.el: Version bump.
950 (cfengine-cf-promises): New defcustom to locate cf-promises.
951 (cfengine3-vartypes): Add new "data" type.
952 (cfengine3--current-word): New function to get current name-like
954 (cfengine3--current-function): New function to look up a CFEngine
955 function's definition.
956 (cfengine3-format-function-docstring): New function.
957 (cfengine3-make-syntax-cache): New function.
958 (cfengine3-documentation-function): New function: ElDoc glue.
959 (cfengine3-completion-function): New function: completion glue.
960 (cfengine3-mode): Set `compile-command',
961 `eldoc-documentation-function', and add to
962 `completion-at-point-functions'.
964 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
966 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
967 `tramp-current-connection'.
969 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
971 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
972 nil/self/true/false with "end of symbol".
974 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
976 * subr.el (version-regexp-alist): Fix a typo.
978 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
980 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
981 "en_US.utf8" and "LC_CTYPE" to "".
982 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
983 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
985 2013-11-15 Leo Liu <sdl.web@gmail.com>
987 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
989 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
991 * progmodes/gud.el (ctl-x-map):
992 Remove C-x SPC binding. (Bug#12342)
993 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
995 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
997 * subr.el (version-regexp-alist):
998 Recognize hg, svn and darcs versions as snapshot versions.
1000 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1001 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1002 (ruby--encoding-comment-required-p): Extract from
1003 `ruby-mode-set-encoding'.
1004 (ruby-mode-set-encoding): Add the ability to always insert an
1005 utf-8 encoding comment. Fix and simplify coding comment update
1008 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1010 * net/tramp-gvfs.el (top): Run init code only when
1011 `tramp-gvfs-enabled' is not nil.
1012 (tramp-gvfs-enabled): Check also :system bus.
1014 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1016 Sync with upstream verilog-mode revision 78e66ba.
1017 * progmodes/verilog-mode.el (verilog-end-of-defun)
1018 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1019 (verilog-get-end-of-defun): Remove unused argument.
1020 (verilog-comment-depth): Remove unused local `e'.
1021 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1022 Don't pass arg to verilog-get-end-of-defun.
1024 2013-11-14 Glenn Morris <rgm@gnu.org>
1026 * obsolete/assoc.el (aget): Prefix dynamic variable.
1028 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1030 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1032 * widget.el, hfy-cmap.el: Remove bogus package version number.
1034 2013-11-13 Glenn Morris <rgm@gnu.org>
1036 * replace.el (replace-eval-replacement):
1037 Try to give more helpful error message. (Bug#15836)
1039 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1040 (archive-7z-update): Avoid custom type mismatches.
1042 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1044 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1046 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1047 address can be empty.
1049 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1050 Accept nil SWITCHES.
1051 (tramp-gvfs-handle-write-region): Implement APPEND.
1053 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1055 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1056 binary "|" operator and closing block args delimiter.
1057 Remove FIXME comment referring to Ruby 1.8-only syntax.
1058 (ruby-smie--implicit-semi-p): Not after "|" operator.
1059 (ruby-smie--closing-pipe-p): New function.
1060 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1061 (ruby-smie-rules): Indent after "|".
1063 2013-11-12 Glenn Morris <rgm@gnu.org>
1065 * ps-print.el (ps-face-attribute-list):
1066 Handle anonymous faces. (Bug#15827)
1068 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1070 * window.el (display-buffer-other-frame): Fix doc-string.
1073 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1075 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1077 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1079 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1080 (tramp-sh-handle-file-local-copy): Don't write a message when
1081 saving temporary files.
1083 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1084 both directories are remote.
1085 (tramp-smb-handle-directory-files): Do not return double entries.
1086 Do not expand full file names.
1087 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1088 (tramp-smb-handle-write-region): Implement APPEND.
1089 (tramp-smb-get-stat-capability): Fix a stupid bug.
1091 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1093 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1095 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1097 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1098 throwing error over malformed let/let* (bug#15814).
1100 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1102 * iswitchb.el (iswitchb-mode): Mark obsolete.
1104 2013-11-11 Glenn Morris <rgm@gnu.org>
1106 * international/uni-bidi.el, international/uni-category.el:
1107 * international/uni-name.el, international/uni-numeric.el:
1108 Regenerate for Unicode 6.3.0.
1110 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1112 * net/tramp.el (tramp-methods):
1113 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1114 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1116 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1118 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1119 Force highlighting text after Summary keyword in doc face for rpm.
1121 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1123 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1124 available and the word has no wildcards, append one to the grep pattern.
1125 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1126 (ispell-complete-word): Call `ispell-lookup-words' with the value
1127 independent of `ispell-look-p'.
1129 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1131 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1133 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1136 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1138 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1139 (ruby-font-lock-keywords): Use backquote.
1141 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1143 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1144 (ruby-smie--backward-token): Only consider full-string matches.
1146 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1148 * faces.el (describe-face): Add distant-foreground.
1150 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1152 * progmodes/ruby-mode.el: Improve encoding comment handling.
1153 (ruby-encoding-magic-comment-style): New option.
1154 (ruby-custom-encoding-magic-comment-template): New option.
1155 (ruby--insert-coding-comment, ruby--detect-encoding):
1156 New functions extracted from `ruby-mode-set-encoding'.
1157 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1158 to control the style of the auto-inserted encoding comment.
1160 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1162 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1163 Use `smie-backward-sexp' with token argument.
1165 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1167 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1168 Remove instrumentation code.
1170 2013-11-08 Glenn Morris <rgm@gnu.org>
1172 * progmodes/autoconf.el (autoconf-mode):
1173 Tweak comment-start-skip. (Bug#15822)
1175 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1177 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1178 at bobp (bug#15826).
1179 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1181 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1183 * man.el (Man-start-calling): New macro, extracted from
1184 Man-getpage-in-background.
1185 (Man-getpage-in-background): Use it.
1186 (Man-update-manpage): New command.
1187 (Man-mode-map): Bind it.
1189 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1191 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1192 of "and", "or", "&&" and "||".
1193 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1194 argument. Prohibit opening curly brace because it could only be a
1195 block opener in that position.
1196 (ruby-smie--forward-token, ruby-smie--backward-token):
1197 Separate "|" from "&" or "*" going after it. That can happen in block
1199 (ruby-smie--indent-to-stmt): New function, seeks the end of
1200 previous statement or beginning of buffer.
1201 (ruby-smie-rules): Use it.
1202 (ruby-smie-rules): Check if there's a ":" before a curly block
1203 opener candidate; if there is, it's a hash.
1205 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1207 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1208 (cl--block-wrapper): Fix last accidental change.
1210 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1212 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1213 Instrument, in order to hunt failure on hydra.
1215 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1217 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1218 malformed bindings form (bug#15814).
1220 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1222 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1223 "." compared to " @ ". This incidentally fixes some indentation
1225 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1226 (ruby-smie-grammar): New tokens: "and" and "or".
1227 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1228 Exclude "and" and "or". Remove "do" in order to work around token
1230 (ruby-smie-rules): Add all infix tokens. Handle the case of
1231 beginning-of-buffer.
1233 2013-11-06 Glenn Morris <rgm@gnu.org>
1235 * Makefile.in (setwins_almost, setwins_for_subdirs):
1236 Avoid accidental matches.
1238 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1240 * menu-bar.el (popup-menu): Use key-binding.
1242 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1244 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1245 menus, support also the menus produced by minor modes.
1248 2013-11-06 Leo Liu <sdl.web@gmail.com>
1250 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1251 DISTANCE to bound the search. All uses changed. (Bug#15808)
1253 2013-11-06 Glenn Morris <rgm@gnu.org>
1255 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1256 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1257 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1259 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1261 * electric.el (electric-indent-just-newline): New command.
1262 (electric-indent-mode-map): New keymap.
1263 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1264 Re-add :group which weren't redundant.
1266 * electric.el (electric-indent-local-mode): New minor mode.
1267 (electric-indent-functions-without-reindent): New var.
1268 (electric-indent-post-self-insert-function): Use it.
1269 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1271 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1273 * international/quail.el (quail-help): Be more explicit about the
1274 meaning of the labels shown on the keys. (Bug#15800)
1276 * startup.el (normal-top-level): Load the subdirs.el files before
1277 setting the locale environment. (Bug#15805)
1279 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1281 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1282 via arguments so as to get the right ones (bug#15418).
1284 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1286 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1288 Fix problems found while writing a test suite.
1290 * net/tramp-compat.el (tramp-compat-load): New defun.
1291 * net/tramp.el (tramp-handle-load): Use it.
1293 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1294 "(numberp ok-if-already-exists)" correctly.
1296 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1298 * international/characters.el (glyphless-char-display-control):
1301 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1303 * progmodes/python.el (python-mode):
1304 * progmodes/scheme.el (scheme-mode):
1305 * progmodes/prolog.el (prolog-mode):
1306 * progmodes/ruby-mode.el (ruby-mode):
1307 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1308 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1310 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1312 * rect.el (rectangle--highlight-for-redisplay):
1313 * emacs-lisp/smie.el (smie--next-indent-change):
1314 Use buffer-chars-modified-tick.
1316 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1318 * electric.el (electric-indent-post-self-insert-function):
1319 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1321 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1323 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1325 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1327 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1330 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1332 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1334 * progmodes/python.el: Fix up last change.
1335 (python-shell--save-temp-file): New function.
1336 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1337 `string' comes from the current buffer.
1338 (python-shell-send-string-no-output): Remove `msg' arg.
1339 (python--use-fake-loc): New var.
1340 (python-shell-buffer-substring): Obey it. Try to compensate for the
1341 extra coding line added by python-shell--save-temp-file.
1342 (python-shell-send-region): Use python-shell--save-temp-file and
1343 python-shell-send-file directly. Add `nomain' argument.
1344 (python-shell-send-buffer): Use python-shell-send-region.
1345 (python-electric-pair-string-delimiter): New function.
1346 (python-mode): Use it.
1348 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1350 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1351 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1352 environment and decoding all of the default-directory's to here
1354 (command-line): Decode also argv[0].
1356 * loadup.el: Error out if default-directory is a multibyte string
1357 when we are dumping.
1359 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1361 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1363 * emacs-lisp/package.el (package-menu-mode)
1364 (package-menu--print-info, package-menu--archive-predicate):
1365 Add Archive column to package list.
1367 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1369 Fix problems found while writing a test suite.
1371 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1372 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1373 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1374 to nil when running original file name handler. Otherwise,
1375 there are problems with constructs like "$$FOO".
1377 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1380 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1382 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1384 * subr.el (version<, version<=, version=):
1385 Update docstrings with information for snapshot versions.
1387 * helpers.el: New library for misc helper functions.
1388 (hash-table-keys): New function returning a list of hash keys.
1389 (hash-table-values): New function returning a list of hash values.
1391 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1393 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1394 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1396 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1398 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1399 checking whether point is after a 1-letter word.
1401 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1403 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1404 Don't infloop when expanding region over `multiline' syntax-type that
1405 begins a line (bug#15778).
1407 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1409 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1410 Make it into a proper minor mode.
1411 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1412 (rectangle-mark-mode-map): New keymap.
1413 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1415 2013-11-04 Glenn Morris <rgm@gnu.org>
1417 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1419 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1421 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1422 (ruby-smie-rules): Use smie-rule-parent instead.
1424 * emacs-lisp/smie.el (smie-rule-parent): Always call
1425 smie-indent-virtual rather than only for hanging tokens.
1426 (smie--next-indent-change): New helper command.
1428 2013-11-03 Glenn Morris <rgm@gnu.org>
1430 * Makefile.in (abs_srcdir): Remove.
1431 (emacs): Unset EMACSLOADPATH.
1433 2013-11-02 Glenn Morris <rgm@gnu.org>
1435 * Makefile.in (EMACS): Use a relative filename.
1436 (abs_top_builddir): Remove.
1437 (custom-deps, finder-data, autoloads): Use --chdir.
1439 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1441 Use relative filenames in TAGS files.
1442 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1443 (lisptagsfiles4, TAGS): Use relative file names.
1444 (TAGS-LISP): Remove.
1445 (maintainer-clean): No more TAGS-LISP file.
1447 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1448 (lisptagsfiles4): Use absolute filenames again.
1449 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1450 Remove all *loaddefs files, not just the first. Remove esh-groups.
1451 (maintainer-clean): Delete TAGS, TAGS-LISP.
1453 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1455 * emacs-lisp/package.el (package-version-join):
1456 Recognize snapshot versions.
1458 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1460 * subr.el (version-regexp-alist): Add support for snapshot versions.
1462 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1464 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1465 New function, replacement for `smie-rule-parent' for when we want to
1466 skip over our direct parent if it's an assignment token..
1467 (ruby-smie-rules): Use it.
1469 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1471 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1472 unconditionally. Remove now unnecessary forward declarations.
1473 Remove XEmacs-specific setup.
1474 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1475 (ruby-font-lock-syntactic-keywords)
1476 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1477 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1478 (ruby-here-doc-end-syntax): Remove.
1479 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1480 defined as function.
1482 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1484 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1486 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1488 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1489 table and abbrev table, `define-derived-mode' does that for us
1492 2013-11-01 Glenn Morris <rgm@gnu.org>
1494 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1495 files is atomic for some time, so no parallel compilation issues).
1497 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1499 * faces.el (face-x-resources): Add :distant-foreground.
1500 (region): Use :distant-foreground for gtk and ns.
1502 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1504 Allow multiple bibliographies when BibLaTeX is used rather than
1506 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1507 (reftex-locate-bibliography-files): Us it.
1509 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1511 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1512 allow comments in pbm files.
1514 * term/w32-win.el (dynamic-library-alist): Support newer versions
1515 of libjpeg starting with v7: look only for the DLL from the
1516 version against which Emacs was built.
1517 Support versions of libpng beyond 1.4.x.
1518 Support libtiff v4.x.
1520 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1522 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1523 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1525 (ruby-deep-arglist): Add property :type.
1527 2013-10-31 Glenn Morris <rgm@gnu.org>
1529 * Makefile.in (custom-deps, finder-data): No need to setq the target
1530 variables, we are in the right directory and the defaults work fine.
1532 2013-10-30 Glenn Morris <rgm@gnu.org>
1534 * Makefile.in (autoloads): Do not use abs_lisp.
1536 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1537 `newline' does not respect `standard-output', so use `princ'.
1539 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1541 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1542 * buff-menu.el (Buffer-menu--unmark): New function.
1543 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1545 2013-10-30 Glenn Morris <rgm@gnu.org>
1547 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1549 * emacs-lisp/package.el (lm-homepage): Declare.
1551 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1554 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1556 * Makefile.in (finder-data, autoloads, update-subdirs)
1557 (compile-main, compile-clean, compile-always, bootstrap-clean):
1558 Check return value of cd.
1559 (compile-calc): Remove.
1561 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1563 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1565 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1566 (byte-compile-and-folded): New function.
1567 (=, <, >, <=, >=): Use it.
1569 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1570 (path-separator, null-device, buffer-file-coding-system)
1571 (lpr-headers-switches): Check system-type before modifying them.
1572 (find-buffer-file-type-coding-system): Mark obsolete.
1573 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1574 find-file-not-found-set-buffer-file-coding-system.
1575 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1576 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1577 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1578 (w32-direct-print-region-helper, w32-direct-print-region-function)
1579 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1580 * startup.el (normal-top-level-add-subdirs-to-load-path):
1581 * ps-print.el (ps-print-region-function):
1582 * lpr.el (print-region-function): Use new name.
1584 * subr.el (custom-declare-variable-early): Remove function.
1585 (custom-declare-variable-list): Remove var.
1586 (error, user-error): Remove `while' loop.
1587 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1588 (user-emacs-directory-warning, locate-user-emacs-file):
1590 * simple.el (read-quoted-char-radix, read-quoted-char):
1591 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1593 * custom.el (custom-declare-variable-list): Don't process
1594 custom-declare-variable-list.
1596 * progmodes/python.el (python-shell-get-buffer): New function.
1597 (python-shell-get-process): Use it.
1598 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1599 Python which encoding was used. Don't split-string since we only care
1600 about the first line. Return the temp-file, if applicable.
1601 (python-shell-send-region): Tell compile.el how to turn locations in
1602 the temp-file into locations in the source buffer.
1604 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1606 * subr.el (undefined): Add missing behavior from the C code for
1609 * rect.el: Use lexical-binding. Add new rectangular region support.
1610 (rectangle-mark): New command.
1611 (rectangle--region): New var.
1612 (deactivate-mark-hook): Reset rectangle--region.
1613 (rectangle--extract-region, rectangle--insert-for-yank)
1614 (rectangle--highlight-for-redisplay)
1615 (rectangle--unhighlight-for-redisplay): New functions.
1616 (region-extract-function, redisplay-unhighlight-region-function)
1617 (redisplay-highlight-region-function): Use them to handle
1619 * simple.el (region-extract-function): New var.
1620 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1621 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1622 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1623 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1624 (redisplay-unhighlight-region-function)
1625 (redisplay-highlight-region-function): New vars.
1626 (redisplay--update-region-highlight): New function.
1627 (pre-redisplay-function): Use it.
1628 (exchange-point-and-mark): Don't deactivate the mark before
1629 reactivate-it anyway.
1630 * comint.el (comint-kill-region): Remove yank-handler argument.
1631 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1632 (delete-char): Remove property, since it's now part of their
1634 (self-insert-iso): Remove property since this command doesn't exist.
1636 * emacs-lisp/package.el (package--download-one-archive)
1637 (describe-package-1): Don't query the user about final newline.
1639 2013-10-29 Daniel Colascione <dancol@dancol.org>
1641 * net/tramp.el (tramp-methods): Document new functionality.
1642 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1643 tramp-hostname-checker if method provides one instead of scanning
1644 argument list for "%h" to decide hostname acceptability.
1646 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1648 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1649 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1650 Handle COPY-CONTENTS. (Bug#15737)
1652 2013-10-28 Daiki Ueno <ueno@gnu.org>
1655 (epa-file-cache-passphrase-for-symmetric-encryption):
1656 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1658 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1660 * image.el (defimage):
1661 (image-load-path): Doc fixes.
1663 2013-10-27 Alan Mackenzie <acm@muc.de>
1665 Indent statements in macros following "##" correctly.
1666 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1667 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1669 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1671 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1673 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1675 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1676 after `=' is probably a new expression.
1678 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1680 * man.el (man-imenu-title): New option.
1681 (Man-mode-map): Add menu. (Bug#15722)
1682 (Man-mode): Add imenu to menu.
1684 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1686 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1687 specific in what the first arg can be: a non-keyword word,
1688 string/regexp/percent literal opener, opening paren, or unary
1689 operator followed directly by word.
1691 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1693 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1694 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1695 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1696 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1697 Remove vars, they do not apply any more.
1698 (prolog-mode-abbrev-table): Remove redundant declaration.
1699 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1700 (prolog-use-smie): Remove.
1701 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1702 supported by prolog-electric-if-then-else-flag.
1703 (prolog-mode-variables, prolog-menu): Use setq-local.
1704 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1705 Remove binding to `Backspace' since this key doesn't exist anyway.
1706 Remove bindings for electric self-inserting keys.
1707 (prog-mode): Assume it's defined.
1708 (prolog-post-self-insert): New function.
1709 (prolog-mode): Use it.
1710 (prolog-indent-line, prolog-indent-level)
1711 (prolog-find-indent-of-matching-paren)
1712 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1713 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1714 (prolog-goto-next-paren, prolog-in-string-or-comment)
1715 (prolog-tokenize, prolog-inside-mline-comment)
1716 (prolog-find-start-of-mline-comment): Remove functions.
1717 (prolog-find-unmatched-paren, prolog-clause-end)
1718 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1719 (prolog-electric--if-then-else): Rename from
1720 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1721 (prolog-tokenize-searchkey): Remove const.
1722 (prolog-clause-info): Use forward-sexp.
1723 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1724 (prolog-electric-if-then-else): Remove commands.
1725 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1726 for use in post-self-insert-hook.
1727 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1728 for use in post-self-insert-hook.
1729 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1730 for use in post-self-insert-hook.
1731 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1732 adapt it for use in post-self-insert-hook.
1734 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1736 * emacs-lisp/ert.el (ert-run-tests-interactively):
1737 Use `completing-read'. (Bug#9756)
1739 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1741 * simple.el (line-move): Call line-move-1 instead of
1742 line-move-visual when the current window hscroll is zero, but
1743 temporary-goal-column indicates we will need to hscroll as result
1744 of the movement. (Bug#15712)
1746 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1748 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1749 capitalization. Use :visible instead of :active.
1750 Fix `ruby-indent-exp' reference. Add menu items for the generic
1751 commands that are used with SMIE.
1752 (ruby-do-end-to-brace): Insert space after `{'.
1754 2013-10-25 John Anthony <john@jo.hnanthony.com>
1756 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1758 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1760 2013-10-25 Glenn Morris <rgm@gnu.org>
1762 * vc/vc.el (vc-print-log): Don't use a working revision unless
1763 one was explicitly specified. (Bug#15322)
1765 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1767 * subr.el (add-to-list): Preserve return value in compiler-macro
1770 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1772 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1773 result. Ask user to retry using '-all' flag. (Bug#15701)
1775 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1777 * emacs-lisp/smie.el: New smie-config system.
1778 (smie-config): New defcustom.
1779 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1780 (smie-config-guess, smie-config-save): New commands.
1781 (smie-config--mode-local, smie-config--buffer-local)
1782 (smie-config--trace, smie-config--modefuns): New vars.
1783 (smie-config--advice, smie-config--mode-hook)
1784 (smie-config--setter, smie-config-local, smie-config--get-trace)
1785 (smie-config--guess-value, smie-config--guess): New functions.
1786 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1787 text properties. Treat "string fence" syntax like string syntax.
1789 * progmodes/sh-script.el (sh-use-smie): Change default.
1790 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1791 (sh-var-value): Simplify by CSE.
1792 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1793 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1795 (sh-guess-basic-offset): Use cl-incf.
1796 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1798 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1800 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1803 2013-10-24 Glenn Morris <rgm@gnu.org>
1805 * Makefile.in (abs_top_srcdir): Remove.
1806 (update-subdirs): Use relative path to update-subdirs.
1808 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1810 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1811 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1812 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1813 Call unmsys--file-name before expand-file-name, not after it.
1815 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1817 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1818 (ert-test-skipped): New error.
1819 (ert-skip, ert-stats-skipped): New defuns.
1820 (ert--skip-unless): New macro.
1821 (ert-test-skipped): New struct.
1822 (ert--run-test-debugger, ert-test-result-type-p)
1823 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1824 (ert--stats-set-test-and-result, ert-char-for-test-result)
1825 (ert-string-for-test-result, ert-run-tests-batch)
1826 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1827 Handle skipped tests. (Bug#9803)
1829 2013-10-24 Glenn Morris <rgm@gnu.org>
1831 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1833 * Makefile.in (abs_top_srcdir): New, set by configure.
1834 (update-subdirs): Correct build-aux location.
1836 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1838 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1839 value, whether we could auto-deduce `backend', or not.
1841 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1842 with parameters" example. Simplify the "is it block or is it
1843 hash" check, but also make it more thorough.
1845 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1847 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1849 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1851 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1854 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1857 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1859 * progmodes/compile.el (compilation-directory-matcher)
1860 (compilation-page-delimiter):
1861 Support GNU Make-4.0 directory quoting. (Bug#15678)
1863 2013-10-23 Leo Liu <sdl.web@gmail.com>
1865 * ido.el (ido-tidy): Handle read-only text.
1867 2013-10-23 Glenn Morris <rgm@gnu.org>
1869 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1870 (emacs, compile, compile-always):
1871 Quote entities that might contain whitespace.
1872 (custom-deps, finder-data, autoloads): Use abs_lisp.
1873 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1874 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1875 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1877 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1879 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1880 Use `following-char'.
1882 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1884 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1885 * progmodes/ruby-mode.el (ruby-smie-rules):
1886 Remove corresponding workaround. Fix indentation rule of ";" so it
1887 also applies when ";" is the parent.
1889 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1891 * frame.el (display-screens, display-pixel-height)
1892 (display-pixel-width, display-mm-width, display-backing-store)
1893 (display-save-under, display-planes, display-color-cells)
1894 (display-visual-class, display-monitor-attributes-list):
1895 Mention the optional ‘display’ argument in doc strings.
1897 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1899 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1900 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1902 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1904 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1905 TODO. Add "." after " @ ".
1906 (ruby-smie--at-dot-call): New function. Checks if point at method
1907 call with explicit target.
1908 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1909 to the method name tokens when it precedes them.
1910 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1911 (ruby-smie-rules): Add rule for indentation before and after "."
1914 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1916 * textmodes/remember.el (remember-diary-extract-entries):
1919 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1922 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1924 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1925 (ruby-smie--implicit-semi-p): Add new operator chars.
1927 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1929 (ruby-smie--args-separator-p): Check that there's no newline
1930 between method call and its arguments.
1932 2013-10-20 Alan Mackenzie <acm@muc.de>
1934 Allow comma separated lists after Java "implements".
1936 * progmodes/cc-engine.el (c-backward-over-enum-header):
1938 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1939 from a "disallowed" list in enum fontification.
1941 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1943 * startup.el (default-frame-background-mode): Remove unused defvar.
1945 * progmodes/verilog-mode.el (verilog-mode): Don't set
1946 comment-indent-function globally.
1948 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1950 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1951 Move Info menu item creation to ns-win.el.
1953 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1956 * menu-bar.el: Move GNUStep specific menus...
1958 * term/ns-win.el (ns-initialize-window-system): ... to here.
1960 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1962 * simple.el (newline): Only run post-self-insert-hook when
1963 called interactively.
1965 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1967 * icomplete.el (icomplete-with-completion-tables): Add :version.
1969 2013-10-19 Alan Mackenzie <acm@muc.de>
1971 Fix fontification bugs with constructors and const.
1973 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1974 CASE 2) Remove the check for the absence of a suffix construct
1975 after a function declaration with only types (no identifiers) in
1976 the parentheses. Also, accept a function declaration with just a
1977 type inside the parentheses, if this type can be positively
1978 recognised as such, or if a prefix keyword like "explicit" nails
1979 down the construct as a declaration.
1981 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1983 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1984 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1985 the problem whereby selecting a menu item that leads to a
1986 minibuffer prompt moves the cursor out of the minibuffer window,
1987 making it hard to type at the prompt. Suggested by Stefan Monnier
1988 <monnier@iro.umontreal.ca>.
1990 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1992 * menu-bar.el: Don't make Services menu.
1994 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1996 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1997 (ffap-alist): Use ffap-c++-mode for c++-mode.
1998 (ffap-c++-path): New variable.
1999 (ffap-c++-mode): New function.
2001 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2003 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2005 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2007 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2008 introduced on 2013-09-08, which results in an infinite loop
2009 requesting a password.
2011 2013-10-18 Glenn Morris <rgm@gnu.org>
2013 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2015 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2017 Sync with upstream verilog-mode revision 1a6ecec7.
2018 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2019 (verilog-mode-release-date): Remove.
2020 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2021 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2022 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2023 (verilog-auto-tieoff-ignore-regexp)
2024 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2025 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2026 (verilog-signals-with, verilog-dir-cache-preserving)
2027 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2029 (verilog-case-fold): New option, to control case folding in
2030 regexp searches, bug597.
2031 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2032 (verilog-string-match-fold, verilog-in-paren-count)
2033 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2034 (verilog-at-close-struct-p): New functions.
2035 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2036 (verilog-forward-sexp, verilog-set-auto-endcomments):
2037 (verilog-leap-to-case-head): Handle "unique0" case.
2038 (verilog-in-constraint-re): New constant.
2039 (verilog-keywords, verilog-type-font-keywords):
2040 Add some SystemVerilog 1800-2012 keywords.
2041 (verilog-label-be): Remove unimplemented argument, bug669.
2042 (verilog-batch-execute-func): When batch expanding clear
2043 create-lockfiles to prevent spurious user locks when a file ends
2045 (verilog-calculate-indent, verilog-calc-1)
2046 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2047 (verilog-do-indent): Fix indentation of nested constraints
2049 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2050 (verilog-auto-inst-param): Use verilog-string-match-fold.
2051 (verilog-read-inst-module-matcher):
2052 Fix AUTOINST on gate primitives with #1.
2053 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2054 Reads all user-defined typed variables.
2055 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2056 (verilog-signals-matching-regexp)
2057 (verilog-signals-not-matching-regexp, verilog-auto):
2058 Respect verilog-case-fold.
2059 (verilog-diff-report): Fix line count.
2060 (verilog-auto-assign-modport): Remove unused local `modi'.
2061 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2062 better handle multidimensional arrays.
2063 Fix packed array ports misadding bit index in AUTOINST, bug637.
2064 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2065 to not double-declare existing outputs and inputs, respectively.
2066 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2067 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2068 (verilog-sk-uvm-component): New skeleton.
2069 (verilog-submit-bug-report): Add verilog-case-fold,
2070 remove verilog-mode-release-date.
2072 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2074 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2077 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2079 * textmodes/remember.el (remember): set buffer-offer-save in
2080 remember buffers (bug#13566).
2082 2013-10-18 Daniel Colascione <dancol@dancol.org>
2084 When evaluating forms in ielm, direct standard output to ielm
2085 buffer. Add new ielm-return-for-effect command. Remove trailing
2086 whitespace throughout.
2088 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2089 (ielm-return-for-effect): New command.
2090 (ielm-send-input): Accept optional `for-effect' parameter.
2091 (ielm-eval-input): Accept optional `for-effect' parameter.
2092 Bind `standard-output' to stream we create using
2093 `ielm-standard-output-impl'. Suppress printing result when
2095 (ielm-standard-output-impl): New function.
2096 (inferior-emacs-lisp-mode): Explain new features in documentation.
2098 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2102 * net/tramp.el (tramp-debug-message): Do not check for connection
2104 (tramp-message): Use "vector" connection property.
2106 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2107 (tramp-equal-remote, tramp-eshell-directory-change)
2108 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2109 (tramp-adb-handle-rename-file)
2110 * net/tramp-cmds.el (tramp-list-remote-buffers)
2111 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2112 * net/tramp-compat.el (tramp-compat-process-running-p)
2113 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2114 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2115 (tramp-gvfs-handle-rename-file)
2116 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2117 (tramp-set-file-uid-gid)
2118 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2119 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2122 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2123 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2124 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2125 (tramp-gw-open-network-stream): Suppress unrelated traces.
2127 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2128 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2129 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2130 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2131 connection property.
2133 * net/tramp-cache.el (top): Suppress traces when reading
2136 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2137 Refactor common code. Improve debug message.
2138 (tramp-maybe-open-connection)
2139 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2140 connection buffer too early.
2142 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2143 from `tramp-smb-actions-with-acl'.
2144 (tramp-smb-actions-set-acl): New defconst.
2145 (tramp-smb-handle-copy-directory)
2146 (tramp-smb-action-get-acl): New defun, renamed from
2147 `tramp-smb-action-with-acl'.
2148 (tramp-smb-action-set-acl): New defun.
2149 (tramp-smb-handle-set-file-acl): Rewrite.
2151 2013-10-17 Glenn Morris <rgm@gnu.org>
2153 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2155 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2157 * skeleton.el (skeleton-newline): Remove.
2158 (skeleton-internal-1): Use (insert "\n") instead.
2160 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2163 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2164 forward-sexp-function while we redo its job (bug#15613).
2166 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2168 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2169 represented by lists.
2171 2013-10-16 Glenn Morris <rgm@gnu.org>
2173 * tmm.el (tmm--history): New dynamic variable.
2174 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2176 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2178 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2179 (tramp-smb-errors): Add error messages.
2180 (tramp-smb-actions-with-acl): New defconst.
2181 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2182 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2183 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2184 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2185 (tramp-smb-get-stat-capability): Fix tests.
2187 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2189 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2192 2013-10-16 Glenn Morris <rgm@gnu.org>
2194 * ansi-color.el (ansi-color-drop-regexp):
2195 Add 1J, 1K, 2K. (Bug#15617)
2197 * files.el (hack-local-variables--warned-lexical): New.
2198 (hack-local-variables):
2199 Warn about misplaced lexical-binding. (Bug#15616)
2201 * net/eww.el (eww-render): Always set eww-current-url,
2202 and update header line. (Bug#15622)
2203 (eww-display-html): ... Rather than just doing it here.
2205 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2207 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2208 menu navigations commands.
2210 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2212 * progmodes/subword.el (subword-capitalize): Be careful when
2213 the search for [[:alpha:]] fails (bug#15580).
2215 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2217 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2218 to commands that scroll the menu.
2220 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2222 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2223 Handle methods ending with `?' and `!'.
2225 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2227 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2228 `japanese-cp932' to `cp932' to fix the problem where saving a
2229 source file written in Shift_JIS twice would end up having
2230 `coding: japanese-cp932' which Ruby could not recognize.
2231 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2232 in `ruby-encoding-map'.
2233 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2234 doesn't need to be explicitly declared in magic comment.
2235 (ruby-encoding-map): Add type declaration for better customize UI.
2237 2013-10-13 Glenn Morris <rgm@gnu.org>
2239 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2240 Occur buffers are read-only. http://bugs.debian.org/720775
2242 * emacs-lisp/authors.el (authors-fixed-entries):
2243 Comment out old alpha stuff.
2245 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2247 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2248 to `after-save-hook' instead of `before-save-hook'.
2249 (ruby-mode-set-encoding): Use the value of coding system used to
2250 write the file. Call `basic-save-buffer-1' after modifying the
2253 2013-10-13 Alan Mackenzie <acm@muc.de>
2255 Fix indentation/fontification of Java enum with
2256 "implements"/generic.
2258 * progmodes/cc-engine.el (c-backward-over-enum-header):
2259 Extracted from the three other places and enhanced to handle generics.
2260 (c-inside-bracelist-p): Uses new function above.
2261 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2263 (c-font-lock-enum-tail): Uses new function above.
2265 2013-10-13 Kenichi Handa <handa@gnu.org>
2267 * international/mule-cmds.el (select-safe-coding-system): Remove a
2268 superfluous condition in chekcing whether a coding system is safe
2271 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2273 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2275 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2277 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2279 2013-10-13 Glenn Morris <rgm@gnu.org>
2281 * menu-bar.el (menu-bar-update-buffers):
2282 Unify Buffers menu prompt string. (Bug#15576)
2284 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2286 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2288 (authors-fixed-entries): Use accented form of name.
2290 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2292 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2293 method calls (bug#15594).
2294 (ruby-smie--args-separator-p): New function.
2295 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2296 recognize paren-free method calls.
2298 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2299 internals of universal-argument.
2301 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2303 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2304 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2305 dropped menu on second mouse click on the menu bar.
2307 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2309 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2310 (explicit-shell-file-name): Declare.
2311 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2312 (sh-completion-at-point-function): New function.
2314 (sh-smie--keyword-p): Remove unused argument.
2315 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2317 (sh-set-shell): Always setup SMIE, even if we use the
2318 old indentation code.
2320 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2322 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2324 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2325 predicate would return nil are almost non-existent.
2326 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2328 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2329 cache also after commands that modify the buffer but don't move
2332 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2334 * env.el (substitute-env-in-file-name): New function.
2335 (substitute-env-vars): Extend the meaning of the optional arg.
2337 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2339 * term/w32-win.el (dynamic-library-alist): Define separate lists
2340 of GIF DLLs for versions before and after 5.0.0 of giflib.
2343 2013-10-10 João Távora <joaotavora@gmail.com>
2345 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2346 not locked, use last revision and current source as
2347 defaults. (Bug#15569)
2349 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2351 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2354 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2356 * window.el (pop-to-buffer-same-window): Fix doc-string.
2359 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2361 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2363 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2365 * calendar/icalendar.el (icalendar-import-file):
2366 Fix interactive spec. (Bug#15482)
2368 2013-10-10 Glenn Morris <rgm@gnu.org>
2370 * desktop.el (desktop-save): Default to saving in .emacs.d,
2371 since PWD is no longer in desktop-path by default. (Bug#15319)
2373 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2374 now that text mode has a menu with the same entry.
2375 (menu-bar-text-mode-auto-fill): Remove now unused func.
2376 * textmodes/text-mode.el (text-mode-map):
2377 Use auto-fill help text from menu-bar.el.
2379 2013-10-10 John Anthony <john@jo.hnanthony.com>
2381 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2383 2013-10-09 Juri Linkov <juri@jurta.org>
2385 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2386 instead of this-command-keys. Add universal-argument-more and
2387 universal-argument-minus to the list of prefix commands. (Bug#15568)
2389 2013-10-09 Glenn Morris <rgm@gnu.org>
2391 * vc/vc-svn.el (vc-svn-create-repo):
2392 Expand paths in file://... url. (Bug#15446)
2394 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2396 (authors): Remove unused local variables.
2398 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2400 * profiler.el: Create a more coherent calltree from partial backtraces.
2401 (profiler-format): Hide the tail with `invisible' so that C-s can still
2402 find the hidden elements.
2403 (profiler-calltree-depth): Don't recurse so enthusiastically.
2404 (profiler-function-equal): New hash-table-test.
2405 (profiler-calltree-build-unified): New function.
2406 (profiler-calltree-build): Use it.
2407 (profiler-report-make-name-part): Indent the calltree less.
2408 (profiler-report-mode): Add visibility specs for profiler-format.
2409 (profiler-report-expand-entry, profiler-report-toggle-entry):
2410 Expand the whole subtree when provided with a prefix arg.
2412 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2414 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2416 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2417 hanging iuwu-mod token.
2418 (ruby-smie--forward-token): Do not include a dot after a token in
2420 (ruby-smie--backward-token): Likewise.
2422 2013-10-08 Juri Linkov <juri@jurta.org>
2424 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2425 to isearch-other-control-char.
2426 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2427 and isearch-post-command-hook to post-command-hook.
2428 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2429 and isearch-post-command-hook from post-command-hook.
2430 (isearch-unread-key-sequence)
2431 (isearch-reread-key-sequence-naturally)
2432 (isearch-lookup-scroll-key, isearch-other-control-char)
2433 (isearch-other-meta-char): Remove functions.
2434 (isearch-pre-command-hook, isearch-post-command-hook):
2435 New functions based on isearch-other-meta-char rewritten
2436 relying on the new behavior of overriding-terminal-local-map
2437 that does not replace the local keymaps any more. (Bug#15200)
2439 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2441 Support menus on text-mode terminals.
2442 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2445 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2447 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2448 Move here from mouse.el.
2449 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2451 (tty-menu-navigation-map): New map for TTY menu navigation.
2453 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2455 * frame.el (display-mouse-p): Report text-mode mouse as available
2457 (display-popup-menus-p): Report availability if mouse is
2458 available; don't condition on window-system.
2460 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2461 (tty-menu-selected-face): New faces.
2463 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2465 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2466 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2467 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2468 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2470 (lisp-mode-variables): New `elisp' argument.
2471 (emacs-lisp-mode): Use it.
2472 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2473 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2475 * indent.el: Use lexical-binding.
2476 (indent-region): Add progress reporter.
2477 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2479 (indent--next-tab-stop): New function to implement this behavior.
2480 (tab-to-tab-stop, move-to-tab-stop): Use it.
2482 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2484 * indent.el (indent-rigidly--current-indentation): New function.
2485 (indent-rigidly-map): New var.
2486 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2488 2013-10-08 Bastien Guerry <bzg@gnu.org>
2490 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2492 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2494 * progmodes/perl-mode.el: Use lexical-binding.
2495 Remove redundant :group args.
2496 (perl-nochange): Change default to be closer to other major modes's
2498 (perl-indent-line): Don't consider text on current line as a
2499 valid beginning of function from which to indent.
2501 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2502 with more than one argument (bug#15538).
2504 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2506 * vc/pcvs.el: Use lexical-binding.
2507 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2508 environment of `eval'.
2509 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2510 than a list of expressions. Adjust callers.
2511 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2513 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2515 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2516 case of the dot in a chained method call being on the following line.
2518 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2520 * electric.el (electric-indent-inhibit): New var.
2521 (electric-indent-post-self-insert-function): Use it.
2522 * progmodes/python.el (python-mode): Set it.
2524 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2527 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2529 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2530 (css-mode): Use electric-indent-chars.
2532 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2533 (font-lock-beg, font-lock-end): Move before first use.
2534 (nxml-mode): Use syntax-propertize-function.
2535 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2536 (nxml-extend-after-change-region): Remove.
2537 * nxml/xmltok.el: Use lexical-binding.
2538 (xmltok-save): Use `declare'.
2539 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2540 * nxml/nxml-util.el: Use lexical-binding.
2541 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2543 * nxml/nxml-ns.el: Use lexical-binding.
2544 (nxml-ns-save): Use `declare'.
2545 (nxml-ns-prefixes-for): Avoid add-to-list.
2546 * nxml/rng-match.el: Use lexical-binding.
2547 (rng--ipattern): Use cl-defstruct.
2548 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2549 (rng-cons-group-after, rng-subst-group-after)
2550 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2551 Use closures instead of `(lambda...).
2553 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2555 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2558 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2559 Use `tramp-handle-insert-file-contents'.
2560 (tramp-gvfs-handle-insert-file-contents): Remove function.
2562 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2563 Use `save-restriction' in order to keep markers.
2565 * net/trampver.el: Update release number.
2567 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2569 * progmodes/compile.el (compilation-parse-errors):
2570 Use compilation--put-prop.
2571 (compilation--ensure-parse): Check compilation-multiline.
2573 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2575 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2578 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2580 * progmodes/ruby-mode.el: Fix recently added tests.
2581 (ruby-smie-grammar): Add - and +.
2582 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2583 (ruby-smie--backward-id): New functions.
2584 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2585 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2588 2013-10-07 Leo Liu <sdl.web@gmail.com>
2590 * register.el (register-preview-delay)
2591 (register-preview-functions): New variables.
2592 (register-read-with-preview, register-preview)
2593 (register-describe-oneline): New functions.
2594 (point-to-register, window-configuration-to-register)
2595 (frame-configuration-to-register, jump-to-register)
2596 (number-to-register, view-register, insert-register)
2597 (copy-to-register, append-to-register, prepend-to-register)
2598 (copy-rectangle-to-register): Use register-read-with-preview to
2599 read register. (Bug#15525)
2601 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2603 * net/network-stream.el (network-stream-open-starttls): Don't add
2604 --insecure if it's already present, because that gnutls-cli
2605 rejects getting that parameter twice.
2607 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2609 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2612 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2614 * newcomment.el (comment-use-global-state): Change default value
2615 to t, mark obsolete (Bug#15251).
2616 (comment-beginning): In addition to `comment-to-syntax', check the
2617 value of `comment-use-global-state'.
2619 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2621 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2622 (ruby-comment-column): Follow the global default, by default.
2623 (ruby-smie-grammar): Add assignment syntax.
2624 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2625 open-paren, a comma, or a \.
2626 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2627 and line continuations.
2628 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2629 followed by implicit semi-colons. Add rule for string concatenation
2630 and for indentation at BOB.
2631 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2633 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2634 calling next-sexp, since next-token may have skipped chars which
2635 next-sexp doesn't know should be skipped!
2637 2013-10-05 Leo Liu <sdl.web@gmail.com>
2639 * progmodes/octave.el (octave-send-region):
2640 Call compilation-forget-errors.
2642 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2644 * vc/vc-svn.el (vc-svn-find-admin-dir):
2645 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2646 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2647 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2648 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2650 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2652 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2654 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2656 * subr.el (read-passwd): Hide chars even when called within a context
2657 where after-change-functions is disabled (bug#15501).
2658 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2659 until we removed ourself from overriding-terminal-local-map.
2661 2013-10-04 Leo Liu <sdl.web@gmail.com>
2663 * progmodes/octave.el (inferior-octave-mode):
2664 Call compilation-forget-errors.
2666 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2668 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2670 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2672 * net/secrets.el (secrets-create-collection): Add optional
2673 argument ALIAS. Use proper Label keyword. Append ALIAS as
2674 dbus-call-method argument. (Bug#15516)
2676 2013-10-04 Leo Liu <sdl.web@gmail.com>
2678 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2679 (inferior-octave-compilation-font-lock-keywords): New variables.
2680 (compilation-error-regexp-alist)
2681 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2682 (inferior-octave-mode): Use compilation-shell-minor-mode.
2684 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2686 * minibuffer.el (completion--replace): Be careful that `end' might be
2689 2013-10-03 Daiki Ueno <ueno@gnu.org>
2691 Add support for package signature checking.
2692 * emacs-lisp/package.el (url-http-file-exists-p)
2693 (epg-make-context, epg-context-set-home-directory)
2694 (epg-verify-string, epg-context-result-for)
2695 (epg-signature-status, epg-signature-to-string)
2696 (epg-check-configuration, epg-configuration)
2697 (epg-import-keys-from-file): Declare.
2698 (package-check-signature): New user option.
2699 (package-unsigned-archives): New user option.
2700 (package-desc): Add `signed' field.
2701 (package-load-descriptor): Set `signed' field if .signed file exists.
2702 (package--archive-file-exists-p): New function.
2703 (package--check-signature): New function.
2704 (package-install-from-archive): Check package signature.
2705 (package--download-one-archive): Check archive signature.
2706 (package-delete): Remove .signed file.
2707 (package-import-keyring): New command.
2708 (package-refresh-contents): Import default keyring.
2709 (package-desc-status): Add "unsigned" status.
2710 (describe-package-1, package-menu--print-info)
2711 (package-menu-mark-delete, package-menu--find-upgrades)
2712 (package-menu--status-predicate): Support "unsigned" status.
2714 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2716 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2717 the new compilation scheme using the new byte-codes.
2719 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2720 (byte-pophandler): New byte codes.
2721 (byte-goto-ops): Adjust accordingly.
2722 (byte-compile--use-old-handlers): New var.
2723 (byte-compile-catch): Use new byte codes depending on
2724 byte-compile--use-old-handlers.
2725 (byte-compile-condition-case--old): Rename from
2726 byte-compile-condition-case.
2727 (byte-compile-condition-case--new): New function.
2728 (byte-compile-condition-case): New function that dispatches depending
2729 on byte-compile--use-old-handlers.
2730 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2733 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2734 Optimize under `condition-case' and `catch' if
2735 byte-compile--use-old-handlers is nil.
2736 (disassemble-offset): Handle new bytecodes.
2738 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2740 * subr.el (error): Use `declare'.
2741 (decode-char, encode-char): Use advertised-calling-convention instead
2742 of the docstring to discourage use of the `restriction' arg.
2744 2013-10-03 Daiki Ueno <ueno@gnu.org>
2746 * epg.el (epg-verify-file): Add a comment saying that it does not
2747 notify verification error as a return value nor a signal.
2748 (epg-verify-string): Ditto.
2750 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2752 * progmodes/compile.el (compilation-start): Try globbing the arg to
2755 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2757 Sync with Tramp 2.2.8.
2759 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2760 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2761 * net/trampver.el: Update release number.
2763 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2765 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2766 and default-process-coding-system for darwin only.
2768 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2770 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2772 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2774 * vc/vc-git.el (vc-git-grep): Disable pager.
2776 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2778 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2779 Use :url instead of :homepage, as per
2780 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2782 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2783 non-nil, use `syntax-ppss' (Bug#15251).
2785 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2787 * progmodes/octave.el (inferior-octave-startup-file):
2788 Prefer ~/.emacs.d/init_octave.m.
2790 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2792 * emacs-lisp/package.el (package-desc-from-define):
2793 Accept additional arguments as plist, convert them to an alist and store
2794 them in the `extras' slot.
2795 (package-generate-description-file): Convert extras alist back to
2796 plist and append to the `define-package' form arguments.
2797 (package--alist-to-plist): New function.
2798 (package--ac-desc): Add `extras' slot.
2799 (package--add-to-archive-contents): Check if the archive-contents
2800 vector is long enough, and if it is, pass its `extras' slot value
2801 to `package-desc-create'.
2802 (package-buffer-info): Call `lm-homepage', pass the returned value
2803 to `package-desc-from-define'.
2804 (describe-package-1): Render the homepage button (Bug#13291).
2806 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2807 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2809 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2811 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2812 and default-process-coding-system to utf-8-unix (Bug#15402).
2814 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2816 * subr.el (looking-back): Do not recommend using looking-back.
2818 2013-09-28 Alan Mackenzie <acm@muc.de>
2820 Fix indentation/fontification of Java enum with "implements".
2822 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2823 regexp which matches "implements", etc., in Java.
2824 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2825 specifier clauses coming after "enum".
2826 * progmodes/cc-fonts.el (c-font-lock-declarations)
2827 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2830 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2832 * faces.el (region): Change ns_selection_color to
2833 ns_selection_fg_color, add ns_selection_bg_color.
2835 2013-09-28 Leo Liu <sdl.web@gmail.com>
2837 * progmodes/octave.el (inferior-octave-completion-table)
2838 (inferior-octave-completion-at-point): Minor tweaks.
2840 * textmodes/ispell.el (ispell-lookup-words): Rename from
2841 lookup-words. (Bug#15460)
2842 (lookup-words): Obsolete.
2843 (ispell-complete-word, ispell-command-loop): All uses changed.
2845 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2847 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2848 (octave-mode-menu): Add octave-send-buffer.
2849 (octave-send-buffer): New function.
2851 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2853 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2855 (octave-mode-menu): Add octave-lookfor.
2856 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2858 (octave-lookfor): New function.
2860 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2862 * emacs-lisp/cl-macs.el:
2863 (cl--loop-destr-temps): Remove.
2864 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2866 (cl--loop-set-iterator-function): New function.
2867 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2868 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2869 Bind `it' with `let' instead of substituting it with `cl-subst'.
2870 (cl--unused-var-p): New function.
2871 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2872 Eliminate some unused variable warnings (bug#15326).
2874 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2876 * doc-view.el (doc-view-scale-reset): Rename from
2877 `doc-view-reset-zoom-level'.
2878 (doc-view-scale-adjust): New command.
2879 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2880 `doc-view-scale-adjust'.
2882 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2884 * doc-view.el (doc-view-reset-zoom-level): New command.
2885 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2886 zoom commands (bug#15466).
2888 2013-09-26 Kenichi Handa <handa@gnu.org>
2890 * international/quail.el (quail-help): Make it not a command.
2892 2013-09-26 Leo Liu <sdl.web@gmail.com>
2894 * minibuffer.el (completion-all-sorted-completions): Make args
2895 optional as they are.
2897 2013-09-25 Daniel Colascione <dancol@dancol.org>
2899 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2900 specs are and that they're not evaluated.
2902 2013-09-24 Sam Steingold <sds@gnu.org>
2904 * midnight.el (clean-buffer-list-kill-regexps)
2905 (clean-buffer-list-kill-buffer-names): Update for the new Man
2906 buffer naming which includes the object name.
2908 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2910 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2911 (eshell-parse-command, eshell-parse-pipeline): Use it since
2912 eshell-separate-commands requires a dynamic scoped var.
2913 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2915 2013-09-23 Leo Liu <sdl.web@gmail.com>
2917 * autoinsert.el (auto-insert-alist): Make the value of
2918 lexical-binding match its file setting.
2920 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2922 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2924 * autoarg.el (autoarg-kp-digit-argument):
2925 * electric.el (Electric-command-loop):
2926 * kmacro.el (kmacro-step-edit-insert):
2927 Do not set universal-argument-num-events.
2929 2013-09-22 Leo Liu <sdl.web@gmail.com>
2931 * files.el (interpreter-mode-alist): Add octave.
2933 2013-09-21 Alan Mackenzie <acm@muc.de>
2935 C++: fontify identifier in declaration following "public:" correctly.
2936 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2937 to match "public", etc.
2938 (c-decl-prefix-re): Add ":" into the C++ value.
2939 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2940 bit. Add a check for a ":" preceded by "public", etc.
2942 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2944 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2945 recognized by GDB 7.5 and later.
2947 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2949 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2951 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2953 * subr.el (internal--call-interactively): New const.
2954 (called-interactively-p): Use it (bug#3984).
2956 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2958 * vc/pcvs.el (cvs-mode-ignore):
2959 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2960 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2962 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2964 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2965 (eshell-ls-orig-insert-directory): Remove.
2966 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2967 (eshell-ls-use-in-dired): Use advice-add/remove.
2968 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2969 Add `orig-fun' arg for use in :around advice.
2970 Make it check (redundantly) eshell-ls-use-in-dired.
2972 2013-09-19 Glenn Morris <rgm@gnu.org>
2974 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2976 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2978 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2980 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2982 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2983 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2984 (tramp-get-remote-python): New defuns.
2985 (tramp-get-remote-uid-with-perl)
2986 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2987 contributed by yary <not.com@gmail.com> (tiny change).
2988 (tramp-get-remote-uid-with-python)
2989 (tramp-get-remote-gid-with-python): New defuns. Python code
2990 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2991 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2993 2013-09-19 Glenn Morris <rgm@gnu.org>
2995 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2997 * eshell/em-unix.el (eshell-remove-entries):
2998 Rename argument to avoid name-clash with global `top-level'.
3000 * eshell/esh-proc.el (eshell-kill-process-function):
3001 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3002 (eshell-reset-after-proc): Remove unused arg `proc'.
3004 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3005 (directory-files-and-attributes): Mark unused arg.
3007 * eshell/em-unix.el (eshell-remove-entries):
3008 Remove unused arg `path'. Update callers.
3010 * eshell/em-hist.el (eshell-hist-parse-arguments):
3011 Remove unused arg `silent'. Update callers.
3013 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3014 Fix (f)boundp mix-up.
3016 * eshell/em-smart.el (eshell-smart-scroll-window)
3017 (eshell-disable-after-change):
3018 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3020 2013-09-18 Alan Mackenzie <acm@muc.de>
3022 Fix fontification of type when followed by "const".
3023 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3024 "known" types from fontification.
3026 2013-09-18 Glenn Morris <rgm@gnu.org>
3028 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3029 (chart-face-list): Drop Emacsen without display-color-p.
3031 * net/eww.el (libxml-parse-html-region): Declare.
3032 (eww-display-html): Explicit error if no libxml2 support.
3034 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3036 * image.el (image-type-from-buffer, image-multi-frame-p):
3037 Remove --without-x warning/error.
3039 * mouse.el (mouse-yank-primary):
3040 * term.el (term-mouse-paste):
3041 Reorder to silence --without-x compilation.
3043 * mpc.el (doc-view-mode): Silence --without-x compilation.
3045 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3046 Silence --without-x compilation.
3048 * progmodes/gud.el (gud-find-file, gud-mode):
3049 Silence --without-x compilation.
3050 (tooltip-mode): Declare.
3052 * wdired.el (dired-backup-overwrite): Remove declaration.
3053 (wdired-mode-map): Add doc string.
3055 * custom.el (x-get-resource): Declare.
3057 * eshell/em-glob.el (ange-cache):
3058 * eshell/em-unix.el (ange-cache): Declare.
3060 * faces.el (x-display-list, x-open-connection, x-get-resource):
3063 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3064 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3067 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3069 * net/gnutls.el (gnutls-log-level): Declare.
3071 * net/shr.el (image-size, image-animate): Declare.
3073 * simple.el (font-info): Declare.
3075 * subr.el (x-popup-dialog): Declare.
3077 * term/common-win.el (x-select-enable-primary)
3078 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3081 * term/ns-win.el (x-handle-args): Declare.
3083 * term/x-win.el (x-select-enable-clipboard): Declare.
3085 * term/w32-win.el (create-default-fontset): Declare.
3087 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3090 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3091 (fit-frame-to-buffer): Explicit error if --without-x.
3092 (mouse-autoselect-window-select): Silence compiler.
3094 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3096 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3097 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3098 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3099 * eshell/esh-util.el (eshell-sublist):
3100 Remove unused local variables.
3102 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3104 * textmodes/two-column.el: Make 2C-split work for --without-x.
3105 (scroll-bar-columns): Autoload.
3106 (top-level): Require fringe when compiling.
3108 2013-09-18 Leo Liu <sdl.web@gmail.com>
3110 * subr.el (add-hook): Robustify to handle closure as well.
3112 2013-09-17 Glenn Morris <rgm@gnu.org>
3114 * simple.el (messages-buffer-mode-map): Unbind "g".
3116 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3118 * help-mode.el (help-mode-finish): Use derived-mode-p.
3119 Remove obsolete highlighting.
3121 * play/life.el (life-mode): Use define-derived-mode. Derive from
3123 (life): Let-bind inhibit-read-only.
3124 (life-setup): Avoid `setq'. Use `life-mode'.
3126 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3127 which should not be needed any more.
3128 (package-menu-refresh, package-menu-describe-package): Use user-error.
3130 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3131 (eshell-post-rewrite-command-hook): Make obsolete.
3132 (eshell-parse-command): Simplify.
3133 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3134 (eshell--cmd): Declare.
3135 (eshell-parse-pipeline): Remove unused var `final-p'.
3136 Pass a dynvar to eshell-post-rewrite-command-hook.
3137 Implement the new eshell-post-rewrite-command-function.
3138 (eshell-invoke-directly): Remove unused arg `input'.
3139 * eshell/esh-io.el (eshell-io-initialize):
3140 Use eshell-post-rewrite-command-function (bug#15399).
3141 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3142 adjust to new calling convention.
3143 (eshell-create-handles): Rename args to avoid clashing with dynvar
3146 2013-09-17 Glenn Morris <rgm@gnu.org>
3148 * simple.el (messages-buffer-mode): New major mode.
3149 (messages-buffer): New function.
3150 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3151 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3152 (ert-run-test): Use `messages-buffer' function.
3153 (ert--force-message-log-buffer-truncation): Ignore read-only.
3154 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3155 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3157 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3159 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3161 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3163 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3165 * icomplete.el (icomplete-in-buffer): New var.
3166 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3167 vars and replace them with functions.
3168 (icomplete-minibuffer-setup): Adjust accordingly.
3169 (icomplete--completion-table, icomplete--completion-predicate)
3170 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3172 (icomplete-forward-completions, icomplete-backward-completions)
3173 (icomplete-simple-completing-p, icomplete-exhibit)
3174 (icomplete-completions): Use them.
3175 (icomplete--in-region-buffer): New var.
3176 (icomplete--in-region-setup): New function.
3177 (icomplete-mode): Use it.
3179 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3181 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3182 return args and options.
3183 (eshell-eval-using-options): Use the new return value of
3184 eshell--do-opts to set the options's vars in their scope.
3185 (eshell--set-option): Rename from eshell-set-option.
3187 (eshell--process-option): Rename from eshell-process-option.
3189 (eshell--process-args): Use an `opt-vals' alist to store the options's
3190 values during their processing and return them additionally to the
3193 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3195 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3196 continuation character an operator, as far as indentation is
3197 concerned (Bug#15369).
3199 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3201 * window.el (window--state-put-2): Don't process buffer state
3202 when buffer doesn't exist any more (Bug#15382).
3204 2013-09-15 Glenn Morris <rgm@gnu.org>
3206 * eshell/em-unix.el (eshell/rm):
3207 Make -f ignore missing files. (Bug#15373)
3209 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3210 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3211 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3213 2013-09-14 Glenn Morris <rgm@gnu.org>
3215 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3217 2013-09-13 Glenn Morris <rgm@gnu.org>
3219 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3220 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3222 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3224 * frame.el (x-focus-frame): Mark as declared in frame.c.
3226 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3228 * ls-lisp.el: Use advice-add.
3229 (original-insert-directory): Remove.
3230 (ls-lisp--insert-directory): Rename from insert-directory; add
3231 `orig-fun' argument.
3232 (insert-directory): Advise.
3234 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3236 * term.el (term-emulate-terminal): Decode the command string
3237 before passing it to term-command-hook. (Bug#15337)
3239 2013-09-13 Glenn Morris <rgm@gnu.org>
3241 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3243 * eshell/esh-ext.el (eshell-search-path): Declare.
3245 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3246 Otherwise an error occurs if eshell-dirs module not loaded.
3248 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3250 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3252 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3253 `tramp-check-proper-host'. Check for a valid method name.
3255 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3256 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3257 * net/tramp-sh.el (tramp-maybe-open-connection):
3258 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3260 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3261 also for hash values.
3263 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3265 * term/ns-win.el (parameters): Don't declare as dynamic.
3266 (before-make-frame-hook): Don't add ineffective function.
3268 * eshell/*.el: Use lexical-binding (bug#15231).
3270 2013-09-12 Kenichi Handa <handa@gnu.org>
3272 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3274 2013-09-12 Glenn Morris <rgm@gnu.org>
3276 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3277 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3279 * subr.el (do-after-load-evaluation): Also give compiler warnings
3280 when obsolete files are used (except by obsolete files).
3282 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3283 in the status output, assume `filename' is the first. (Bug#15322)
3285 * vc/vc.el (vc-deduce-fileset): Doc fix.
3287 * calc/calc-help.el (Info-goto-node):
3288 * progmodes/cperl-mode.el (Info-find-node):
3289 * vc/ediff.el (Info-goto-node): Update declarations.
3291 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3293 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3294 (vc-bzr-pull): Require vc-dispatcher.
3295 * vc/vc-git.el (vc-compilation-mode): Declare.
3296 (vc-git-pull): Require vc-dispatcher.
3298 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3300 * progmodes/octave.el (help-button-action): Declare.
3302 * shell.el (shell-directory-tracker): Output error as a message
3303 rather than just returning it as a string.
3304 (shell-process-pushd): Remove useless use of message.
3306 * dframe.el (dframe-timer-fn):
3307 * files.el (dir-locals-read-from-file):
3308 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3310 * reveal.el (reveal-post-command):
3311 * saveplace.el (load-save-place-alist-from-file):
3312 * shell.el (shell-resync-dirs):
3313 * w32-common-fns.el (x-get-selection-value):
3314 * emacs-lisp/copyright.el (copyright-find-copyright):
3315 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3316 * emulation/tpu-edt.el (tpu-copy-keyfile):
3317 * play/bubbles.el (bubbles--mark-neighbourhood):
3318 * progmodes/executable.el
3319 (executable-make-buffer-file-executable-if-script-p):
3320 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3322 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3324 Cleanup Eshell to rely less on dynamic scoping.
3325 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3326 last-value, and ext-command here. Bind `args' closer to `body'.
3327 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3328 (eshell--args): Declare new dynamic var.
3329 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3330 last-value, and ext-command. Pass `args' to `body'.
3331 (eshell-process-args): Bind eshell--args.
3332 (eshell-set-option): Use eshell--args.
3333 * eshell/eshell.el (eshell): Use derived-mode-p.
3334 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3335 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3336 (eshell-glob-function): Declare.
3337 * eshell/esh-util.el: Require cl-lib.
3338 (eshell-read-hosts-file): Avoid add-to-list.
3339 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3341 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3343 (eshell/diff): Remove unused var `err'.
3344 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3346 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3347 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3349 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3350 Move declaration before first use.
3351 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3352 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3355 2013-09-12 Glenn Morris <rgm@gnu.org>
3357 * term/ns-win.el (global-map): Remove binding for ispell-next,
3358 deleted 1999-05-29. (Bug#15357)
3360 2013-09-11 Glenn Morris <rgm@gnu.org>
3362 * echistory.el (electric-command-history): Remove call to deleted func.
3364 * play/landmark.el (landmark-mode): Fix typos.
3366 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3367 Check cvs-sort-ignore-file is bound.
3369 * savehist.el: No need for cl when compiling on Emacs.
3371 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3373 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3375 (eshell-self-insert-command, eshell-send-invisible):
3376 Remove unused argument.
3377 (eshell-handle-control-codes): Remove unused var `orig'.
3378 Avoid delete-backward-char.
3380 * files.el (set-auto-mode): Simplify a bit further.
3382 2013-09-11 Glenn Morris <rgm@gnu.org>
3384 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3385 (set-auto-mode): Don't regexp-quote elements.
3386 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3387 * progmodes/cc-mode.el (interpreter-mode-alist):
3388 * progmodes/ruby-mode.el (interpreter-mode-alist):
3389 Revert previous change.
3391 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3393 * play/snake.el (snake-mode):
3394 * play/mpuz.el (mpuz-mode):
3395 * play/landmark.el (lm-mode):
3396 * play/blackbox.el (blackbox-mode):
3397 * play/5x5.el (5x5-mode):
3398 * obsolete/options.el (Edit-options-mode):
3399 * net/quickurl.el (quickurl-list-mode):
3400 * net/newst-treeview.el (newsticker-treeview-mode):
3401 * mail/rmailsum.el (rmail-summary-mode):
3402 * mail/mspools.el (mspools-mode):
3403 * locate.el (locate-mode):
3404 * ibuffer.el (ibuffer-mode):
3405 * emulation/ws-mode.el (wordstar-mode):
3406 * emacs-lisp/debug.el (debugger-mode):
3407 * array.el (array-mode):
3408 * net/eudc.el (eudc-mode): Use define-derived-mode.
3409 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3410 Move initialization into declaration.
3411 (mairix-searches-mode): Use define-derived-mode.
3412 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3413 (eudc-edit-hotlist): Use dolist.
3414 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3415 (Man-mode): Use define-derived-mode.
3416 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3417 (Info-edit-mode): Use define-derived-mode.
3418 (Info-cease-edit): Use Info-mode.
3419 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3421 (eshell-mode): Use define-derived-mode.
3422 * chistory.el (command-history-mode-map): Rename from
3423 command-history-map.
3424 (command-history-mode): Use define-derived-mode.
3425 (Command-history-setup): Remove function.
3426 * calc/calc.el (calc-trail-mode-map): New var.
3427 (calc-trail-mode): Use define-derived-mode.
3428 (calc-trail-buffer): Set calc-main-buffer manually.
3429 * bookmark.el (bookmark-insert-annotation): New function.
3430 (bookmark-edit-annotation): Use it.
3431 (bookmark-edit-annotation-mode): Make it a proper major mode.
3432 (bookmark-send-edited-annotation): Use derived-mode-p.
3433 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3434 closer to its ideal place. Use \' to match EOS.
3436 * profiler.el (profiler-calltree-find): Use function-equal.
3438 2013-09-10 Glenn Morris <rgm@gnu.org>
3440 * files.el (interpreter-mode-alist): Convert to regexps.
3441 (set-auto-mode): Adapt for this. (Bug#15306)
3442 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3443 Comment out unused variable.
3444 * progmodes/cc-mode.el (interpreter-mode-alist):
3445 * progmodes/python.el (interpreter-mode-alist):
3446 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3447 * progmodes/sh-script.el (sh-set-shell):
3448 No longer use interpreter-mode-alist to get list of shells.
3450 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3452 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3454 * simple.el: Use set-temporary-overlay-map for universal-argument.
3455 (universal-argument-map): Don't use default-bindings (bug#15317).
3456 Bind switch-frame explicitly. Replace universal-argument-minus with
3457 a conditional binding.
3458 (universal-argument-num-events, saved-overriding-map): Remove.
3459 (restore-overriding-map): Remove.
3460 (universal-argument--mode): Rename from save&set-overriding-map,
3462 (universal-argument, universal-argument-more, negative-argument)
3463 (digit-argument): Adjust accordingly.
3464 (universal-argument-minus): Remove.
3465 (universal-argument-other-key): Remove.
3467 * subr.el (with-demoted-errors): Add `format' argument.
3469 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3471 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3472 `tramp-cleanup-connection'.
3474 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3475 parameters KEEP-DEBUG and KEEP-PASSWORD.
3477 * net/tramp.el (tramp-file-name-handler):
3478 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3479 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3480 (tramp-maybe-open-connection):
3481 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3482 Use `tramp-cleanup-connection'.
3484 * net/tramp-sh.el (tramp-maybe-open-connection):
3485 Catch 'uname-changed inside the progress reporter.
3487 2013-09-10 Glenn Morris <rgm@gnu.org>
3489 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3491 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3492 returns "alternate access method" in mode (eg "-rw-r--r--.").
3494 2013-09-08 Glenn Morris <rgm@gnu.org>
3496 * saveplace.el (load-save-place-alist-from-file):
3497 Demote errors. (Bug#15305)
3499 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3501 Improve compatibility with older Emacsen, and XEmacs.
3503 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3504 only if it is bound. It isn't for XEmacs.
3505 (with-tramp-progress-reporter): Do not let-bind `result'.
3506 This yields to scoping errors in XEmacs.
3507 (tramp-handle-make-auto-save-file-name): New function, moved from
3510 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3511 for `make-auto-save-file-name'.
3512 (tramp-adb--gnu-switches-to-ash):
3513 Use `tramp-compat-replace-regexp-in-string'.
3515 * net/tramp-cache.el (tramp-cache-print): Call
3516 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3518 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3519 bound. It isn't for XEmacs.
3521 * net/tramp-compat.el (tramp-compat-copy-file):
3522 Catch `wrong-number-of-arguments' error.
3523 (tramp-compat-replace-regexp-in-string): New defun.
3525 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3526 for `make-auto-save-file-name'.
3527 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3529 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3530 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3531 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3533 * net/tramp-gw.el (tramp-gw-open-network-stream):
3534 Use `tramp-compat-replace-regexp-in-string'.
3536 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3537 Call `tramp-handle-make-auto-save-file-name'.
3538 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3539 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3540 (tramp-sh-file-inotifywait-process-filter):
3541 Use `tramp-compat-replace-regexp-in-string'.
3542 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3544 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3545 for `make-auto-save-file-name'.
3546 (tramp-smb-handle-copy-directory):
3547 Call `tramp-compat-replace-regexp-in-string'.
3548 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3549 (tramp-smb-handle-copy-file): Improve error message.
3550 (tramp-smb-handle-rename-file): Rename directly only in case
3551 `newname' does not exist yet. This is a restriction of smbclient.
3552 (tramp-smb-maybe-open-connection): Rerun the function only when
3553 `auth-sources' is non-nil.
3555 2013-09-08 Kenichi Handa <handa@gnu.org>
3557 * international/characters.el: Set category "^" (Combining) for
3560 2013-09-07 Alan Mackenzie <acm@muc.de>
3562 Correctly fontify Java class constructors.
3563 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3565 (c-recognize-typeless-decls): Set the Java value to t.
3566 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3567 While handling a "(", add a check for, effectively, Java, and handle a
3568 "typeless" declaration there.
3570 2013-09-07 Roland Winkler <winkler@gnu.org>
3572 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3573 field subtitle for entry type book.
3575 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3577 * minibuffer.el: Make minibuffer-complete call completion-in-region
3578 rather than other way around.
3579 (completion--some, completion-pcm--find-all-completions):
3580 Don't delay signals when debugging.
3581 (minibuffer-completion-contents): Beware fields within the
3582 minibuffer contents.
3583 (completion-all-sorted-completions): Use defvar-local.
3584 (completion--do-completion, completion--cache-all-sorted-completions)
3585 (completion-all-sorted-completions, minibuffer-force-complete):
3586 Add args `beg' and `end'.
3587 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3588 (minibuffer-complete): Use completion-in-region.
3589 (completion-complete-and-exit): New fun, extracted from
3590 minibuffer-complete-and-exit.
3591 (minibuffer-complete-and-exit): Use it.
3592 (completion--complete-and-exit): Rename from
3593 minibuffer--complete-and-exit.
3594 (completion-in-region--single-word): New function, extracted from
3595 minibuffer-complete-word.
3596 (minibuffer-complete-word): Use it.
3597 (display-completion-list): Make `common-substring' argument obsolete.
3598 (completion--in-region): Call completion--in-region-1 instead of
3599 minibuffer-complete.
3600 (completion-help-at-point): Pass boundaries to
3601 minibuffer-completion-help as args rather than via an overlay.
3602 (completion-pcm--string->pattern): Use `any-delim'.
3603 (completion-pcm--optimize-pattern): New function.
3604 (completion-pcm--pattern->regex): Handle `any-delim'.
3605 * icomplete.el (icomplete-forward-completions)
3606 (icomplete-backward-completions, icomplete-completions):
3607 Adjust calls to completion-all-sorted-completions and
3608 completion--cache-all-sorted-completions.
3609 (icomplete-with-completion-tables): Default to t.
3610 * emacs-lisp/crm.el (crm--current-element): Rename from
3611 crm--select-current-element. Don't put an overlay but return the
3613 (crm--completion-command): Take two new args to bind to the boundaries.
3614 (crm-completion-help): Adjust accordingly.
3615 (crm-complete): Use completion-in-region.
3616 (crm-complete-word): Use completion-in-region--single-word.
3617 (crm-complete-and-exit): Use completion-complete-and-exit.
3619 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3621 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3624 2013-09-06 Juri Linkov <juri@jurta.org>
3626 * info.el (Info-display-images-node): When image file doesn't exist
3627 display text version of the image if it's provided in the Info file.
3628 Otherwise, display the location of missing image from SRC attribute.
3629 Add help-echo text property from ALT attribute. (Bug#15279)
3631 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3633 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3634 (edit-abbrevs-mode): Use define-derived-mode.
3636 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3637 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3639 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3640 Use define-derived-mode.
3642 * epg.el (epg-start-encrypt): Minor CSE simplification.
3644 2013-09-06 William Xu <william.xwl@gmail.com>
3646 * arc-mode.el: Add support for 7za (bug#15264).
3647 (archive-7z-program): New var.
3648 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3649 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3650 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3652 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3656 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3657 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3658 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3659 (tramp-postfix-host-format, tramp-file-name-regexp)
3660 (tramp-completion-file-name-regexp)
3661 (tramp-completion-dissect-file-name)
3662 (tramp-handle-substitute-in-file-name): Remove 'url case.
3663 (tramp-file-name-regexp-url)
3664 (tramp-completion-file-name-regexp-url): Remove constants.
3666 2013-09-06 Glenn Morris <rgm@gnu.org>
3668 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3670 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3672 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3673 keywords" below "here-doc beginnings" (Bug#15270).
3675 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3677 * subr.el (pop): Use `car-safe'.
3678 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3679 to detect unused `pop' return value.
3681 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3683 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3684 (python-fill-string): Remove unused var `marker'.
3685 (python-skeleton-add-menu-items): Remove unused var `items'.
3687 * international/mule-cmds.el: Require CL.
3688 (find-coding-systems-for-charsets): Avoid add-to-list.
3689 (sanitize-coding-system-list): New function, extracted from
3690 select-safe-coding-system-interactively.
3691 (select-safe-coding-system-interactively): Use it.
3692 (read-input-method-name): Accept symbols for `default'.
3694 * emacs-lisp/advice.el (defadvice): Add indent rule.
3696 2013-09-05 Daniel Hackney <dan@haxney.org>
3700 * net/browse-url.el:
3703 * net/eudcb-ldap.el:
3716 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3717 byte compiler. Remove some unused let-bound variables.
3719 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3721 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3722 a "ref-cell", since it gets better optimized (bug#14883).
3724 2013-09-05 Glenn Morris <rgm@gnu.org>
3726 * progmodes/cc-awk.el (c-forward-sws): Declare.
3728 2013-09-04 Glenn Morris <rgm@gnu.org>
3730 * generic-x.el [rul-generic-mode]: Require cc-mode.
3731 (c++-mode-syntax-table): Declare.
3732 (rul-generic-mode-syntax-table): Init in the defvar.
3734 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3736 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3737 (vc-do-command, vc-set-async-update):
3738 * vc/vc-mtn.el (vc-mtn-dir-status):
3739 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3740 (vc-hg-pull, vc-hg-merge-branch):
3741 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3742 (vc-git-merge-branch):
3743 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3744 (vc-cvs-dir-status-files):
3745 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3746 (vc-bzr-dir-status-files):
3747 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3748 * vc/vc-annotate.el: Use lexical-binding.
3749 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3750 (vc-sentinel-movepoint): Declare.
3751 (vc-annotate): Don't use `goto-line'.
3752 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3753 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3754 (vc-sentinel-movepoint): Declare.
3755 * vc/vc-svn.el: Use lexical-binding.
3756 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3758 * vc/vc-rcs.el: Use lexical-binding.
3760 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3761 `deleted'. Don't drop errors silently.
3763 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3765 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3767 * vc/vc.el (vc-ignore): Rewrite.
3768 (vc-default-ignore): New function.
3769 (vc-default-ignore-completion-table): Use find-ignore-file.
3771 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3772 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3773 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3774 Remove. Most code moved to vc.el.
3776 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3778 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3779 * net/tramp-smb.el (tramp-smb-get-file-entries):
3780 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3781 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3783 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3785 (eww-change-select): Remove unused var `properties'.
3786 (eww-make-unique-file-name): Remove unused var `base'.
3788 * finder.el (finder-compile-keywords): Don't mess with windows.
3790 * calculator.el (calculator-funcall): Fix typo in last change.
3792 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3794 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3795 <pkg>-autoloads.el file stop us.
3797 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3798 warnings, and factor out common code.
3800 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3802 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3803 two-character operators and whether the character preceding them
3804 changes their meaning (Bug#15208).
3806 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3808 Format code sent to Python shell for robustness.
3809 * progmodes/python.el (python-shell-buffer-substring):
3811 (python-shell-send-region, python-shell-send-buffer): Use it.
3813 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3815 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3816 * net/tramp.el (tramp-user-error): ... here.
3817 (tramp-find-method, tramp-check-proper-host)
3818 (tramp-dissect-file-name, tramp-debug-message)
3819 (tramp-handle-shell-command):
3820 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3821 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3823 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3825 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3827 * avoid.el (mouse-avoidance-point-position)
3828 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3831 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3833 * progmodes/python.el (python-shell-completion-get-completions):
3834 Drop use of deleted `comint-last-prompt-overlay'.
3835 (python-nav-if-name-main): New command.
3837 2013-09-01 Glenn Morris <rgm@gnu.org>
3839 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3840 Avoid leading space in $wins. Otherwise the sed command used by
3841 eg compile-main ends up containing "/*.el". (Bug#15170)
3843 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3845 2013-08-30 Glenn Morris <rgm@gnu.org>
3847 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3848 Fix is-this-a-directory logic. (Bug#15220)
3850 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3852 * textmodes/css-mode.el: Use SMIE.
3853 (css-smie-grammar): New var.
3854 (css-smie--forward-token, css-smie--backward-token)
3855 (css-smie-rules): New functions.
3856 (css-mode): Use them.
3857 (css-navigation-syntax-table): Remove var.
3858 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3859 (css-indent-calculate, css-indent-line): Remove functions.
3861 Misc changes to reduce use of `(lambda...); and other cleanups.
3862 * cus-edit.el: Use lexical-binding.
3863 (customize-push-and-save, customize-apropos)
3864 (custom-buffer-create-internal): Use closures.
3865 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3866 * progmodes/ada-xref.el: Use setq.
3867 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3868 * dframe.el: Use lexical-binding.
3869 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3870 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3871 * descr-text.el: Use lexical-binding.
3872 (describe-text-widget, describe-text-sexp, describe-property-list):
3874 * comint.el (comint-history-isearch-push-state): Use a closure.
3875 * calculator.el: Use lexical-binding.
3876 (calculator-number-to-string): Make it work with lexical-binding.
3877 (calculator-funcall): Same and use cl-letf.
3879 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3880 (lisp--company-doc-string, lisp--company-location): New functions.
3881 (lisp-completion-at-point): Use them to improve Company support.
3883 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3884 params of lambda expressions.
3885 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3886 (ruby-smie--opening-pipe-p): New function.
3887 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3888 symbols and matched |...| for formal params.
3889 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3890 from being treated as hanging. Handle "rescue".
3892 2013-08-29 Glenn Morris <rgm@gnu.org>
3894 * progmodes/cc-engine.el (c-pull-open-brace):
3895 Move definition before use.
3897 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3899 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3900 are immutable. Don't use `unsafe' any more.
3901 (cl--defsubst-expand): Don't substitute at the same time as keeping
3902 a residual unused let-binding. Don't use `unsafe' any more.
3904 2013-08-29 Glenn Morris <rgm@gnu.org>
3906 * calendar/cal-china.el (calendar-chinese-year-cache):
3909 * nxml/nxml-util.el (nxml-debug-clear-inside):
3910 Use cl-loop rather than loop.
3912 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3914 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3916 2013-08-28 Glenn Morris <rgm@gnu.org>
3918 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3920 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3922 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3924 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3926 * simple.el (repeat-complex-command--called-interactively-skip):
3928 (repeat-complex-command): Use it (bug#14136).
3930 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3931 (c-define-abbrev-table): Add `doc' argument.
3932 (c-mode-abbrev-table, c++-mode-abbrev-table)
3933 (objc-mode-abbrev-table, java-mode-abbrev-table)
3934 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3935 (awk-mode-abbrev-table): Use it.
3936 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3937 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3938 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3939 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3940 Move initialization into the declaration; and remove any
3943 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3944 and dynamic let binding.
3946 * vc/smerge-mode.el: Remove redundant :group args.
3948 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3951 2013-08-28 Juri Linkov <juri@jurta.org>
3953 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3954 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3955 (isearch-other-meta-char): Handle an undefined shifted printing
3956 character by downshifting it. (Bug#15200)
3958 2013-08-28 Juri Linkov <juri@jurta.org>
3960 * isearch.el (isearch-search): Change regexp error message for
3961 non-regexp searches. (Bug#15166)
3963 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3965 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3966 for portability to hosts where /bin/sh has problems.
3968 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3970 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3972 2013-08-27 Juri Linkov <juri@jurta.org>
3974 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3975 in the keyboard macro. (Bug#15126)
3977 2013-08-27 Juri Linkov <juri@jurta.org>
3979 * isearch.el (isearch-quote-char): Comment out converting unibyte
3980 to multibyte, thus syncing with its `quoted-insert' counterpart.
3983 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3985 * window.el (display-buffer-use-some-window): Add missing
3986 argument in call of get-largest-window (Bug#15185).
3987 Reported by Stephen Leake.
3989 2013-08-27 Glenn Morris <rgm@gnu.org>
3991 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3993 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3995 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3996 from a matcher-function unless there's no more matches (bug#15161).
3998 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4000 * minibuffer.el: Revert change from 2013-08-20.
4002 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4003 with text property `tramp-default', if appropriate.
4004 (tramp-check-proper-host): New defun.
4005 (tramp-dissect-file-name): Do not check hostname. Revert change
4007 (tramp-backtrace): Make VEC-OR-PROC optional.
4009 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4010 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4011 * net/tramp-sh.el (tramp-maybe-open-connection):
4012 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4013 Apply `tramp-check-proper-host'.
4015 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4017 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4018 lambda expression in order to have `describe-variable' display it.
4020 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4022 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4023 BUF can be optional. (Bug#15186)
4025 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4027 * progmodes/flymake.el (flymake-get-real-file-name-function):
4028 Fix broken customization. (Bug#15184)
4030 2013-08-25 Alan Mackenzie <acm@muc.de>
4032 Improve indentation of bracelists defined by macros (without "=").
4034 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4035 expansion begins with "{", regard it as bracelist when it doesn't
4038 Parse C++ inher-intro when there's a template split over 2 lines.
4040 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4041 rigorously the search for "class" etc. followed by ":".
4043 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4044 random languages a regexp which never matches rather than nil.
4046 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4048 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4049 (c-awk-regexp-one-line-possibly-open-char-list-re)
4050 (c-awk-one-line-possibly-open-regexp-re)
4051 (c-awk-one-line-non-syn-ws*-re): Remove.
4052 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4053 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4054 (c-awk-space*-unclosed-regexp-/-re): New constants.
4055 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4056 aren't regexp delimiters.
4058 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4059 handling for a rare situation in AWK Mode involving unterminated
4062 2013-08-23 Glenn Morris <rgm@gnu.org>
4064 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4066 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4068 * files.el (create-file-buffer): If the result would begin with
4069 spaces, prepend a "|" instead of removing them. (Bug#15162)
4071 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4073 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4074 text-properties (bug#15155).
4076 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4078 (calc-keypad-redraw): Remove unused var `pad'.
4079 (calc-keypad-press): Remove unused var `menu'.
4081 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4083 * window.el (display-buffer-pop-up-frame):
4084 Call pop-up-frame-function with BUFFER current so `make-frame' will
4085 use it as the new frame's buffer (Bug#15133).
4087 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4089 * calendar/timeclock.el: Minor cleanups.
4090 (timeclock-ask-before-exiting, timeclock-use-display-time):
4092 (timeclock-modeline-display): Define as alias before the
4094 (timeclock-mode-line-display): Use define-minor-mode.
4095 (timeclock-day-list-template): Make it a function, add an argument.
4096 (timeclock-day-list-required, timeclock-day-list-length)
4097 (timeclock-day-list-debt, timeclock-day-list-span)
4098 (timeclock-day-list-break): Adjust calls accordingly.
4100 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4102 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4103 Use read--expression so that completion works again.
4105 2013-08-21 Sam Steingold <sds@gnu.org>
4107 Add rudimentary inferior shell interaction
4108 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4109 (sh-set-shell): Reset it.
4110 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4111 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4113 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4115 * align.el: Use lexical-binding.
4116 (align-region): Simplify accordingly.
4118 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4120 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4122 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4125 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4129 * net/tramp-cmds.el:
4131 * net/tramp-gvfs.el:
4133 * net/tramp-sh.el: Don't wrap external variable declarations by
4134 `eval-when-compile'.
4136 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4138 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4139 now that Emacs supports ImageMagick animations.
4141 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4143 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4144 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4146 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4148 * window.el (mouse-autoselect-window-select): Do autoselect when
4149 mouse pointer is on margin.
4151 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4153 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4155 2013-08-16 Glenn Morris <rgm@gnu.org>
4157 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4158 Handle "Remote Directory" response of some clients. (Bug#15058)
4160 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4161 Tweak warning. (Bug#14926)
4163 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4164 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4166 * image-mode.el (image-mode-map): Add menu items to reverse,
4167 increase, decrease, reset animation speed.
4168 (image--set-speed, image-increase-speed, image-decrease-speed)
4169 (image-reverse-speed, image-reset-speed): New functions.
4170 (image-mode-map): Add bindings for speed commands.
4172 * image.el (image-animate-get-speed, image-animate-set-speed):
4174 (image-animate-timeout): Respect image :speed property.
4176 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4178 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4179 previous line (bug#15101).
4180 (debugger-eval-expression, debugger-record-expression):
4181 Use read--expression (bug#15102).
4183 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4185 Remove byte compiler warnings, visible when compiling with
4186 `byte-compile-force-lexical-warnings' set to t.
4188 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4189 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4190 (tramp-handle-unhandled-file-name-directory)
4191 (tramp-handle-file-notify-add-watch, tramp-action-login)
4192 (tramp-action-succeed, tramp-action-permission-denied)
4193 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4196 * net/tramp-adb.el (tramp-adb-parse-device-names)
4197 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4198 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4199 (tramp-adb-handle-file-truename): Remove unused arguments.
4201 * net/tramp-cache.el (tramp-flush-directory-property)
4202 (tramp-flush-connection-property, tramp-list-connections)
4203 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4205 * net/tramp-compat.el (tramp-compat-make-temp-file):
4206 Rename FILENAME to F.
4208 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4209 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4210 (tramp-zeroconf-parse-workstation-device-names)
4211 (tramp-zeroconf-parse-webdav-device-names)
4212 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4214 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4215 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4217 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4219 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4220 (tramp-sh-handle-insert-file-contents-literally)
4221 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4223 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4224 Remove unused variables.
4226 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4227 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4228 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4230 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4231 Make them a defconst.
4232 (tramp-uuencode-region): Remove unused variable.
4234 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4236 * frameset.el (frameset--prop-setter): New function.
4237 (frameset-prop): Add gv-setter declaration.
4238 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4239 parameter was already set in FILTERED. Doc fix.
4240 (frameset--record-minibuffer-relationships): Allow saving a
4241 minibufferless frame without its corresponding minibuffer frame.
4242 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4243 frame, if the frame id matches.
4244 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4245 frames before orphaned ones.
4246 (frameset-restore): Warn about orphaned windows, instead of error out.
4248 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4250 * window.el (window-make-atom): Don't overwrite parameter
4252 (display-buffer-in-atom-window): Handle special case where we
4253 split an already atomic window.
4254 (window--major-non-side-window, display-buffer-in-side-window)
4255 (window--side-check): Ignore minibuffer window when walking
4257 (window-deletable-p): Return 'frame only if no other frame uses
4258 our minibuffer window.
4259 (record-window-buffer): Run buffer-list-update-hook.
4260 (split-window): Make sure window--check-frame won't destroy an
4261 existing atomic window in case the new window gets nested
4263 (display-buffer-at-bottom): Ignore minibuffer window when
4264 walking window tree. Don't split a side window.
4265 (pop-to-buffer): Don't set-buffer here, the select-window call
4267 (mouse-autoselect-window-select): Autoselect only if we are in the
4268 text portion of the window.
4270 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4272 * net/shr.el (shr-parse-image-data): New function to grab both the
4273 data itself and the Content-Type.
4274 (shr-put-image): Use it.
4276 * net/eww.el (eww-display-image): Ditto.
4278 * image.el (image-content-type-suffixes): New variable.
4280 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4282 * progmodes/python.el (python-imenu--build-tree)
4283 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4285 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4287 * simple.el (backward-word): Mention the optional argument.
4289 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4291 * frameset.el (frameset--make): Rename constructor from make-frameset.
4292 (frameset-p, frameset-valid-p): Don't autoload.
4293 (frameset-valid-p): Use normal accessors.
4295 2013-08-13 Glenn Morris <rgm@gnu.org>
4297 * progmodes/compile.el (compile-command): Tweak example in doc.
4298 * obsolete/scribe.el (scribe-mode):
4299 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4301 * mail/feedmail.el (feedmail-confirm-outgoing)
4302 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4304 * cus-start.el (truncate-partial-width-windows): Fix type.
4306 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4308 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4310 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4312 * emacs-lisp/timer.el (timer--time-setter): New function.
4313 (timer--time): Use it as gv-setter.
4315 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4316 setter is not a symbol.
4318 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4320 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4321 if sending fails. This makes debugging easier.
4323 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4325 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4326 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4327 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4329 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4331 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4333 2013-08-12 Glenn Morris <rgm@gnu.org>
4335 * format.el (format-annotate-function):
4336 Handle read-only text properties in the source. (Bug#14887)
4338 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4340 * net/eww.el (eww-display-html): Ignore coding system errors.
4341 One web site uses "utf-8lias" as the coding system.
4343 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4345 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4347 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4349 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4350 (tutorial--detailed-help): Remove unused local variables.
4351 (tutorial--save-tutorial-to): Use ignore-errors.
4352 (help-with-tutorial): Use looking-at-p.
4354 * view.el (view-buffer-other-window, view-buffer-other-frame):
4355 Mark unused arguments.
4357 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4358 (woman-select-symbol-fonts, woman, woman-find-file)
4359 (woman-insert-file-contents, woman-non-underline-faces):
4361 (woman1-unquote): Move declaration.
4363 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4364 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4365 argument. Remove unused local variable.
4366 (xml-parse-elem-type): Use string-match-p.
4367 (xml-substitute-numeric-entities): Use ignore-errors.
4369 * calculator.el (calculator): Mark unused argument.
4370 (calculator-paste, calculator-quit, calculator-integer-p):
4372 (calculator-string-to-number, calculator-decimal, calculator-exp)
4373 (calculator-op-or-exp): Use string-match-p.
4375 * dired.el (dired-buffer-more-recently-used-p): Declare.
4376 (dired-insert-set-properties, dired-insert-old-subdirs):
4379 * dired-aux.el (dired-compress): Use ignore-errors.
4380 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4381 (dired-do-async-shell-command, dired-do-shell-command)
4382 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4383 (dired-insert-subdir-validate): Use string-match-p.
4384 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4385 (dired-add-entry): Use string-match-p, looking-at-p.
4386 (dired-insert-subdir-newpos): Remove unused local variable.
4388 * filenotify.el (file-notify-callback): Remove unused local variable.
4390 * filesets.el (filesets-error): Mark unused argument.
4391 (filesets-which-command-p, filesets-filter-dir-names)
4392 (filesets-directory-files, filesets-get-external-viewer)
4393 (filesets-ingroup-get-data): Use string-match-p.
4395 * find-file.el (ff-other-file-name, ff-other-file-name)
4396 (ff-find-the-other-file, ff-cc-hh-converter):
4397 Remove unused local variables.
4398 (ff-get-file-name): Use string-match-p.
4399 (ff-all-dirs-under): Use ignore-errors.
4401 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4402 (follow-select-if-visible): Remove unused local variable.
4404 * forms.el (read-file-filter): Move declaration.
4405 (forms--make-format, forms--make-parser, forms-insert-record):
4406 Quote function with #'.
4407 (forms--update): Use string-match-p. Quote function with #'.
4409 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4410 (help-make-xrefs): Use looking-at-p.
4411 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4413 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4414 (ibuffer-confirm-operation-on): Use string-match-p.
4416 * msb.el (msb-item-handler, msb-dired-item-handler):
4417 Mark unused arguments.
4419 * ses.el (ses-decode-cell-symbol)
4420 (ses-kill-override): Remove unused local variable.
4421 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4422 (ses-load): Use ignore-errors, looking-at-p.
4423 (ses-jump-safe): Use ignore-errors.
4424 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4426 * tabify.el (untabify, tabify): Mark unused arguments.
4428 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4429 Mark unused argument.
4430 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4431 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4433 * emacs-lisp/timer.el (timer--time): Define setter with
4434 gv-define-setter to avoid deprecation warning.
4436 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4437 (*record-cmpl-statistics-p*): Remove (was commented out).
4438 (cmpl-statistics-block): Remove (body was commented out).
4439 All callers changed.
4440 (add-completions-from-buffer, load-completions-from-file):
4441 Remove unused variables.
4443 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4445 * filecache.el (file-cache-delete-file-list):
4446 Print message only when told so.
4447 (file-cache-files-matching): Use #' in mapconcat argument.
4449 * ffap.el (ffap-url-at-point): Fix reference to variable
4450 thing-at-point-default-mail-uri-scheme.
4452 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4454 * subr.el (define-error): New function.
4455 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4456 error-file-not-found and define with define-error.
4457 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4458 and define with define-error.
4459 * userlock.el (file-locked, file-supersession):
4460 * simple.el (mark-inactive):
4461 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4462 * progmodes/ada-mode.el (ada-mode-errors):
4463 * play/life.el (life-extinct):
4464 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4465 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4466 * nxml/rng-util.el (rng-error):
4467 * nxml/rng-uri.el (rng-uri-error):
4468 * nxml/rng-match.el (rng-compile-error):
4469 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4470 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4471 * nxml/nxml-rap.el (nxml-scan-error):
4472 * nxml/nxml-outln.el (nxml-outline-error):
4473 * net/soap-client.el (soap-error):
4474 * net/gnutls.el (gnutls-error):
4475 * net/ange-ftp.el (ftp-error):
4476 * mpc.el (mpc-proc-error):
4477 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4478 (json-number-format, json-string-escape, json-string-format)
4479 (json-key-format, json-object-format):
4480 * jka-compr.el (compression-error):
4481 * international/quail.el (quail-error):
4482 * international/kkc.el (kkc-error):
4483 * emacs-lisp/ert.el (ert-test-failed):
4484 * calc/calc.el (calc-error, inexact-result, math-overflow)
4486 * bookmark.el (bookmark-error-no-filename):
4487 * epg.el (epg-error): Define with define-error.
4489 * time.el (display-time-event-handler)
4490 (display-time-next-load-average): Don't call sit-for since it seems
4491 unnecessary (bug#15045).
4493 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4494 Use #' instead of ' to quote functions.
4495 (checkdoc-output-mode): Use setq-local.
4496 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4497 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4498 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4499 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4500 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4501 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4502 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4503 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4505 * ido.el (ido-completion-help): Fix up compiler warning.
4507 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4509 * frameset.el (frameset-p): Add autoload cookie.
4510 (frameset--jump-to-register): New function, based on code moved from
4512 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4514 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4515 (frameset-restore, frameset-save, frameset-session-filter-alist):
4516 Remove declarations.
4517 (register-alist): Doc fix.
4518 (frameset-to-register): Move to frameset.el.
4519 (jump-to-register, describe-register-1): Remove frameset-specific code.
4521 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4523 * allout-widgets.el (allout-widgets-pre-command-business)
4524 (allout-widgets-post-command-business)
4525 (allout-widgets-after-change-handler)
4526 (allout-decorate-item-and-context, allout-set-boundary-marker)
4527 (allout-body-modification-handler)
4528 (allout-graphics-modification-handler): Mark ignored arguments.
4529 (allout-widgets-post-command-business)
4530 (allout-widgets-exposure-change-processor)
4531 (allout-widgets-exposure-undo-processor)
4532 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4533 (allout-parse-item-at-point, allout-decorate-item-guides)
4534 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4535 * allout.el (epa-passphrase-callback-function): Declare.
4536 (allout-overlay-insert-in-front-handler)
4537 (allout-overlay-interior-modification-handler)
4538 (allout-isearch-end-handler, allout-chart-siblings)
4539 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4540 (allout-yank-processing, allout-process-exposed)
4541 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4542 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4543 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4544 (lisp-indent-defform): Mark ignored arguments.
4545 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4546 (calculate-lisp-indent): Remove unused variables.
4547 * international/characters.el (indian-2-column, arabic-2-column)
4548 (tibetan): Mark ignored arguments.
4549 (use-cjk-char-width-table): Mark ignored arguments.
4550 Remove unused variables.
4551 * international/fontset.el (build-default-fontset-data)
4552 (x-compose-font-name, create-fontset-from-fontset-spec):
4553 Mark ignored arguments.
4554 (fontset-plain-name): Remove unused variables.
4555 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4556 (keyboard-coding-system): Mark ignored arguments.
4557 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4558 * help.el (resize-temp-buffer-window):
4559 * window.el (display-buffer-in-major-side-window)
4560 (display-buffer-in-side-window, display-buffer-in-previous-window):
4561 Remove unused variables.
4562 * isearch.el (isearch-forward-symbol):
4563 * version.el (emacs-bzr-version-bzr):
4564 * international/mule-cmds.el (current-language-environment):
4565 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4567 * term/pc-win.el (x-list-fonts, x-display-planes)
4568 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4569 (x-server-version, x-display-screens, x-display-mm-height)
4570 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4571 (x-selection-owner-p, x-own-selection-internal)
4572 (x-disown-selection-internal, x-get-selection-internal)
4573 (msdos-initialize-window-system):
4574 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4575 * term/x-win.el (x-handle-no-bitmap-icon):
4576 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4577 (vc-default-find-file-hook, vc-default-extra-menu):
4578 Mark ignored arguments.
4580 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4582 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4583 break-condition in the context of the debugged code (bug#12685).
4585 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4588 Do not use an overlay to highlight the last prompt. (Bug#14744)
4589 (comint-mode): Make comint-last-prompt buffer local.
4590 (comint-last-prompt): New variable.
4591 (comint-last-prompt-overlay): Remove. Superseded by
4593 (comint-snapshot-last-prompt, comint-output-filter):
4594 Use comint-last-prompt.
4596 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4598 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4599 (frameset-save): Check validity of the resulting frameset.
4601 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4603 * ido.el (ido-record-command): Add doc string.
4605 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4607 * frameset.el (frameset): Do not disable creation of the default
4608 frameset-p predicate. Doc fix.
4609 (frameset-valid-p): New function, copied from the old predicate-p.
4610 Add additional checks.
4611 (frameset-restore): Check with frameset-valid-p.
4612 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4613 (frameset-name, frameset-description, frameset-properties)
4614 (frameset-states): Add docstring.
4615 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4616 (frameset-filter-alist): Doc fixes.
4618 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4620 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4622 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4624 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4625 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4626 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4627 (byte-compile-normal-call): Remove obsolescence check.
4629 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4631 * frameset.el (frameset-restore): Doc fix.
4633 * register.el (frameset-frame-id, frameset-frame-with-id)
4634 (frameset-p, frameset-restore, frameset-save): Declare.
4635 (register-alist): Document framesets.
4636 (frameset-session-filter-alist): Declare.
4637 (frameset-to-register): New function.
4638 (jump-to-register): Implement jumping to framesets. Doc fix.
4639 (describe-register-1): Describe framesets.
4641 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4643 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4645 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4646 Use lexical-binding.
4648 * frameset.el (frameset): Use type vector, not list (incompatible
4649 change). Do not declare a new constructor, use the default one.
4650 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4651 `name' and `description', respectively, and add read-only slot
4652 `timestamp'. Doc fixes.
4653 (frameset-copy, frameset-persistent-filter-alist)
4654 (frameset-filter-alist, frameset-switch-to-gui-p)
4655 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4656 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4657 (frameset-filter-iconified, frameset-keep-original-display-p):
4659 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4660 Rename from frameset-filter-(save|restore)-param. All callers changed.
4662 (frameset-p): Adapt to change to vector and be more thorough.
4663 Change arg name to OBJECT. Doc fix.
4664 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4665 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4666 All callers changed.
4667 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4668 All callers changed.
4669 (frameset--record-minibuffer-relationships): Rename from
4670 frameset--process-minibuffer-frames. All callers changed.
4671 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4672 Use new default constructor (again). Doc fix.
4673 (frameset--find-frame-if): Rename from `frameset--find-frame.
4674 All callers changed.
4675 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4676 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4678 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4679 PARAMETERS and WINDOW-STATE, respectively.
4680 (frameset-restore): Add new keyword argument PREDICATE.
4681 Reset frameset--target-display to nil. Doc fix.
4683 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4685 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4687 (bat-mode-syntax-table): Mark \n as end-of-comment.
4688 (bat-font-lock-keywords): Remove comment rule.
4690 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4691 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4693 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4694 (byte-compile-callargs-warn): Use `push'.
4695 (byte-compile-arglist-warn): Ignore higher-order "calls".
4696 (byte-compile-file-form-autoload): Use `pcase'.
4697 (byte-compile-function-form): If quoting a symbol, check that it exists.
4699 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4701 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4702 and add a few popular commands found in batch files.
4703 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4704 (dos-mode): Doc fixes.
4706 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4708 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4709 (dos-mode): Use setq-local. Add space after "rem".
4710 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4711 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4713 2013-08-07 Arni Magnusson <arnima@hafro.is>
4715 * progmodes/dos.el: New file.
4716 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4719 2013-08-06 Glenn Morris <rgm@gnu.org>
4721 * calendar/calendar.el: Add new faces, and day-header-array.
4722 (calendar-weekday-header, calendar-weekend-header)
4723 (calendar-month-header): New faces.
4724 (calendar-day-header-construct): New function.
4725 (calendar-day-header-width): Also :set calendar-day-header-array.
4726 (calendar-american-month-header, calendar-european-month-header)
4727 (calendar-iso-month-header): Use calendar- faces.
4728 (calendar-generate-month):
4729 Use calendar-day-header-array for day headers; apply faces to them.
4730 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4731 (calendar-abbrev-construct): Add optional maxlen argument.
4732 (calendar-day-name-array): Doc fix.
4733 (calendar-day-name-array, calendar-abbrev-length)
4734 (calendar-day-abbrev-array):
4735 Also :set calendar-day-header-array, and maybe redraw.
4736 (calendar-day-header-array): New option. (Bug#15007)
4737 (calendar-font-lock-keywords): Set to nil and make obsolete.
4738 (calendar-day-name): Add option to use header array.
4740 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4742 * net/shr.el (shr-render-td): Remove debugging.
4743 (shr-render-td): Make width computation consistent by defaulting
4744 all zero-width columns to 10 characters. This may not be optimal,
4745 but it's at least consistent.
4746 (shr-make-table-1): Redo last change to fix the real problem in
4749 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4751 * files.el (cache-long-line-scans):
4752 Make obsolete alias to `cache-long-scans'.
4754 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4756 * frameset.el (frameset, frameset-filter-alist)
4757 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4758 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4759 (frameset-compute-pos): Rename from frameset--compute-pos,
4761 (frameset-move-onscreen): Use frameset-compute-pos.
4762 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4764 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4765 Fix typos in docstrings.
4767 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4769 * frame.el (get-other-frame): Tiny cleanup.
4771 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4773 * vc/vc.el (vc-default-ignore-completion-table):
4774 Silence byte-compiler warning.
4776 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4777 slot , which can indeed be nil.
4778 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4779 Move entry for `left' from persistent to live filter alist.
4780 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4782 (frameset-filter-params): When restoring a frame, copy items added to
4783 `filtered', to avoid unwittingly modifying the original parameters.
4784 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4785 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4787 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4788 to use looking-at-p instead of looking-at. (Bug#15028)
4790 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4792 Revert introduction of isearch-filter-predicates (bug#14714).
4793 Rely on add-function instead.
4794 * isearch.el (isearch-filter-predicates): Rename it back to
4795 isearch-filter-predicate.
4796 (isearch-message-prefix): Use advice-function-mapc and advice
4797 properties to get the isearch-message-prefix.
4798 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4799 instead of run-hook-with-args-until-failure.
4800 (isearch-filter-visible): Not obsolete any more.
4801 * loadup.el: Preload nadvice.
4802 * replace.el (perform-replace): Revert to funcall
4803 instead of run-hook-with-args-until-failure.
4804 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4805 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4806 dired-isearch-filenames-toggle; make it into a proper minor mode.
4807 Use add/remove-function.
4808 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4809 Call the minor-mode rather than add/remove-hook.
4810 (dired-isearch-filter-filenames):
4811 Remove isearch-message-prefix property.
4812 * info.el (Info--search-loop): New function, extracted from Info-search.
4813 Funcall isearch-filter-predicate instead of
4814 run-hook-with-args-until-failure isearch-filter-predicates.
4815 (Info-search): Use it.
4816 (Info-mode): Use isearch-filter-predicate instead of
4817 isearch-filter-predicates.
4819 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4821 Do not call to `selected-window' where it is assumed by default.
4822 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4823 `window-hscroll', `window-width', `window-height', `window-buffer',
4824 `window-frame', `window-start', `window-point', `next-window'
4825 and `window-display-table'.
4826 * abbrev.el (abbrev--default-expand):
4827 * bs.el (bs--show-with-configuration):
4828 * buff-menu.el (Buffer-menu-mouse-select):
4829 * calc/calc.el (calc):
4830 * calendar/calendar.el (calendar-generate-window):
4831 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4833 * comint.el (send-invisible, comint-dynamic-complete-filename)
4834 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4835 * completion.el (complete):
4836 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4837 * disp-table.el (describe-current-display-table):
4838 * doc-view.el (doc-view-insert-image):
4839 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4840 * ehelp.el (with-electric-help):
4841 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4842 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4843 * emacs-lisp/helper.el (Helper-help-scroller):
4844 * emulation/cua-base.el (cua--post-command-handler-1):
4845 * eshell/esh-mode.el (eshell-output-filter):
4846 * ffap.el (ffap-gnus-wrapper):
4847 * help-macro.el (make-help-screen):
4848 * hilit-chg.el (highlight-compare-buffers):
4849 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4850 * hl-line.el (global-hl-line-highlight):
4851 * icomplete.el (icomplete-simple-completing-p):
4852 * isearch.el (isearch-done):
4853 * jit-lock.el (jit-lock-stealth-fontify):
4854 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4855 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4856 * mpc.el (mpc-tagbrowser, mpc):
4857 * net/rcirc.el (rcirc-any-buffer):
4858 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4859 * play/landmark.el (landmark-max-width, landmark-max-height):
4860 * play/zone.el (zone):
4861 * progmodes/compile.el (compilation-goto-locus):
4862 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4863 * progmodes/etags.el (find-tag-other-window):
4864 * progmodes/fortran.el (fortran-column-ruler):
4865 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4866 * progmodes/verilog-mode.el (verilog-point-text):
4867 * reposition.el (reposition-window):
4868 * rot13.el (toggle-rot13-mode):
4869 * server.el (server-switch-buffer):
4870 * shell.el (shell-dynamic-complete-command)
4871 (shell-dynamic-complete-environment-variable):
4872 * simple.el (insert-buffer, set-selective-display)
4873 (delete-completion-window):
4874 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4875 (speedbar-recenter):
4876 * startup.el (fancy-splash-head):
4877 * textmodes/ispell.el (ispell-command-loop):
4878 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4879 * tutorial.el (help-with-tutorial):
4880 * vc/add-log.el (add-change-log-entry):
4881 * vc/compare-w.el (compare-windows):
4882 * vc/ediff-help.el (ediff-indent-help-message):
4883 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4884 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4885 (ediff-setup-control-frame):
4886 * vc/emerge.el (emerge-position-region):
4887 * vc/pcvs-util.el (cvs-bury-buffer):
4888 * window.el (walk-windows, mouse-autoselect-window-select):
4889 * winner.el (winner-set-conf, winner-undo): Related users changed.
4891 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4893 * frameset.el (frameset--set-id): Doc fix.
4894 (frameset-frame-id, frameset-frame-id-equal-p)
4895 (frameset-locate-frame-id): New functions.
4896 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4897 (frameset-restore): Use them.
4899 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4901 Do not call to `selected-frame' where it is assumed by default.
4902 Affected functions are `raise-frame', `redraw-frame',
4903 `frame-first-window', `frame-terminal' and `delete-frame'.
4904 * calendar/appt.el (appt-disp-window):
4905 * epg.el (epg-wait-for-completion):
4906 * follow.el (follow-delete-other-windows-and-split)
4907 (follow-avoid-tail-recenter):
4908 * international/mule.el (set-terminal-coding-system):
4909 * mail/rmail.el (rmail-mail-return):
4910 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4911 * progmodes/f90.el (f90-add-imenu-menu):
4912 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4913 * server.el (server-switch-buffer):
4914 * simple.el (delete-completion-window):
4916 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4917 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4918 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4919 * vc/ediff.el (ediff-documentation): Related users changed.
4920 * frame.el (selected-terminal): Remove the leftover.
4922 2013-08-05 Glenn Morris <rgm@gnu.org>
4924 * calendar/calendar.el (calendar-generate-month):
4925 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4926 (calendar-generate-month, calendar-font-lock-keywords):
4927 Fix for calendar-day-header-width > length of any day name.
4929 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4931 * desktop.el (desktop-clear): Use new name of sort predicate.
4933 * frameset.el (frameset): Add docstring. Move :version property to its
4935 (frameset-copy): Rename from copy-frameset.
4936 (frameset-p): Check more thoroughly.
4937 (frameset-prop): Do not check for :version, which is no longer a prop.
4938 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4939 Use new :never value instead of t.
4940 (frameset-filter-alist): Expand and clarify docstring.
4941 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4942 (frameset-filter-minibuffer, frameset-filter-save-param)
4943 (frameset-filter-restore-param, frameset-filter-iconified):
4944 Add pointer to docstring of frameset-filter-alist.
4945 (frameset-filter-params): Rename filter values to be more meaningful:
4946 :never instead of t, and reverse the meanings of :save and :restore.
4947 (frameset--process-minibuffer-frames): Clarify error message.
4948 (frameset-save): Avoid unnecessary and confusing call to framep.
4949 Use new BOA constructor for framesets.
4950 (frameset--reuse-list): Doc fix.
4951 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4952 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4953 (frameset-minibufferless-first-p): Doc fix.
4954 Rename from frameset-sort-frames-for-deletion.
4955 (frameset-restore): Doc fixes. Use new function names.
4956 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4958 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4960 * desktop.el (desktop-restore-forces-onscreen)
4961 (desktop-restore-reuses-frames): Document :keyword constant values.
4962 (desktop-filter-parameters-alist): Remove, now identical to
4963 frameset-filter-alist.
4964 (desktop--filter-tty*): Remove, moved to frameset.el.
4965 (desktop-save-frameset, desktop-restore-frameset):
4966 Do not pass :filters argument.
4968 * frameset.el (frameset-live-filter-alist)
4969 (frameset-persistent-filter-alist): New variables.
4970 (frameset-filter-alist): Use them. Add autoload cookie.
4971 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4972 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4973 `frameset--id' (it's supposed to be internal to frameset.el).
4974 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4975 (frameset--initial-params): New function.
4976 (frameset--get-frame): Use it. Doc fix.
4977 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4978 Accept :all, not 'all.
4979 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4980 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4981 with fbound symbols. Fix frame id matching, and remove matching ids if
4982 the frame being restored is deleted. Obey :delete.
4984 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4986 * subr.el (macrop): New function.
4987 (text-clone--maintaining): New var.
4988 (text-clone--maintain): Rename from text-clone-maintain. Use it
4989 instead of inhibit-modification-hooks.
4991 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4992 a proxy, so as handle autoloads and redefinitions of the target.
4993 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4995 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4996 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4997 (pcase--mutually-exclusive-p): New function.
4998 (pcase--split-consp): Use it.
4999 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5000 mutually exclusive with the current predicate.
5002 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5003 (edebug-macrop): Remove. Use `macrop' instead.
5004 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5006 * eshell/esh-cmd.el (eshell-macrop):
5007 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5009 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5011 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5012 (advice-mapc): New function, using it.
5013 (advice-function-member-p): New function.
5014 (advice--normalize): Store the cdr in advice--saved-rewrite since
5015 that's the part that will be changed.
5016 (advice--symbol-function): New function.
5017 (advice-remove): Handle removal before the function is defined.
5018 Adjust to new advice--saved-rewrite.
5019 (advice-member-p): Use advice-function-member-p and
5020 advice--symbol-function.
5022 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5024 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5025 (frameset-filter-minibuffer): Doc fix.
5026 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5027 (frameset--set-id, frameset--process-minibuffer-frames)
5028 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5029 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5031 * desktop.el (desktop-clear): Only delete frames when called
5032 interactively and desktop-restore-frames is non-nil. Doc fix.
5033 (desktop-read): Set desktop-saved-frameset to nil.
5035 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5037 * vc/vc.el (vc-ignore): Rewrite.
5038 (vc-default-ignore-completion-table):
5040 (vc--add-line, vc--remove-regexp): New functions.
5042 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5043 (vc-svn-ignore-completion-table): New function.
5045 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5046 (vc-hg-ignore-completion-table):
5047 (vc-hg-find-ignore-file): New functions.
5049 * vc/vc-git.el (vc-git-ignore): Rewrite.
5050 (vc-git-ignore-completion-table):
5051 (vc-git-find-ignore-file): New functions.
5053 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5055 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5056 (vc-bzr-ignore-completion-table):
5057 (vc-bzr-find-ignore-file): New functions.
5059 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5061 * frameset.el (frameset-prop): New function and setter.
5062 (frameset-save): Do not modify frame list passed by the caller.
5064 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5066 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5068 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5070 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5071 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5073 * custom.el (custom-initialize-default, custom-initialize-set)
5074 (custom-initialize-reset, custom-initialize-changed): Affect the
5075 toplevel-default-value (bug#6275, bug#14586).
5076 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5079 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5081 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5082 Add cl-def* expressions.
5084 * frameset.el (frameset-filter-params): Fix order of arguments.
5086 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5088 Move code related to saving frames to frameset.el.
5089 * desktop.el: Require frameset.
5090 (desktop-restore-frames): Doc fix.
5091 (desktop-restore-reuses-frames): Rename from
5092 desktop-restoring-reuses-frames.
5093 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5094 (desktop-clear): Clear frames too.
5095 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5096 (desktop--filter-tty*, desktop-save, desktop-read):
5097 Use frameset functions.
5098 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5099 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5100 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5101 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5102 (desktop--process-minibuffer-frames, desktop-save-frames)
5103 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5104 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5105 (desktop--sort-states, desktop-restoring-frames-p)
5106 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5107 (desktop-restoring-frameset-p, desktop-restore-frameset)
5108 (desktop--check-dont-save, desktop-save-frameset): New functions.
5109 (desktop--app-id): New constant.
5110 (desktop-first-buffer, desktop-buffer-ok-count)
5111 (desktop-buffer-fail-count): Move before first use.
5112 * frameset.el: New file.
5114 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5116 * files.el: Use lexical-binding.
5117 (dir-locals-read-from-file): Remove unused `err' variable.
5118 (hack-dir-local-variables--warned-coding): New var.
5119 (hack-dir-local-variables): Use it to avoid repeated warnings.
5120 (make-backup-file-name--default-function): New function.
5121 (make-backup-file-name-function): Use it as default.
5122 (buffer-stale--default-function): New function.
5123 (buffer-stale-function): Use it as default.
5124 (revert-buffer-insert-file-contents--default-function): New function.
5125 (revert-buffer-insert-file-contents-function): Use it as default.
5126 (insert-directory): Avoid add-to-list.
5128 * autorevert.el (auto-revert-handler): Simplify.
5129 Use buffer-stale--default-function.
5131 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5133 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5135 * whitespace.el (whitespace-ensure-local-variables): New function.
5136 (whitespace-cleanup-region): Call it.
5137 (whitespace-turn-on): Call it.
5139 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5141 Complete file name handlers.
5143 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5144 (tramp-handle-verify-visited-file-modtime)
5145 (tramp-handle-file-notify-rm-watch): New functions.
5146 (tramp-call-process): Do not bind `default-directory'.
5148 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5149 Order alphabetically.
5150 [access-file, add-name-to-file, dired-call-process]:
5151 [dired-compress-file, file-acl, file-notify-rm-watch]:
5152 [file-ownership-preserved-p, file-selinux-context]:
5153 [make-directory-internal, make-symbolic-link, set-file-acl]:
5154 [set-file-selinux-context, set-visited-file-modtime]:
5155 [verify-visited-file-modtime]: Add handler.
5156 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5158 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5159 [file-notify-add-watch, file-notify-rm-watch]:
5160 [set-file-times, set-visited-file-modtime]:
5161 [verify-visited-file-modtime]: Add handler.
5162 (with-tramp-gvfs-error-message)
5163 (tramp-gvfs-handle-set-visited-file-modtime)
5164 (tramp-gvfs-fuse-file-name): Remove.
5165 (tramp-gvfs-handle-file-notify-add-watch)
5166 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5167 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5169 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5170 Order alphabetically.
5171 [file-notify-rm-watch ]: Use default Tramp handler.
5172 [executable-find]: Remove private handler.
5173 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5174 `default-directory'.
5175 (tramp-sh-handle-executable-find)
5176 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5177 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5178 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5179 Do not use `format' in `tramp-message'.
5181 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5182 [file-notify-rm-watch, set-visited-file-modtime]:
5183 [verify-visited-file-modtime]: Add handler.
5184 (tramp-smb-call-winexe): Do not bind `default-directory'.
5186 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5188 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5190 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5192 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5194 (log-view-diff-changeset): Same.
5195 (log-view-diff-common): Call backend command `previous-revision'
5196 to find out the previous revision, in both cases. Swap the
5197 variables `to' and `fr', so that `fr' usually refers to the
5198 earlier revision (Bug#14989).
5200 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5202 * ibuf-ext.el (ibuffer-filter-by-filename):
5203 Make it work with dired buffers too.
5205 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5207 * emacs-lisp/re-builder.el (reb-color-display-p):
5208 * files.el (save-buffers-kill-terminal):
5209 * net/browse-url.el (browse-url):
5210 * server.el (server-save-buffers-kill-terminal):
5211 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5212 Prefer nil to selected-frame for the first arg of frame-parameter.
5214 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5216 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5218 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5220 * minibuffer.el (completion--twq-all): Try and preserve each
5221 completion's case choice (bug#14907).
5223 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5225 * net/network-stream.el (open-network-stream): Mention the new
5226 :nogreeting parameter.
5227 (network-stream-open-starttls): Use the :nogreeting parameter
5230 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5232 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5233 more natural than popping.
5235 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5236 (shr-urlify): Highlight under mouse.
5238 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5240 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5242 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5244 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5247 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5248 point-min==1. Fix search string. Fix parentheses missing.
5250 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5251 assume point-min==1. Fix search string. Fix parentheses missing.
5253 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5255 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5258 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5260 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5261 initial frame is minibuffer-less. (Bug#14841)
5263 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5265 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5268 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5269 (tramp-maybe-open-connection): Use it.
5271 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5273 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5274 minimal set of parameters passed when creating a frame, because
5275 the minibuffer status of a frame cannot be changed later.
5277 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5279 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5280 replace-regexp-in-string and inadvertent omissions in previous change.
5281 (todo-filter-items): Ensure only file names are comma-separated in
5282 name of filtered items buffer.
5284 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5286 * desktop.el: Optionally force offscreen frames back onscreen.
5287 (desktop-restoring-reuses-frames): New option.
5288 (desktop--compute-pos, desktop--move-onscreen): New functions.
5289 (desktop--make-frame): Use desktop--move-onscreen.
5291 2013-07-27 Alan Mackenzie <acm@muc.de>
5293 Fontify a Java generic method as a function.
5294 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5297 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5299 * calendar/todo-mode.el: Add command to rename todo files.
5300 (todo-rename-file): New command.
5301 (todo-key-bindings-t): Add key binding for it. Change the
5302 bindings of todo-filter-regexp-items(-multifile) to use `x'
5303 instead of `r', since the latter is better suited to the new
5306 2013-07-27 Alan Mackenzie <acm@muc.de>
5308 Make Java try-with-resources statement parse properly.
5309 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5310 (c-block-stmt-1-2-key): New language constants/variables.
5311 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5312 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5313 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5314 with c-block-stmt-1-2-key.
5316 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5318 * desktop.el (desktop--make-frame): Apply most frame parameters after
5319 creating the frame to force (partially or totally) offscreen frames to
5320 be restored as such.
5322 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5324 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5327 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5329 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5330 `base' arg of backtrace-frame.
5332 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5334 * simple.el (list-processes): Doc fix.
5336 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5338 * desktop.el (desktop--select-frame):
5339 Try harder to reuse existing frames.
5341 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5343 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5344 (edebug-eval): Use backtrace-eval.
5345 (edebug--display, edebug--recursive-edit): Don't let-bind the
5346 edebug-outer-* vars that keep track of variables we locally let-bind.
5347 (edebug-outside-excursion): Don't restore outside values of locally
5349 (edebug--display): Use user-error.
5350 (cl-lexical-debug, cl-debug-env): Remove.
5352 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5354 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5355 are restored to be sure that they are visible before deleting any
5358 2013-07-26 Matthias Meulien <orontee@gmail.com>
5360 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5361 vc-print-root-log. (Bug#14948)
5363 2013-07-26 Richard Stallman <rms@gnu.org>
5365 Add aliases for encrypting mail.
5366 * epa.el (epa-mail-aliases): New option.
5367 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5368 Bind inhibit-read-only so read-only text doesn't ruin everything.
5369 (epa-mail-default-recipients): New subroutine broken out.
5370 Handle epa-mail-aliases.
5372 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5374 Add support for lexical variables to the debugger's `e' command.
5375 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5376 vars, except for debugger-outer-match-data.
5377 (debugger-frame-number): Move check for "on a function call" from
5378 callers into it. Add `skip-base' argument.
5379 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5380 (debugger-env-macro): Only reset the state stored in non-variables,
5381 i.e. current-buffer and match-data.
5382 (debugger-eval-expression): Rewrite using backtrace-eval.
5383 * subr.el (internal--called-interactively-p--get-frame): Remove.
5384 (called-interactively-p):
5385 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5386 `base' arg of backtrace-frame instead.
5388 2013-07-26 Glenn Morris <rgm@gnu.org>
5390 * align.el (align-regexp): Doc fix. (Bug#14857)
5391 (align-region): Explicit error if subexpression missing/does not match.
5393 * simple.el (global-visual-line-mode):
5394 Do not duplicate the mode lighter. (Bug#14858)
5396 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5398 * window.el (display-buffer): In display-buffer bind
5399 split-window-keep-point to t, bug#14829.
5401 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5403 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5404 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5405 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5406 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5408 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5409 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5411 2013-07-25 Glenn Morris <rgm@gnu.org>
5413 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5415 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5417 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5418 parameter to modify-frame-parameters if the value has not changed;
5419 this is a workaround for bug#14949.
5420 (desktop--make-frame): On cl-delete-if call, check parameter name,
5423 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5425 * vc/vc.el (vc-ignore): New function.
5427 * vc/vc-svn.el (vc-svn-ignore): New function.
5429 * vc/vc-hg.el (vc-hg-ignore): New function.
5431 * vc/vc-git.el (vc-git-ignore): New function.
5433 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5434 (vc-dir-ignore): New function.
5436 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5437 (cvs-append-to-ignore): Move here from pcvs.el.
5439 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5441 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5443 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5445 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5446 (desktop-restore-frames): Warn when deleting an existing frame failed.
5448 2013-07-24 Glenn Morris <rgm@gnu.org>
5450 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5452 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5454 * filenotify.el (file-notify-supported-p):
5455 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5458 * autorevert.el (auto-revert-use-notify):
5459 (auto-revert-notify-add-watch):
5460 * net/tramp.el (tramp-file-name-for-operation):
5461 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5462 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5463 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5464 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5465 Remove `file-notify-supported-p' entry.
5467 2013-07-24 Glenn Morris <rgm@gnu.org>
5469 * printing.el: Replace all uses of deleted ps-windows-system,
5470 ps-lp-system, ps-flatten-list with lpr- versions.
5472 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5474 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5475 checked with memq (bug#14935).
5477 * files.el (revert-buffer-function): Use a non-nil default.
5478 (revert-buffer-preserve-modes): Declare var to
5479 provide access to the `preserve-modes' argument.
5480 (revert-buffer): Let-bind it.
5481 (revert-buffer--default): New function, extracted from revert-buffer.
5483 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5485 * lpr.el: Signal print errors more prominently.
5486 (print-region-function): Don't default to nil.
5487 (lpr-print-region): New function, extracted from print-region-1.
5488 Check lpr's return value and signal an error in case of problem.
5489 (print-region-1): Use it.
5490 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5492 (ps-printer-name): Default to nil.
5493 (ps-printer-name-option): Default to lpr-printer-switch.
5494 (ps-print-region-function): Don't default to nil.
5495 (ps-postscript-code-directory): Simplify default.
5496 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5497 (ps-string-list, ps-eval-switch, ps-flatten-list)
5498 (ps-flatten-list-1): Remove.
5499 (ps-multibyte-buffer): Avoid setq.
5500 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5501 (print-region-function, ps-print-region-function): Don't set them here.
5503 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5505 * ido.el (ido-fractionp):
5506 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5507 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5508 (ido-max-directory-size, ido-max-dir-file-cache)
5509 (ido-decorations): Doc fix.
5511 * ansi-color.el: Fix old URL.
5513 2013-07-23 Michael R. Mauger <michael@mauger.com>
5515 * progmodes/sql.el: Version 3.3
5516 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5517 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5518 (sql-interactive-remove-continuation-prompt): Rewrite, use
5519 functions above. Fix continuation prompt and complete output line
5521 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5522 redirected output buffer.
5523 (sql-mode): Restore deleted code (Bug#13591).
5525 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5527 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5529 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5531 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5533 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5534 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5535 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5537 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5539 * desktop.el (desktop-clear): Simplify; remove useless checks
5540 against invalid buffer names.
5541 (desktop-list*): Use cl-list*.
5542 (desktop-buffer-info, desktop-create-buffer): Simplify.
5544 2013-07-23 Leo Liu <sdl.web@gmail.com>
5546 * bookmark.el (bookmark-make-record): Restore NAME as a default
5549 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5551 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5552 extracted from autoload--insert-text.
5553 (autoload--insert-text): Remove.
5554 (autoload--print-cookie-text): New function, extracted from
5555 autoload--insert-cookie-text.
5556 (autoload--insert-cookie-text): Remove.
5557 (autoload-generate-file-autoloads): Adjust calls accordingly.
5559 * winner.el (winner-hook-installed-p): Remove.
5560 (winner-mode): Simplify accordingly.
5562 * subr.el (add-to-list): Fix compiler-macro when `append' is
5563 not constant. Don't use `cl-member' for the base case.
5565 * progmodes/subword.el: Fix boundary case (bug#13758).
5566 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5568 (subword-backward-regexp): Make it a constant.
5569 (subword-forward-internal): Don't treat a trailing capital as the
5570 beginning of a word.
5572 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5574 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5575 global value of tabulated-list-revert-hook (bug#14930).
5577 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5579 * desktop.el: Require 'cl-lib.
5580 (desktop-before-saving-frames-functions): New hook.
5581 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5582 for frames being saved. Rename from desktop--save-minibuffer-frames.
5583 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5584 Do not save frames with non-nil `desktop-dont-save' parameter.
5585 Filter out deleted frames.
5586 (desktop--find-frame): Use cl-find-if.
5587 (desktop--select-frame): Use cl-(first|second|third) to access values
5589 (desktop--make-frame): Use cl-delete-if.
5590 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5591 (desktop-restore-frames): Use cl-(first|second|third) to access values
5592 of desktop-mini. Look for visible frame at the end, not while
5595 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5596 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5597 Use string-match-p, looking-at-p (bug#14927).
5599 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5601 * desktop.el (desktop-saved-frame-states):
5602 Rename from desktop--saved-states; all users changed.
5603 (desktop-save-frames): Rename from desktop--save-frames.
5604 Do not save state to desktop file.
5605 (desktop-save): Save desktop-saved-frame-states to desktop file
5607 (desktop-restoring-frames-p): New function.
5608 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5609 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5610 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5612 * desktop.el: Correctly restore iconified frames.
5613 (desktop--filter-iconified-position): New function.
5614 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5616 2013-07-20 Glenn Morris <rgm@gnu.org>
5618 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5619 Let `message' do the formatting.
5620 (def-gdb-preempt-display-buffer): Add explicit format.
5622 * image-dired.el (image-dired-track-original-file):
5623 Use with-current-buffer.
5624 (image-dired-track-thumbnail): Use with-current-buffer.
5625 Avoid changing point of wrong window.
5627 * image-dired.el (image-dired-track-original-file):
5628 Avoid changing point of wrong window. (Bug#14909)
5630 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5632 * progmodes/gdb-mi.el (gdb-done-or-error):
5633 Guard against "%" in gdb output. (Bug#14127)
5635 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5637 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5640 * international/mule.el (coding-system-iso-2022-flags): Fix last
5643 2013-07-20 Kenichi Handa <handa@gnu.org>
5645 * international/mule.el (coding-system-iso-2022-flags):
5646 Add `8-bit-level-4'. (Bug#8522)
5648 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5650 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5653 * net/eww.el (eww-process-text-input): Allow inputting when the
5654 point is at the start of the line, as the properties aren't
5657 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5660 2013-07-19 Richard Stallman <rms@gnu.org>
5662 * epa.el (epa-popup-info-window): Doc fix.
5664 * subr.el (split-string): New arg TRIM.
5666 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5668 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5669 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5671 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5673 * filenotify.el (file-notify--library): Rename from
5674 `file-notify-support'. Do not autoload. Adapt all uses.
5675 (file-notify-supported-p): New defun.
5677 * autorevert.el (auto-revert-use-notify):
5678 Use `file-notify-supported-p' instead of `file-notify-support'.
5680 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5682 * net/tramp.el (tramp-file-name-for-operation):
5683 Add `file-notify-supported-p'.
5685 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5687 (tramp-sh-file-name-handler-alist): Add it as handler for
5688 `file-notify-supported-p '.
5690 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5691 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5692 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5693 Add `ignore' as handler for `file-notify-*' functions.
5695 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5697 * simple.el (line-move-partial, line-move): Don't start vscroll or
5698 scroll-up if the current line is not taller than the window.
5701 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5703 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5704 highlight question marks in the method names as strings.
5705 (ruby-block-beg-keywords): Inline.
5706 (ruby-font-lock-keyword-beg-re): Extract from
5707 `ruby-font-lock-keywords'.
5709 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5711 * frame.el (blink-cursor-blinks): New defcustom.
5712 (blink-cursor-blinks-done): New defvar.
5713 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5714 (blink-cursor-timer-function): Check if number of blinks has been
5716 (blink-cursor-suspend, blink-cursor-check): New defuns.
5718 2013-07-15 Glenn Morris <rgm@gnu.org>
5720 * edmacro.el (edmacro-format-keys): Fix previous change.
5722 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5724 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5725 The hack didn't work outside English locales anyway.
5727 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5729 * simple.el (define-alternatives): Rename from alternatives-define,
5730 per RMS' suggestion.
5732 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5734 * desktop.el (desktop-restore-frames): Change default to t.
5735 (desktop-restore-in-current-display): Now offer more options.
5736 (desktop-restoring-reuses-frames): New customization option.
5737 (desktop--saved-states): Doc fix.
5738 (desktop-filter-parameters-alist): New variable, renamed and expanded
5739 from desktop--excluded-frame-parameters.
5740 (desktop--target-display): New variable.
5741 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5742 (desktop--filter-tty*, desktop--filter-*-color)
5743 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5744 (desktop--filter-save-desktop-parm)
5745 (desktop-restore-in-original-display-p): New functions.
5746 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5747 (desktop--save-minibuffer-frames): New function, inspired by a similar
5748 function from Martin Rudalics.
5749 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5750 (desktop--restore-in-this-display-p): Remove.
5751 (desktop--find-frame): Rename from desktop--find-frame-in-display
5752 and add predicate argument.
5753 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5754 (desktop--reuse-list): New variable.
5755 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5757 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5759 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5761 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5763 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5765 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5766 Highlight conversion methods on Kernel.
5768 2013-07-13 Alan Mackenzie <acm@muc.de>
5770 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5771 and comment it out. This out-commenting enables certain C++
5772 declarations to be parsed correctly.
5774 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5776 * international/mule.el (define-coding-system): Doc fix.
5778 * simple.el (default-font-height): Don't call font-info if the
5779 frame's default font didn't change since the frame was created.
5782 2013-07-13 Leo Liu <sdl.web@gmail.com>
5784 * ido.el (ido-read-file-name): Guard against non-symbol value.
5786 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5788 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5791 2013-07-13 Leo Liu <sdl.web@gmail.com>
5793 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5794 ido-set-matches call. (Bug#6852)
5796 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5798 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5799 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5801 (ruby-font-lock-keywords): Distinguish calls to functions with
5802 module-like names from module references. Highlight character
5805 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5807 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5808 (gdb-send): Handle continued commands. (Bug#14847)
5810 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5812 * desktop.el (desktop--v2s): Remove unused local variable.
5813 (desktop-save-buffer): Make defvar-local; adjust docstring.
5814 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5815 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5817 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5819 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5821 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5823 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5826 2013-07-12 Glenn Morris <rgm@gnu.org>
5828 * doc-view.el: Require cl-lib at runtime too.
5829 (doc-view-remove-if): Remove.
5830 (doc-view-search-next-match, doc-view-search-previous-match):
5833 * edmacro.el: Require cl-lib at runtime too.
5834 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5835 (edmacro-mismatch, edmacro-subseq): Remove.
5837 * shadowfile.el: Require cl-lib.
5838 (shadow-remove-if): Remove.
5839 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5842 * wid-edit.el: Require cl-lib.
5843 (widget-choose): Use cl-remove-if.
5844 (widget-remove-if): Remove.
5846 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5847 (ebrowse-delete-if-not): Remove.
5848 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5849 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5850 Use cl-delete-if-not.
5852 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5854 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5855 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5857 2013-07-12 Leo Liu <sdl.web@gmail.com>
5859 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5861 2013-07-11 Glenn Morris <rgm@gnu.org>
5863 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5864 (edebug-gensym-index, edebug-gensym):
5865 Remove reimplementation of cl-gensym.
5866 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5868 * thumbs.el: Require cl-lib at run-time too.
5869 (thumbs-gensym-counter, thumbs-gensym):
5870 Remove reimplementation of cl-gensym.
5871 (thumbs-temp-file): Use cl-gensym.
5873 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5874 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5875 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5876 (ert--union, ert--gensym-counter, ert--gensym-counter)
5877 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5878 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5879 (ert-make-test-unbound, ert--expand-should-1)
5880 (ert--expand-should, ert--should-error-handle-error)
5881 (should-error, ert--explain-equal-rec)
5882 (ert--plist-difference-explanation, ert-select-tests)
5883 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5884 Use cl-lib functions rather than reimplementations.
5886 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5888 * net/tramp.el (tramp-methods): Extend docstring.
5889 (tramp-connection-timeout): New defcustom.
5890 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5891 (with-tramp-progress-reporter): Simplify.
5892 (tramp-process-actions): Improve messages.
5894 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5895 * net/tramp-sh.el (tramp-maybe-open-connection):
5896 Use `tramp-connection-timeout'.
5897 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5900 2013-07-11 Leo Liu <sdl.web@gmail.com>
5902 * ido.el (ido-read-file-name): Conform to the requirements of
5903 read-file-name. (Bug#11861)
5904 (ido-read-directory-name): Conform to the requirements of
5905 read-directory-name.
5907 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5909 * subr.el (delay-warning): New function.
5911 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5913 * simple.el (default-line-height): New function.
5914 (line-move-partial, line-move): Use it instead of computing the
5916 (line-move-partial): Always compute ROWH. If the last line is
5917 partially-visible, but its text is completely visible, allow
5918 cursor to enter such a partially-visible line.
5920 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5922 Improve error messages. (Bug#14808)
5924 * net/tramp.el (tramp-current-connection): New defvar, moved from
5926 (tramp-message-show-progress-reporter-message): Remove, not
5928 (tramp-error-with-buffer): Show message in minibuffer.
5929 Discard input before waiting. Reset connection timestamp.
5930 (with-tramp-progress-reporter): Improve messages.
5931 (tramp-process-actions): Use progress reporter. Delete process in
5932 case of error. Improve messages.
5934 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5935 Call `tramp-error-with-buffer' with vector and buffer.
5936 (tramp-current-connection): Remove.
5937 (tramp-maybe-open-connection): The car of
5938 `tramp-current-connection' are the first 3 slots of the vector.
5940 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5942 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5943 inside continued strings.
5945 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5947 Timestamp fixes for undo (Bug#14824).
5948 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5950 2013-07-10 Leo Liu <sdl.web@gmail.com>
5952 * files.el (require-final-newline): Allow safe local value.
5955 2013-07-09 Leo Liu <sdl.web@gmail.com>
5957 * ido.el (ido-read-directory-name): Handle fallback.
5958 (ido-read-file-name): Update DIR to ido-current-directory.
5960 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5962 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5964 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5965 "autoload". Remove "warn lower camel case" section, previously
5966 commented out. Highlight negation char. Do not highlight the
5967 target in singleton method definitions.
5969 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5971 * faces.el (tty-setup-hook): Declare the hook.
5973 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5974 and detect when a guard/pred depends on local vars (bug#14773).
5975 (pcase--u1): Adjust caller.
5977 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5979 * simple.el (line-move-partial, line-move): Account for
5981 (line-move-partial): Avoid setting vscroll when the last
5982 partially-visible line in window is of default height.
5984 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5986 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5989 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5991 * subr.el (read-quoted-char): Remove unused local variable `char'.
5993 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5995 * ediff.el (ediff-version): Version update.
5996 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5997 (ediff-merge-with-ancestor-command, ediff-directories-command)
5998 (ediff-directories3-command, ediff-merge-directories-command)
5999 (ediff-merge-directories-with-ancestor-command): New functions.
6000 All are command-line interfaces to ediff: to facilitate calling
6001 Emacs with the appropriate ediff functions invoked.
6003 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6004 (viper-save-kill-buffer): Check if buffer is modified.
6006 * viper.el (viper-version): Version update.
6007 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6009 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6011 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6012 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6013 (viper-intercept-ESC-key): Simplify.
6014 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6015 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6016 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6017 (viper-setup-ESC-to-escape): New functions.
6018 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6019 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6021 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6023 * simple.el (default-font-height, window-screen-lines):
6025 (line-move, line-move-partial): Use them instead of
6026 frame-char-height and window-text-height. This makes scrolling
6027 text smoother when the buffer's default face uses a font that is
6028 different from the frame's default font.
6030 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6032 * files.el (write-file): Do not display confirm dialog for NS,
6033 it does its own dialog, which can't be cancelled (Bug#14578).
6035 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6037 * simple.el (line-move-partial): Adjust the row returned by
6038 posn-at-point for the current window-vscroll. (Bug#14567)
6040 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6042 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6043 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6046 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6048 * window.el (window-state-put-stale-windows): New variable.
6049 (window--state-put-2): Save list of windows without matching buffer.
6050 (window-state-put): Remove "bufferless" windows if possible.
6052 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6054 * simple.el (alternatives-define): Remove leftover :group keyword.
6057 2013-07-06 Leo Liu <sdl.web@gmail.com>
6059 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6060 (ido-enable-virtual-buffers): New variable.
6061 (ido-buffer-internal, ido-toggle-virtual-buffers)
6062 (ido-make-buffer-list): Use it.
6063 (ido-exhibit): Support turning on and off virtual buffers
6066 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6068 * simple.el (alternatives-define): New macro.
6070 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6072 * subr.el (read-quoted-char): Use read-key.
6073 (sit-for): Let read-event decode tty input (bug#14782).
6075 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6077 * calendar/todo-mode.el: Add handling of file deletion, both by
6078 mode command and externally. Fix various related bugs.
6079 Clarify Commentary and improve some documentation strings and code.
6080 (todo-delete-file): New command.
6081 (todo-check-file): New function.
6082 (todo-show): Handle external deletion of the file we're trying to
6083 show (bug#14688). Replace called-interactively-p by an optional
6084 prefix argument to avoid problematic interaction with catch form
6085 when byte compiled (bug#14702).
6086 (todo-quit): Handle external deletion of the archive's todo file.
6087 Make sure the buffer that was visiting the archive file is still
6088 live before trying to bury it.
6089 (todo-category-completions): Handle external deletion of any
6090 category completion files.
6091 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6092 of todo files, in case of external deletion.
6093 (todo-add-file): Replace unnecessary setq by let-binding.
6094 (todo-find-archive): Check whether there are any archives.
6095 Replace unnecessary setq by let-binding.
6096 (todo-archive-done-item): Use find-file-noselect to get the
6097 archive buffer whether or not the archive already exists.
6098 Remove superfluous code. Use file size instead of buffer-file-name to
6099 check if the archive is new; if it is, update list of archives.
6100 (todo-default-todo-file): Allow nil to be a valid value for when
6101 there are no todo files.
6102 (todo-reevaluate-default-file-defcustom): Use corrected definition
6103 of todo-default-todo-file.
6104 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6105 (todo-delete-category, todo-show-categories-table)
6106 (todo-category-number): Clarify comment.
6107 (todo-filter-items): Clarify documentation string.
6108 (todo-show-current-file, todo-display-as-todo-file)
6109 (todo-reset-and-enable-done-separator): Tweak documentation string.
6110 (todo-done-separator): Make separator length window-width, since
6111 bug#2749 is now fixed.
6113 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6115 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6116 Support both "gvfs-monitor-dir" and "inotifywait".
6117 (tramp-sh-file-inotifywait-process-filter): Rename from
6118 `tramp-sh-file-notify-process-filter'.
6119 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6120 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6122 2013-07-05 Leo Liu <sdl.web@gmail.com>
6124 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6126 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6128 * frame.el (display-pixel-height, display-pixel-width)
6129 (display-mm-height, display-mm-width): Mention behavior on
6130 multi-monitor setups in docstrings.
6131 (w32-display-monitor-attributes-list): Declare function.
6132 (display-monitor-attributes-list): Use it.
6134 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6136 * filenotify.el: New package.
6138 * autorevert.el (top): Require filenotify.el.
6139 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6141 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6142 (auto-revert-notify-handler): Use `file-notify-*' functions.
6144 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6146 * net/tramp.el (tramp-file-name-for-operation):
6147 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6149 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6150 for `file-notify-add-watch' and `file-notify-rm-watch'.
6151 (tramp-process-sentinel): Improve trace.
6152 (tramp-sh-handle-file-notify-add-watch)
6153 (tramp-sh-file-notify-process-filter)
6154 (tramp-sh-handle-file-notify-rm-watch)
6155 (tramp-get-remote-inotifywait): New defuns.
6157 2013-07-03 Juri Linkov <juri@jurta.org>
6159 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6160 call of `occur-read-primary-args' to interactive spec.
6162 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6163 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6165 2013-07-03 Matthias Meulien <orontee@gmail.com>
6167 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6168 `Buffer-menu-multi-occur'. Add it to the menu.
6169 (Buffer-menu-mode): Document it in docstring.
6170 (Buffer-menu-multi-occur): New command. (Bug#14673)
6172 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6174 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6175 keywords and built-ins.
6177 2013-07-03 Glenn Morris <rgm@gnu.org>
6179 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6181 Make info-xref checks case-sensitive by default
6182 * info.el (Info-find-node, Info-find-in-tag-table)
6183 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6184 Add option for exact case matching of nodes.
6185 * info-xref.el (info-xref): New custom group.
6186 (info-xref-case-fold): New option.
6187 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6189 2013-07-03 Leo Liu <sdl.web@gmail.com>
6191 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6193 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6195 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6196 middle of block statement initially, lower the depth. Remove
6197 FIXME comment, not longer valid. Remove middle of block statement
6198 detection, no need to do that anymore since we've been using
6199 `ruby-parse-region' here.
6201 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6203 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6205 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6207 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6209 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6211 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6212 (desktop-restore-in-current-display): New customization option.
6213 (desktop--excluded-frame-parameters): Add `font'.
6214 (desktop--save-frames): Rename from desktop--save-windows.
6215 (desktop--restore-in-this-display-p): New function.
6216 (desktop--make-full-frame): Remove unwanted width/height from
6217 full(width|height) frames.
6218 (desktop--restore-frames): Rename from desktop--restore-windows.
6219 Obey desktop-restore-current-display. Do not delete old frames or
6220 select a new frame unless we were able to restore at least one frame.
6222 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6224 * files.el (find-file-noselect): Simplify conditional expression.
6226 * remember.el (remember-append-to-file):
6227 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6229 Add `remember-notes' function to store random notes across Emacs
6231 * remember.el (remember-data-file): Add :set callback to affect
6232 notes buffer (if any).
6233 (remember-notes): New command.
6234 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6235 New defcustoms for the `remember-notes' function.
6236 (remember-notes-save-and-bury-buffer): New command.
6237 (remember-notes-mode-map): New variable.
6238 (remember-mode): New minor mode.
6239 (remember-notes--kill-buffer-query): New function.
6240 * startup.el (initial-buffer-choice): Add notes to custom type.
6242 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6244 * bindings.el (right-char, left-char): Don't call sit-for, this is
6245 no longer needed. Use arithmetic comparison only for numerical
6248 * international/mule-cmds.el (select-safe-coding-system):
6249 Handle the case of FROM being a string correctly. (Bug#14755)
6251 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6253 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6254 progression on degenerate tables.
6255 (shr-rescale-image): ImageMagick animated images currently don't work.
6257 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6259 Some fixes and improvements for desktop frame restoration.
6260 It is still experimental and disabled by default.
6261 * desktop.el (desktop--save-windows): Put the selected frame at
6262 the head of the list.
6263 (desktop--make-full-frame): New function.
6264 (desktop--restore-windows): Try to re-select the frame that was
6265 selected upon saving. Do not abort if some frames fail to restore,
6266 just show an error message and continue. Set up maximized frames
6267 so they have default non-maximized dimensions.
6269 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6271 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6272 Don't start heredoc inside a string or comment.
6274 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6276 * bindings.el (visual-order-cursor-movement): New defcustom.
6277 (right-char, left-char): Provide visual-order cursor motion by
6278 calling move-point-visually. Update the doc strings.
6280 2013-06-28 Kenichi Handa <handa@gnu.org>
6282 * international/mule.el (define-coding-system): New coding system
6283 properties :inhibit-null-byte-detection,
6284 :inhibit-iso-escape-detection, and :prefer-utf-8.
6285 (set-buffer-file-coding-system): If :charset-list property of
6286 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6287 appropriate for setting.
6289 * international/mule-cmds.el (select-safe-coding-system):
6290 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6291 multibyte characters, return utf-8 (or one of its siblings).
6293 * international/mule-conf.el (prefer-utf-8): New coding system.
6294 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6297 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6299 * net/shr.el (shr-render-region): New function.
6301 * net/eww.el: Autoload `eww-browse-url'.
6303 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6305 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6306 Adapt to `package-desc-version' being a list.
6307 Use `package--ac-desc-version' to retrieve version from a package
6310 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6312 New experimental feature to save&restore window and frame setup.
6313 * desktop.el (desktop-save-windows): New defcustom.
6314 (desktop--saved-states): New var.
6315 (desktop--excluded-frame-parameters): New defconst.
6316 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6317 (desktop--restore-windows, desktop--save-windows): New functions.
6318 (desktop-save): Call `desktop--save-windows'.
6319 (desktop-read): Call `desktop--restore-windows'.
6321 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6323 * net/shr.el (add-face-text-property): Remove compat definition.
6325 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6327 * info.el (Info-try-follow-nearest-node): Move search for footnote
6328 above search for node name to prevent missing a footnote (bug#14717).
6330 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6332 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6334 2013-06-27 Leo Liu <sdl.web@gmail.com>
6336 * net/eww.el (eww-read-bookmarks): Check file size.
6338 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6340 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6341 advice--pending if newdef is nil or an autoload (bug#13820).
6342 (advice-mapc): New function.
6344 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6346 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6348 (eww-mode-map): Add a menu bar.
6349 (eww-add-bookmark): New command.
6350 (eww-bookmark-mode): New mode and commands.
6351 (eww-add-bookmark): Remove newlines from the title.
6352 (eww-bookmark-browse): Don't bug out if it's the only window.
6354 2013-06-26 Glenn Morris <rgm@gnu.org>
6356 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6357 (hfy-size): Handle ttys. (Bug#14668)
6359 * info-xref.el: Update for Texinfo 5 change in *note format.
6360 (info-xref-node-re, info-xref-note-re): New constants.
6361 (info-xref-check-buffer): Use info-xref-note-re.
6363 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6365 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6367 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6368 nil terminate the loop (bug#14718).
6370 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6372 * net/eww.el: Rework history traversal. When going forward/back,
6373 put these actions into the history, too, so that they can be
6375 (eww-render): Move the history reset to the correct buffer.
6377 2013-06-25 Juri Linkov <juri@jurta.org>
6379 * files-x.el (modify-dir-local-variable): Change the header comment
6380 in the file with directory local variables. (Bug#14692)
6382 * files-x.el (read-file-local-variable-value): Add `default'.
6385 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6387 * net/eww.el (eww-make-unique-file-name): Create a unique file
6388 name before saving to entering `y' accidentally asynchronously.
6390 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6392 * net/eww.el (eww-download): New command and keystroke.
6394 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6396 * net/eww.el (eww-copy-page-url): Change name of command.
6398 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6399 be more consistent with Info and dired.
6401 * net/eww.el (eww-mode-map): Ditto.
6403 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6405 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6406 packages from archives.
6407 (package-archive-contents): Change format; include obsolete packages.
6408 (package-desc): Use `dir' to mark builtin packages.
6409 (package--from-builtin): Set the `dir' field to `builtin'.
6410 (generated-autoload-file, version-control): Declare.
6411 (package-compute-transaction): Change first arg and return value to be
6412 lists of package-descs. Adjust to new package-archive-contents format.
6413 (package--add-to-archive-contents): Adjust to new
6414 package-archive-contents format.
6415 (package-download-transaction): Arg is now a list of package-descs.
6416 (package-install): If `pkg' is a package name, pass it as
6417 a requirement, so it is subject to the usual (e.g. disabled) checks.
6418 (describe-package): Accept package-desc as well.
6419 (describe-package-1): Describe a specific package-desc. Add links to
6420 other package-descs for the same package name.
6421 (package-menu-describe-package): Pass the actual package-desc.
6422 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6424 (package-desc-status): New function.
6425 (package-menu--refresh): New function, extracted
6426 from package-menu--generate.
6427 (package-menu--generate): Use it.
6428 (package-delete): Update package-alist.
6429 (package-menu-execute): Don't call package-initialize.
6431 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6432 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6433 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6434 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6435 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6436 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6438 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6440 * window.el (window--state-get-1): Workaround for bug#14527.
6441 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6443 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6445 * net/eww.el (eww-back-url): Implement the history by stashing all
6446 the data into a list.
6447 (eww-forward-url): Allow going forward in the history, too.
6449 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6451 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6452 for values and use read--expression for expressions (bug#14710).
6453 (read-file-local-variable): Avoid setq.
6454 (read-file-local-variable-mode): Use minor-mode-list.
6456 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6458 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6461 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6463 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6464 Update imenu-support when dialect changes.
6466 2013-06-25 Leo Liu <sdl.web@gmail.com>
6468 * ido.el (ido-read-internal): Allow forward slash on windows.
6470 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6472 * net/eww.el (eww): Start of strings is \\`, not ^.
6474 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6476 * net/shr.el (shr-browse-url): Fix interactive spec.
6478 * net/eww.el (eww): Add a trailing slash to domain names.
6480 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6482 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6484 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6486 * net/shr.el (shr-browse-url): Use an external browser if given a
6489 * net/eww.el (eww-external-browser): Move to shr.
6491 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6493 * net/eww.el (eww): Work more correctly for file: URLs.
6494 (eww-detect-charset): Allow quoted charsets.
6495 (eww-yank-page-url): New command and keystroke.
6497 2013-06-24 Daiki Ueno <ueno@gnu.org>
6499 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6500 file name of gpg executable.
6501 (epg-context-program): New function.
6502 (epg-context-home-directory): New function.
6503 (epg-context-set-program): New function.
6504 (epg-context-set-home-directory): New function.
6505 (epg--start): Use `epg-context-program' instead of
6507 (epg--list-keys-1): Likewise.
6509 2013-06-24 Leo Liu <sdl.web@gmail.com>
6511 * ido.el (ido-read-internal): Fix bug#14620.
6513 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6515 * faces.el (face-documentation): Simplify.
6516 (read-face-attribute, tty-find-type, x-resolve-font-name):
6517 Use `string-match-p'.
6518 (list-faces-display): Use `string-match-p'. Simplify.
6519 (face-spec-recalc): Check face to avoid face alias loops.
6520 (read-color): Use `string-match-p' and non-capturing parenthesis.
6522 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6524 * net/shr.el (shr-rescale-image): Use the new
6525 :max-width/:max-height functionality.
6527 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6529 * net/eww.el (eww-search-prefix): New variable.
6531 (eww-external-browser): New variable.
6532 (eww-mode-map): New keystroke.
6533 (eww-browse-with-external-browser): New command.
6535 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6537 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6539 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6540 Don't skip aligning the next header field when padding is 0;
6541 otherwise, field width is not respected unless the title is as
6544 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6546 * emacs-lisp/package.el (package-el-version): Remove.
6547 (package-process-define-package): Fix inf-loop.
6548 (package-install): Allow symbols as arguments again.
6550 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6552 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6553 add some more keyword-like methods.
6554 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6556 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6558 * bs.el (bs-buffer-show-mark): Make defvar-local.
6559 (bs-mode): Use setq-local.
6561 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6562 (emacs-lock--try-unlocking): Make defvar-local.
6564 2013-06-22 Glenn Morris <rgm@gnu.org>
6566 * play/cookie1.el (cookie-apropos): Minor simplification.
6568 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6570 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6572 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6573 `regexp-opt', it breaks the build during dumping.
6575 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6577 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6578 Highlight keyword-like methods on Kernel and Module with
6579 font-lock-builtin-face.
6580 (auto-mode-alist): Consolidate different entries into one regexp
6581 and add more *file-s.
6583 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6585 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6587 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6588 (diary-entry): Use it in the action of this button type instead of
6591 * calendar/todo-mode.el: New version.
6592 (todo-add-category): Append new category to end of file and give
6593 it the highest number, instead of putting it at the beginning and
6594 giving it 0. Incorporate noninteractive functionality.
6595 (todo-forward-category): Adapt to 1-based category numbering.
6596 Allow skipping over archived categories.
6597 (todo-backward-category): Derive from todo-forward-category.
6598 (todo-backward-item, todo-forward-item): Make noninteractive and
6599 delegate interactive part to new commands. Make sensitive to done items.
6600 (todo-categories): Make value an alist of category names and
6601 vectors of item counts.
6602 (todo-category-beg): Make a defconst.
6603 (todo-category-number): Use 1 instead of 0 as initial value.
6604 (todo-category-select): Make sensitive to overlays, optional item
6605 highlighting and done items.
6606 (todo-delete-item): Make sensitive to overlays and marked and done items.
6607 (todo-edit-item): Make sensitive to overlays and editing of
6608 date/time header optional. Add format checks.
6609 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6610 no-op if point is not on an item. Advertise using todo-edit-quit.
6611 (todo-edit-mode): Make sensitive to new format, font-locking, and
6612 multiple todo files.
6613 (todo-insert-item, todo-insert-item-here): Derive from
6614 todo-basic-insert-item and extend functionality.
6615 (todo-item-end, todo-item-start): Make sensitive to done items.
6616 (todo-item-string): Don't return text properties. Restore point.
6617 (todo-jump-to-category): Make sensitive to multiple todo files and
6618 todo archives. Use extended category completion.
6619 (todo-lower-item, todo-raise-item): Rename to *-priority and
6620 derive from todo-set-item-priority.
6621 (todo-mode): Derive from special-mode. Make sensitive to new
6622 format, font-locking and multiple todo files. Make read-only.
6623 (todo-mode-map): Don't suppress digit keys, so they can supply
6624 prefix arguments. Add many new key bindings.
6625 (todo-prefix): Insert as an overlay instead of file text.
6626 Change semantics from diary date expression to purely visual mark.
6627 (todo-print): Rename to todo-print-buffer. Make buffer display
6628 features printable. Remove option to restrict number of items
6629 printed. Add option to print to file.
6630 (todo-print-function): Rename to todo-print-buffer-function.
6631 (todo-quit): Extend to handle exiting new todo modes.
6632 (todo-remove-item): Make sensitive to overlays.
6633 (todo-save): Extend to buffers of filtered items.
6634 (todo-show): Make sensitive to done items, multiple todo files and
6635 new todo modes. Offer to convert legacy todo file before creating
6636 first new todo file.
6637 (todo-show-priorities): Rename to todo-top-priorities.
6638 Change semantics of value 0.
6639 (todo-top-priorities): Rename to todo-filter-top-priorities,
6640 derive from todo-filter-items and extend functionality.
6641 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6642 and extend functionality to other types of filtered items.
6643 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6644 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6645 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6646 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6647 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6648 (todo-edit-mode-hook, todo-entry-prefix-function)
6649 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6650 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6651 (todo-initials, todo-insert-threshold, todo-item-string-start)
6652 (todo-line-string, todo-menu, todo-mode-hook)
6653 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6654 (todo-print-priorities, todo-remove-separator)
6655 (todo-save-top-priorities-too, todo-string-count-lines)
6656 (todo-string-multiline-p, todo-time-string-format)
6657 (todo-tmp-buffer-name): Remove.
6658 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6659 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6660 (todo-edit-category-diary-inclusion)
6661 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6662 (todo-edit-file, todo-edit-item-date-day)
6663 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6664 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6665 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6666 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6667 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6668 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6669 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6670 (todo-filter-top-priorities-multifile, todo-find-archive)
6671 (todo-find-filtered-items-file, todo-go-to-source-item)
6672 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6673 (todo-jump-to-archive-category, todo-lower-category)
6674 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6675 (todo-move-category, todo-move-item, todo-next-button)
6676 (todo-next-item, todo-padded-string, todo-powerset)
6677 (todo-previous-button, todo-previous-item)
6678 (todo-print-buffer-to-file, todo-raise-category)
6679 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6680 (todo-set-category-number, todo-set-item-priority)
6681 (todo-set-top-priorities-in-category)
6682 (todo-set-top-priorities-in-file, todo-show-categories-table)
6683 (todo-sort-categories-alphabetically-or-numerically)
6684 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6685 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6686 (todo-toggle-item-header, todo-toggle-item-highlighting)
6687 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6688 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6689 (todo-unarchive-items, todo-unmark-category): New commands.
6690 (todo-absolute-file-name, todo-add-to-buffer-list)
6691 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6692 (todo-basic-insert-item, todo-category-completions)
6693 (todo-category-number, todo-category-string-matcher-1)
6694 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6695 (todo-check-format, todo-clear-matches)
6696 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6697 (todo-current-category, todo-date-string-matcher)
6698 (todo-define-insertion-command, todo-diary-expired-matcher)
6699 (todo-diary-goto-entry, todo-diary-item-p)
6700 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6701 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6702 (todo-done-item-section-p, todo-done-separator)
6703 (todo-done-string-matcher, todo-files, todo-filter-items)
6704 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6705 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6706 (todo-insert-category-line, todo-insert-item-from-calendar)
6707 (todo-insert-sort-button, todo-insert-with-overlays)
6708 (todo-insertion-command-name, todo-insertion-key-bindings)
6709 (todo-label-to-key, todo-longest-category-name-length)
6710 (todo-make-categories-list, todo-mode-external-set)
6711 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6712 (todo-modes-set-3, todo-multiple-filter-files)
6713 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6714 (todo-read-category, todo-read-date, todo-read-dayname)
6715 (todo-read-file-name, todo-read-time)
6716 (todo-reevaluate-category-completions-files-defcustom)
6717 (todo-reevaluate-default-file-defcustom)
6718 (todo-reevaluate-filelist-defcustoms)
6719 (todo-reevaluate-filter-files-defcustom)
6720 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6721 (todo-reset-done-separator, todo-reset-done-separator-string)
6722 (todo-reset-done-string, todo-reset-global-current-todo-file)
6723 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6724 (todo-reset-prefix, todo-set-categories)
6725 (todo-set-date-from-calendar, todo-set-show-current-file)
6726 (todo-set-top-priorities, todo-short-file-name)
6727 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6728 (todo-total-item-counts, todo-update-buffer-list)
6729 (todo-update-categories-display, todo-update-categories-sexp)
6730 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6732 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6734 (todo-categories, todo-display, todo-edit, todo-faces)
6735 (todo-filtered): New defgroups.
6736 (todo-archived-only, todo-button, todo-category-string, todo-date)
6737 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6738 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6739 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6740 (todo-add-item-if-new-category, todo-always-add-time-string)
6741 (todo-categories-align, todo-categories-archived-label)
6742 (todo-categories-category-label, todo-categories-diary-label)
6743 (todo-categories-done-label, todo-categories-number-separator)
6744 (todo-categories-todo-label, todo-categories-totals-label)
6745 (todo-category-completions-files, todo-completion-ignore-case)
6746 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6747 (todo-done-separator-string, todo-done-string)
6748 (todo-files-function, todo-filter-done-items, todo-filter-files)
6749 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6750 (todo-initial-category, todo-initial-file, todo-item-mark)
6751 (todo-legacy-date-time-regexp, todo-mode-line-function)
6752 (todo-nondiary-marker, todo-number-prefix)
6753 (todo-print-buffer-function, todo-show-current-file)
6754 (todo-show-done-only, todo-show-first, todo-show-with-done)
6755 (todo-skip-archived-categories, todo-top-priorities-overrides)
6756 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6757 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6759 (todo-category-done, todo-date-pattern, todo-date-string-start)
6760 (todo-diary-items-buffer, todo-done-string-start)
6761 (todo-filtered-items-buffer, todo-item-start)
6762 (todo-month-abbrev-array, todo-month-name-array)
6763 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6764 (todo-top-priorities-buffer): New defconsts.
6765 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6766 (todo-categories-with-marks, todo-category-string-face)
6767 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6768 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6769 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6770 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6771 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6772 (todo-font-lock-keywords, todo-global-current-todo-file)
6773 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6774 (todo-insertion-commands-args)
6775 (todo-insertion-commands-args-genlist)
6776 (todo-insertion-commands-names, todo-insertion-map)
6777 (todo-key-bindings-t, todo-key-bindings-t+a)
6778 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6779 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6780 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6781 (todo-visited): New variables.
6783 2013-06-21 Glenn Morris <rgm@gnu.org>
6785 * play/cookie1.el (cookie-apropos): Add optional display argument.
6786 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6787 (psychoanalyze-pinhead): Use cookie-doctor.
6789 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6791 * emacs-lisp/package.el (tar-get-file-descriptor)
6792 (tar--extract): Declare.
6794 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6796 Extend flymake's warning predicate to be a function (bug#14217).
6797 * progmodes/flymake.el (flymake-warning-predicate): New.
6798 (flymake-parse-line): Use it.
6799 (flymake-warning-re): Make obsolete alias to
6800 `flymake-warning-predicate'.
6802 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6804 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6805 (package-obsolete-list): Remove.
6806 (package-activate): Remove min-version argument. Add `force' argument.
6807 Adjust to new package-alist format.
6808 (package-mark-obsolete): Remove.
6809 (package-unpack): Force reload of the package's autoloads.
6810 (package-installed-p): Check builtins if the installed package is not
6812 (package-initialize): Don't reset package-obsolete-list.
6813 Don't specify which package version to activate.
6814 (package-process-define-package, describe-package-1)
6815 (package-menu--generate): Adjust to new package-alist format.
6817 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6819 * allout-widgets.el (allout-widgets-mode-off)
6820 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6821 (allout-widgets-post-command-business)
6822 (allout-widgets-after-copy-or-kill-function)
6823 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6824 (allout-decorate-item-and-context)
6825 (allout-graphics-modification-handler): Fix typos in docstrings.
6826 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6828 * cmuscheme.el (scheme-start-file): Doc fix.
6829 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6830 (scheme-input-filter): Use `string-match-p'.
6832 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6834 * dired-x.el: Use Dired consistently in docstrings.
6836 * dired.el: Use Dired consistently in docstrings.
6837 (dired-readin, dired-mode): Use `setq-local'.
6838 (dired-switches-alist): Make defvar-local.
6839 (dired-buffers-for-dir): Use `zerop'.
6840 (dired-safe-switches-p, dired-switches-escape-p)
6841 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6842 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6843 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6844 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6845 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6846 (dired-toggle-marks, dired-mark-files-containing-regexp)
6847 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6848 (dired-flag-auto-save-files, dired-flag-backup-files):
6850 (dired-mark-files-regexp, dired-build-subdir-alist):
6851 Use `string-match-p', `looking-at-p'.
6853 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6854 (direct-print-region-helper): Use `string-match-p'.
6856 2013-06-21 Leo Liu <sdl.web@gmail.com>
6858 * comint.el (comint-redirect-results-list-from-process):
6861 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6863 * net/eww.el (eww-update-header-line-format): Quote % characters.
6865 2013-06-21 Glenn Morris <rgm@gnu.org>
6867 * play/cookie1.el (cookie): New custom group.
6868 (cookie-file): New option.
6869 (cookie-check-file): New function.
6870 (cookie): Make it interactive. Make start and end messages optional.
6871 Interactively, display the result. Default to cookie-file.
6872 (cookie-insert): Default to cookie-file.
6873 (cookie-snarf): Make start and end messages optional.
6874 Default to cookie-file. Use with-temp-buffer.
6875 (cookie-read): Rename from read-cookie.
6876 Make start and end messages optional. Default to cookie-file.
6877 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6879 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6880 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6882 2013-06-21 Leo Liu <sdl.web@gmail.com>
6884 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6886 2013-06-21 Glenn Morris <rgm@gnu.org>
6888 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6890 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6891 Daniel Hackney <dan@haxney.org>
6893 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6894 Consolidate the single-file vs tarball code.
6895 (package-desc-suffix): New function.
6896 (package-desc-full-name): Don't bother inlining it.
6897 (package-load-descriptor): Return the new package-desc.
6898 (package-mark-obsolete): Remove unused arg `package'.
6899 (package-unpack): Make it work for single files as well.
6900 Make it update package-alist.
6901 (package--make-autoloads-and-stuff): Rename from
6902 package--make-autoloads-and-compile. Don't compile any more.
6903 (package--compile): New function.
6904 (package-generate-description-file): New function, extracted from
6905 package-unpack-single.
6906 (package-unpack-single): Remove.
6907 (package--with-work-buffer): Add indentation and debugging info.
6908 (package-download-single): Remove.
6909 (package-install-from-archive): Rename from package-download-tar, make
6910 it take a pkg-desc, and make it work for single files as well.
6911 (package-download-transaction): Simplify.
6912 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6913 external tar program.
6914 (package-install-from-buffer): Remove `pkg-desc' argument.
6915 Use package-tar-file-info for tar-mode buffers.
6916 (package-install-file): Simplify accordingly.
6917 (package-archive-base): Change to take a pkg-desc.
6918 * tar-mode.el (tar--check-descriptor): New function, extracted from
6920 (tar-get-descriptor): Use it.
6921 (tar-get-file-descriptor): New function.
6922 (tar--extract): New function, extracted from tar-extract.
6923 (tar--extract): Use it.
6924 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6925 case the summary uses non-ascii. Adjust to new calling convention of
6926 package-tar-file-info.
6928 2013-06-21 Leo Liu <sdl.web@gmail.com>
6930 * comint.el (comint-redirect-results-list-from-process):
6931 Fix random delay. (Bug#14681)
6933 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6935 * profiler.el (profiler-format-number): Use log, not log10.
6937 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6939 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6941 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6943 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6944 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6946 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6947 (AUTOGENEL): ... here.
6948 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6949 (cl--defsubst-expand): Use it.
6951 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6953 * subr.el (log10): Move here from C code, and declare as obsolete.
6954 All uses of (log10 X) replaced with (log X 10).
6956 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6958 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6959 Declare with `defvar-local'.
6960 (tabulated-list-use-header-line, tabulated-list-entries)
6961 (tabulated-list-padding, tabulated-list-printer)
6962 (tabulated-list-sort-key): Declare with `defvar-local'.
6963 (tabulated-list-init-header, tabulated-list-print-fake-header):
6966 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6968 * arc-mode.el (archive-mode): Add `archive-write-file' to
6969 `write-contents-functions' also for remote files. (Bug#14652)
6971 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6973 * cus-edit.el (custom-commands): Fix typos.
6974 (custom-display): Fix tooltip text.
6975 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6976 Fix typos in docstrings.
6977 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6978 (custom-unlispify-menu-entry, custom-magic-value-create)
6979 (custom-add-see-also, custom-group-value-create): Use ?\s.
6980 (custom-guess-type, customize-apropos, editable-field)
6981 (custom-face-value-create): Use `string-match-p'.
6982 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6984 * custom.el (custom-load-symbol): Use `string-match-p'.
6986 * ansi-color.el: Convert to lexical binding.
6987 (ansi-colors): Fix URL.
6988 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6989 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6990 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6992 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6994 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6996 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6998 2013-06-19 Tom Tromey <tromey@redhat.com>
7000 * net/eww.el (eww-top-url): Remove.
7001 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7002 (eww-render): Set new variables. Don't set eww-top-url.
7003 (eww-handle-link): Handle "prev", "home", and "contents".
7004 Downcase the rel text.
7005 (eww-top-url): Choose best top URL.
7007 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7009 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7010 relying in widget.el. Using widget.el leads to too many
7011 user interface inconsistencies.
7012 (eww-self-insert): Implement entering commands in text fields.
7013 (eww-process-text-input): New function to make text input field editing
7015 (eww-submit): Rewrite to use the new-style form methods.
7016 (eww-select-display): Display the correct selected item.
7017 (eww-change-select): Implement changing the select value.
7018 (eww-toggle-checkbox): Implement radio/checkboxes.
7019 (eww-update-field): Fix compilation error.
7020 (eww-tag-textarea): Implement <textarea>.
7022 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7023 we don't shadow mode-specific bindings.
7025 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7028 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7030 2013-06-19 Glenn Morris <rgm@gnu.org>
7032 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7034 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7036 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7039 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7041 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7043 * net/browse-url.el (browse-url-browser-function):
7044 `eww-browse-url' has the right calling signature, `eww' does not.
7046 2013-06-19 Glenn Morris <rgm@gnu.org>
7048 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7049 Only eval autoloaded macros.
7050 (byte-compile-autoload): Only give the macro warning for macros.
7052 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7053 (ps-underlined-faces): Declare.
7055 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7056 (speedbar-add-supported-extension): Declare.
7058 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7059 Don't include a date stamp in the header of the generated file;
7060 it leads to needless differences between output files.
7062 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7064 * net/secrets.el (secrets-struct-secret-content-type):
7065 Replace check of introspection data by a test call of "CreateItem".
7066 Some servers do not offer introspection.
7068 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7070 * electric.el (electric-pair-mode): Improve interaction with
7071 electric-layout-mode.
7072 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7073 (electric-pair-syntax): Use text-mode-syntax-table in comments
7075 (electric-pair--insert): New function.
7076 (electric-pair-post-self-insert-function): Use it and
7077 electric--after-char-pos.
7079 2013-06-19 Leo Liu <sdl.web@gmail.com>
7081 * progmodes/octave.el (octave-help): Fix regexp.
7083 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7085 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7086 (shr-table-horizontal-line): Allow nil as a value, and change the
7088 (shr-insert-table-ruler): Respect the nil value.
7090 2013-06-18 Tom Tromey <tromey@barimba>
7092 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7094 (eww-open-file): New defun.
7095 (eww-render): Initialize new variables.
7096 (eww-display-html): Handle "link" and "a".
7097 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7098 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7099 (eww-back-url): Rename from eww-previous-url.
7100 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7103 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7105 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7106 Distinguish ternary operator tokens from slash symbol and slash
7109 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7111 Convert symbol prettification into minor mode and global minor mode.
7113 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7114 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7115 (prettify-symbols--keywords): Rename from
7116 `prog-prettify-symbols-alist' and make a local defvar.
7117 (prettify-symbols--compose-symbol): Rename from
7118 `prog--prettify-font-lock-compose-symbol'.
7119 (prettify-symbols--make-keywords): Rename from
7120 `prog-prettify-font-lock-symbols-keywords' and simplify.
7121 (prog-prettify-install): Remove.
7122 (prettify-symbols-mode): New minor mode, based on
7123 `prog-prettify-install'.
7124 (turn-on-prettify-symbols-mode): New function.
7125 (global-prettify-symbols-mode): New globalized minor mode.
7127 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7128 * progmodes/cfengine.el (cfengine3-mode):
7129 * progmodes/perl-mode.el (perl-mode): Don't call
7130 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7132 2013-06-18 Juri Linkov <juri@jurta.org>
7134 * files-x.el (modify-file-local-variable-message): New function.
7135 (modify-file-local-variable)
7136 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7137 and call `modify-file-local-variable-message' when it's non-nil.
7138 (add-file-local-variable, delete-file-local-variable)
7139 (add-file-local-variable-prop-line)
7140 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7141 and use it. (Bug#9820)
7143 2013-06-18 Juri Linkov <juri@jurta.org>
7145 * emulation/vi.el (vi-shell-op):
7146 * emulation/vip.el (vip-execute-com, ex-command):
7147 * emulation/viper-cmd.el (viper-exec-bang):
7148 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7149 the call of `shell-command-on-region'. (Bug#14637)
7151 * simple.el (shell-command-on-region): Doc fix.
7153 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7155 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7158 2013-06-18 Glenn Morris <rgm@gnu.org>
7160 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7162 * newcomment.el (comment-search-forward, comment-search-backward):
7163 Doc fix. (Bug#14376)
7165 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7167 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7168 (buffer-face-mode-invoke): Doc fix.
7170 2013-06-18 Matthias Meulien <orontee@gmail.com>
7172 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7173 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7175 2013-06-18 Glenn Morris <rgm@gnu.org>
7177 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7178 Replace obsolete function generic-make-keywords with its expansion.
7180 * progmodes/python.el (ffap-alist): Declare.
7182 * textmodes/reftex.el (bibtex-mode-map): Declare.
7184 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7186 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7187 (package-unpack, package-unpack-single): Return the pkg-dir.
7188 (package-download-transaction): Use it to update package-alist.
7190 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7192 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7195 2013-06-17 Juri Linkov <juri@jurta.org>
7197 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7199 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7201 * emacs-lisp/package.el (package-load-descriptor):
7202 Remove `with-syntax-table' call, `read' doesn't need it.
7203 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7205 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7207 * startup.el (command-line): Expand package name returned by
7208 `package--description-file' (bug#14639).
7210 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7212 * emacs-lisp/package.el (package-load-descriptor): Do not call
7213 `emacs-lisp-mode', just use its syntax table.
7215 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7217 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7218 `font-lock-extra-managed-props' if any prettifying keyword is added.
7219 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7220 (prog-mode): Use `setq-local'.
7222 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7224 * international/characters.el (standard-case-table): Set syntax of ?»
7225 and ?« to punctuation.
7227 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7229 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7230 Save relevant match data before calling `syntax-ppss' (bug#14595).
7232 2013-06-15 Juri Linkov <juri@jurta.org>
7234 * files-x.el (modify-file-local-variable-prop-line): Add local
7235 variables to the end of the existing comment on the first line.
7236 Use `file-auto-mode-skip' to skip interpreter magic line,
7237 and also skip XML declaration.
7239 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7241 * startup.el (package--builtin-versions): New var.
7242 (package-subdirectory-regexp): Remove.
7243 (package--description-file): Hard code its value instead.
7245 * emacs-lisp/package.el: Don't activate packages older than builtin.
7246 (package-obsolete-list): Rename from package-obsolete-alist, and make
7247 it into a simple list of package-desc.
7248 (package-strip-version): Remove.
7249 (package-built-in-p): Use package--builtin-versions.
7250 (package-mark-obsolete): Simplify.
7251 (package-process-define-package): Mark it obsolete if older than the
7253 (package-handle-response): Use line-end-position.
7254 (package-read-archive-contents, package--download-one-archive):
7256 (package--add-to-archive-contents): Skip if older than the builtin or
7258 (package-menu-describe-package): Fix last change.
7259 (package-list-unversioned): New var.
7260 (package-menu--generate): Use it.
7262 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7263 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7264 (autoload-builtin-package-versions): New variable.
7265 (autoload-generate-file-autoloads): Use them.
7266 Remove the list of autoloaded functions/macros from the
7267 (autoload...) comments.
7269 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7271 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7273 * simple.el (line-move-partial): Don't jump to the next screen
7274 line as soon as it becomes visible. Instead, continue enlarging
7275 the vscroll until the portion of a tall screen line that's left on
7276 display is about the height of the frame's default font.
7279 2013-06-15 Glenn Morris <rgm@gnu.org>
7281 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7282 compilation-error-regexp-alist void, or local while let-bound.
7284 * progmodes/make-mode.el (makefile-mode-syntax-table):
7285 Treat "=" as punctuation. (Bug#14614)
7287 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7289 * help-fns.el (describe-variable):
7290 Add extra line for permanent-local variables.
7292 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7294 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7295 Add export, import, library. (Bug#9164)
7296 (library): Set indent function.
7298 2013-06-14 Glenn Morris <rgm@gnu.org>
7300 * term/xterm.el (xterm--query):
7301 Stop after first matching handler. (Bug#14615)
7303 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7305 Add support for dired in saveplace.
7306 * dired.el (dired-initial-position-hook): New variable.
7307 (dired-initial-position): Call hook to place cursor position.
7308 * saveplace.el (save-place-to-alist): Add dired position.
7309 (save-place-dired-hook): New function.
7311 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7313 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7314 through a symbol rather than letrec.
7316 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7317 (package-desc): Add `dir' field.
7318 (package-desc-full-name): New function.
7319 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7320 (package-maybe-load-descriptor): Remove.
7321 (package-load-all-descriptors): Just call package-load-descriptor.
7322 (package--disabled-p): New function.
7323 (package-desc-vers, package-desc-doc): Remove aliases.
7324 (package--dir): Remove function.
7325 (package-activate): Check if a package is disabled.
7326 (package-process-define-package): New function, extracted from
7328 (define-package): Turn into a place holder.
7329 (package-unpack-single, package-tar-file-info):
7330 Use package--description-file.
7331 (package-compute-transaction): Use package--disabled-p.
7332 (package-download-transaction): Don't call
7333 package-maybe-load-descriptor since they're all loaded anyway.
7334 (package-install): Change argument to be a pkg-desc.
7335 (package-delete): Use a single pkg-desc argument.
7336 (describe-package-1): Use package-desc-dir instead of package--dir.
7337 Use package-desc property instead of package-symbol.
7338 (package-install-button-action): Adjust accordingly.
7339 (package--push): Rewrite.
7340 (package-menu--print-info): Adjust accordingly. Change the ID format
7342 (package-menu-describe-package, package-menu-get-status)
7343 (package-menu--find-upgrades, package-menu-mark-upgrades)
7344 (package-menu-execute, package-menu--name-predicate):
7346 * startup.el (package--description-file): New function.
7347 (command-line): Use it.
7348 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7349 Use package-desc-version.
7351 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7352 (byte-compile-preprocess): Use it.
7353 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7354 can't quite recognize.
7355 (byte-compile-add-to-list): Remove.
7356 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7357 (cconv-closure-convert): Add assertion.
7359 * emacs-lisp/map-ynp.el: Use lexical-binding.
7360 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7361 Factor out some repeated code.
7363 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7365 * subr.el (with-eval-after-load): New macro.
7366 (eval-after-load): Allow form to be a function.
7367 take advantage of lexical-binding.
7368 (do-after-load-evaluation): Use dolist and adjust to new format.
7369 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7371 2013-06-13 Juri Linkov <juri@jurta.org>
7373 * replace.el (perform-replace): Display "symbol " and other search
7374 modes from `isearch-message-prefix' in the *Help* buffer.
7376 * isearch.el (isearch-query-replace): Add " symbol" and other
7377 possible search modes from `isearch-message-prefix' to the prompt.
7378 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7379 when reading a regexp to collect.
7381 2013-06-13 Juri Linkov <juri@jurta.org>
7383 * isearch.el (word-search-regexp): Match whitespace if the search
7384 string begins or ends in whitespace. The LAX arg is applied to
7385 both ends of the search string. Use `regexp-quote' and explicit
7386 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7387 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7388 boundaries are replaced with symbol boundaries, and characters
7389 between symbols match non-word non-symbol syntax. (Bug#14602)
7391 2013-06-13 Juri Linkov <juri@jurta.org>
7393 * isearch.el (isearch-del-char): Don't exceed the length of
7394 `isearch-string' by the prefix arg. (Bug#14563)
7396 2013-06-13 Juri Linkov <juri@jurta.org>
7398 * isearch.el (isearch-yank-word, isearch-yank-line)
7399 (isearch-char-by-name, isearch-quote-char)
7400 (isearch-printing-char, isearch-process-search-char):
7401 Add optional count prefix arg. (Bug#14563)
7403 * international/isearch-x.el
7404 (isearch-process-search-multibyte-characters):
7405 Add optional count prefix arg.
7407 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7409 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7410 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7413 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7415 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7417 2013-06-13 Glenn Morris <rgm@gnu.org>
7419 * startup.el (tty-handle-args):
7420 Don't just discard "--" and anything after. (Bug#14608)
7422 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7424 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7426 Implement changes in Secret Service API. Make it backward compatible.
7427 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7428 (secrets-create-item): Use it. Prefix properties with interface.
7430 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7432 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7433 (term-emulate-terminal): Respect term-suppress-hard-newline.
7435 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7437 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7438 Only remove a `thumb-file' overlay. (Bug#14548)
7440 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7442 * mail/reporter.el (reporter-submit-bug-report):
7443 Handle missing package-name. (Bug#14600)
7445 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7447 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7448 (reftex-citation-prompt, reftex-default-bibliography)
7449 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7450 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7451 (reftex-bib-sort-author, reftex-bib-sort-year)
7452 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7453 (reftex-extract-bib-entries-from-thebibliography)
7454 (reftex-get-bibkey-default, reftex-get-bib-names)
7455 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7456 (reftex-format-bib-entry, reftex-parse-bibitem)
7457 (reftex-format-bibitem, reftex-do-citation)
7458 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7459 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7460 (reftex-insert-bib-matches, reftex-format-citation)
7461 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7462 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7463 existing comments into docstrings.
7465 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7467 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7469 2013-06-12 Andreas Schwab <schwab@suse.de>
7471 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7472 for auto-save files.
7474 2013-06-12 Glenn Morris <rgm@gnu.org>
7476 * ido.el (ido-delete-ignored-files): Remove.
7477 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7478 Go back to calling ido-ignore-item-p directly.
7480 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7482 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7484 * ido.el (ido-delete-ignored-files): New function,
7485 split from ido-make-file-list-1.
7486 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7487 (ido-make-file-list-1): Use ido-delete-ignored-files.
7489 2013-06-12 Leo Liu <sdl.web@gmail.com>
7491 * progmodes/octave.el (inferior-octave-startup)
7492 (inferior-octave-completion-table)
7493 (inferior-octave-track-window-width-change)
7494 (octave-eldoc-function-signatures, octave-help)
7495 (octave-find-definition): Use single quoted strings.
7496 (inferior-octave-startup-args): Change default value.
7497 (inferior-octave-startup): Do not hard code "-i" and
7498 "--no-line-editing".
7499 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7500 (inferior-octave-directory-tracker): Use it.
7501 (octave-goto-function-definition): Robustify.
7502 (octave-help): Support highlighting operators in 'See also'.
7503 (octave-find-definition): Find subfunctions only in Octave mode.
7505 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7507 * help-fns.el (help-fns--compiler-macro): If the handler function is
7508 named, then put a link to it.
7509 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7510 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7512 (cl-eval-when): Simplify debug spec.
7513 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7514 compiler-macro function instead of setting `compiler-macro-file'.
7516 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7518 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7519 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7521 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7522 Daniel Hackney <dan@haxney.org>
7524 First part of Daniel Hackney's patch to package.el.
7525 * emacs-lisp/package.el: Use defstruct.
7526 (package-desc): New, main struct.
7527 (package--bi-desc, package--ac-desc): New structs, used to describe the
7528 format in external files.
7529 (package-desc-vers): Replace with package-desc-version accessor.
7530 (package-desc-doc): Replace with package-desc-summary accessor.
7531 (package-activate-1): Remove `package' arg since the pkg-vec now
7533 (define-package): Use package-desc-from-define.
7534 (package-unpack-single): Change file-name arg to be a symbol.
7535 (package--add-to-archive-contents): Use package-desc-create and new
7536 accessor functions to package--ac-desc.
7537 (package-buffer-info, package-tar-file-info): Return a package-desc.
7538 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7539 arg to be a package-desc.
7540 (package-install-file): Adjust accordingly. Use \' to match EOS.
7541 (package--from-builtin): New function.
7542 (describe-package-1, package-menu--generate): Use it.
7543 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7544 (package-generate-autoloads): Idem and return the name of the file.
7545 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7546 Change pkg-info arg to be a package-desc.
7547 Use package-make-ac-desc.
7548 (package-upload-file): Use \' to match EOS.
7549 * finder.el (finder-compile-keywords): Use package-make-builtin.
7551 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7553 * vc/vc.el (vc-deduce-fileset): Change error message.
7554 (vc-read-backend): New function.
7555 (vc-next-action): Use it.
7557 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7559 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7560 (prolog-font-lock-keywords): Use regexp-opt instead.
7561 Don't manually highlight strings.
7562 (prolog-mode-variables): Simplify comment-start-skip.
7563 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7565 * emacs-lisp/generic.el (generic--normalise-comments)
7566 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7567 (generic-mode-set-comments): Use them.
7568 (generic-bracket-support): Use setq-local.
7569 (generic-make-keywords-list): Declare obsolete.
7571 2013-06-11 Glenn Morris <rgm@gnu.org>
7573 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7574 Prettify after setting font-lock-defaults. (Bug#14574)
7576 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7578 * replace.el (query-replace, occur-read-regexp-defaults-function)
7580 * subr.el (declare-function, number-sequence, local-set-key)
7581 (substitute-key-definition, locate-user-emacs-file)
7582 (with-silent-modifications, split-string, eval-after-load):
7583 Fix typos, remove unneeded backslashes and reflow some docstrings.
7585 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7587 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7588 default for Elisp files.
7590 2013-06-11 Glenn Morris <rgm@gnu.org>
7592 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7593 although define-derived-mode was doing this anyway. (Bug#14583)
7595 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7597 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7598 Fix make-variable-buffer-local call to refer to the correct variable.
7600 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7602 * eshell/em-term.el (eshell-visual-commands)
7603 (eshell-visual-subcommands, eshell-visual-options):
7604 Add summary line to docstrings. Add cross-references.
7606 2013-06-10 Glenn Morris <rgm@gnu.org>
7608 * epa.el (epa-read-file-name): New function. (Bug#14510)
7609 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7611 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7613 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7614 output redirection to be ignored with visual commands.
7616 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7618 * eshell/em-term.el (eshell-visual-command-p): New function.
7619 (eshell-term-initialize): Move long lambda to separate function
7620 eshell-visual-command-p.
7621 * eshell/em-dirs.el (eshell-dirs-initialise):
7622 * eshell/em-script.el (eshell-script-initialize):
7623 Add missing #' to lambda.
7625 2013-06-08 Leo Liu <sdl.web@gmail.com>
7627 * progmodes/octave.el (octave-add-log-current-defun): New function.
7628 (octave-mode): Set add-log-current-defun-function.
7629 (octave-goto-function-definition): Do not move point if not found.
7630 (octave-find-definition): Enhance to try subfunctions first.
7632 2013-06-08 Glenn Morris <rgm@gnu.org>
7634 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7635 (byte-compile-backward-char, byte-compile-backward-word):
7636 Improve previous change, to handle non-explicit nil.
7638 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7640 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7641 (smie--opener/closer-at-point): New function.
7642 (smie--matching-block-data): Use it. Don't match from right after an
7643 opener or right before a closer. Obey smie-blink-matching-inners.
7644 Don't signal a mismatch for repeated inners like "switch..case..case".
7646 2013-06-07 Leo Liu <sdl.web@gmail.com>
7648 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7650 (octave-function-header-regexp): Fix. (Bug#14570)
7651 (octave-help-mode-finish-hook, octave-help-mode-finish):
7652 Remove. Just use temp-buffer-show-hook.
7654 * newcomment.el (comment-search-backward): Revert last change.
7657 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7659 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7661 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7662 through xargs, to avoid failure due to MS-Windows limitations on
7663 command-line length.
7665 2013-06-06 Glenn Morris <rgm@gnu.org>
7667 * font-lock.el (lisp-font-lock-keywords-2):
7668 Treat user-error like error.
7670 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7671 (byte-compile-backward-char, byte-compile-backward-word):
7672 Handle explicit nil arguments. (Bug#14565)
7674 2013-06-05 Alan Mackenzie <acm@muc.de>
7676 * isearch.el (isearch-allow-prefix): New user option.
7677 (isearch-other-meta-char): Don't exit isearch when a prefix
7678 argument is typed whilst `isearch-allow-prefix' is non-nil.
7681 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7683 * autorevert.el (auto-revert-notify-handler): Use memq.
7684 Hide assertion failure.
7686 * skeleton.el: Use cl-lib.
7687 (skeleton-further-elements): Use defvar-local.
7688 (skeleton-insert): Use cl-progv.
7690 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7692 * progmodes/prog-mode.el (prog-prettify-symbols)
7693 (prog-prettify-install): Update docstrings.
7695 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7697 * simple.el: Move all the prog-mode code to prog-mode.el.
7698 * progmodes/prog-mode.el: New file.
7699 * loadup.el: Add prog-mode.el.
7701 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7703 * simple.el (prog-prettify-symbols): Add version.
7704 (prog-prettify-install): Add convenience function to prettify symbols.
7706 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7707 (perl--augmented-font-lock-keywords-1)
7708 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7709 variables and use it.
7711 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7712 (cfengine3-mode): Remove unneeded variable and use it.
7714 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7715 (lisp--augmented-font-lock-keywords-1)
7716 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7717 Remove unneeded variables and use it.
7719 2013-06-05 João Távora <joaotavora@gmail.com>
7721 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7722 to point when opening the connection. (Bug#14380)
7724 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7726 * subr.el (load-history-regexp, load-history-filename-element)
7727 (eval-after-load, after-load-functions, do-after-load-evaluation)
7728 (eval-next-after-load, display-delayed-warnings)
7729 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7730 definition of save-match-data.
7731 (overriding-local-map): Remove accidental obsolescence declaration.
7733 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7735 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7737 Generalize symbol prettify support to prog-mode and implement it
7738 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7739 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7740 (prog--prettify-font-lock-compose-symbol)
7741 (prog-prettify-font-lock-symbols-keywords): New variables and
7742 functions to support symbol prettification.
7743 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7744 (lisp--augmented-font-lock-keywords-1)
7745 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7746 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7747 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7748 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7749 Implement prettify of -> => :: strings.
7750 * progmodes/perl-mode.el (perl-prettify-symbols)
7751 (perl--font-lock-compose-symbol)
7752 (perl--font-lock-symbols-keywords): Move to prog-mode.
7753 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7754 (perl-font-lock-keywords-1)
7755 (perl-font-lock-keywords-2): Remove explicit prettify support.
7756 (perl--augmented-font-lock-keywords)
7757 (perl--augmented-font-lock-keywords-1)
7758 (perl--augmented-font-lock-keywords-2, perl-mode):
7759 Implement prettify support.
7761 2013-06-05 Leo Liu <sdl.web@gmail.com>
7763 Re-implement smie matching block highlight using
7764 show-paren-data-function. (Bug#14395)
7765 * emacs-lisp/smie.el (smie-matching-block-highlight)
7766 (smie--highlight-matching-block-overlay)
7767 (smie--highlight-matching-block-lastpos)
7768 (smie-highlight-matching-block)
7769 (smie-highlight-matching-block-mode): Remove.
7770 (smie--matching-block-data-cache): New variable.
7771 (smie--matching-block-data): New function.
7772 (smie-setup): Use smie--matching-block-data for
7773 show-paren-data-function.
7775 * progmodes/octave.el (octave-mode-menu): Fix.
7776 (octave-find-definition): Skip garbage lines.
7778 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7780 Fix compilation error with simultaneous dynamic+lexical scoping.
7781 Add warning when a defvar appears after the first let-binding.
7782 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7783 (byte-compile-close-variables): Initialize it.
7784 (byte-compile--declare-var): New function.
7785 (byte-compile-file-form-defvar)
7786 (byte-compile-file-form-define-abbrev-table)
7787 (byte-compile-file-form-custom-declare-variable): Use it.
7788 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7789 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7790 (byte-compile-bind): Handle dynamic bindings that shadow
7792 (byte-compile-unbind): Make arg non-optional.
7793 (byte-compile-let): Simplify.
7794 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7795 (cconv--analyse-function, cconv-analyse-form): Populate it.
7796 Protect byte-compile-bound-variables to limit the scope of defvars.
7797 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7798 Remove unneeded rule for `declare'.
7800 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7801 so as to avoid depending on cl-adjoin at run-time.
7802 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7804 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7805 (macroexp--warn-and-return): Use it.
7807 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7809 * lisp/subr.el: Convert to lexical binding.
7810 (overriding-local-map): Make obsolete.
7811 (add-to-list): Doc fix. Add compiler macro.
7812 (read-key): Swap values of local maps.
7814 2013-06-05 Leo Liu <sdl.web@gmail.com>
7816 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7818 2013-06-04 Leo Liu <sdl.web@gmail.com>
7820 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7821 (compilation-auto-jump): Suppress the "Mark set" message to give
7822 way to exit message.
7824 2013-06-04 Alan Mackenzie <acm@muc.de>
7826 Remove faulty optimisation from indentation calculation.
7827 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7828 search limit based on 2000 characters back from indent-point.
7830 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7832 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7834 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7836 * emacs-lisp/lisp.el: Use lexical-binding.
7837 (lisp--local-variables-1, lisp--local-variables): New functions.
7838 (lisp--local-variables-completion-table): New var.
7839 (lisp-completion-at-point): Use it complete let-bound vars.
7841 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7842 eagerly (bug#14422).
7844 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7846 * autorevert.el (auto-revert-notify-enabled)
7847 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7848 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7849 (auto-revert-notify-handler): Handle also gfilenotify.
7851 * subr.el (file-notify-handle-event): New defun. Replacing ...
7852 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7855 2013-06-03 Juri Linkov <juri@jurta.org>
7857 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7858 `M-s h .'. (Bug#14427)
7860 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7861 command `hi-lock-face-symbol-at-point'.
7862 (hi-lock-face-symbol-at-point): New command.
7863 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7864 (hi-lock-menu): Add `highlight-symbol-at-point'.
7865 (hi-lock-mode): Doc fix.
7867 * isearch.el (isearch-forward-symbol-at-point): New command.
7868 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7869 (isearch-highlight-regexp): Add a regexp which matches
7870 words/symbols for word/symbol mode.
7872 * subr.el (find-tag-default-bounds): New function with the body
7873 mostly moved from `find-tag-default'.
7874 (find-tag-default): Move most code to `find-tag-default-bounds',
7875 call it and apply `buffer-substring-no-properties' afterwards.
7877 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7879 * eshell/em-term.el (eshell-term-initialize):
7880 Use `cl-intersection' rather than `intersection'.
7882 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7884 * vc/log-view.el: Doc fix.
7885 (log-view-mode-map): Copy keymap from `special-mode-map'.
7887 2013-06-02 Eric Ludlam <zappo@gnu.org>
7889 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7890 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7891 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7892 (eieio-unbound, eieio-default-superclass)
7893 (eieio--define-field-accessors, method-static, method-before)
7894 (method-primary, method-after, method-num-lists)
7895 (method-generic-before, method-generic-primary)
7896 (method-generic-after, method-num-slots)
7897 (eieio-specialized-key-to-generic-key)
7898 (eieio--check-type, class-v, class-p)
7899 (eieio-class-name, define-obsolete-function-alias)
7900 (eieio-class-parents-fast, eieio-class-children-fast)
7901 (same-class-fast-p, class-constructor, generic-p)
7902 (generic-primary-only-p, generic-primary-only-one-p)
7903 (class-option-assoc, class-option, eieio-object-p)
7904 (class-abstract-p, class-method-invocation-order)
7905 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7906 (eieio-class-un-autoload, eieio-defclass)
7907 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7908 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7909 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7910 (eieio-defgeneric-reset-generic-form)
7911 (eieio-defgeneric-form-primary-only)
7912 (eieio-defgeneric-reset-generic-form-primary-only)
7913 (eieio-defgeneric-form-primary-only-one)
7914 (eieio-defgeneric-reset-generic-form-primary-only-one)
7915 (eieio-unbind-method-implementations)
7916 (eieio--defmethod, eieio--typep)
7917 (eieio-perform-slot-validation, eieio-validate-slot-value)
7918 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7919 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7920 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7921 (eieio-slot-name-index, eieio-class-slot-name-index)
7922 (eieio-set-defaults, eieio-initarg-to-attribute)
7923 (eieio-attribute-to-initarg, eieio-c3-candidate)
7924 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7925 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7926 (eieio-class-precedence-list, eieio-generic-call-methodname)
7927 (eieio-generic-call-arglst, eieio-generic-call-key)
7928 (eieio-generic-call-next-method-list)
7929 (eieio-pre-method-execution-functions, eieio-generic-call)
7930 (eieio-generic-call-primary-only, eieiomt-method-list)
7931 (eieiomt-optimizing-obarray, eieiomt-install)
7932 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7933 (eieio-generic-form, eieio-defmethod, make-obsolete)
7934 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7935 (defclass): Remove `eval-and-compile' from macro.
7936 (call-next-method, shared-initialize): Instead of using
7937 `scoped-class' variable, use new eieio--scoped-class, and
7938 eieio--with-scoped-class.
7939 (initialize-instance): Rename local variable 'scoped-class' to
7940 'this-class' to remove ambiguitity from old global.
7942 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7944 (eieio--scoped-class-stack): New variable.
7945 (eieio--scoped-class): New fcn.
7946 (eieio--with-scoped-class): New scoping macro.
7947 (eieio-defclass): Use pushnew instead of add-to-list.
7948 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7949 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7950 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7951 `scoped-class' variable, use new eieio--scoped-class, and
7952 eieio--with-scoped-class.
7954 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7956 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7958 * eshell/esh-ext.el (eshell-external-command): Pass args to
7959 `eshell-find-interpreter'.
7960 (eshell-find-interpreter): Add new second parameter ARGS.
7962 * eshell/em-script.el (eshell-script-initialize): Add second arg
7963 to the function added as MATCH to `eshell-interpreter-alist'.
7965 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7966 the function added as MATCH to `eshell-interpreter-alist'.
7968 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7969 (eshell-visual-options): New defcustom.
7970 (eshell-escape-control-x): Adapt docstring.
7971 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7972 `eshell-visual-options' in addition to `eshell-visual-commands'.
7973 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7975 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7977 * progmodes/python.el (python-indent-block-enders): Add break,
7978 continue and raise keywords.
7980 2013-06-01 Glenn Morris <rgm@gnu.org>
7982 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7984 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7985 * progmodes/cc-cmds.el (delete-forward-p):
7986 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7987 * progmodes/cc-engine.el (buffer-syntactic-context):
7988 * progmodes/cc-fonts.el (face-property-instance):
7989 * progmodes/cc-mode.el (set-keymap-parents):
7990 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7991 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7992 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7993 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7994 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7996 * progmodes/cc-vars.el (other): Emacs has this widget since
7997 at least 21.1, so don't (re)define it.
7999 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8000 Replace the obsolete alias pcomplete-arg-quote-list.
8002 2013-06-01 Leo Liu <sdl.web@gmail.com>
8004 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8006 (inferior-octave-minimal-columns)
8007 (inferior-octave-last-column-width): New variables.
8008 (inferior-octave-track-window-width-change): New function.
8009 (inferior-octave-mode): Adjust column width so that Octave output,
8010 for example from 'ls', can fit into the window nicely.
8012 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8014 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8015 Highlight expansions inside regexp literals.
8017 2013-05-31 Glenn Morris <rgm@gnu.org>
8019 * obsolete/sym-comp.el (symbol-complete):
8020 Replace obsolete completion-annotate-function.
8022 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8024 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8026 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8027 New function, checks if point is inside a literal that allows
8028 expression expansion.
8029 (ruby-syntax-propertize-expansion): Use it.
8030 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8033 2013-05-30 Juri Linkov <juri@jurta.org>
8035 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8037 (isearch-invisible): New variable.
8038 (isearch-forward): Doc fix.
8039 (isearch-mode): Set `isearch-invisible'
8040 to the value of `search-invisible'.
8041 (isearch-toggle-case-fold): Doc fix.
8042 (isearch-toggle-invisible): New command.
8043 (isearch-query-replace): Let-bind `search-invisible'
8044 to the value of `isearch-invisible'.
8045 (isearch-search): Use `isearch-invisible' instead of
8046 `search-invisible'. Let-bind `search-invisible'
8047 to the value of `isearch-invisible'. (Bug#11378)
8049 2013-05-30 Juri Linkov <juri@jurta.org>
8051 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8052 call when `query-flag' is nil and `search-invisible' is non-nil.
8055 2013-05-30 Glenn Morris <rgm@gnu.org>
8057 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8059 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8060 (cc-require): Suppress spurious "noruntime" warnings.
8061 (cc-require-when-compile): Use fboundp, for sake of compiler.
8063 * progmodes/cc-mode.el: Move load of cc-vars before that of
8064 cc-langs (which in turn loads cc-vars), to quieten compiler.
8066 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8068 * paren.el: Simplify the code.
8069 (show-paren-mode): Always start the timer.
8070 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8071 (show-paren--overlay, show-paren--overlay-1): Rename from
8072 show-paren-overlay and show-paren-overlay-1, and initialize to an
8073 overlay rather than to nil.
8074 (show-paren-function): Misc cleanup and simplifications.
8076 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8078 * paren.el (show-paren-data-function): New hook.
8079 (show-paren--default): New function, extracted from show-paren-function.
8080 (show-paren-function): Use show-paren-data-function.
8082 2013-05-30 Glenn Morris <rgm@gnu.org>
8084 * ielm.el (ielm-map, ielm-complete-symbol):
8085 Use completion-at-point rather than obsolete functions.
8086 (inferior-emacs-lisp-mode): Doc fix.
8087 Set completion-at-point-functions, rather than
8088 comint-dynamic-complete-functions.
8090 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8091 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8092 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8094 * image.el (image-animated-p): Tweak definition.
8096 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8097 (rlogin-process-connection-type): Tweak default. Add set-after.
8098 (rlogin-host): Doc fix.
8099 (rlogin): Tweak prompt.
8100 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8102 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8103 * progmodes/tcl.el (inferior-tcl-mode-map):
8104 Use completion-at-point rather than obsolete alias.
8106 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8108 * minibuffer.el (read-file-name-completion-ignore-case):
8109 Move before completion--in-region, for eager macro expansion.
8111 2013-05-29 Juri Linkov <juri@jurta.org>
8113 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8114 for total count of matching lines. Add `global-matches' for total
8115 count of matches. Rename `matches' to `lines' for count of
8116 matching lines. Add `matches' for count of matches.
8117 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8118 to `prev-line' for line number of prev match endpt.
8119 Increment `matches' for every match. Print the number of
8120 matching lines in the header.
8121 (occur-context-lines): Rename `lines' to `curr-line'.
8122 Rename `prev-lines' to `prev-line'. (Bug#14017)
8124 2013-05-29 Juri Linkov <juri@jurta.org>
8126 * replace.el (perform-replace): Add `skip-read-only-count',
8127 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8128 Increment them for corresponding conditions and report the number
8129 of skipped occurrences in the final message. (Bug#11746)
8130 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8131 (replace-string, replace-regexp): Doc fix.
8133 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8135 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8137 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8138 prog-mode-map (bug#14504).
8140 2013-05-29 Leo Liu <sdl.web@gmail.com>
8142 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8143 (octave-help): Small simplification.
8145 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8146 off the highlight first.
8148 2013-05-29 Glenn Morris <rgm@gnu.org>
8150 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8151 Handle idlwave-last-system-routine-info-cons-cell being nil.
8153 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8154 (idlwave-write-paths): Simplify via with-temp-buffer.
8156 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8157 * emulation/cua-rect.el: Also load cua-base at run time.
8159 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8160 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8161 (cperl-imenu-on-info): Require imenu.
8163 2013-05-28 Alan Mackenzie <acm@muc.de>
8165 Handle "capitalised keywords" correctly.
8166 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8168 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8170 * eshell/em-unix.el: Add -r option to cp.
8172 2013-05-28 Glenn Morris <rgm@gnu.org>
8174 * vc/vc-arch.el (vc-exec-after): Declare.
8175 (vc-switches): Autoload.
8176 * vc/vc-bzr.el: No need to require vc when compiling.
8177 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8178 (vc-resynch-buffer, vc-dir-refresh): Declare.
8179 (vc-setup-buffer, vc-switches): Autoload.
8180 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8181 (vc-resynch-buffer): Declare.
8182 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8183 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8184 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8185 (grep-read-regexp, grep-read-files, grep-expand-template)
8186 (vc-dir-refresh): Declare.
8187 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8188 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8189 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8190 * vc/vc-mtn.el (vc-exec-after): Declare.
8191 (vc-switches): Autoload.
8192 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8193 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8194 (vc-file-tree-walk): Declare.
8195 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8196 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8197 (vc-tag-precondition, vc-rename-master): Autoload.
8198 * vc/vc-svn.el (vc-exec-after): Declare.
8199 (vc-switches, vc-setup-buffer): Autoload.
8200 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8202 (vc-resynch-buffer): Declare.
8204 * obsolete/fast-lock.el (byte-compile-warnings):
8205 Don't warn about obsolete features in this obsolete file.
8207 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8208 Move definition before use.
8210 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8211 (dun-unix-verbs): Remove dun-zippy.
8212 (dun-zippy): Remove function.
8214 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8216 2013-05-27 Juri Linkov <juri@jurta.org>
8218 * replace.el (replace-search): New function with code moved out
8219 from `perform-replace'.
8220 (replace-highlight, replace-dehighlight): Move function definitions
8221 up closer to `replace-search'. (Bug#11746)
8223 2013-05-27 Juri Linkov <juri@jurta.org>
8225 * replace.el (perform-replace): Ignore invisible matches.
8226 In addition to checking `query-replace-skip-read-only', also
8227 filter out matches by calling `run-hook-with-args-until-failure'
8228 on `isearch-filter-predicates', and also check `search-invisible'
8229 for t or call `isearch-range-invisible'.
8230 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8232 2013-05-27 Juri Linkov <juri@jurta.org>
8234 * isearch.el (isearch-filter-predicates): Rename from
8235 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8236 (isearch-message-prefix): Display text from the property
8237 `isearch-message-prefix' of the currently active filters.
8238 (isearch-search): Don't compare `isearch-filter-predicate' with
8239 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8240 on `isearch-filter-predicates'. Also check `search-invisible' for t
8241 or call `isearch-range-invisible'.
8242 (isearch-filter-visible): Make obsolete.
8243 (isearch-lazy-highlight-search):
8244 Call `run-hook-with-args-until-failure' on
8245 `isearch-filter-predicates' and use `isearch-range-invisible'.
8247 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8248 `isearch-filter-predicates' instead of `funcall'ing
8249 `isearch-filter-predicate'.
8250 (Info-mode): Set `Info-isearch-filter' to
8251 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8253 * dired-aux.el (dired-isearch-filter-predicate-orig):
8255 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8256 (dired-isearch-filenames-end): Add and remove
8257 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8258 instead of changing the value of `isearch-filter-predicate'.
8259 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8260 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8261 Put property `isearch-message-prefix' to "filename " on
8262 `dired-isearch-filter-filenames'.
8264 * wdired.el (wdired-change-to-wdired-mode):
8265 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8266 locally instead of changing `isearch-filter-predicate'.
8267 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8269 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8271 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8272 return the commit hash (Bug#14459). Also set the
8273 `vc-git-detached' property.
8274 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8275 (vc-git-mode-line-string): Use the same help-echo format whether
8276 in detached mode or not, because we know the actual revision now.
8277 When in detached mode, shorten the revision to 7 chars.
8279 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8281 * emacs-lisp/easy-mmode.el (define-minor-mode):
8282 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8283 mode hook and provide a docstring.
8285 2013-05-27 Alan Mackenzie <acm@muc.de>
8287 Remove spurious syntax-table text properties inserted by C-y.
8288 * progmodes/cc-mode.el (c-after-change): Also clear hard
8289 syntax-table property with value nil.
8291 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8293 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8294 when reading the events; the buffer layout shall not be changed.
8296 2013-05-27 Leo Liu <sdl.web@gmail.com>
8298 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8300 (inferior-octave-directory-tracker): Automatically re-sync
8302 (octave-help): Improve handling of 'See also'.
8304 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8306 * doc-view.el: Minor naming convention tweaks.
8307 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8309 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8310 even if there's no `display' property yet (bug#14435).
8312 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8314 * subr.el (unmsys--file-name): Rename from reveal-filename.
8316 * Makefile.in (custom-deps, finder-data, autoloads)
8317 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8318 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8319 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8321 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8323 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8324 error-completion on the first 2 args of condition-case (bug#14446).
8327 2013-05-25 Leo Liu <sdl.web@gmail.com>
8329 * comint.el (comint-previous-matching-input): Do not flood the
8330 *Messages* buffer with trivial messages.
8332 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8334 * progmodes/flymake.el (flymake-nop): Don't return a string.
8335 (flymake-set-at): Fix typo.
8337 * simple.el (read--expression): New function, extracted from
8338 eval-expression. Set completion-at-point-functions (bug#14465).
8339 (eval-expression, eval-minibuffer): Use it.
8341 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8343 * progmodes/flymake.el (flymake-save-buffer-in-file)
8344 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8345 (flymake-selected-frame, flymake-log, flymake-ins-after)
8346 (flymake-set-at, flymake-get-buildfile-from-cache)
8347 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8348 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8349 Refine the doc string.
8350 (flymake-get-file-name-mode-and-masks): Reformat.
8351 (flymake-get-real-file-name-function): Fix a minor bug.
8353 2013-05-24 Juri Linkov <juri@jurta.org>
8355 * progmodes/grep.el (grep-mode-font-lock-keywords):
8356 Support =linenumber= format used by git-grep for lines with
8357 function names. (Bug#13549)
8359 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8361 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8362 0 after a semi-colon; it works better for smie-auto-fill.
8363 (octave--indent-new-comment-line): New function.
8364 (octave-indent-new-comment-line): Use it (indirectly).
8365 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8366 modify comment-line-break-function.
8368 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8369 (smie-setup): Use add-function to set it.
8371 2013-05-24 Sam Steingold <sds@gnu.org>
8373 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8374 argument (before the `interactive' argument).
8376 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8378 * image-mode.el (image-mode-winprops): Add winprops to
8379 image-mode-winprops-alist before running
8380 image-mode-new-window-functions.
8381 * doc-view.el (doc-view-new-window-function): Don't delay
8382 doc-view-goto-page via timers (bug#14435).
8384 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8386 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8387 (doc-view-desktop-save-buffer): New function.
8388 (doc-view-restore-desktop-buffer): New function.
8389 (desktop-buffer-mode-handlers):
8390 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8392 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8393 `desktop-save-buffer' function.
8395 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8397 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8398 (tramp-gvfs-file-name-handler): Raise a user error when
8399 `tramp-gvfs-enabled' is nil.
8400 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8401 Do not raise a user error when loading package. (Bug#14447)
8403 * net/xesam.el: Move to obsolete/.
8405 2013-05-24 Glenn Morris <rgm@gnu.org>
8407 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8409 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8411 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8412 (Info-find-node, Man-getpage-in-background): Declare.
8414 * mail/unrmail.el (unrmail):
8415 Replace obsolete detect-coding-with-priority.
8417 * net/socks.el (socks-split-string): Use this rather than split-string.
8418 (socks-nslookup-host): Update for above change.
8419 (dynamic-choice, s5-dynamic-choice-match)
8420 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8421 Comment out unused code.
8423 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8424 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8425 (gud-tooltip-echo-area): Make obsolete.
8426 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8428 * progmodes/js.el (js--optimize-arglist): Declare.
8430 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8432 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8433 (ediff-window-C): Declare.
8435 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8436 Tweak requires to silence compiler.
8438 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8439 (he-search-string, he-tried-table, he-expand-list)
8440 (he-init-string, he-string-member, he-substitute-string)
8441 (he-reset-string): Declare.
8443 * obsolete/options.el (list-options): Use custom-variable-p,
8444 rather than obsolete alias.
8446 2013-05-23 Sam Steingold <sds@gnu.org>
8448 * simple.el (shell-command-on-region): Pass the `replace' argument
8449 down to `call-process-region' to comply with the doc as reported on
8450 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8452 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8454 * emacs-lisp/smie.el (smie-indent-forward-token)
8455 (smie-indent-backward-token): Handle string tokens (bug#14381).
8457 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8459 * ielm.el (ielm-menu): New menu.
8460 (inferior-emacs-lisp-mode): Set comment-start.
8462 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8464 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8465 Fix deactivate action.
8467 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8468 Add cleveref macros.
8470 * lisp/textmodes/reftex-parse.el
8471 (reftex-locate-bibliography-files): Accept options for
8472 bibliography commands.
8473 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8474 Add addbibresource. Basic Biblatex support.
8476 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8478 * net/tramp-gvfs.el (top):
8479 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8480 when loading package. (Bug#14447)
8482 2013-05-23 Glenn Morris <rgm@gnu.org>
8484 * progmodes/js.el: No need to load comint when compiling.
8485 (ring-insert, comint-send-string, comint-send-input)
8486 (comint-last-input-end, ido-chop): Declare.
8488 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8489 * vc/ediff-mult.el: Adjust requires.
8490 (ediff-directories-internal, ediff-directory-revisions-internal)
8491 (ediff-patch-file-internal): Declare.
8492 * vc/ediff-ptch.el: Adjust requires.
8493 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8494 (ediff-find-file): Autoload.
8495 * vc/ediff-util.el: No need to load ediff when compiling.
8496 (ediff-regions-internal): Declare.
8497 * vc/ediff-wind.el: Adjust requires.
8498 (ediff-compute-toolbar-width): Define when compiling.
8499 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8500 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8501 (dired-get-filename, dired-get-marked-files)
8502 (ediff-last-dir-patch, ediff-patch-default-directory)
8503 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8504 (ediff-patch-buffer-internal): Declare.
8506 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8507 (ispell-process, ispell-buffer-local-words, lm-summary)
8508 (lm-section-start, lm-section-end): Declare.
8509 (checkdoc-ispell-init): Simplify.
8511 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8512 (he-string-member, he-reset-string, he-substitute-string): Declare.
8514 * eshell/em-ls.el: Adjust requires.
8515 (eshell-glob-regexp): Declare.
8516 * eshell/em-tramp.el: Adjust requires.
8517 (eshell-parse-command): Autoload.
8518 * eshell/em-xtra.el: Adjust requires.
8519 (eshell-parse-command): Autoload.
8520 * eshell/esh-ext.el: Adjust requires.
8521 (eshell-parse-command, eshell-close-handles): Autoload.
8522 * eshell/esh-io.el: Adjust requires.
8523 (eshell-output-filter): Autoload.
8524 * eshell/esh-util.el: No need to load tramp when compiling.
8525 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8527 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8528 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8529 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8530 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8531 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8532 * eshell/esh-opt.el, eshell/esh-proc.el:
8533 * eshell/esh-var.el: Adjust requires.
8534 * eshell/eshell.el: Do not require esh-util twice.
8535 (eshell-add-input-to-history): Declare.
8536 (eshell-command): Check history module is active before using it.
8538 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8540 2013-05-22 Leo Liu <sdl.web@gmail.com>
8542 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8544 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8546 * autorevert.el (auto-revert-notify-add-watch)
8547 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8548 it indicates changes in file modification time.
8550 2013-05-22 Glenn Morris <rgm@gnu.org>
8552 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8553 Always delete the autoloaded function from the noruntime and
8554 unresolved functions lists.
8556 * allout.el: No need to load epa, epg, overlay when compiling.
8557 (epg-context-set-passphrase-callback, epg-list-keys)
8558 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8559 (epg-key-user-id-list): Declare.
8561 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8562 (viper-set-parsing-style-toggling-macro)
8563 (viper-set-emacs-state-searchstyle-macros):
8564 Use called-interactively-p on Emacs.
8565 (viper-looking-back): Make it an obsolete alias. Update callers.
8566 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8567 Use looking-back rather than viper-looking-back.
8568 (viper-tmp-insert-at-eob, viper-enlarge-region)
8569 (viper-read-string-with-history, viper-register-to-point)
8570 (viper-append-to-register, viper-change-state-to-vi)
8571 (viper-backward-char-carefully, viper-forward-char-carefully)
8572 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8573 (viper-change-state-to-emacs): Declare.
8574 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8575 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8576 * emulation/viper-mous.el: Do not load viper-cmd.
8577 (viper-backward-char-carefully, viper-forward-char-carefully)
8578 (viper-forward-word, viper-adjust-window): Declare.
8580 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8582 * progmodes/idlw-help.el (idlwave-help-fontify):
8583 Use called-interactively-p.
8585 * term/w32console.el (w32-get-console-codepage)
8586 (w32-get-console-output-codepage): Declare.
8588 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8589 Remove unnecessary declarations.
8590 (dframe-message): Doc fix.
8592 * info.el (dframe-select-attached-frame, dframe-current-frame):
8595 * speedbar.el (speedbar-message): Make it an obsolete alias.
8597 (speedbar-with-attached-buffer)
8598 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8599 (speedbar-with-writable): Use backquote.
8600 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8601 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8602 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8603 rather than speedbar- aliases.
8604 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8605 (speedbar-make-specialized-keymap, speedbar-insert-button)
8606 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8607 (speedbar-do-function-pointer): Declare.
8608 (rmail-speedbar-button, rmail-speedbar-find-file)
8609 (rmail-speedbar-move-message):
8610 Use dframe-with-attached-buffer rather than speedbar- alias.
8611 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8612 (dframe-message, speedbar-make-specialized-keymap)
8613 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8614 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8615 (speedbar-insert-button, dframe-select-attached-frame)
8616 (dframe-maybee-jump-to-attached-frame)
8617 (speedbar-change-initial-expansion-list)
8618 (speedbar-previously-used-expansion-list-name): Declare.
8619 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8620 Use dframe-message, dframe-with-attached-buffer rather than
8622 (gud-sentinel): Silence compiler.
8623 * progmodes/vhdl-mode.el (speedbar-refresh)
8624 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8625 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8626 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8627 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8628 (speedbar-file-lists, speedbar-make-tag-line)
8629 (speedbar-line-directory, speedbar-goto-this-file)
8630 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8631 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8632 (speedbar-make-button, speedbar-reset-scanners)
8633 (speedbar-files-item-info, speedbar-line-text)
8634 (speedbar-find-file-in-frame, speedbar-set-timer)
8635 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8636 (speedbar-with-writable): Do not (re)define it.
8637 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8638 rather than speedbar- alias.
8640 2013-05-21 Leo Liu <sdl.web@gmail.com>
8642 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8644 (octave-mode): Tweak fill-nobreak-predicate.
8645 (inferior-octave-startup): Check process to avoid infinite loop.
8646 (inferior-octave): Pop to buffer first to show abornmal process
8649 2013-05-21 Glenn Morris <rgm@gnu.org>
8651 * printing.el (pr-menu-bar): Define when compiling.
8653 2013-05-21 Leo Liu <sdl.web@gmail.com>
8655 * progmodes/octave.el (octave-auto-fill): Remove.
8656 (octave-indent-new-comment-line): Improve.
8657 (octave-mode): Use auto fill mode through
8658 comment-line-break-function and fill-nobreak-predicate.
8659 (octave-goto-function-definition): Support DEFUN_DLD.
8660 (octave-beginning-of-defun): Small tweak.
8661 (octave-help): Show parent directory.
8663 2013-05-21 Glenn Morris <rgm@gnu.org>
8665 * files.el (dired-unmark):
8666 * progmodes/gud.el (gdb-input): Update declarations.
8668 * calculator.el (electric, ehelp): No need to load when compiling.
8669 (Electric-command-loop, electric-describe-mode): Declare.
8671 * doc-view.el (doc-view-current-converter-processes): Move before use.
8673 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8674 Move MODE-set-explicitly definition before use.
8676 * international/mule-diag.el (mule-diag):
8677 Don't use obsolete window-system-version.
8679 * mail/feedmail.el (smtpmail): No need to load when compiling.
8680 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8682 * mail/mail-utils.el (rfc822): No need to load when compiling.
8683 (rfc822-addresses): Autoload it.
8684 (mail-strip-quoted-names): Trivial simplification.
8686 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8687 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8689 * net/snmp-mode.el (tempo): Don't duplicate requires.
8691 * progmodes/prolog.el (info): No need to load when compiling.
8692 (comint): Require before shell requires it.
8693 (Info-goto-node): Autoload it.
8694 (Info-follow-nearest-node): Declare.
8695 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8697 * textmodes/artist.el (picture-mode-exit): Declare.
8699 * textmodes/reftex-parse.el (reftex-parse-from-file):
8700 Trivial rewrite so the compiler can parse it better.
8702 2013-05-20 Leo Liu <sdl.web@gmail.com>
8704 * progmodes/octave.el (octave-help-mode-map)
8705 (octave-help-mode-finish-hook): New variables.
8706 (octave-help-mode, octave-help-mode-finish): New functions.
8707 (octave-help): Use octave-help-mode.
8709 2013-05-20 Glenn Morris <rgm@gnu.org>
8711 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8713 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8715 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8716 start at point, so that expansion starting right after opening
8717 slash in a regexp is recognized.
8718 (ruby-syntax-before-regexp-re): New defvar, extracted from
8719 ruby-syntax-propertize-function. Since the value of this regexp
8720 is looked up at runtime now, we should be able to turn
8721 `ruby-syntax-methods-before-regexp' into a defcustom later.
8722 (ruby-syntax-propertize-function): Split regexp matching into two
8723 parts, for opening and closing slashes. That allows us to skip
8724 over string interpolations and support multiline regexps.
8725 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8726 for them, which calls `ruby-syntax-propertize-expansion'.
8727 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8728 call to `ruby-syntax-propertize-function'.
8729 (ruby-syntax-propertize-expansion): Extracted from
8730 `ruby-syntax-propertize-expansions'. Handles one expansion.
8731 (ruby-syntax-propertize-percent-literal): Leave point right after
8732 the percent symbol, so that the expression expansion rule can
8733 propertize the contents.
8734 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8736 (ruby-syntax-propertize-expansions): Remove.
8738 2013-05-18 Juri Linkov <juri@jurta.org>
8740 * man.el (Man-default-man-entry): Remove `-' from the end
8741 of the default value. (Bug#14400)
8743 2013-05-18 Glenn Morris <rgm@gnu.org>
8745 * comint.el (comint-password-prompt-regexp):
8746 Allow "password for XXX" where XXX contains colons (eg https://...).
8748 2013-05-18 Leo Liu <sdl.web@gmail.com>
8750 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8751 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8752 (octave-source-directories): Don't check process.
8753 (octave-source-directories, octave-find-definition): Doc fix.
8755 2013-05-18 Glenn Morris <rgm@gnu.org>
8757 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8758 Remove backspace/delete bindings. (Bug#14392)
8760 * cus-dep.el (custom-make-dependencies): Sort the output.
8761 (custom-versions-load-alist): Convert comment to doc.
8763 2013-05-17 Leo Liu <sdl.web@gmail.com>
8765 * newcomment.el (comment-search-backward): Stricter in finding
8766 comment start. (Bug#14303)
8768 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8769 (octave-comment-start-skip): Properly anchored.
8771 2013-05-17 Leo Liu <sdl.web@gmail.com>
8773 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8774 Clean up when turned off. (Bug#14395)
8775 (smie--highlight-matching-block-overlay): No longer buffer-local.
8776 (smie-highlight-matching-block): Adjust.
8778 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8780 Doc string fix for "nanoseconds" (Bug#14406).
8781 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8782 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8784 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8786 * calc/calc-units.el (math-extract-units): Preserve powers
8789 2013-05-17 Leo Liu <sdl.web@gmail.com>
8791 * subr.el (delete-consecutive-dups): New function.
8792 * ido.el (ido-set-matches-1): Use it.
8793 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8794 * ido.el (ido-remove-consecutive-dups): Remove.
8796 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8798 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8799 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8800 regexp-opt's `words'.
8802 2013-05-16 Leo Liu <sdl.web@gmail.com>
8804 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8805 (smie--highlight-matching-block-overlay)
8806 (smie--highlight-matching-block-lastpos)
8807 (smie--highlight-matching-block-timer): New variables.
8808 (smie-highlight-matching-block): New function.
8809 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8810 (smie-setup): Conditionally enable smie-blink-matching-open.
8812 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8814 Sync with upstream verilog-mode r840.
8815 * progmodes/verilog-mode.el (verilog-mode-version)
8816 (verilog-mode-release-date): Update.
8817 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8818 (verilog-sig-tieoff): Fix string error on
8819 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8820 (verilog-read-decls): Fix parameters confusing
8821 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8823 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8825 * subr.el (reveal-filename): New function.
8827 * loadup.el: Compute Emacs executable versions on MS-Windows,
8828 where executables have the .exe extension. Add a hard link
8829 emacs-XX.YY.ZZ.exe on MS-Windows.
8831 * Makefile.in (XARGS_LIMIT): New variable.
8832 (custom-deps, finder-data, autoloads)
8833 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8834 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8835 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8836 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8838 2013-05-16 Leo Liu <sdl.web@gmail.com>
8840 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8841 (octave-mode-menu, octave-mode-map): Remove its uses.
8843 2013-05-16 Reto Zimmermann <reto@gnu.org>
8845 Sync with upstream vhdl mode v3.34.2.
8846 * progmodes/vhdl-mode.el: Use `push' throughout.
8847 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8848 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8849 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8850 (vhdl-actual-generic-name): New option to derive actual generic name.
8851 (vhdl-port-paste-signals): Replace formal by actual generics.
8852 (vhdl-beautify): New name for old group vhdl-align. Update users.
8853 (vhdl-beautify-options): New option.
8854 (vhdl-last-input-event): New compat alias. Use throughout.
8855 (vhdl-goto-line): Replace user level function `goto-line'.
8856 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8857 vhdl-fix-statement-buffer.
8858 (vhdl-create-mode-menu): Add some entries.
8859 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8860 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8861 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8862 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8863 to force statements on one line.
8864 (vhdl-remove-trailing-spaces-region):
8865 New, split from vhdl-remove-trailing-spaces.
8866 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8867 Respect vhdl-beautify-options.
8868 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8869 (vhdl-update-sensitivity-list): Not add with index if exists without.
8870 Not include array index with signal. Ignore keywords in comments.
8871 (vhdl-get-visible-signals): Regexp tweaks.
8872 (vhdl-template-component-inst): Handle empty library.
8873 (vhdl-template-type): Add template for 'enum' type.
8874 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8875 Use vhdl-replace-string.
8876 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8877 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8878 (vhdl-speedbar-initialize): Update for above name change.
8879 (vhdl-compose-wire-components): Fix in handling of constants.
8880 (vhdl-error-regexp-emacs-alist): New variable.
8881 (vhdl-error-regexp-add-emacs): New function;
8882 adds support for new compile.el (Emacs 22+)
8883 (vhdl-generate-makefile-1): Change target order for single lib. units.
8884 Allow use of absolute file names.
8886 2013-05-16 Leo Liu <sdl.web@gmail.com>
8888 * simple.el (prog-indent-sexp): Indent enclosing defun.
8890 2013-05-15 Glenn Morris <rgm@gnu.org>
8892 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8893 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8894 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8895 (whitespace-highlight): Move to whitespace group.
8897 * comint.el (comint-source):
8898 * pcmpl-linux.el (pcmpl-linux):
8899 * shell.el (shell-faces):
8900 * eshell/esh-opt.el (eshell-opt):
8901 * international/ccl.el (ccl): Remove empty custom groups.
8903 * completion.el (dynamic-completion-mode):
8904 * jit-lock.el (jit-lock-debug-mode):
8905 * minibuffer.el (completion-in-region-mode):
8906 * type-break.el (type-break-mode-line-message-mode)
8907 (type-break-query-mode):
8908 * emulation/tpu-edt.el (tpu-edt-mode):
8909 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8910 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8911 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8913 * term/xterm.el (xterm): Change parent group to terminals.
8915 * master.el (master): Remove empty custom group.
8916 (master-mode): Remove unused :group argument.
8917 * textmodes/refill.el (refill): Remove empty custom group.
8918 (refill-mode): Remove unused :group argument.
8920 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8922 * cus-dep.el: Provide a feature.
8923 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8924 Don't mistakenly ignore files whose basenames match a basename
8925 from preloaded-file-list (eg cedet/ede/simple.el).
8926 Add a fallback method for getting :group.
8928 2013-05-15 Juri Linkov <juri@jurta.org>
8930 * isearch.el (isearch-char-by-name): Rename from
8931 `isearch-insert-char-by-name'. Doc fix.
8932 (isearch-forward): Mention `isearch-char-by-name' in
8933 the docstring. (Bug#13348)
8935 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8936 `exit-minibuffer' instead of
8937 `isearch-nonincremental-exit-minibuffer'.
8938 (isearch-edit-string): Remove mention of
8939 `isearch-nonincremental-exit-minibuffer' from docstring.
8940 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8941 (isearch-forward-exit-minibuffer)
8942 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8944 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8946 * loadup.el: Just use unversioned DOC.
8948 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8949 literals as extending to EOB.
8950 (nxml-last-fontify-end): Remove unused variable.
8951 (nxml-after-change1): Use with-silent-modifications.
8952 (nxml-extend-after-change-region): Simplify.
8953 (nxml-extend-after-change-region1): Remove function.
8954 (nxml-after-change1): Don't adjust for dependent regions.
8955 (nxml-fontify-matcher): Simplify.
8956 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8957 (xmltok-add-dependent): Remove function.
8958 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8959 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8960 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8961 unclosed <[[, <?, comment, and other literals as extending to EOB.
8962 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8963 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8965 (rng-do-some-validation-1): Don't mark dependent regions.
8966 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8967 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8968 (nxml-clear-dependent-regions): Remove functions.
8969 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8970 (nxml-ensure-scan-up-to-date):
8971 Don't clear&mark dependent regions.
8973 2013-05-15 Leo Liu <sdl.web@gmail.com>
8975 * progmodes/octave.el (octave-goto-function-definition):
8976 Improve and fix callers.
8978 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8980 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8981 the setter (bug#14387).
8983 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8984 surrounding group (bug#14402).
8986 2013-05-14 Juri Linkov <juri@jurta.org>
8988 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8991 2013-05-14 Glenn Morris <rgm@gnu.org>
8993 * progmodes/f90.el (f90-imenu-generic-expression):
8994 Fix typo in 2013-05-08 change. (Bug#14402)
8996 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8998 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8999 Remove signals for which replies are never received.
9001 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9003 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9004 (gdb-handler-alist, gdb-handler-number): Remove variables.
9005 (gdb-handler-list): New variable.
9006 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9007 (gdb-pending-handler-p, gdb-handle-reply)
9008 (gdb-remove-all-pending-triggers): New functions.
9009 (gdb-discard-unordered-replies): New defcustom.
9010 (gdb-handler): New defstruct.
9011 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9012 instead of gdb-pending-triggers. Update docstring.
9013 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9014 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9015 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9016 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9017 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9018 (gdb-frame-handler): Pending triggers are now automatically managed.
9019 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9021 (gdb-input): Automatically handles pending triggers. Update docstring.
9022 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9023 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9025 (gdb-done-or-error): Now use gdb-handle-reply.
9027 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9029 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9032 2013-05-14 Glenn Morris <rgm@gnu.org>
9034 * subr.el (user-emacs-directory-warning): New option.
9035 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9037 2013-05-14 Leo Liu <sdl.web@gmail.com>
9039 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9041 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9042 (octave-font-lock-texinfo-comment): Fix invalid search bound
9043 error: wrong side of point.
9045 2013-05-14 Glenn Morris <rgm@gnu.org>
9047 * progmodes/flymake.el (flymake-xml-program): New option.
9048 (flymake-xml-init): Use it.
9050 * term/xterm.el: Provide a feature.
9052 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9054 2013-05-13 Glenn Morris <rgm@gnu.org>
9056 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9057 Add compat aliases as a hack workaround. (Bug#14384)
9059 2013-05-13 Leo Liu <sdl.web@gmail.com>
9061 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9063 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9065 (octave-comment-start-skip): Include %!.
9066 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9068 2013-05-12 Leo Liu <sdl.web@gmail.com>
9070 * progmodes/octave.el (inferior-octave-startup): Store the value
9071 of __octave_srcdir__ for octave-source-directories.
9072 (inferior-octave-check-process): New function refactored out of
9073 inferior-octave-send-list-and-digest.
9074 (octave-source-directories)
9075 (octave-find-definition-filename-function): New variables.
9076 (octave-source-directories)
9077 (octave-find-definition-default-filename): New functions.
9078 (octave-find-definition): Improve to find functions implemented in C++.
9080 2013-05-12 Glenn Morris <rgm@gnu.org>
9082 * calendar/diary-lib.el (diary-outlook-format-1):
9083 Don't include dayname in the output. (Bug#14349)
9085 2013-05-11 Glenn Morris <rgm@gnu.org>
9087 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9089 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9090 Treat cc-provide like provide.
9092 2013-05-11 Kevin Ryde <user42@zip.com.au>
9094 * cus-dep.el (custom-make-dependencies):
9095 Use generated-autoload-load-name for the sake of files such
9096 such cedet/semantic/bovine/c.el, where the base file name
9097 is not in load-path. (Bug#5277)
9099 2013-05-11 Glenn Morris <rgm@gnu.org>
9101 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9104 2013-05-11 Leo Liu <sdl.web@gmail.com>
9106 * progmodes/octave.el (octave-indent-comment): Improve.
9107 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9108 (octave-eldoc-function-signatures, octave-eldoc-function):
9110 (octave-mode, inferior-octave-mode): Add eldoc support.
9112 2013-05-11 Richard Stallman <rms@gnu.org>
9114 * epa.el (epa-decrypt-file): Take output file name as argument
9115 and read it using `interactive'.
9117 2013-05-11 Leo Liu <sdl.web@gmail.com>
9119 * progmodes/octave.el (octave-beginning-of-line)
9120 (octave-end-of-line): Check before using up-list because it jumps
9121 out of more syntactic contructs since moving to smie.
9122 (octave-indent-comment): New function.
9123 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9124 (octave-begin-keywords, octave-end-keywords)
9125 (octave-reserved-words, octave-smie-bnf-table)
9126 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9128 2013-05-11 Glenn Morris <rgm@gnu.org>
9130 * faces.el (internal-face-x-get-resource):
9131 * frame.el (ns-display-monitor-attributes-list):
9132 * calc/calc-aent.el (math-to-radians-2):
9133 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9136 * calc/calc-menu.el: Make it loadable in isolation.
9138 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9139 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9140 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9141 (eudc-bbdb-query-internal): Require 'bbdb.
9143 * lpr.el (lpr-headers-switches):
9144 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9146 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9148 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9150 * term.el (term-set-escape-char): Make it idempotent.
9152 2013-05-10 Leo Liu <sdl.web@gmail.com>
9154 * progmodes/octave.el (inferior-octave-completion-table):
9155 No longer a function and all uses changed. Use cache to speed up
9156 completion due to bug#11906.
9157 (octave-beginning-of-defun): Re-write to be more general.
9159 2013-05-10 Glenn Morris <rgm@gnu.org>
9161 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9163 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9165 * comint.el (comint-redirect-send-command-to-process): Use :around
9166 rather than :override for comint-redirect-filter.
9167 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9168 Call it instead of comint-redirect-original-filter-function (which
9169 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9171 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9173 * frame.el (display-monitor-attributes-list): Add NS case.
9174 (ns-display-monitor-attributes-list): Declare.
9176 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9178 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9180 2013-05-09 Glenn Morris <rgm@gnu.org>
9182 * international/fontset.el (vertical-centering-font-regexp):
9185 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9187 * bookmark.el (bookmark-search-delay):
9188 * cus-start.el (vertical-centering-font-regexp):
9189 * ps-mule.el (ps-mule-font-info-database-default):
9190 * ps-print.el (ps-default-fg, ps-default-bg):
9191 * type-break.el (type-break-good-break-interval):
9192 * whitespace.el (whitespace-indentation-regexp)
9193 (whitespace-space-after-tab-regexp):
9194 * emacs-lisp/testcover.el (testcover-1value-functions)
9195 (testcover-noreturn-functions, testcover-progn-functions)
9196 (testcover-prog1-functions):
9197 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9198 * eshell/em-glob.el (eshell-glob-translate-alist):
9199 * play/tetris.el (tetris-tty-colors):
9200 * progmodes/cpp.el (cpp-face-default-list):
9201 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9202 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9203 (idlwave-help-browser-generic-args):
9204 * progmodes/make-mode.el (makefile-special-targets-list):
9205 * progmodes/python.el (python-shell-virtualenv-path):
9206 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9207 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9208 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9209 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9210 * textmodes/reftex-vars.el (reftex-format-label-function):
9211 * textmodes/remember.el (remember-diary-file): Fix custom types.
9213 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9216 2013-05-09 Leo Liu <sdl.web@gmail.com>
9218 * progmodes/octave.el (inferior-octave-completion-at-point):
9219 Restore file completion. (Bug#14300)
9220 (inferior-octave-startup): Fix incorrect highlighting for the
9223 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9225 * progmodes/ruby-mode.el: First cut at SMIE support.
9226 (ruby-use-smie): New var.
9227 (ruby-smie-grammar): New constant.
9228 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9229 (ruby-smie--forward-token, ruby-smie--backward-token)
9230 (ruby-smie-rules): New functions.
9231 (ruby-mode-variables): Setup SMIE if applicable.
9233 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9235 * simple.el (line-move-visual): Signal beginning/end of buffer
9236 only if vertical-motion moved less than it was requested. Avoids
9237 silly incorrect error messages when there are display strings with
9238 multiple newlines at EOL.
9240 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9242 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9243 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9244 (prolog-char-quote-workaround):
9245 * progmodes/cperl-mode.el (cperl-under-as-char):
9246 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9248 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9250 (vhdl-mode-syntax-table-init): Remove.
9252 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9255 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9257 (ld-script-font-lock-keywords):
9258 Change regexps to use things like \_< and \_>.
9260 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9261 Change all regexps to use things like \_< and \_>.
9263 * progmodes/autoconf.el (autoconf-definition-regexp)
9264 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9265 Handle a _ with symbol syntax.
9266 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9268 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9269 Consolidate declaration.
9270 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9272 (ada-create-syntax-table): Remove.
9273 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9274 already has the right syntax nowadays.
9275 (ada-goto-next-word): Don't change the syntax of "_".
9277 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9280 2013-05-08 Sam Steingold <sds@gnu.org>
9282 * thingatpt.el (thing-at-point): Accept optional second argument
9283 NO-PROPERTIES to strip the text properties from the return value.
9284 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9285 to `thing-at-point' instead of stripping the properties ourselves.
9286 Also, when `thing-at-point' fails to find a url, prepend "http://"
9287 to the filename at point on the assumption that the user is
9288 pointing at something like gnu.org/gnu.
9290 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9292 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9293 * faces.el (crm-separator):
9294 Silence byte-compiler.
9296 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9297 (tool-bar-map): Remove unneeded defvars.
9299 2013-05-08 Leo Liu <sdl.web@gmail.com>
9301 Re-work a fix for bug#10994 based on Le Wang's patch.
9302 * ido.el (ido-remove-consecutive-dups): New helper.
9303 (ido-completing-read): Use it.
9304 (ido-chop): Revert fix for bug#10994.
9306 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9308 * cus-edit.el (custom-save-variables):
9309 Pretty-print long values. (Bug#14187)
9311 2013-05-08 Glenn Morris <rgm@gnu.org>
9313 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9314 (m4-mode-syntax-table): Init in the defvar.
9315 (m4-mode-abbrev-table): Let define-derived-mode define it.
9317 2013-05-08 Tom Tromey <tromey@redhat.com>
9319 * progmodes/m4-mode.el (m4-mode-syntax-table):
9320 Do not treat "_" as word constituent. (Bug#14167)
9322 2013-05-07 Glenn Morris <rgm@gnu.org>
9324 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9325 Remove explicit eshell-isearch-cancel-map.
9327 * progmodes/f90.el (f90-smart-end-names): New option.
9328 (f90-smart-end): Doc fix.
9329 (f90-end-block-optional-name): New constant.
9330 (f90-block-match): Respect f90-smart-end-names.
9332 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9334 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9335 about implicit semi-colons (bug#14218).
9337 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9339 * frame.el (display-monitor-attributes-list)
9340 (frame-monitor-attributes): New functions.
9342 2013-05-06 Leo Liu <sdl.web@gmail.com>
9344 * progmodes/octave.el (octave-syntax-propertize-function): Change
9345 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9346 (octave-font-lock-keywords): Use octave-operator-regexp.
9347 (octave-completion-at-point): Rename from
9348 octave-completion-at-point-function.
9349 (inferior-octave-directory-tracker): Robustify.
9350 (octave-text-functions): Remove and fix its uses. No such things
9353 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9355 * emacs-lisp/trace.el (trace--display-buffer): New function.
9356 (trace-make-advice): Use it.
9358 2013-05-06 Juri Linkov <juri@jurta.org>
9360 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9361 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9363 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9364 in the help string. (Bug#12985)
9366 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9368 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9370 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9372 * progmodes/perl-mode.el: Add support for here documents.
9373 (perl-syntax-propertize-function): Match here-doc markers.
9374 (perl-syntax-propertize-special-constructs): Find their end.
9375 (perl-imenu-generic-expression): Use [:alnum:].
9377 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9378 (advice--add-function): Refresh the advice if already present
9381 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9383 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9385 2013-05-06 Glenn Morris <rgm@gnu.org>
9387 * w32-fns.el (w32-charset-info-alist): Declare.
9389 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9390 of its defcustom properties.
9391 (eshell-cmpl-initialize): No need to load pcomplete.
9393 * generic-x.el: No need to require comint when compiling.
9395 * net/eudc-export.el: Make it loadable without bbdb.
9396 (top-level): Use require rather than load-library.
9397 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9398 (eudc-batch-export-records-to-bbdb)
9399 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9402 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9404 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9405 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9406 some tweaks, instead.
9408 2013-05-05 Leo Liu <sdl.web@gmail.com>
9410 * progmodes/octave.el (octave-font-lock-keywords)
9411 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9412 (inferior-octave-send-list-and-digest): Improve error message.
9413 (octave-mode, inferior-octave-mode): Use setq-local.
9414 (octave-help): Set info-lookup-mode.
9416 2013-05-05 Richard Stallman <rms@gnu.org>
9418 * vc/compare-w.el (compare-windows-whitespace):
9419 Treat no-break space as whitespace.
9421 * mail/rmailsum.el (rmail-summary-rmail-update):
9422 Detect empty summary and don't change selected message.
9423 (rmail-summary-goto-msg): Likewise.
9425 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9426 Doc fixes, rename args.
9428 2013-05-05 Alan Mackenzie <acm@muc.de>
9430 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9432 2013-05-05 Juri Linkov <juri@jurta.org>
9434 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9435 to not add the length of the summary segment to the return value.
9438 2013-05-05 Leo Liu <sdl.web@gmail.com>
9440 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9441 (inferior-octave-output-filter): Remove.
9442 (octave-send-region, inferior-octave-startup): Fix callers.
9443 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9444 (octave-binary-file-extensions): New user variable.
9445 (octave-find-definition): Confirm if opening binary files.
9446 (octave-help-file): Use octave-find-definition to get the binary
9448 (octave-help): Adjust for octave-help-file change.
9450 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9452 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9453 Merge the two entries that handle function definitions.
9454 (pascal--syntax-propertize): New const.
9455 (pascal-mode): Use it. Use setq-local.
9457 2013-05-04 Glenn Morris <rgm@gnu.org>
9459 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9460 (diary-from-outlook): Respect diary-from-outlook-function.
9462 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9464 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9465 Move the declaration from C.
9466 (read-minibuffer, eval-minibuffer): Move from C.
9467 (completion-setup-function): Avoid minibuffer-completion-contents.
9469 2013-05-03 Leo Liu <sdl.web@gmail.com>
9471 * progmodes/octave.el (octave-font-lock-keywords): Do not
9472 dehighlight 'end' in comments or strings.
9473 (octave-completing-read, octave-goto-function-definition):
9475 (octave-help-buffer): New user variable.
9476 (octave-help-file, octave-help-function): New button types.
9477 (octave-help): New command and bind it to C-h ;.
9478 (octave-find-definition): New command and bind it to M-.
9479 (user-error): Alias to error if not defined.
9481 2013-05-02 Leo Liu <sdl.web@gmail.com>
9483 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9485 (octave-font-lock-keywords): Include [ and {.
9487 2013-05-02 Leo Liu <sdl.web@gmail.com>
9489 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9490 (inferior-octave): Remove calling comint-mode and return the buffer.
9491 (inferior-octave-startup): Cosmetic changes.
9493 2013-05-02 Leo Liu <sdl.web@gmail.com>
9495 * progmodes/octave.el (octave-syntax-propertize-function):
9496 Include the case when ' is at line beginning. (Bug#14336)
9498 2013-05-02 Glenn Morris <rgm@gnu.org>
9500 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9501 * desktop.el (vc-dir-mode): Just autoload it here.
9503 2013-05-02 Alan Mackenzie <acm@muc.de>
9505 Eliminate variable c-standard-font-lock-fontify-region-function.
9506 * progmodes/cc-mode.el
9507 (c-standard-font-lock-fontify-region-function): Remove.
9508 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9510 2013-05-01 Leo Liu <sdl.web@gmail.com>
9512 * progmodes/octave.el: Compatible with older emacs-24 releases.
9513 (inferior-octave-has-built-in-variables): Remove. Built-in
9514 variables were removed from Octave in 2007.
9515 (inferior-octave-startup): Fix uses.
9516 (comint-line-beginning-position): Remove compatibility code for
9519 2013-05-01 Juri Linkov <juri@jurta.org>
9521 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9523 2013-05-01 Juri Linkov <juri@jurta.org>
9525 * comint.el (comint-previous-matching-input): Don't print message
9526 "History item: %d" when `isearch-mode' is active.
9527 (comint-history-isearch-message): Print message "History item: %d"
9528 when `comint-input-ring-index' is not empty and this function is
9529 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9531 2013-05-01 Leo Liu <sdl.web@gmail.com>
9533 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9534 definitions. Use completion-at-point to insert keywords.
9535 (octave-abbrev-start): Remove.
9536 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9538 2013-04-30 Leo Liu <sdl.web@gmail.com>
9540 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9543 2013-04-30 Alan Mackenzie <acm@muc.de>
9545 Handle arbitrarily long C++ member initialisation lists.
9546 * progmodes/cc-engine.el (c-back-over-member-initializers):
9548 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9549 (most) member init lists.
9551 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9553 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9556 2013-04-30 Leo Liu <sdl.web@gmail.com>
9558 * progmodes/octave.el (octave-variables): Remove. No builtin
9559 variables any more. All converted to functions.
9560 (octave-font-lock-keywords, octave-completion-at-point-function):
9562 (octave-font-lock-texinfo-comment): New user variable.
9563 (octave-texinfo-font-lock-keywords): New variable for texinfo
9565 (octave-function-comment-block): New face.
9566 (octave-font-lock-texinfo-comment): New function.
9567 (octave-mode): Font lock texinfo comment block.
9569 2013-04-29 Leo Liu <sdl.web@gmail.com>
9571 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9572 indexing expression.
9573 (octave-continuation-string): Do not use \.
9574 (inferior-octave-complete-impossible): Remove.
9575 (inferior-octave-completion-table)
9576 (inferior-octave-completion-at-point): Remove its uses.
9577 (inferior-octave-startup): completion_matches was introduced to
9578 Octave in 1996 so safe to assume it.
9579 (octave-function-file-comment): Improve to follow how Octave does it.
9580 (octave-update-function-file-comment): Tweak.
9582 2013-04-29 Leo Liu <sdl.web@gmail.com>
9584 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9585 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9586 (octave-function-file-comment): Fix typo.
9587 (octave-sync-function-file-names): Use read-char-choice.
9589 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9591 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9592 to t for the less important warnings.
9594 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9596 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9598 2013-04-27 Glenn Morris <rgm@gnu.org>
9600 * vc/log-view.el (log-view-current-entry):
9601 Treat "---" separator lines as part of the following rev. (Bug#14169)
9603 2013-04-27 Juri Linkov <juri@jurta.org>
9605 * subr.el (read-number): Doc fix about using it by interactive
9606 code letter `n'. (Bug#14254)
9608 2013-04-27 Juri Linkov <juri@jurta.org>
9610 * desktop.el (desktop-auto-save-timeout): New option.
9611 (desktop-file-checksum): New variable.
9612 (desktop-save): Add optional arg `auto-save' and don't auto-save
9614 (desktop-auto-save-timer): New variable.
9615 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9616 (after-init-hook): Call `desktop-auto-save-set-timer'.
9617 Suggested by Reuben Thomas <rrt@sc3d.org> in
9618 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9620 2013-04-27 Leo Liu <sdl.web@gmail.com>
9622 * progmodes/octave.el (octave-function-file-p)
9623 (octave-skip-comment-forward, octave-function-file-comment)
9624 (octave-update-function-file-comment): New functions.
9625 (octave-mode-map): Bind C-c ; to
9626 octave-update-function-file-comment.
9627 (octave-mode-menu): Add octave-update-function-file-comment.
9628 (octave-mode, inferior-octave-mode): Fix doc-string.
9629 (octave-insert-defun): Conform to Octave's coding convention.
9632 * files.el (basic-save-buffer): Don't let errors in
9633 before-save-hook prevent saving buffer.
9635 2013-04-20 Roland Winkler <winkler@gnu.org>
9637 * faces.el (read-face-name): Use completing-read if arg multiple
9640 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9642 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9643 displayed, move point to after the totals line.
9644 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9647 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9649 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9650 Add current dir to the load-path.
9651 (package-generate-autoloads): Don't rely on
9652 autoload-ensure-default-file.
9654 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9656 * textmodes/remember.el (remember-store-in-files): Document that
9657 the file name format is passed to `format-time-string'.
9659 2013-04-26 Leo Liu <sdl.web@gmail.com>
9661 * progmodes/octave.el (octave-sync-function-file-names): New function.
9662 (octave-mode): Use it in before-save-hook.
9664 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9666 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9669 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9670 \n and comment, even if it's not an implicit ; (bug#14218).
9672 2013-04-26 Glenn Morris <rgm@gnu.org>
9674 * subr.el (read-number): Once more use `read' rather than
9675 `string-to-number', to trap non-numeric input. (Bug#14254)
9677 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9679 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9680 Use `syntax-multiline' text property consistently instead of
9681 `font-lock-multiline'. (Bug#14237)
9683 2013-04-26 Glenn Morris <rgm@gnu.org>
9685 * emacs-lisp/shadow.el (list-load-path-shadows):
9686 No longer necessary to check for duplicate simple.el, since
9687 2012-07-07 change to init_lread to not include installation lisp
9688 directories in load-path when running uninstalled. (Bug#14270)
9690 2013-04-26 Leo Liu <sdl.web@gmail.com>
9692 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9693 (octave-mode, inferior-octave-mode): Use setq-local.
9694 (octave-not-in-string-or-comment-p): Rename to
9695 octave-in-string-or-comment-p.
9696 (octave-in-comment-p, octave-in-string-p)
9697 (octave-in-string-or-comment-p): Replace defsubst with defun.
9699 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9701 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9703 2013-04-25 Bastien Guerry <bzg@gnu.org>
9705 * textmodes/remember.el (remember-data-directory)
9706 (remember-directory-file-name-format): Fix custom types.
9708 2013-04-25 Leo Liu <sdl.web@gmail.com>
9710 * progmodes/octave.el (octave-completion-at-point-function):
9711 Make use of inferior octave process.
9712 (octave-initialize-completions): Remove.
9713 (inferior-octave-completion-table): New function.
9714 (inferior-octave-completion-at-point): Use it.
9715 (octave-completion-alist): Remove.
9717 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9719 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9720 (opascal-mode-syntax-table): New var.
9721 (opascal-literal-kind, opascal-is-literal-end)
9722 (opascal-literal-token-at): Rewrite.
9723 (opascal--literal-start-re, opascal-font-lock-keywords)
9724 (opascal--syntax-propertize): New constants.
9725 (opascal-font-lock-defaults): Adjust.
9726 (opascal-mode): Use them. Set comment-<foo> variables as well.
9727 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9728 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9729 (delphi-other-face, opascal-other-face): Remove face variables.
9730 (opascal-save-state): Remove macro.
9731 (opascal-fontifying-progress-step): Remove constant.
9732 (opascal--ignore-changes): Remove var.
9733 (opascal-set-token-property, opascal-parse-next-literal)
9734 (opascal-is-stable-literal, opascal-complete-literal)
9735 (opascal-is-literal-start, opascal-face-of)
9736 (opascal-parse-region, opascal-parse-region-until-stable)
9737 (opascal-fontify-region, opascal-after-change)
9738 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9739 (opascal-debug-parse-region, opascal-debug-parse-window)
9740 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9741 (opascal-debug-fontify-buffer): Remove.
9742 (opascal-debug-mode-map): Adjust accordingly.
9744 2013-04-25 Leo Liu <sdl.web@gmail.com>
9746 Merge octave-mod.el and octave-inf.el into octave.el with some
9748 * progmodes/octave.el: New file renamed from octave-mod.el.
9749 * progmodes/octave-inf.el: Merged into octave.el.
9750 * progmodes/octave-mod.el: Renamed to octave.el.
9752 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9754 * textmodes/reftex-vars.el
9755 (reftex-label-ignored-macros-and-environments): New defcustom.
9757 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9759 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9761 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9762 (smie-indent-keyword): Improve the check to ensure that the next
9763 comment is really on the same line.
9764 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9766 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9767 semi-colons if the line is not otherwise empty (bug#14218).
9769 2013-04-25 Glenn Morris <rgm@gnu.org>
9771 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9773 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9775 * progmodes/opascal.el (opascal-set-token-property): Rename from
9776 opascal-set-text-properties and only set `token' (bug#14134).
9777 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9778 (opascal-literal-text-properties): Remove.
9779 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9782 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9784 * textmodes/remember.el (remember-handler-functions): Add an
9785 option for a new handler `remember-store-in-files'.
9786 (remember-data-directory, remember-directory-file-name-format):
9788 (remember-store-in-files): New function to store remember notes
9789 as separate files within a directory.
9791 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9793 * progmodes/compile.el (compilation-next-error-function):
9794 Pass "formats" to compilation-find-file (bug#11777).
9796 2013-04-24 Glenn Morris <rgm@gnu.org>
9798 * vc/vc-bzr.el (vc-bzr-print-log):
9799 * vc/vc-hg.el (vc-hg-print-log):
9800 * vc/vc-svn.el (vc-svn-print-log):
9801 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9803 * vc/vc-bzr.el (vc-bzr-print-log):
9804 * vc/vc-cvs.el (vc-cvs-print-log):
9805 * vc/vc-git.el (vc-git-print-log):
9806 * vc/vc-hg.el (vc-hg-print-log):
9807 * vc/vc-mtn.el (vc-mtn-print-log):
9808 * vc/vc-rcs.el (vc-rcs-print-log):
9809 * vc/vc-sccs.el (vc-sccs-print-log):
9810 * vc/vc-svn.el (vc-svn-print-log):
9811 * vc/vc.el (vc-print-log-internal): Doc fixes.
9813 2013-04-23 Glenn Morris <rgm@gnu.org>
9815 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9816 Remove venerable code attempting to avoid substitute-command-keys.
9818 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9820 * textmodes/reftex-vars.el (reftex-label-regexps):
9821 Call `reftex-compile-variables' after changes to this variable.
9823 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9825 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9826 Use lexical-binding.
9827 (jit-lock-force-redisplay): Use markers, check buffer's continued
9828 existence and beware narrowed buffers.
9829 (jit-lock-fontify-now): Adjust call accordingly.
9831 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9833 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9834 to avoid misleading the user.
9836 2013-04-22 Leo Liu <sdl.web@gmail.com>
9838 * info-look.el: Prefer latex2e.info. (Bug#14240)
9840 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9842 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9844 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9845 * net/tramp.el (tramp-call-process): ... here.
9846 (tramp-set-completion-function, tramp-parse-putty):
9847 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9848 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9849 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9850 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9851 (tramp-call-local-coding-command): Use `tramp-call-process'
9852 instead of `tramp-compat-call-process'.
9854 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9855 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9856 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9857 (tramp-find-inline-compress): Improve traces.
9858 (tramp-maybe-send-script): Check for Perl binary.
9859 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9861 2013-04-22 Daiki Ueno <ueno@gnu.org>
9863 * epg.el (epg-context-pinentry-mode): New function.
9864 (epg-context-set-pinentry-mode): New function.
9865 (epg--start): Pass --pinentry-mode option to gpg command.
9867 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9869 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9870 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9871 `completion-at-point'. (Bug#13774)
9873 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9874 default key binding for `describe-distribution' has been moved to
9875 `C-h C-o'. (Bug#13970)
9877 2013-04-21 Glenn Morris <rgm@gnu.org>
9879 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9881 (vc-print-log): Clarify interactive prompt.
9883 2013-04-20 Glenn Morris <rgm@gnu.org>
9885 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9886 No longer include timestamp etc information.
9888 2013-04-20 Roland Winkler <winkler@gnu.org>
9890 * faces.el (read-face-name): Bug fix, return just one face if arg
9891 multiple is nil. (Bug#14209)
9893 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9895 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9896 (remove-function): Autoload.
9898 * comint.el (comint-redirect-original-filter-function): Remove.
9899 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9900 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9901 (vc-cvs-annotate-command):
9902 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9903 * progmodes/prolog.el (prolog-consult-compile):
9904 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9905 Use add/remove-function instead.
9906 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9907 (gud-tooltip-process-output, gud-tooltip-tips):
9908 Use add/remove-function instead.
9909 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9910 (scheme-interaction-mode, exit-scheme-interaction-mode):
9911 Use add/remove-function instead.
9913 * vc/vc-dispatcher.el: Use lexical-binding.
9914 (vc--process-sentinel): Rename from vc-process-sentinel.
9915 Change last arg to be the code to run. Don't use vc-previous-sentinel
9916 and vc-sentinel-commands any more.
9917 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9918 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9920 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9922 * progmodes/sh-script.el (sh-imenu-generic-expression):
9923 Handle function names with a single character. (Bug#14111)
9925 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9927 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9928 for subroutines defined in an eval (bug#14182).
9930 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9932 * bookmark.el (bookmark-completing-read): Improve handling of empty
9935 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9937 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9939 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9941 New faster Imenu implementation (bug#14058).
9942 * progmodes/python.el:
9943 (python-imenu-prev-index-position):
9944 (python-imenu-format-item-label-function)
9945 (python-imenu-format-parent-item-label-function)
9946 (python-imenu-format-parent-item-jump-label-function):
9948 (python-imenu-format-item-label)
9949 (python-imenu-format-parent-item-label)
9950 (python-imenu-format-parent-item-jump-label)
9951 (python-imenu--put-parent, python-imenu--build-tree)
9952 (python-imenu-create-index, python-imenu-create-flat-index)
9953 (python-util-popn): New functions.
9954 (python-mode): Set imenu-create-index-function to
9955 python-imenu-create-index.
9957 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9959 * winner.el (winner-active-region): Use region-active-p, activate-mark
9960 and deactivate-mark (bug#14225).
9962 * simple.el (deactivate-mark): Don't inline it.
9964 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9966 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9968 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9970 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9971 file extensions from the archive-mode entry in order to prefer
9972 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9974 2013-04-18 Leo Liu <sdl.web@gmail.com>
9976 * bindings.el (help-event-list): Add ?\?.
9978 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9980 * subr.el (with-wrapper-hook): Declare obsolete.
9981 * simple.el (filter-buffer-substring-function): New hook.
9982 (filter-buffer-substring): Use it.
9983 (filter-buffer-substring-functions): Mark obsolete.
9984 * minibuffer.el (completion-in-region-function): New hook.
9985 (completion-in-region): Use it.
9986 (completion-in-region-functions): Mark obsolete.
9987 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9988 * abbrev.el (abbrev-expand-function): New hook.
9989 (expand-abbrev): Use it.
9990 (abbrev-expand-functions): Mark obsolete.
9991 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9994 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9996 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9997 and do not care about match data.
9999 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10001 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10002 completion tables when completing error conditions and
10003 `declare' arguments.
10004 (lisp-complete-symbol, field-complete): Mark as obsolete.
10005 (check-parens): Unmatched parens are user errors.
10006 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10008 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10010 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10011 command changed buffer (ie. `flyspell-pre-buffer' is not current
10012 buffer), which prevents making decisions based on invalid value of
10013 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10014 cause an error when `flyspell-pre-point' was nil after switching
10016 (flyspell-post-command-hook): No longer needs to change buffers when
10017 checking pre-word. While at it remove unnecessary progn.
10019 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10021 * textmodes/ispell.el (ispell-add-per-file-word-list):
10022 Fix `flyspell-correct-word-before-point' error when accepting
10023 words and `coment-padding' is an integer by using
10024 `comment-normalize-vars' (Bug #14214).
10026 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10028 New defun movement commands.
10029 * progmodes/python.el (python-nav--syntactically)
10030 (python-nav--forward-defun, python-nav-backward-defun)
10031 (python-nav-forward-defun): New functions.
10033 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10035 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10036 (python-syntax-context): Use named compiler-macro for backwards
10037 compatibility with Emacs 24.x.
10039 2013-04-17 Leo Liu <sdl.web@gmail.com>
10041 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10042 octave-hide-process-buffer.
10044 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10046 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10049 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10051 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10052 Fix adjustment of offset when receiving incomplete responses from GDB
10055 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10057 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10058 python-mode-abbrev-table.
10059 (python-skeleton-define): Adjust accordingly.
10060 (python-mode-abbrev-table): New table that inherits from it so that
10061 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10063 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10064 (abbrev-symbol): Use it.
10065 (abbrev--before-point): Use it since we already handle inheritance.
10067 2013-04-16 Leo Liu <sdl.web@gmail.com>
10069 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10070 binding to info-lookup-symbol.
10072 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10074 * minibuffer.el (completion--twq-all):
10075 * term/ns-win.el (ns-initialize-window-system):
10076 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10078 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10080 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10083 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10085 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10087 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10088 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10090 (ruby-end-of-defun): Remove the unused arg, change the docstring
10091 to reflect that this function is only used as the value of
10092 `end-of-defun-function'.
10093 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10094 to reflect an earlier change that beginning/end-of-defun functions
10095 jump between methods in a class definition, as well as top-level
10098 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10100 * minibuffer.el (minibuffer-complete): Don't just scroll
10101 a *Completions* that's been iconified.
10102 (minibuffer-force-complete): Make sure repetitions do cycle when going
10103 through completion-in-region -> minibuffer-complete.
10105 2013-04-15 Alan Mackenzie <acm@muc.de>
10107 Correct the placement of c-cpp-delimiters when there're #s not at
10110 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10111 place a submatch around the #.
10112 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10113 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10116 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10118 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10119 (advice--member-p): New arg `name'.
10120 (advice--add-function, advice-member-p): Use it (bug#14202).
10122 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10124 Reformulate java imenu-generic-expression.
10125 The old expression contained ill formed regexps.
10127 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10128 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10129 (cc-imenu-java-method-arg-regexp): New defconsts.
10130 (cc-imenu-java-build-type-args-regex): New defun.
10131 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10132 handling of spaces in the regexp.
10134 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10136 * textmodes/ispell.el (ispell-command-loop): Remove
10137 flyspell highlight of a word when ispell accepts it (bug #14178).
10139 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10141 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10142 uses code from the previous `ange-ftp-run-real-handler'.
10143 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10144 only in case that function exist. This is needed for proper
10145 unloading of Tramp.
10147 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10149 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10151 * textmodes/reftex.el (reftex-compile-variables): Use it.
10153 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10155 * files.el (normal-mode): Only use default major-mode if no other mode
10158 * emacs-lisp/trace.el (trace-values): New function.
10160 * files.el: Allow : in local variables (bug#14089).
10161 (hack-local-variable-regexp): New var.
10162 (hack-local-variables-prop-line, hack-local-variables): Use it.
10164 2013-04-13 Roland Winkler <winkler@gnu.org>
10166 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10167 data before it gets modified by bibtex-beginning-of-entry.
10169 2013-04-13 Roland Winkler <winkler@gnu.org>
10171 * textmodes/bibtex.el (bibtex-url): Doc fix.
10173 2013-04-13 Roland Winkler <winkler@gnu.org>
10175 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10176 does not visit a BibTeX file, exclude it from the list of buffers
10177 returned by bibtex-initialize.
10179 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10181 * window.el (split-window): Remove interactive form, since as a
10182 command this function is a special case of split-window-below.
10183 Correct doc string.
10185 2013-04-12 Roland Winkler <winkler@gnu.org>
10187 * faces.el (read-face-name): Do not override value of arg default.
10188 Allow single faces and strings as default values. Remove those
10189 elements from return value that are not faces.
10190 (describe-face): Simplify.
10191 (face-at-point): New optional args thing and multiple so that this
10192 function can provide the same functionality previously provided by
10194 (make-face-bold, make-face-unbold, make-face-italic)
10195 (make-face-unitalic, make-face-bold-italic, invert-face)
10196 (modify-face, read-face-and-attribute): Use face-at-point.
10198 * cus-edit.el (customize-face, customize-face-other-window)
10199 * cus-theme.el (custom-theme-add-face)
10200 * face-remap.el (buffer-face-set)
10201 * facemenu.el (facemenu-set-face): Use face-at-point.
10203 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10205 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10207 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10209 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10210 off leading { and trailing } from field values.
10212 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10214 * emacs-lisp/timer.el (timer--check): New function.
10215 (timer--time, timer-set-function, timer-event-handler): Use it.
10216 (timer-set-idle-time): Simplify.
10217 (timer--activate): CSE.
10218 (timer-event-handler): Give more info in error message.
10219 (internal-timer-start-idle): New function, moved from C.
10221 * mpc.el (mpc-proc): Add `restart' argument.
10222 (mpc-proc-cmd): Use it.
10223 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10224 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10227 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10229 * progmodes/sh-script.el: Implement `sh-mode' own
10230 `add-log-current-defun-function' (bug#14112).
10231 (sh-current-defun-name): New function.
10232 (sh-mode): Use the function.
10234 2013-04-09 Bastien Guerry <bzg@gnu.org>
10236 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10238 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10240 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10242 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10245 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10247 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10250 2013-04-07 Leo Liu <sdl.web@gmail.com>
10252 * pcmpl-x.el: New file.
10254 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10256 Do not set x-display-name until X connection is established.
10257 This is needed to prevent from weird situation described at
10258 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10259 * frame.el (make-frame): Set x-display-name after call to
10260 window system initialization function, not before.
10261 * term/x-win.el (x-initialize-window-system): Add optional
10262 display argument and use it.
10263 * term/w32-win.el (w32-initialize-window-system):
10264 * term/ns-win.el (ns-initialize-window-system):
10265 * term/pc-win.el (msdos-initialize-window-system):
10266 Add compatible optional display argument.
10268 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10270 * files.el (normal-backup-enable-predicate): On MS-Windows and
10271 MS-DOS compare truenames of temporary-file-directory and of the
10272 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10273 don't fail comparison by compare-strings. Also, compare file
10274 names case-insensitively on MS-Windows and MS-DOS.
10276 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10278 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10279 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10281 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10283 * whitespace.el (whitespace-color-on, whitespace-color-off):
10284 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10286 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10288 * ispell.el (ispell-set-spellchecker-params):
10289 Really set `ispell-args' for all equivs.
10291 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10293 * ido.el (ido-completions): Use extra elements of ido-decorations
10295 (ido-decorations): Update docstring.
10297 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10299 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10300 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10301 nil during initialization, in order not to miss changes since the
10302 file was opened. (Bug#14140)
10304 2013-04-05 Leo Liu <sdl.web@gmail.com>
10306 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10308 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10310 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10312 2013-04-04 Glenn Morris <rgm@gnu.org>
10314 * electric.el (electric-pair-inhibit-predicate): Add :version.
10316 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10318 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10319 when a package is required several times (bug#14082).
10321 2013-04-04 Roland Winkler <winkler@gnu.org>
10323 * faces.el (read-face-name): Behave as promised by the docstring.
10324 Assume that arg default is a list of faces.
10325 (describe-face): Call read-face-name with list of default faces.
10327 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10329 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10330 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10331 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10333 (bookmark-exit-hook-internal): Save even if list is empty.
10335 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10337 * emacs-lisp/package.el (package-pinned-packages): New var.
10338 (package--add-to-archive-contents): Obey it (bug#14118).
10340 2013-04-03 Alan Mackenzie <acm@muc.de>
10342 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10343 Also adapt to the new values of element 7 of a parse state.
10345 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10346 parameter `not-in-delimiter'. Handle being inside comment opener.
10347 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10348 character in case we're typing a '*' after a '/'.
10349 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10350 instead by passing the parameter to c-state-pp-to-literal.
10352 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10353 for elt. 7 of a parse state.
10355 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10357 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10358 * international/latin1-disp.el, international/mule-util.el:
10359 * language/cyril-util.el, language/european.el, language/ind-util.el:
10360 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10361 * language/tibetan.el, language/viet-util.el:
10362 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10364 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10366 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10367 (electric-pair-post-self-insert-function): Use it.
10368 (electric-pair-default-inhibit): New function, extracted from
10369 electric-pair-post-self-insert-function.
10371 2013-03-31 Roland Winkler <winkler@gnu.org>
10373 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10375 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10377 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10379 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10381 Un-indent after "pass" and "return" statements (Bug#13888)
10382 * progmodes/python.el (python-indent-block-enders): New var.
10383 (python-indent-calculate-indentation): Use it.
10385 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10387 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10388 defun. Defining it as defalias could introduce too eager
10389 byte-compiler optimization. (Bug#14030)
10391 2013-03-30 Chong Yidong <cyd@gnu.org>
10393 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10395 2013-03-30 Leo Liu <sdl.web@gmail.com>
10397 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10398 (kmacro-execute-from-register): Pass the keyboard macro to
10399 kmacro-call-macro or repeating won't work correctly.
10401 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10403 * progmodes/subword.el: Back to using `forward-symbol'.
10405 * subr.el (forward-whitespace, forward-symbol)
10406 (forward-same-syntax): Move from thingatpt.el.
10408 2013-03-29 Leo Liu <sdl.web@gmail.com>
10410 * kmacro.el (kmacro-to-register): New command.
10411 (kmacro-execute-from-register): New function.
10412 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10414 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10416 * mpc.el: Use defvar-local and setq-local.
10417 (mpc--proc-connect): Connection failures are not bugs.
10418 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10419 (mpc-volume-map): Bind to the up-events.
10421 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10423 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10424 instead of `forward-symbol'.
10426 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10428 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10429 (edebug--recursive-edit): Use it.
10430 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10431 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10433 2013-03-28 Leo Liu <sdl.web@gmail.com>
10435 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10437 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10439 * facemenu.el (list-colors-callback): New defvar.
10440 (list-colors-redisplay): New function.
10441 (list-colors-display): Install list-colors-redisplay as the
10442 revert-buffer-function. (Bug#14063)
10444 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10446 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10447 and suffixes don't overlap (bug#14061).
10449 * case-table.el: Use lexical-binding.
10450 (case-table-get-table): New function.
10451 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10453 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10455 * progmodes/subword.el: Add `superword-mode' to do word motion
10456 over symbol_words (parallels and leverages `subword-mode' which
10457 does word motion inside MixedCaseWords).
10459 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10461 * eshell/em-unix.el: Move su and sudo to...
10462 * eshell/em-tramp.el: ...Eshell tramp module.
10464 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10466 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10467 Change return value to be a sexp. Delay `get-buffer' to after
10468 restoring the desktop (bug#13951).
10470 2013-03-26 Leo Liu <sdl.web@gmail.com>
10472 * register.el: Move semantic tag handling back to
10473 cedet/semantic/senator.el. (Bug#14052)
10475 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10477 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10478 into the prompt either (bug#13963).
10480 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10482 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10483 part of "(error-foo)".
10485 2013-03-24 Juri Linkov <juri@jurta.org>
10487 * replace.el (list-matching-lines-prefix-face): New defcustom.
10488 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10489 `occur-engine' if `face-differs-from-default-p' returns t.
10490 (occur-engine): Add `,' inside backquote construct to evaluate
10491 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10492 Pass `prefix-face' to the functions `occur-context-lines' and
10493 `occur-engine-add-prefix'.
10494 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10495 `prefix-face' and propertize the prefix with `prefix-face'.
10498 2013-03-24 Leo Liu <sdl.web@gmail.com>
10500 * nxml/rng-valid.el (rng-validate-while-idle)
10501 (rng-validate-quick-while-idle): Guard against deleted buffer.
10504 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10505 is the last entry in kill-buffer-hook.
10507 * files.el (kill-buffer-hook): Doc fix.
10509 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10511 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10512 Make it safe-local.
10514 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10516 2013-03-23 Leo Liu <sdl.web@gmail.com>
10518 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10521 * nxml/rng-valid.el (rng-validate-mode)
10522 (rng-after-change-function, rng-do-some-validation):
10523 * nxml/rng-maint.el (rng-validate-buffer):
10524 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10525 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10526 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10527 (nxml-extend-after-change-region): Use with-silent-modifications.
10529 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10532 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10533 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10534 timer-idle-list. (Bug#13999)
10536 2013-03-23 Juri Linkov <juri@jurta.org>
10538 * info.el (info-index-match): New face.
10539 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10540 main pattern and add text properties with the new face to matches
10541 in index entries relative to the beginning of the index entry.
10544 2013-03-21 Eric Ludlam <zappo@gnu.org>
10546 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10547 Inhibit read only while inserting objects.
10549 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10551 * progmodes/cfengine.el: Update docs to mention
10552 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10553 symbol motion. Remove "_" from the word syntax.
10555 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10557 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10558 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10560 2013-03-20 Juri Linkov <juri@jurta.org>
10562 * info.el (Info-next-reference-or-link)
10563 (Info-prev-reference-or-link): New functions.
10564 (Info-next-reference, Info-prev-reference): Use them.
10565 (Info-try-follow-nearest-node): Handle footnote navigation.
10566 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10568 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10570 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10571 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10573 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10575 Suppress unnecessary non-ASCII chatter during build process.
10576 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10577 (batch-skkdic-convert): Suppress most of the chatter.
10578 It's not needed so much now that machines are faster,
10579 and its non-ASCII component was confusing; see Dmitry Gutov in
10580 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10582 2013-03-20 Leo Liu <sdl.web@gmail.com>
10584 * ido.el (ido-chop): Fix bug#10994.
10586 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10588 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10590 (whitespace-color-on, whitespace-color-off):
10591 Use `font-lock-fontify-buffer' (Bug#13817).
10593 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10595 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10596 remapping in mode-line.
10597 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10599 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10601 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10602 value for `whitespace-line' face (Bug#13875).
10603 (whitespace-font-lock-keywords): Change description.
10604 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10605 the constructed keywords instead.
10606 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10608 2013-03-19 Leo Liu <sdl.web@gmail.com>
10610 * progmodes/compile.el (compilation-display-error): New command.
10611 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10614 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10616 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10618 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10620 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10622 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10624 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10626 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10627 * net/tramp-gvfs.el (top):
10628 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10629 (tramp-handle-shell-command): Use it.
10630 (tramp-dissect-file-name): Raise an error when hostname is a
10631 method name, and neither method nor user is specified.
10633 * net/trampver.el: Update release number.
10635 2013-03-18 Leo Liu <sdl.web@gmail.com>
10637 Make sure eldoc can be turned off properly.
10638 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10640 (eldoc-display-message-p): Revert last change.
10641 (eldoc-display-message-no-interference-p)
10642 (eldoc-print-current-symbol-info): Tweak.
10644 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10646 * doc-view.el (doc-view-new-window-function): Check the new window
10647 overlay's display property instead the char property of the
10648 buffer's first char. Use `with-selected-window' instead of
10649 `save-window-excursion' with `select-window'.
10650 (doc-view-document->bitmap): Check the current doc-view overlay's
10651 display property instead the char property of the buffer's first char.
10653 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10655 Automate the build of ja-dic.el (Bug#13984).
10656 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10657 from the input, rather than assume that it's been done for us by the
10658 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10659 the current date into a ja-dic.el comment, as that complicates
10660 regression testing.
10662 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10664 * whitespace.el: Fix double evaluation.
10665 (whitespace-space, whitespace-hspace, whitespace-tab)
10666 (whitespace-newline, whitespace-trailing, whitespace-line)
10667 (whitespace-space-before-tab, whitespace-indentation)
10668 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10670 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10671 (whitespace-color-on): Use a single font-lock-add-keywords call.
10672 Fix double-evaluation of face variables.
10674 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10676 * net/tramp-adb.el (tramp-adb-parse-device-names):
10677 Use `start-process' instead of `call-process'. Otherwise, the
10678 function might be blocked under MS Windows. (Bug#13299)
10680 2013-03-17 Leo Liu <sdl.web@gmail.com>
10682 Extend eldoc to display info in the mode-line. (Bug#13978)
10683 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10684 (eldoc-mode-line-string): New variable.
10685 (eldoc-minibuffer-message): New function.
10686 (eldoc-message-function): New variable.
10687 (eldoc-message): Use it.
10688 (eldoc-display-message-p)
10689 (eldoc-display-message-no-interference-p):
10690 Support eldoc-post-insert-mode.
10692 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10693 (eval-expression): Run it.
10695 2013-03-17 Roland Winkler <winkler@gnu.org>
10697 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10698 strings in the list of return values.
10700 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10702 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10703 radix before checking for HMS forms.
10705 2013-03-16 Leo Liu <sdl.web@gmail.com>
10707 * progmodes/scheme.el: Add indentation and font-locking for λ.
10710 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10712 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10713 token before point (bug#13942).
10715 2013-03-16 Leo Liu <sdl.web@gmail.com>
10717 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10719 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10721 * startup.el (command-line-normalize-file-name): Fix handling of
10722 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10723 <xfq.free@gmail.com> in
10724 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10726 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10728 Sync with Tramp 2.2.7.
10730 * net/trampver.el: Update release number.
10732 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10734 * doc-view.el: Fix bug#13887.
10735 (doc-view-insert-image): Don't modify overlay associated to
10736 non-live windows, and implement horizontal centering of image in
10737 case it's smaller than the window.
10738 (doc-view-new-window-function): Force redisplay of new windows on
10741 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10743 * saveplace.el (save-place-alist-to-file): Don't sort
10744 `save-place-alist', just pretty-print it (bug#13882).
10746 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10748 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10749 Check whether `default-file-name-coding-system' is bound.
10750 It isn't in XEmacs.
10752 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10754 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10755 backquotes for `obsolete' (bug#13929).
10757 * international/mule.el (find-auto-coding): Include file name in
10758 obsolescence warning (bug#13922).
10760 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10762 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10763 for CFEngine 3-specific indentation.
10764 (cfengine3-indent-line): Use it. Fix up category regex.
10765 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10767 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10769 * type-break.el (type-break-file-name):
10770 * textmodes/remember.el (remember-data-file):
10771 * strokes.el (strokes-file):
10772 * shadowfile.el (shadow-initialize):
10773 * saveplace.el (save-place-file):
10774 * ps-bdf.el (bdf-cache-file):
10775 * progmodes/idlwave.el (idlwave-config-directory):
10776 * net/quickurl.el (quickurl-url-file):
10777 * international/kkc.el (kkc-init-file-name):
10778 * ido.el (ido-save-directory-list-file):
10779 * emulation/viper.el (viper-custom-file-name):
10780 * emulation/vip.el (vip-startup-file):
10781 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10782 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10784 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10786 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10787 * language/thai-word.el: Switch to UTF-8.
10789 See ChangeLog.16 for earlier changes.
10791 ;; Local Variables:
10795 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10797 This file is part of GNU Emacs.
10799 GNU Emacs is free software: you can redistribute it and/or modify
10800 it under the terms of the GNU General Public License as published by
10801 the Free Software Foundation, either version 3 of the License, or
10802 (at your option) any later version.
10804 GNU Emacs is distributed in the hope that it will be useful,
10805 but WITHOUT ANY WARRANTY; without even the implied warranty of
10806 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10807 GNU General Public License for more details.
10809 You should have received a copy of the GNU General Public License
10810 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.