1 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3 * progmodes/python.el (python-indent-calculate-indentation): When
4 determining indentation, don't treat "return", "pass", etc., as
5 operators when they are just string constituents. (Bug#15812)
7 2013-12-12 Juri Linkov <juri@jurta.org>
9 * uniquify.el (uniquify-buffer-name-style): Change default to
10 `post-forward-angle-brackets'.
12 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
13 `uniquify'. Change default to `post-forward-angle-brackets'.
15 2013-12-11 Glenn Morris <rgm@gnu.org>
17 * emacs-lisp/package.el (finder-list-matches):
18 Autoload rather than falsely declaring.
20 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
22 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
23 (eww-mode-map): Use them.
25 2013-12-11 Martin Rudalics <rudalics@gmx.at>
27 * window.el (display-buffer-in-side-window): Fix doc-string
30 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
32 * vc/vc-git.el: Silence byte-compiler warnings.
33 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
34 (log-edit-set-header): Declare.
36 2013-12-11 Eli Zaretskii <eliz@gnu.org>
38 * Makefile.in (custom-deps, finder-data): Run output file names
39 through unmsys--file-name. (Bug#16099)
41 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
43 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
44 comment-start-skip, since it fails when that uses submatch 1 (bug#16041).
46 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
47 instead of deleting the selection "by hand" (bug#16098).
48 Rely on insert-for-yank to yank rectangles.
49 (cua-highlight-region-shift-only): Mark obsolete.
50 (cua-mode): Don't enable/disable transient-mark-mode,
51 shift-select-mode (cua-mode works both with and without them), and
52 pc-selection-mode (obsolete).
53 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
54 (cua--deactivate-rectangle): Deactivate it.
56 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
57 (delete-selection-helper): Make sure yank starts at the top of the
59 (minibuffer-keyboard-quit): Use region-active-p.
61 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
63 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
64 to `delete' (bug#16109).
66 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
68 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
69 info manual and show keybindings and set `:group' keyword.
71 2013-12-11 Juri Linkov <juri@jurta.org>
73 * delsel.el (delete-active-region): Let-bind `this-command'
74 to prevent `kill-region' from changing its original value.
75 (delete-selection-helper): Handle `overwrite-mode' for the type
76 `kill' exactly the same way as for the type `t'.
77 (insert-char, quoted-insert, reindent-then-newline-and-indent):
78 Support more commands. (Bug#13312)
80 2013-12-11 Juri Linkov <juri@jurta.org>
82 * bindings.el: Map kp keys to non-kp keys systematically
83 with basic modifiers control, meta and shift. (Bug#14397)
85 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
87 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
88 "Close browser" menu items. Fix wrong function of "List
91 2013-12-11 Juri Linkov <juri@jurta.org>
93 * misearch.el (multi-isearch-buffers): Set the value of
94 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
95 arg of isearch-forward to t.
96 (multi-isearch-buffers-regexp): Set the value of
97 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
98 arg of isearch-forward-regexp to t.
99 (multi-isearch-files): Set the value of
100 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
101 arg of isearch-forward to t.
102 (multi-isearch-files-regexp): Set the value of
103 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
104 arg of isearch-forward-regexp to t. (Bug#16035)
106 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
107 arg of isearch-forward to t.
108 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
109 arg of isearch-forward-regexp to t.
110 (dired-isearch-filter-filenames): Remove unnecessary check for
111 `dired-isearch-filenames'.
113 * comint.el (comint-history-isearch-backward):
114 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
115 (comint-history-isearch-backward-regexp):
116 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
118 2013-12-10 Eli Zaretskii <eliz@gnu.org>
120 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
121 unmsys--file-name. (Bug#16099)
123 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
125 * emacs-lisp/package.el (package-keyword-button-action): Remove
126 finder.el require dependency.
128 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
130 * emacs-lisp/package.el: Require finder.el.
131 (describe-package-1): Add keyword buttons.
132 (package-make-button): New convenience function.
133 (package-keyword-button-action): Keyword button action using
134 `finder-list-matches'
136 2013-12-09 Eli Zaretskii <eliz@gnu.org>
138 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
141 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
143 * autorevert.el (auto-revert-notify-add-watch): Do not handle
146 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
148 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
149 after the end of a percent literal.
151 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
153 * progmodes/ruby-mode.el (ruby-forward-string): Document. Handle
154 caret-delimited strings (Bug#16079).
156 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
158 * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
159 `ruby-use-smie' is t, use `smie-forward-sexp' instead of
160 `ruby-parse-partial' (Bug#16078).
162 2013-12-09 Leo Liu <sdl.web@gmail.com>
164 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
166 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
168 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
169 (js-switch-indent-offset): New option.
170 (js--proper-indentation): Use it. And handle the case when
171 "default" is actually a key in an object literal.
172 (js--same-line): New function.
173 (js--multi-line-declaration-indentation): Use it.
174 (js--indent-in-array-comp, js--array-comp-indentation): New
176 (js--proper-indentation): Use them, to handle array comprehension
179 2013-12-08 Leo Liu <sdl.web@gmail.com>
181 * progmodes/flymake.el (flymake-highlight-line): Re-write.
182 (flymake-make-overlay): Remove arg MOUSE-FACE.
183 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
185 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
187 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
189 (redisplay-highlight-region-function): Use it.
191 * emulation/cua-base.el (cua--explicit-region-start)
192 (cua--last-region-shifted): Remove.
193 (cua--deactivate): Use deactivate-mark.
194 (cua--pre-command-handler-1): Don't handle shift-selection.
195 (cua--post-command-handler-1): Don't change transient-mark-mode.
196 (cua--select-keymaps): Use region-active-p rather than
197 cua--explicit-region-start or cua--last-region-shifted.
198 (cua-mode): Enable shift-select-mode.
200 2013-12-08 Leo Liu <sdl.web@gmail.com>
202 * progmodes/flymake.el (flymake-popup-current-error-menu):
203 Rename from flymake-display-err-menu-for-current-line. Reimplement.
204 (flymake-posn-at-point-as-event, flymake-popup-menu)
205 (flymake-make-emacs-menu): Remove. (Bug#16077)
207 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
209 * rect.el (rectangle-mark-mode): Activate mark even if
210 transient-mark-mode is off (bug#16066).
211 (rectangle--highlight-for-redisplay): Fix boundary condition when point
212 is > mark and at bolp.
214 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
215 (region-extract-function): Use it.
216 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
217 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
219 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
220 kill-ring-save, kill-region, delete-char, delete-forward-char.
221 Ignore self-insert-iso.
223 * emulation/cua-gmrk.el (cua--init-global-mark):
224 Ignore `self-insert-iso'.
226 * emulation/cua-base.el (cua--prefix-copy-handler)
227 (cua--prefix-cut-handler): Rely on region-extract-function rather than
228 checking cua--rectangle.
229 (cua-delete-region): Use region-extract-function.
230 (cua-replace-region): Delete function.
231 (cua-copy-region, cua-cut-region): Obey region-extract-function.
232 (cua--pre-command-handler-1): Don't do the delete-selection thing.
233 (cua--self-insert-char-p): Ignore `self-insert-iso'.
234 (cua--init-keymaps): Don't remap delete-selection commands.
235 (cua-mode): Use delete-selection-mode instead of rolling our own
238 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
239 Obey region-extract-function.
241 Make registers and delete-selection-mode work on rectangles.
242 * register.el (describe-register-1): Don't modify the register's value.
243 (copy-to-register): Obey region-extract-function.
244 * delsel.el (delete-active-region): Obey region-extract-function.
246 2013-12-08 Leo Liu <sdl.web@gmail.com>
248 * progmodes/flymake.el (flymake, flymake-error-bitmap)
249 (flymake-warning-bitmap, flymake-fringe-indicator-position)
250 (flymake-compilation-prevents-syntax-check)
251 (flymake-start-syntax-check-on-newline)
252 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
253 (flymake-start-syntax-check-on-find-file, flymake-log-level)
254 (flymake-xml-program, flymake-master-file-dirs)
255 (flymake-master-file-count-limit)
256 (flymake-allowed-file-name-masks): Relocate.
257 (flymake-makehash, flymake-float-time)
258 (flymake-replace-regexp-in-string, flymake-split-string)
259 (flymake-get-temp-dir): Remove.
260 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
261 (flymake-current-row, flymake-selected-frame)
262 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
263 related functions. (Bug#16077)
265 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
267 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
269 2013-12-07 Tassilo Horn <tsdh@gnu.org>
271 * help-fns.el (describe-function-1): Use new advice-* functions
272 rather than old ad-* functions. Fix function type description and
273 source links for advised functions and subrs.
275 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
277 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
279 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
281 * progmodes/compile.el (compilation-start):
282 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
284 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
285 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
287 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
289 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
290 Touch up the last change.
292 2013-12-06 Leo Liu <sdl.web@gmail.com>
294 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
295 (inferior-octave-startup): Always use "octave> " for prompt.
296 (octave-goto-function-definition)
297 (octave-sync-function-file-names)
298 (octave-find-definition-default-filename): Remove redundant backquotes.
300 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
302 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
304 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
305 where appropriate already.
306 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
307 end of method names (Bug#15874).
309 2013-12-06 Juri Linkov <juri@jurta.org>
311 * isearch.el (isearch--saved-overriding-local-map):
312 New internal variable.
313 (isearch-mode): Set it to the initial value of
314 `overriding-terminal-local-map'.
315 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
316 with `isearch--saved-overriding-local-map'. (Bug#16035)
318 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
320 * progmodes/octave.el (inferior-octave-completion-table):
321 Turn back into function, use `completion-table-with-cache'
322 (Bug#11906). Update all references.
324 * minibuffer.el (completion-table-with-cache): New function.
326 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
328 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
330 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
332 * net/eww.el (eww-current-source): New variable to store page
334 (eww-display-html, eww-mode, eww-save-history)
335 (eww-restore-history): Use it.
336 (eww-view-source): New command to view page source.
337 Opportunistically uses `html-mode' to highlight the buffer.
338 (eww-mode-map): Install it.
340 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
342 * net/dbus.el (dbus-unregister-service)
343 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
345 (dbus-unregister-service): Skip :serial entries in
346 `dbus-registered-objects-table'.
347 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
349 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
351 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
352 around keywords with extra `split-string' argument.
354 2013-12-04 Martin Rudalics <rudalics@gmx.at>
356 * windmove.el (windmove-other-window-loc): Handle navigation
357 between windows (excluding the minibuffer window - Bug#16017).
359 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
361 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
362 in D-Bus type syntax.
363 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
364 preserve unibyte strings. (Bug#16048)
366 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
368 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
369 Call force-mode-line-update is the proper buffer (bug#16042).
371 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
373 * vc/log-edit.el (log-edit-add-new-comment): Rename to
374 `log-edit-remember-comment', make argument optional. Adjust all
376 (log-edit-mode): Add `log-edit-remember-comment' to
377 `kill-buffer-hook' locally.
378 (log-edit-kill-buffer): Don't remember comment explicitly since
379 the buffer is killed anyway.
381 2013-12-04 Juri Linkov <juri@jurta.org>
383 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
384 add-hook and remove-hook for multi-buffer search. (Bug#16035)
386 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
388 * notifications.el (notifications-close-notification): Call the
389 D-Bus method with ID being a `:uint32'. (Bug#16030)
391 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
393 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
395 2013-12-03 Juri Linkov <juri@jurta.org>
397 * progmodes/compile.el (compilation-start): Rename window alist
398 entry `no-display-ok' to `allow-no-window'.
400 * simple.el (shell-command): Add window alist entry
401 `allow-no-window' to `display-buffer'.
402 (async-shell-command): Doc fix.
404 * window.el (display-buffer-no-window): New action function.
405 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
407 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
409 * vc/log-edit.el (log-edit-set-header): Extract from
410 `log-edit-toggle-header'.
411 (log-edit-extract-headers): Separate the summary, when extracted
412 from header, from the rest of the message with an empty line.
414 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
415 line, if present, to the Summary header.
417 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
419 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
420 in current-buffer (bug#16029).
422 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
424 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
425 (debugger-mode-map): Bind it.
426 (debugger--backtrace-base): New function.
427 (debugger-eval-expression): Use it.
428 (debugger-frame-number): Skip local vars when present.
429 (debugger--locals-visible-p, debugger--insert-locals)
430 (debugger--show-locals, debugger--hide-locals): New functions.
432 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
434 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
436 (tramp-get-remote-locale): New defun.
437 (tramp-open-connection-setup-interactive-shell): Use it.
439 2013-12-02 Leo Liu <sdl.web@gmail.com>
441 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
443 * progmodes/sh-script.el (sh-shell-process):
444 * progmodes/octave.el (inferior-octave-process-live-p):
445 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
446 (gdb-inferior-io-sentinel):
447 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
449 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
451 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
452 `save-selected-window' to `log-edit-hide-buf'. This makes
453 `log-edit-show-files' idempotent.
454 (log-edit-show-files): Mark the new window as dedicated.
456 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
458 * vc/log-edit.el (log-edit-mode-map): Add binding for
459 `log-edit-kill-biffer'.
460 (log-edit-hide-buf): Add a FIXME comment.
461 (log-edit-add-new-comment): New function, extracted from
463 (log-edit-done, log-edit-add-to-changelog): Use it.
464 (log-edit-kill-buffer): New command.
466 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
468 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
469 instead of killing the buffer.
471 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
473 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
475 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
477 * net/eww.el (eww-form-checkbox-selected-symbol)
478 (eww-form-checkbox-symbol): New customizable variable.
479 (eww-form-checkbox, eww-toggle-checkbox):
480 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
482 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
483 (shr--get-media-pref, shr--extract-best-source): New function.
484 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
485 no :src tag was specified.
487 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
488 (eww-render): Handle `eww-use-external-browser-for-content-type'.
489 Use \\` to match beginning of string instead of ^.
490 (eww-browse-with-external-browser): Provide optional URL parameter.
491 (eww-render): Set `eww-current-title' back to "".
493 * net/shr.el (shr-tag-video): Display content for video if no
495 (shr-tag-audio): Add support for <audio> tag.
497 * net/eww.el (eww-text-input-types): : New const.
498 (eww-process-text-input): Treat input types in
499 `eww-text-input-types' as text.
501 * net/shr.el (shr-tag-table): Fix comment typo.
503 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
505 * net/eww.el (eww-follow-link): New command to avoid reloading
506 pages when we follow #target links (bug#15243).
507 (eww-quit): Special mode buffers shouldn't query before exiting.
509 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
511 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
514 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
516 * net/eww.el (eww-restore-history): Update the window title after
517 moving in the history.
518 (eww-current-dom): New variable used to save the current DOM.
520 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
522 * vc/log-edit.el (log-edit-mode-map): Add binding for
523 `log-edit-beginning-of-line'.
524 (log-edit-setup-add-author): New user option.
525 (log-edit-beginning-of-line): New command.
526 (log-edit): Move major mode call above the contents setup so that
527 the local variable values are already applied.
528 (log-edit): Only insert "Author: " when
529 `log-edit-setup-add-author' is non-nil.
530 (log-edit): When SETUP is non-nil, position point after ": "
531 instead of point-min.
533 2013-12-01 Glenn Morris <rgm@gnu.org>
535 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
537 2013-11-30 Eli Zaretskii <eliz@gnu.org>
539 * startup.el (fancy-splash-frame): On MS-Windows, trigger
540 redisplay to make sure the initial frame gets a chance to become
543 2013-11-30 Martin Rudalics <rudalics@gmx.at>
545 Support resizing frames and windows pixelwise.
546 * cus-start.el (frame-resize-pixelwise)
547 (window-resize-pixelwise): New entries.
548 * emacs-lisp/debug.el (debug): Use window-total-height instead
549 of window-total-size.
550 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
551 * help.el (describe-bindings-internal): Call help-buffer
552 (temp-buffer-max-width): New option.
553 (resize-temp-buffer-window, help-window-setup)
554 (with-help-window): Rewrite.
555 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
557 * window.el (frame-char-size, window-min-pixel-height)
558 (window-safe-min-pixel-height, window-safe-min-pixel-width)
559 (window-min-pixel-width, window-safe-min-pixel-size)
560 (window-combination-p, window-safe-min-size)
561 (window-resizable-p, window--size-to-pixel)
562 (window--pixel-to-size, window--resize-apply-p): New functions.
563 (window-safe-min-height): Fix doc-string.
564 (window-size, window-min-size, window--min-size-1)
565 (window-sizable, window-sizable-p, window--min-delta-1)
566 (window-min-delta, window--max-delta-1, window-max-delta)
567 (window--resizable, window--resizable-p, window-resizable)
568 (window-full-height-p, window-full-width-p, window-at-side-p)
569 (window--in-direction-2, window-in-direction)
570 (window--resize-reset-1, window--resize-mini-window)
571 (window-resize, window-resize-no-error)
572 (window--resize-child-windows-normal)
573 (window--resize-child-windows, window--resize-siblings)
574 (window--resize-this-window, window--resize-root-window)
575 (window--resize-root-window-vertically)
576 (adjust-window-trailing-edge, enlarge-window, shrink-window)
577 (maximize-window, minimize-window, delete-window)
578 (quit-restore-window, window-split-min-size, split-window)
579 (balance-windows-2, balance-windows)
580 (balance-windows-area-adjust, balance-windows-area)
581 (window--state-get-1, window-state-get, window--state-put-1)
582 (window--state-put-2, window-state-put)
583 (display-buffer-record-window, window--display-buffer):
584 Make functions handle pixelwise sizing of windows.
585 (display-buffer--action-function-custom-type)
586 (display-buffer-fallback-action):
587 Add display-buffer-in-previous-window.
588 (display-buffer-use-some-window): Resize window to height it had
590 (fit-window-to-buffer-horizontally): New option.
591 (fit-frame-to-buffer): Describe new values.
592 (fit-frame-to-buffer-bottom-margin): Replace with
593 fit-frame-to-buffer-margins.
594 (window--sanitize-margin): New function.
595 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
596 using window-text-pixel-size.
598 2013-11-30 Glenn Morris <rgm@gnu.org>
600 * emacs-lisp/bytecomp.el (byte-compile-form):
601 Make the `interactive-only' warning like the `obsolete' one.
602 * comint.el (comint-run):
603 * files.el (insert-file-literally, insert-file):
604 * replace.el (replace-string, replace-regexp):
605 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
606 (goto-line, insert-buffer, next-line, previous-line):
607 Tweak `interactive-only' spec.
609 Stop keeping (most) generated cedet grammar files in the repository.
610 * Makefile.in (semantic): New.
611 (compile-main): Depend on semantic.
613 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
615 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
616 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
618 * uniquify.el (uniquify-buffer-name-style): Change default.
620 * loadup.el: Preload "uniquify".
622 * time.el (display-time-update): Update all mode lines (bug#15999).
624 * electric.el (electric-indent-mode): Enable by default.
625 * loadup.el: Preload "electric".
627 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
629 * emacs-lisp/helpers.el (string-empty-p): New function.
630 (string-blank-p): New function.
632 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
634 * imenu.el (imenu--index-alist): Add missing dot to the docstring
637 2013-11-29 Andreas Politz <politza@fh-trier.de>
638 * imenu.el (imenu--subalist-p): Don't error on non-conses and
639 allow non-lambda lists as functions.
640 (imenu--in-alist): Don't recurse into non-subalists.
641 (imenu): Don't pass function itself as an argument (Bug#14029).
643 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
645 * progmodes/python.el (python-mode-map): Remove binding for ":".
646 (python-indent-electric-colon): Remove command.
647 (python-indent-post-self-insert-function): Integrate the previous code
648 of python-indent-electric-colon. Make it conditional on
649 electric-indent-mode.
650 (python-mode): Add ?: to electric-indent-chars.
651 Move python-indent-post-self-insert-function to the end of
652 post-self-insert-hook.
654 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
656 * doc-view.el (doc-view-goto-page): Update mode-line.
658 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
660 2013-11-27 Glenn Morris <rgm@gnu.org>
662 * international/charprop.el, international/uni-bidi.el:
663 * international/uni-category.el, international/uni-combining.el:
664 * international/uni-comment.el, international/uni-decimal.el:
665 * international/uni-decomposition.el, international/uni-digit.el:
666 * international/uni-lowercase.el, international/uni-mirrored.el:
667 * international/uni-name.el, international/uni-numeric.el:
668 * international/uni-old-name.el, international/uni-titlecase.el:
669 * international/uni-uppercase.el:
670 Remove generated files from VCS repository.
672 2013-11-27 Eli Zaretskii <eliz@gnu.org>
674 * filenotify.el (file-notify-add-watch): Don't special-case
675 w32notify when computing the directory to watch.
677 2013-11-27 Glenn Morris <rgm@gnu.org>
679 Make bootstrap without generated uni-*.el files possible again.
680 * loadup.el: Update command-line-args checking for unidata-gen.
681 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
682 * composite.el, international/characters.el:
683 Handle unicode tables being undefined.
685 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
686 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
687 (compile-main): Depend on leim rule.
689 * loadup.el: Move leim-list.el to leim/ subdirectory.
690 * startup.el (normal-top-level): No more leim directory.
691 * international/ja-dic-cnv.el (skkdic-convert):
692 Disable version-control and autoloads in output files.
693 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
694 Disable version-control and autoloads in output files.
695 * leim/quail: Move here from ../leim.
696 * leim/quail/hangul.el (hangul-input-method-activate):
698 (generated-autoload-load-name): Set file-local value.
699 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
700 (generated-autoload-load-name): Set file-local value.
702 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
704 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
705 (eww-add-bookmark): ask confirmation when add to bookmarks
706 (eww-quit): ask confirmation before quitting eww
708 2013-11-26 Eli Zaretskii <eliz@gnu.org>
710 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
711 reading output from Diff on MS-Windows and MS-DOS.
713 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
715 * emacs-lisp/helpers.el (string-reverse): New function.
717 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
719 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
720 names on MS Windows, like "/[::1]:".
722 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
725 2013-11-26 Glenn Morris <rgm@gnu.org>
727 * progmodes/python.el (python-indent-guess-indent-offset):
728 Avoid corner-case error. (Bug#15975)
730 Preload leim-list.el. (Bug#4789)
731 * loadup.el: Load leim-list.el when found.
732 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
734 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
736 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
738 * emacs-lisp/helpers.el (string-join): New function.
740 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
742 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
743 Mark as obsolete and replace it with a symbol property.
744 (byte-compile-form): Use new 'interactive-only property.
745 * comint.el, files.el, replace.el, simple.el:
746 Apply new 'interactive-only properly.
748 2013-11-25 Martin Rudalics <rudalics@gmx.at>
750 * window.el (display-buffer-at-bottom): Make sure that
751 split-window-sensibly creates the new window on bottom
754 2013-11-23 David Kastrup <dak@gnu.org>
756 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
757 on the conflict markers when available.
758 (smerge--get-marker): New function.
759 (smerge-end-re, smerge-base-re): Add subgroup.
761 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
763 * frame.el (handle-focus-in, handle-focus-out): Add missing
766 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
768 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
769 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
771 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
773 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
774 (gomoku--last-pos): New var.
775 (gomoku--intangible-chars): New const.
776 (gomoku--intangible): New function.
777 (gomoku-mode): Use it. Derive from special-mode.
778 (gomoku-move-up): Adjust line count.
779 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
780 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
781 Simplify accordingly.
783 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
784 Remove blink-cursor code.
785 (blink-cursor-timer-function, blink-cursor-suspend):
786 Don't special-case GUIs.
787 (blink-cursor-mode): Use focus-in/out-hook.
789 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
791 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
792 work when annotation is invisible (Bug#13886).
794 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
796 * json.el (json-alist-p): Only return non-nil if the alist has
797 simple keys (Bug#13518).
799 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
801 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
802 when control-statement is the first statement in a buffer (Bug#15956).
804 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
806 * imenu.el (imenu-generic-skip-comments-and-strings):
807 New option (Bug#15560).
808 (imenu--generic-function): Use it.
810 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
812 * minibuffer.el (completion--in-region-1): Scroll the correct
815 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
817 * emacs-lisp/helpers.el: Add some string helpers.
818 (string-trim-left): Removes leading whitespace.
819 (string-trim-right): Removes trailing whitespace.
820 (string-trim): Removes leading and trailing whitespace.
822 * subr.el (string-suffix-p): New function.
824 2013-11-23 Glenn Morris <rgm@gnu.org>
826 * progmodes/python.el (python-shell-send-file):
827 Add option to delete file when done. (Bug#15647)
828 (python-shell-send-string, python-shell-send-region): Use it.
830 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
832 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
833 to set buffer-read-only to t, never to nil. (Bug#15938)
835 * textmodes/tex-mode.el (latex-noindent-environments):
836 Add safe-local-variable property. (Bug#15936)
838 2013-11-23 Glenn Morris <rgm@gnu.org>
840 * textmodes/enriched.el (enriched-mode): Doc fix.
841 * emacs-lisp/authors.el (authors-renamed-files-alist):
842 Add enriched.doc -> enriched.txt.
844 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
846 2013-11-22 Leo Liu <sdl.web@gmail.com>
848 * progmodes/octave.el (inferior-octave-startup): Spit out error
851 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
853 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
856 (ruby-encoding-magic-comment-style): Add :version.
858 2013-11-22 Leo Liu <sdl.web@gmail.com>
860 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
862 (octave-help-mode): Adapt to change to help-mode-finish to use
863 derived-mode-p on 2013-09-17.
864 (inferior-octave-prompt): Also match octave-gui.
865 (octave-kill-process): Don't ask twice. (Bug#10564)
867 2013-11-22 Leo Liu <sdl.web@gmail.com>
869 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
870 (inferior-octave-startup, inferior-octave-check-process)
871 (inferior-octave-track-window-width-change)
872 (octave-completion-at-point, octave-eldoc-function): Use it.
873 (octave-kill-process): Provide confirmation. (Bug#10564)
875 2013-11-21 Leo Liu <sdl.web@gmail.com>
877 * progmodes/octave.el (octave-mode, inferior-octave-mode):
878 Fix obsolete variable comment-use-global-state.
880 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
882 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
883 Add `octave-source-file'.
884 (octave-source-file): New function. (Bug#15935)
886 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
888 * net/eww.el (eww-local-regex): New variable.
889 (eww): Use it to detect localhost and similar.
891 2013-11-21 Leo Liu <sdl.web@gmail.com>
893 Add completion for command `ag'.
894 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
895 (pcomplete/ag): New function.
896 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
898 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
900 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
902 (make-obsolete): Remove interactive spec.
904 2013-11-21 Glenn Morris <rgm@gnu.org>
906 * startup.el (command-line-1): Use path-separator with -L.
908 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
910 * emacs-lisp/package.el (describe-package-1): Add package archive
913 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
915 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
916 Change default to "# encoding: %s" to differentiate it from the
917 default Ruby encoding comment template.
919 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
921 * ses.el (ses-mode): Doc fix. (Bug#14748)
923 2013-11-20 Leo Liu <sdl.web@gmail.com>
925 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
927 2013-11-19 Dan Nicolaescu <dann@gnu.org>
929 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
930 when rebase or bisect are in progress.
932 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
934 * filenotify.el (file-notify-add-watch): Doc fix.
936 2013-11-19 Leo Liu <sdl.web@gmail.com>
938 * obsolete/rcompile.el: Mark obsolete.
940 * progmodes/compile.el (compilation-start)
941 (compilation-goto-locus, compilation-find-file):
942 Pass no-display-ok and handle nil value from display-buffer.
945 * window.el (display-buffer-alist, display-buffer): Document the
946 new parameter no-display-ok. Return either a window or nil
947 but never a non-window value.
949 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
951 * electric.el (electric-indent-mode-map): Remove.
952 (electric-indent-mode): Change the global-map instead (bug#15915).
954 * textmodes/text-mode.el (paragraph-indent-minor-mode):
957 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
959 * emacs-lisp/nadvice.el (remove-function): Align with
960 add-function's behavior.
962 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
963 (gdb--string-regexp): New constant.
964 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
965 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
966 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
968 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
969 Adjust use accordingly.
970 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
972 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
974 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
975 interpolation curlies (Bug#15914).
977 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
979 * calc/calc.el (calc-context-sensitive-enter): New variable.
980 (calc-enter): Use `calc-context-sensitive-enter'.
982 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
984 * progmodes/cfengine.el: Version bump.
985 (cfengine-cf-promises): New defcustom to locate cf-promises.
986 (cfengine3-vartypes): Add new "data" type.
987 (cfengine3--current-word): New function to get current name-like
989 (cfengine3--current-function): New function to look up a CFEngine
990 function's definition.
991 (cfengine3-format-function-docstring): New function.
992 (cfengine3-make-syntax-cache): New function.
993 (cfengine3-documentation-function): New function: ElDoc glue.
994 (cfengine3-completion-function): New function: completion glue.
995 (cfengine3-mode): Set `compile-command',
996 `eldoc-documentation-function', and add to
997 `completion-at-point-functions'.
999 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1001 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1002 `tramp-current-connection'.
1004 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1006 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1007 nil/self/true/false with "end of symbol".
1009 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1011 * subr.el (version-regexp-alist): Fix a typo.
1013 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1015 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1016 "en_US.utf8" and "LC_CTYPE" to "".
1017 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1018 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1020 2013-11-15 Leo Liu <sdl.web@gmail.com>
1022 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1024 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1026 * progmodes/gud.el (ctl-x-map):
1027 Remove C-x SPC binding. (Bug#12342)
1028 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1030 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1032 * subr.el (version-regexp-alist):
1033 Recognize hg, svn and darcs versions as snapshot versions.
1035 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1036 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1037 (ruby--encoding-comment-required-p): Extract from
1038 `ruby-mode-set-encoding'.
1039 (ruby-mode-set-encoding): Add the ability to always insert an
1040 utf-8 encoding comment. Fix and simplify coding comment update
1043 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1045 * net/tramp-gvfs.el (top): Run init code only when
1046 `tramp-gvfs-enabled' is not nil.
1047 (tramp-gvfs-enabled): Check also :system bus.
1049 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1051 Sync with upstream verilog-mode revision 78e66ba.
1052 * progmodes/verilog-mode.el (verilog-end-of-defun)
1053 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1054 (verilog-get-end-of-defun): Remove unused argument.
1055 (verilog-comment-depth): Remove unused local `e'.
1056 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1057 Don't pass arg to verilog-get-end-of-defun.
1059 2013-11-14 Glenn Morris <rgm@gnu.org>
1061 * obsolete/assoc.el (aget): Prefix dynamic variable.
1063 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1065 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1067 * widget.el, hfy-cmap.el: Remove bogus package version number.
1069 2013-11-13 Glenn Morris <rgm@gnu.org>
1071 * replace.el (replace-eval-replacement):
1072 Try to give more helpful error message. (Bug#15836)
1074 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1075 (archive-7z-update): Avoid custom type mismatches.
1077 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1079 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1081 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1082 address can be empty.
1084 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1085 Accept nil SWITCHES.
1086 (tramp-gvfs-handle-write-region): Implement APPEND.
1088 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1090 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1091 binary "|" operator and closing block args delimiter.
1092 Remove FIXME comment referring to Ruby 1.8-only syntax.
1093 (ruby-smie--implicit-semi-p): Not after "|" operator.
1094 (ruby-smie--closing-pipe-p): New function.
1095 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1096 (ruby-smie-rules): Indent after "|".
1098 2013-11-12 Glenn Morris <rgm@gnu.org>
1100 * ps-print.el (ps-face-attribute-list):
1101 Handle anonymous faces. (Bug#15827)
1103 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1105 * window.el (display-buffer-other-frame): Fix doc-string.
1108 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1110 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1112 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1114 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1115 (tramp-sh-handle-file-local-copy): Don't write a message when
1116 saving temporary files.
1118 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1119 both directories are remote.
1120 (tramp-smb-handle-directory-files): Do not return double entries.
1121 Do not expand full file names.
1122 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1123 (tramp-smb-handle-write-region): Implement APPEND.
1124 (tramp-smb-get-stat-capability): Fix a stupid bug.
1126 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1128 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1130 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1132 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1133 throwing error over malformed let/let* (bug#15814).
1135 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1137 * iswitchb.el (iswitchb-mode): Mark obsolete.
1139 2013-11-11 Glenn Morris <rgm@gnu.org>
1141 * international/uni-bidi.el, international/uni-category.el:
1142 * international/uni-name.el, international/uni-numeric.el:
1143 Regenerate for Unicode 6.3.0.
1145 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1147 * net/tramp.el (tramp-methods):
1148 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1149 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1151 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1153 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1154 Force highlighting text after Summary keyword in doc face for rpm.
1156 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1158 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1159 available and the word has no wildcards, append one to the grep pattern.
1160 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1161 (ispell-complete-word): Call `ispell-lookup-words' with the value
1162 independent of `ispell-look-p'.
1164 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1166 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1168 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1171 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1173 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1174 (ruby-font-lock-keywords): Use backquote.
1176 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1178 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1179 (ruby-smie--backward-token): Only consider full-string matches.
1181 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1183 * faces.el (describe-face): Add distant-foreground.
1185 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1187 * progmodes/ruby-mode.el: Improve encoding comment handling.
1188 (ruby-encoding-magic-comment-style): New option.
1189 (ruby-custom-encoding-magic-comment-template): New option.
1190 (ruby--insert-coding-comment, ruby--detect-encoding):
1191 New functions extracted from `ruby-mode-set-encoding'.
1192 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1193 to control the style of the auto-inserted encoding comment.
1195 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1197 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1198 Use `smie-backward-sexp' with token argument.
1200 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1202 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1203 Remove instrumentation code.
1205 2013-11-08 Glenn Morris <rgm@gnu.org>
1207 * progmodes/autoconf.el (autoconf-mode):
1208 Tweak comment-start-skip. (Bug#15822)
1210 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1212 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1213 at bobp (bug#15826).
1214 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1216 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1218 * man.el (Man-start-calling): New macro, extracted from
1219 Man-getpage-in-background.
1220 (Man-getpage-in-background): Use it.
1221 (Man-update-manpage): New command.
1222 (Man-mode-map): Bind it.
1224 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1226 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1227 of "and", "or", "&&" and "||".
1228 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1229 argument. Prohibit opening curly brace because it could only be a
1230 block opener in that position.
1231 (ruby-smie--forward-token, ruby-smie--backward-token):
1232 Separate "|" from "&" or "*" going after it. That can happen in block
1234 (ruby-smie--indent-to-stmt): New function, seeks the end of
1235 previous statement or beginning of buffer.
1236 (ruby-smie-rules): Use it.
1237 (ruby-smie-rules): Check if there's a ":" before a curly block
1238 opener candidate; if there is, it's a hash.
1240 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1242 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1243 (cl--block-wrapper): Fix last accidental change.
1245 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1247 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1248 Instrument, in order to hunt failure on hydra.
1250 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1252 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1253 malformed bindings form (bug#15814).
1255 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1257 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1258 "." compared to " @ ". This incidentally fixes some indentation
1260 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1261 (ruby-smie-grammar): New tokens: "and" and "or".
1262 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1263 Exclude "and" and "or". Remove "do" in order to work around token
1265 (ruby-smie-rules): Add all infix tokens. Handle the case of
1266 beginning-of-buffer.
1268 2013-11-06 Glenn Morris <rgm@gnu.org>
1270 * Makefile.in (setwins_almost, setwins_for_subdirs):
1271 Avoid accidental matches.
1273 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1275 * menu-bar.el (popup-menu): Use key-binding.
1277 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1279 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1280 menus, support also the menus produced by minor modes.
1283 2013-11-06 Leo Liu <sdl.web@gmail.com>
1285 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1286 DISTANCE to bound the search. All uses changed. (Bug#15808)
1288 2013-11-06 Glenn Morris <rgm@gnu.org>
1290 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1291 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1292 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1294 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1296 * electric.el (electric-indent-just-newline): New command.
1297 (electric-indent-mode-map): New keymap.
1298 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1299 Re-add :group which weren't redundant.
1301 * electric.el (electric-indent-local-mode): New minor mode.
1302 (electric-indent-functions-without-reindent): New var.
1303 (electric-indent-post-self-insert-function): Use it.
1304 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1306 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1308 * international/quail.el (quail-help): Be more explicit about the
1309 meaning of the labels shown on the keys. (Bug#15800)
1311 * startup.el (normal-top-level): Load the subdirs.el files before
1312 setting the locale environment. (Bug#15805)
1314 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1316 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1317 via arguments so as to get the right ones (bug#15418).
1319 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1321 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1323 Fix problems found while writing a test suite.
1325 * net/tramp-compat.el (tramp-compat-load): New defun.
1326 * net/tramp.el (tramp-handle-load): Use it.
1328 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1329 "(numberp ok-if-already-exists)" correctly.
1331 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1333 * international/characters.el (glyphless-char-display-control):
1336 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1338 * progmodes/python.el (python-mode):
1339 * progmodes/scheme.el (scheme-mode):
1340 * progmodes/prolog.el (prolog-mode):
1341 * progmodes/ruby-mode.el (ruby-mode):
1342 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1343 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1345 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1347 * rect.el (rectangle--highlight-for-redisplay):
1348 * emacs-lisp/smie.el (smie--next-indent-change):
1349 Use buffer-chars-modified-tick.
1351 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1353 * electric.el (electric-indent-post-self-insert-function):
1354 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1356 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1358 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1360 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1362 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1365 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1367 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1369 * progmodes/python.el: Fix up last change.
1370 (python-shell--save-temp-file): New function.
1371 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1372 `string' comes from the current buffer.
1373 (python-shell-send-string-no-output): Remove `msg' arg.
1374 (python--use-fake-loc): New var.
1375 (python-shell-buffer-substring): Obey it. Try to compensate for the
1376 extra coding line added by python-shell--save-temp-file.
1377 (python-shell-send-region): Use python-shell--save-temp-file and
1378 python-shell-send-file directly. Add `nomain' argument.
1379 (python-shell-send-buffer): Use python-shell-send-region.
1380 (python-electric-pair-string-delimiter): New function.
1381 (python-mode): Use it.
1383 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1385 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1386 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1387 environment and decoding all of the default-directory's to here
1389 (command-line): Decode also argv[0].
1391 * loadup.el: Error out if default-directory is a multibyte string
1392 when we are dumping.
1394 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1396 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1398 * emacs-lisp/package.el (package-menu-mode)
1399 (package-menu--print-info, package-menu--archive-predicate):
1400 Add Archive column to package list.
1402 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1404 Fix problems found while writing a test suite.
1406 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1407 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1408 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1409 to nil when running original file name handler. Otherwise,
1410 there are problems with constructs like "$$FOO".
1412 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1415 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1417 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1419 * subr.el (version<, version<=, version=):
1420 Update docstrings with information for snapshot versions.
1422 * helpers.el: New library for misc helper functions.
1423 (hash-table-keys): New function returning a list of hash keys.
1424 (hash-table-values): New function returning a list of hash values.
1426 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1428 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1429 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1431 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1433 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1434 checking whether point is after a 1-letter word.
1436 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1438 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1439 Don't infloop when expanding region over `multiline' syntax-type that
1440 begins a line (bug#15778).
1442 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1444 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1445 Make it into a proper minor mode.
1446 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1447 (rectangle-mark-mode-map): New keymap.
1448 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1450 2013-11-04 Glenn Morris <rgm@gnu.org>
1452 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1454 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1456 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1457 (ruby-smie-rules): Use smie-rule-parent instead.
1459 * emacs-lisp/smie.el (smie-rule-parent): Always call
1460 smie-indent-virtual rather than only for hanging tokens.
1461 (smie--next-indent-change): New helper command.
1463 2013-11-03 Glenn Morris <rgm@gnu.org>
1465 * Makefile.in (abs_srcdir): Remove.
1466 (emacs): Unset EMACSLOADPATH.
1468 2013-11-02 Glenn Morris <rgm@gnu.org>
1470 * Makefile.in (EMACS): Use a relative filename.
1471 (abs_top_builddir): Remove.
1472 (custom-deps, finder-data, autoloads): Use --chdir.
1474 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1476 Use relative filenames in TAGS files.
1477 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1478 (lisptagsfiles4, TAGS): Use relative file names.
1479 (TAGS-LISP): Remove.
1480 (maintainer-clean): No more TAGS-LISP file.
1482 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1483 (lisptagsfiles4): Use absolute filenames again.
1484 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1485 Remove all *loaddefs files, not just the first. Remove esh-groups.
1486 (maintainer-clean): Delete TAGS, TAGS-LISP.
1488 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1490 * emacs-lisp/package.el (package-version-join):
1491 Recognize snapshot versions.
1493 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1495 * subr.el (version-regexp-alist): Add support for snapshot versions.
1497 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1499 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1500 New function, replacement for `smie-rule-parent' for when we want to
1501 skip over our direct parent if it's an assignment token..
1502 (ruby-smie-rules): Use it.
1504 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1506 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1507 unconditionally. Remove now unnecessary forward declarations.
1508 Remove XEmacs-specific setup.
1509 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1510 (ruby-font-lock-syntactic-keywords)
1511 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1512 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1513 (ruby-here-doc-end-syntax): Remove.
1514 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1515 defined as function.
1517 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1519 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1521 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1523 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1524 table and abbrev table, `define-derived-mode' does that for us
1527 2013-11-01 Glenn Morris <rgm@gnu.org>
1529 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1530 files is atomic for some time, so no parallel compilation issues).
1532 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1534 * faces.el (face-x-resources): Add :distant-foreground.
1535 (region): Use :distant-foreground for gtk and ns.
1537 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1539 Allow multiple bibliographies when BibLaTeX is used rather than
1541 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1542 (reftex-locate-bibliography-files): Us it.
1544 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1546 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1547 allow comments in pbm files.
1549 * term/w32-win.el (dynamic-library-alist): Support newer versions
1550 of libjpeg starting with v7: look only for the DLL from the
1551 version against which Emacs was built.
1552 Support versions of libpng beyond 1.4.x.
1553 Support libtiff v4.x.
1555 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1557 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1558 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1560 (ruby-deep-arglist): Add property :type.
1562 2013-10-31 Glenn Morris <rgm@gnu.org>
1564 * Makefile.in (custom-deps, finder-data): No need to setq the target
1565 variables, we are in the right directory and the defaults work fine.
1567 2013-10-30 Glenn Morris <rgm@gnu.org>
1569 * Makefile.in (autoloads): Do not use abs_lisp.
1571 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1572 `newline' does not respect `standard-output', so use `princ'.
1574 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1576 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1577 * buff-menu.el (Buffer-menu--unmark): New function.
1578 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1580 2013-10-30 Glenn Morris <rgm@gnu.org>
1582 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1584 * emacs-lisp/package.el (lm-homepage): Declare.
1586 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1589 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1591 * Makefile.in (finder-data, autoloads, update-subdirs)
1592 (compile-main, compile-clean, compile-always, bootstrap-clean):
1593 Check return value of cd.
1594 (compile-calc): Remove.
1596 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1598 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1600 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1601 (byte-compile-and-folded): New function.
1602 (=, <, >, <=, >=): Use it.
1604 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1605 (path-separator, null-device, buffer-file-coding-system)
1606 (lpr-headers-switches): Check system-type before modifying them.
1607 (find-buffer-file-type-coding-system): Mark obsolete.
1608 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1609 find-file-not-found-set-buffer-file-coding-system.
1610 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1611 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1612 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1613 (w32-direct-print-region-helper, w32-direct-print-region-function)
1614 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1615 * startup.el (normal-top-level-add-subdirs-to-load-path):
1616 * ps-print.el (ps-print-region-function):
1617 * lpr.el (print-region-function): Use new name.
1619 * subr.el (custom-declare-variable-early): Remove function.
1620 (custom-declare-variable-list): Remove var.
1621 (error, user-error): Remove `while' loop.
1622 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1623 (user-emacs-directory-warning, locate-user-emacs-file):
1625 * simple.el (read-quoted-char-radix, read-quoted-char):
1626 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1628 * custom.el (custom-declare-variable-list): Don't process
1629 custom-declare-variable-list.
1631 * progmodes/python.el (python-shell-get-buffer): New function.
1632 (python-shell-get-process): Use it.
1633 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1634 Python which encoding was used. Don't split-string since we only care
1635 about the first line. Return the temp-file, if applicable.
1636 (python-shell-send-region): Tell compile.el how to turn locations in
1637 the temp-file into locations in the source buffer.
1639 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1641 * subr.el (undefined): Add missing behavior from the C code for
1644 * rect.el: Use lexical-binding. Add new rectangular region support.
1645 (rectangle-mark): New command.
1646 (rectangle--region): New var.
1647 (deactivate-mark-hook): Reset rectangle--region.
1648 (rectangle--extract-region, rectangle--insert-for-yank)
1649 (rectangle--highlight-for-redisplay)
1650 (rectangle--unhighlight-for-redisplay): New functions.
1651 (region-extract-function, redisplay-unhighlight-region-function)
1652 (redisplay-highlight-region-function): Use them to handle
1654 * simple.el (region-extract-function): New var.
1655 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1656 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1657 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1658 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1659 (redisplay-unhighlight-region-function)
1660 (redisplay-highlight-region-function): New vars.
1661 (redisplay--update-region-highlight): New function.
1662 (pre-redisplay-function): Use it.
1663 (exchange-point-and-mark): Don't deactivate the mark before
1664 reactivate-it anyway.
1665 * comint.el (comint-kill-region): Remove yank-handler argument.
1666 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1667 (delete-char): Remove property, since it's now part of their
1669 (self-insert-iso): Remove property since this command doesn't exist.
1671 * emacs-lisp/package.el (package--download-one-archive)
1672 (describe-package-1): Don't query the user about final newline.
1674 2013-10-29 Daniel Colascione <dancol@dancol.org>
1676 * net/tramp.el (tramp-methods): Document new functionality.
1677 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1678 tramp-hostname-checker if method provides one instead of scanning
1679 argument list for "%h" to decide hostname acceptability.
1681 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1683 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1684 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1685 Handle COPY-CONTENTS. (Bug#15737)
1687 2013-10-28 Daiki Ueno <ueno@gnu.org>
1690 (epa-file-cache-passphrase-for-symmetric-encryption):
1691 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1693 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1695 * image.el (defimage):
1696 (image-load-path): Doc fixes.
1698 2013-10-27 Alan Mackenzie <acm@muc.de>
1700 Indent statements in macros following "##" correctly.
1701 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1702 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1704 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1706 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1708 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1710 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1711 after `=' is probably a new expression.
1713 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1715 * man.el (man-imenu-title): New option.
1716 (Man-mode-map): Add menu. (Bug#15722)
1717 (Man-mode): Add imenu to menu.
1719 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1721 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1722 specific in what the first arg can be: a non-keyword word,
1723 string/regexp/percent literal opener, opening paren, or unary
1724 operator followed directly by word.
1726 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1728 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1729 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1730 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1731 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1732 Remove vars, they do not apply any more.
1733 (prolog-mode-abbrev-table): Remove redundant declaration.
1734 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1735 (prolog-use-smie): Remove.
1736 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1737 supported by prolog-electric-if-then-else-flag.
1738 (prolog-mode-variables, prolog-menu): Use setq-local.
1739 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1740 Remove binding to `Backspace' since this key doesn't exist anyway.
1741 Remove bindings for electric self-inserting keys.
1742 (prog-mode): Assume it's defined.
1743 (prolog-post-self-insert): New function.
1744 (prolog-mode): Use it.
1745 (prolog-indent-line, prolog-indent-level)
1746 (prolog-find-indent-of-matching-paren)
1747 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1748 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1749 (prolog-goto-next-paren, prolog-in-string-or-comment)
1750 (prolog-tokenize, prolog-inside-mline-comment)
1751 (prolog-find-start-of-mline-comment): Remove functions.
1752 (prolog-find-unmatched-paren, prolog-clause-end)
1753 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1754 (prolog-electric--if-then-else): Rename from
1755 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1756 (prolog-tokenize-searchkey): Remove const.
1757 (prolog-clause-info): Use forward-sexp.
1758 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1759 (prolog-electric-if-then-else): Remove commands.
1760 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1761 for use in post-self-insert-hook.
1762 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1763 for use in post-self-insert-hook.
1764 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1765 for use in post-self-insert-hook.
1766 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1767 adapt it for use in post-self-insert-hook.
1769 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1771 * emacs-lisp/ert.el (ert-run-tests-interactively):
1772 Use `completing-read'. (Bug#9756)
1774 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1776 * simple.el (line-move): Call line-move-1 instead of
1777 line-move-visual when the current window hscroll is zero, but
1778 temporary-goal-column indicates we will need to hscroll as result
1779 of the movement. (Bug#15712)
1781 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1783 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1784 capitalization. Use :visible instead of :active.
1785 Fix `ruby-indent-exp' reference. Add menu items for the generic
1786 commands that are used with SMIE.
1787 (ruby-do-end-to-brace): Insert space after `{'.
1789 2013-10-25 John Anthony <john@jo.hnanthony.com>
1791 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1793 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1795 2013-10-25 Glenn Morris <rgm@gnu.org>
1797 * vc/vc.el (vc-print-log): Don't use a working revision unless
1798 one was explicitly specified. (Bug#15322)
1800 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1802 * subr.el (add-to-list): Preserve return value in compiler-macro
1805 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1807 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1808 result. Ask user to retry using '-all' flag. (Bug#15701)
1810 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1812 * emacs-lisp/smie.el: New smie-config system.
1813 (smie-config): New defcustom.
1814 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1815 (smie-config-guess, smie-config-save): New commands.
1816 (smie-config--mode-local, smie-config--buffer-local)
1817 (smie-config--trace, smie-config--modefuns): New vars.
1818 (smie-config--advice, smie-config--mode-hook)
1819 (smie-config--setter, smie-config-local, smie-config--get-trace)
1820 (smie-config--guess-value, smie-config--guess): New functions.
1821 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1822 text properties. Treat "string fence" syntax like string syntax.
1824 * progmodes/sh-script.el (sh-use-smie): Change default.
1825 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1826 (sh-var-value): Simplify by CSE.
1827 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1828 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1830 (sh-guess-basic-offset): Use cl-incf.
1831 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1833 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1835 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1838 2013-10-24 Glenn Morris <rgm@gnu.org>
1840 * Makefile.in (abs_top_srcdir): Remove.
1841 (update-subdirs): Use relative path to update-subdirs.
1843 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1845 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1846 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1847 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1848 Call unmsys--file-name before expand-file-name, not after it.
1850 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1852 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1853 (ert-test-skipped): New error.
1854 (ert-skip, ert-stats-skipped): New defuns.
1855 (ert--skip-unless): New macro.
1856 (ert-test-skipped): New struct.
1857 (ert--run-test-debugger, ert-test-result-type-p)
1858 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1859 (ert--stats-set-test-and-result, ert-char-for-test-result)
1860 (ert-string-for-test-result, ert-run-tests-batch)
1861 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1862 Handle skipped tests. (Bug#9803)
1864 2013-10-24 Glenn Morris <rgm@gnu.org>
1866 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1868 * Makefile.in (abs_top_srcdir): New, set by configure.
1869 (update-subdirs): Correct build-aux location.
1871 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1873 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1874 value, whether we could auto-deduce `backend', or not.
1876 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1877 with parameters" example. Simplify the "is it block or is it
1878 hash" check, but also make it more thorough.
1880 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1882 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1884 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1886 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1889 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1892 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1894 * progmodes/compile.el (compilation-directory-matcher)
1895 (compilation-page-delimiter):
1896 Support GNU Make-4.0 directory quoting. (Bug#15678)
1898 2013-10-23 Leo Liu <sdl.web@gmail.com>
1900 * ido.el (ido-tidy): Handle read-only text.
1902 2013-10-23 Glenn Morris <rgm@gnu.org>
1904 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1905 (emacs, compile, compile-always):
1906 Quote entities that might contain whitespace.
1907 (custom-deps, finder-data, autoloads): Use abs_lisp.
1908 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1909 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1910 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1912 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1914 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1915 Use `following-char'.
1917 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1919 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1920 * progmodes/ruby-mode.el (ruby-smie-rules):
1921 Remove corresponding workaround. Fix indentation rule of ";" so it
1922 also applies when ";" is the parent.
1924 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1926 * frame.el (display-screens, display-pixel-height)
1927 (display-pixel-width, display-mm-width, display-backing-store)
1928 (display-save-under, display-planes, display-color-cells)
1929 (display-visual-class, display-monitor-attributes-list):
1930 Mention the optional ‘display’ argument in doc strings.
1932 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1934 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1935 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1937 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1939 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1940 TODO. Add "." after " @ ".
1941 (ruby-smie--at-dot-call): New function. Checks if point at method
1942 call with explicit target.
1943 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1944 to the method name tokens when it precedes them.
1945 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1946 (ruby-smie-rules): Add rule for indentation before and after "."
1949 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1951 * textmodes/remember.el (remember-diary-extract-entries):
1954 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1957 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1959 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1960 (ruby-smie--implicit-semi-p): Add new operator chars.
1962 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1964 (ruby-smie--args-separator-p): Check that there's no newline
1965 between method call and its arguments.
1967 2013-10-20 Alan Mackenzie <acm@muc.de>
1969 Allow comma separated lists after Java "implements".
1971 * progmodes/cc-engine.el (c-backward-over-enum-header):
1973 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1974 from a "disallowed" list in enum fontification.
1976 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1978 * startup.el (default-frame-background-mode): Remove unused defvar.
1980 * progmodes/verilog-mode.el (verilog-mode): Don't set
1981 comment-indent-function globally.
1983 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1985 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1986 Move Info menu item creation to ns-win.el.
1988 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1991 * menu-bar.el: Move GNUStep specific menus...
1993 * term/ns-win.el (ns-initialize-window-system): ... to here.
1995 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1997 * simple.el (newline): Only run post-self-insert-hook when
1998 called interactively.
2000 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2002 * icomplete.el (icomplete-with-completion-tables): Add :version.
2004 2013-10-19 Alan Mackenzie <acm@muc.de>
2006 Fix fontification bugs with constructors and const.
2008 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2009 CASE 2) Remove the check for the absence of a suffix construct
2010 after a function declaration with only types (no identifiers) in
2011 the parentheses. Also, accept a function declaration with just a
2012 type inside the parentheses, if this type can be positively
2013 recognised as such, or if a prefix keyword like "explicit" nails
2014 down the construct as a declaration.
2016 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2018 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2019 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2020 the problem whereby selecting a menu item that leads to a
2021 minibuffer prompt moves the cursor out of the minibuffer window,
2022 making it hard to type at the prompt. Suggested by Stefan Monnier
2023 <monnier@iro.umontreal.ca>.
2025 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2027 * menu-bar.el: Don't make Services menu.
2029 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2031 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2032 (ffap-alist): Use ffap-c++-mode for c++-mode.
2033 (ffap-c++-path): New variable.
2034 (ffap-c++-mode): New function.
2036 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2038 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2040 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2042 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2043 introduced on 2013-09-08, which results in an infinite loop
2044 requesting a password.
2046 2013-10-18 Glenn Morris <rgm@gnu.org>
2048 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2050 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2052 Sync with upstream verilog-mode revision 1a6ecec7.
2053 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2054 (verilog-mode-release-date): Remove.
2055 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2056 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2057 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2058 (verilog-auto-tieoff-ignore-regexp)
2059 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2060 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2061 (verilog-signals-with, verilog-dir-cache-preserving)
2062 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2064 (verilog-case-fold): New option, to control case folding in
2065 regexp searches, bug597.
2066 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2067 (verilog-string-match-fold, verilog-in-paren-count)
2068 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2069 (verilog-at-close-struct-p): New functions.
2070 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2071 (verilog-forward-sexp, verilog-set-auto-endcomments):
2072 (verilog-leap-to-case-head): Handle "unique0" case.
2073 (verilog-in-constraint-re): New constant.
2074 (verilog-keywords, verilog-type-font-keywords):
2075 Add some SystemVerilog 1800-2012 keywords.
2076 (verilog-label-be): Remove unimplemented argument, bug669.
2077 (verilog-batch-execute-func): When batch expanding clear
2078 create-lockfiles to prevent spurious user locks when a file ends
2080 (verilog-calculate-indent, verilog-calc-1)
2081 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2082 (verilog-do-indent): Fix indentation of nested constraints
2084 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2085 (verilog-auto-inst-param): Use verilog-string-match-fold.
2086 (verilog-read-inst-module-matcher):
2087 Fix AUTOINST on gate primitives with #1.
2088 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2089 Reads all user-defined typed variables.
2090 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2091 (verilog-signals-matching-regexp)
2092 (verilog-signals-not-matching-regexp, verilog-auto):
2093 Respect verilog-case-fold.
2094 (verilog-diff-report): Fix line count.
2095 (verilog-auto-assign-modport): Remove unused local `modi'.
2096 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2097 better handle multidimensional arrays.
2098 Fix packed array ports misadding bit index in AUTOINST, bug637.
2099 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2100 to not double-declare existing outputs and inputs, respectively.
2101 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2102 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2103 (verilog-sk-uvm-component): New skeleton.
2104 (verilog-submit-bug-report): Add verilog-case-fold,
2105 remove verilog-mode-release-date.
2107 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2109 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2112 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2114 * textmodes/remember.el (remember): set buffer-offer-save in
2115 remember buffers (bug#13566).
2117 2013-10-18 Daniel Colascione <dancol@dancol.org>
2119 When evaluating forms in ielm, direct standard output to ielm
2120 buffer. Add new ielm-return-for-effect command. Remove trailing
2121 whitespace throughout.
2123 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2124 (ielm-return-for-effect): New command.
2125 (ielm-send-input): Accept optional `for-effect' parameter.
2126 (ielm-eval-input): Accept optional `for-effect' parameter.
2127 Bind `standard-output' to stream we create using
2128 `ielm-standard-output-impl'. Suppress printing result when
2130 (ielm-standard-output-impl): New function.
2131 (inferior-emacs-lisp-mode): Explain new features in documentation.
2133 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2137 * net/tramp.el (tramp-debug-message): Do not check for connection
2139 (tramp-message): Use "vector" connection property.
2141 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2142 (tramp-equal-remote, tramp-eshell-directory-change)
2143 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2144 (tramp-adb-handle-rename-file)
2145 * net/tramp-cmds.el (tramp-list-remote-buffers)
2146 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2147 * net/tramp-compat.el (tramp-compat-process-running-p)
2148 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2149 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2150 (tramp-gvfs-handle-rename-file)
2151 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2152 (tramp-set-file-uid-gid)
2153 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2154 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2157 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2158 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2159 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2160 (tramp-gw-open-network-stream): Suppress unrelated traces.
2162 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2163 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2164 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2165 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2166 connection property.
2168 * net/tramp-cache.el (top): Suppress traces when reading
2171 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2172 Refactor common code. Improve debug message.
2173 (tramp-maybe-open-connection)
2174 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2175 connection buffer too early.
2177 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2178 from `tramp-smb-actions-with-acl'.
2179 (tramp-smb-actions-set-acl): New defconst.
2180 (tramp-smb-handle-copy-directory)
2181 (tramp-smb-action-get-acl): New defun, renamed from
2182 `tramp-smb-action-with-acl'.
2183 (tramp-smb-action-set-acl): New defun.
2184 (tramp-smb-handle-set-file-acl): Rewrite.
2186 2013-10-17 Glenn Morris <rgm@gnu.org>
2188 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2190 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2192 * skeleton.el (skeleton-newline): Remove.
2193 (skeleton-internal-1): Use (insert "\n") instead.
2195 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2198 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2199 forward-sexp-function while we redo its job (bug#15613).
2201 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2203 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2204 represented by lists.
2206 2013-10-16 Glenn Morris <rgm@gnu.org>
2208 * tmm.el (tmm--history): New dynamic variable.
2209 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2211 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2213 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2214 (tramp-smb-errors): Add error messages.
2215 (tramp-smb-actions-with-acl): New defconst.
2216 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2217 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2218 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2219 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2220 (tramp-smb-get-stat-capability): Fix tests.
2222 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2224 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2227 2013-10-16 Glenn Morris <rgm@gnu.org>
2229 * ansi-color.el (ansi-color-drop-regexp):
2230 Add 1J, 1K, 2K. (Bug#15617)
2232 * files.el (hack-local-variables--warned-lexical): New.
2233 (hack-local-variables):
2234 Warn about misplaced lexical-binding. (Bug#15616)
2236 * net/eww.el (eww-render): Always set eww-current-url,
2237 and update header line. (Bug#15622)
2238 (eww-display-html): ... Rather than just doing it here.
2240 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2242 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2243 menu navigations commands.
2245 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2247 * progmodes/subword.el (subword-capitalize): Be careful when
2248 the search for [[:alpha:]] fails (bug#15580).
2250 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2252 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2253 to commands that scroll the menu.
2255 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2257 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2258 Handle methods ending with `?' and `!'.
2260 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2262 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2263 `japanese-cp932' to `cp932' to fix the problem where saving a
2264 source file written in Shift_JIS twice would end up having
2265 `coding: japanese-cp932' which Ruby could not recognize.
2266 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2267 in `ruby-encoding-map'.
2268 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2269 doesn't need to be explicitly declared in magic comment.
2270 (ruby-encoding-map): Add type declaration for better customize UI.
2272 2013-10-13 Glenn Morris <rgm@gnu.org>
2274 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2275 Occur buffers are read-only. http://bugs.debian.org/720775
2277 * emacs-lisp/authors.el (authors-fixed-entries):
2278 Comment out old alpha stuff.
2280 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2282 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2283 to `after-save-hook' instead of `before-save-hook'.
2284 (ruby-mode-set-encoding): Use the value of coding system used to
2285 write the file. Call `basic-save-buffer-1' after modifying the
2288 2013-10-13 Alan Mackenzie <acm@muc.de>
2290 Fix indentation/fontification of Java enum with
2291 "implements"/generic.
2293 * progmodes/cc-engine.el (c-backward-over-enum-header):
2294 Extracted from the three other places and enhanced to handle generics.
2295 (c-inside-bracelist-p): Uses new function above.
2296 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2298 (c-font-lock-enum-tail): Uses new function above.
2300 2013-10-13 Kenichi Handa <handa@gnu.org>
2302 * international/mule-cmds.el (select-safe-coding-system): Remove a
2303 superfluous condition in chekcing whether a coding system is safe
2306 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2308 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2310 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2312 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2314 2013-10-13 Glenn Morris <rgm@gnu.org>
2316 * menu-bar.el (menu-bar-update-buffers):
2317 Unify Buffers menu prompt string. (Bug#15576)
2319 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2321 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2323 (authors-fixed-entries): Use accented form of name.
2325 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2327 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2328 method calls (bug#15594).
2329 (ruby-smie--args-separator-p): New function.
2330 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2331 recognize paren-free method calls.
2333 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2334 internals of universal-argument.
2336 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2338 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2339 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2340 dropped menu on second mouse click on the menu bar.
2342 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2344 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2345 (explicit-shell-file-name): Declare.
2346 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2347 (sh-completion-at-point-function): New function.
2349 (sh-smie--keyword-p): Remove unused argument.
2350 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2352 (sh-set-shell): Always setup SMIE, even if we use the
2353 old indentation code.
2355 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2357 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2359 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2360 predicate would return nil are almost non-existent.
2361 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2363 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2364 cache also after commands that modify the buffer but don't move
2367 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2369 * env.el (substitute-env-in-file-name): New function.
2370 (substitute-env-vars): Extend the meaning of the optional arg.
2372 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2374 * term/w32-win.el (dynamic-library-alist): Define separate lists
2375 of GIF DLLs for versions before and after 5.0.0 of giflib.
2378 2013-10-10 João Távora <joaotavora@gmail.com>
2380 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2381 not locked, use last revision and current source as
2382 defaults. (Bug#15569)
2384 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2386 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2389 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2391 * window.el (pop-to-buffer-same-window): Fix doc-string.
2394 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2396 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2398 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2400 * calendar/icalendar.el (icalendar-import-file):
2401 Fix interactive spec. (Bug#15482)
2403 2013-10-10 Glenn Morris <rgm@gnu.org>
2405 * desktop.el (desktop-save): Default to saving in .emacs.d,
2406 since PWD is no longer in desktop-path by default. (Bug#15319)
2408 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2409 now that text mode has a menu with the same entry.
2410 (menu-bar-text-mode-auto-fill): Remove now unused func.
2411 * textmodes/text-mode.el (text-mode-map):
2412 Use auto-fill help text from menu-bar.el.
2414 2013-10-10 John Anthony <john@jo.hnanthony.com>
2416 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2418 2013-10-09 Juri Linkov <juri@jurta.org>
2420 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2421 instead of this-command-keys. Add universal-argument-more and
2422 universal-argument-minus to the list of prefix commands. (Bug#15568)
2424 2013-10-09 Glenn Morris <rgm@gnu.org>
2426 * vc/vc-svn.el (vc-svn-create-repo):
2427 Expand paths in file://... url. (Bug#15446)
2429 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2431 (authors): Remove unused local variables.
2433 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2435 * profiler.el: Create a more coherent calltree from partial backtraces.
2436 (profiler-format): Hide the tail with `invisible' so that C-s can still
2437 find the hidden elements.
2438 (profiler-calltree-depth): Don't recurse so enthusiastically.
2439 (profiler-function-equal): New hash-table-test.
2440 (profiler-calltree-build-unified): New function.
2441 (profiler-calltree-build): Use it.
2442 (profiler-report-make-name-part): Indent the calltree less.
2443 (profiler-report-mode): Add visibility specs for profiler-format.
2444 (profiler-report-expand-entry, profiler-report-toggle-entry):
2445 Expand the whole subtree when provided with a prefix arg.
2447 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2449 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2451 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2452 hanging iuwu-mod token.
2453 (ruby-smie--forward-token): Do not include a dot after a token in
2455 (ruby-smie--backward-token): Likewise.
2457 2013-10-08 Juri Linkov <juri@jurta.org>
2459 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2460 to isearch-other-control-char.
2461 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2462 and isearch-post-command-hook to post-command-hook.
2463 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2464 and isearch-post-command-hook from post-command-hook.
2465 (isearch-unread-key-sequence)
2466 (isearch-reread-key-sequence-naturally)
2467 (isearch-lookup-scroll-key, isearch-other-control-char)
2468 (isearch-other-meta-char): Remove functions.
2469 (isearch-pre-command-hook, isearch-post-command-hook):
2470 New functions based on isearch-other-meta-char rewritten
2471 relying on the new behavior of overriding-terminal-local-map
2472 that does not replace the local keymaps any more. (Bug#15200)
2474 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2476 Support menus on text-mode terminals.
2477 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2480 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2482 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2483 Move here from mouse.el.
2484 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2486 (tty-menu-navigation-map): New map for TTY menu navigation.
2488 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2490 * frame.el (display-mouse-p): Report text-mode mouse as available
2492 (display-popup-menus-p): Report availability if mouse is
2493 available; don't condition on window-system.
2495 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2496 (tty-menu-selected-face): New faces.
2498 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2500 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2501 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2502 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2503 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2505 (lisp-mode-variables): New `elisp' argument.
2506 (emacs-lisp-mode): Use it.
2507 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2508 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2510 * indent.el: Use lexical-binding.
2511 (indent-region): Add progress reporter.
2512 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2514 (indent--next-tab-stop): New function to implement this behavior.
2515 (tab-to-tab-stop, move-to-tab-stop): Use it.
2517 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2519 * indent.el (indent-rigidly--current-indentation): New function.
2520 (indent-rigidly-map): New var.
2521 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2523 2013-10-08 Bastien Guerry <bzg@gnu.org>
2525 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2527 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2529 * progmodes/perl-mode.el: Use lexical-binding.
2530 Remove redundant :group args.
2531 (perl-nochange): Change default to be closer to other major modes's
2533 (perl-indent-line): Don't consider text on current line as a
2534 valid beginning of function from which to indent.
2536 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2537 with more than one argument (bug#15538).
2539 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2541 * vc/pcvs.el: Use lexical-binding.
2542 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2543 environment of `eval'.
2544 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2545 than a list of expressions. Adjust callers.
2546 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2548 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2550 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2551 case of the dot in a chained method call being on the following line.
2553 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2555 * electric.el (electric-indent-inhibit): New var.
2556 (electric-indent-post-self-insert-function): Use it.
2557 * progmodes/python.el (python-mode): Set it.
2559 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2562 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2564 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2565 (css-mode): Use electric-indent-chars.
2567 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2568 (font-lock-beg, font-lock-end): Move before first use.
2569 (nxml-mode): Use syntax-propertize-function.
2570 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2571 (nxml-extend-after-change-region): Remove.
2572 * nxml/xmltok.el: Use lexical-binding.
2573 (xmltok-save): Use `declare'.
2574 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2575 * nxml/nxml-util.el: Use lexical-binding.
2576 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2578 * nxml/nxml-ns.el: Use lexical-binding.
2579 (nxml-ns-save): Use `declare'.
2580 (nxml-ns-prefixes-for): Avoid add-to-list.
2581 * nxml/rng-match.el: Use lexical-binding.
2582 (rng--ipattern): Use cl-defstruct.
2583 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2584 (rng-cons-group-after, rng-subst-group-after)
2585 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2586 Use closures instead of `(lambda...).
2588 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2590 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2593 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2594 Use `tramp-handle-insert-file-contents'.
2595 (tramp-gvfs-handle-insert-file-contents): Remove function.
2597 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2598 Use `save-restriction' in order to keep markers.
2600 * net/trampver.el: Update release number.
2602 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2604 * progmodes/compile.el (compilation-parse-errors):
2605 Use compilation--put-prop.
2606 (compilation--ensure-parse): Check compilation-multiline.
2608 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2610 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2613 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2615 * progmodes/ruby-mode.el: Fix recently added tests.
2616 (ruby-smie-grammar): Add - and +.
2617 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2618 (ruby-smie--backward-id): New functions.
2619 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2620 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2623 2013-10-07 Leo Liu <sdl.web@gmail.com>
2625 * register.el (register-preview-delay)
2626 (register-preview-functions): New variables.
2627 (register-read-with-preview, register-preview)
2628 (register-describe-oneline): New functions.
2629 (point-to-register, window-configuration-to-register)
2630 (frame-configuration-to-register, jump-to-register)
2631 (number-to-register, view-register, insert-register)
2632 (copy-to-register, append-to-register, prepend-to-register)
2633 (copy-rectangle-to-register): Use register-read-with-preview to
2634 read register. (Bug#15525)
2636 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2638 * net/network-stream.el (network-stream-open-starttls): Don't add
2639 --insecure if it's already present, because that gnutls-cli
2640 rejects getting that parameter twice.
2642 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2644 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2647 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2649 * newcomment.el (comment-use-global-state): Change default value
2650 to t, mark obsolete (Bug#15251).
2651 (comment-beginning): In addition to `comment-to-syntax', check the
2652 value of `comment-use-global-state'.
2654 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2656 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2657 (ruby-comment-column): Follow the global default, by default.
2658 (ruby-smie-grammar): Add assignment syntax.
2659 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2660 open-paren, a comma, or a \.
2661 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2662 and line continuations.
2663 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2664 followed by implicit semi-colons. Add rule for string concatenation
2665 and for indentation at BOB.
2666 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2668 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2669 calling next-sexp, since next-token may have skipped chars which
2670 next-sexp doesn't know should be skipped!
2672 2013-10-05 Leo Liu <sdl.web@gmail.com>
2674 * progmodes/octave.el (octave-send-region):
2675 Call compilation-forget-errors.
2677 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2679 * vc/vc-svn.el (vc-svn-find-admin-dir):
2680 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2681 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2682 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2683 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2685 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2687 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2689 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2691 * subr.el (read-passwd): Hide chars even when called within a context
2692 where after-change-functions is disabled (bug#15501).
2693 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2694 until we removed ourself from overriding-terminal-local-map.
2696 2013-10-04 Leo Liu <sdl.web@gmail.com>
2698 * progmodes/octave.el (inferior-octave-mode):
2699 Call compilation-forget-errors.
2701 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2703 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2705 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2707 * net/secrets.el (secrets-create-collection): Add optional
2708 argument ALIAS. Use proper Label keyword. Append ALIAS as
2709 dbus-call-method argument. (Bug#15516)
2711 2013-10-04 Leo Liu <sdl.web@gmail.com>
2713 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2714 (inferior-octave-compilation-font-lock-keywords): New variables.
2715 (compilation-error-regexp-alist)
2716 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2717 (inferior-octave-mode): Use compilation-shell-minor-mode.
2719 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2721 * minibuffer.el (completion--replace): Be careful that `end' might be
2724 2013-10-03 Daiki Ueno <ueno@gnu.org>
2726 Add support for package signature checking.
2727 * emacs-lisp/package.el (url-http-file-exists-p)
2728 (epg-make-context, epg-context-set-home-directory)
2729 (epg-verify-string, epg-context-result-for)
2730 (epg-signature-status, epg-signature-to-string)
2731 (epg-check-configuration, epg-configuration)
2732 (epg-import-keys-from-file): Declare.
2733 (package-check-signature): New user option.
2734 (package-unsigned-archives): New user option.
2735 (package-desc): Add `signed' field.
2736 (package-load-descriptor): Set `signed' field if .signed file exists.
2737 (package--archive-file-exists-p): New function.
2738 (package--check-signature): New function.
2739 (package-install-from-archive): Check package signature.
2740 (package--download-one-archive): Check archive signature.
2741 (package-delete): Remove .signed file.
2742 (package-import-keyring): New command.
2743 (package-refresh-contents): Import default keyring.
2744 (package-desc-status): Add "unsigned" status.
2745 (describe-package-1, package-menu--print-info)
2746 (package-menu-mark-delete, package-menu--find-upgrades)
2747 (package-menu--status-predicate): Support "unsigned" status.
2749 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2751 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2752 the new compilation scheme using the new byte-codes.
2754 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2755 (byte-pophandler): New byte codes.
2756 (byte-goto-ops): Adjust accordingly.
2757 (byte-compile--use-old-handlers): New var.
2758 (byte-compile-catch): Use new byte codes depending on
2759 byte-compile--use-old-handlers.
2760 (byte-compile-condition-case--old): Rename from
2761 byte-compile-condition-case.
2762 (byte-compile-condition-case--new): New function.
2763 (byte-compile-condition-case): New function that dispatches depending
2764 on byte-compile--use-old-handlers.
2765 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2768 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2769 Optimize under `condition-case' and `catch' if
2770 byte-compile--use-old-handlers is nil.
2771 (disassemble-offset): Handle new bytecodes.
2773 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2775 * subr.el (error): Use `declare'.
2776 (decode-char, encode-char): Use advertised-calling-convention instead
2777 of the docstring to discourage use of the `restriction' arg.
2779 2013-10-03 Daiki Ueno <ueno@gnu.org>
2781 * epg.el (epg-verify-file): Add a comment saying that it does not
2782 notify verification error as a return value nor a signal.
2783 (epg-verify-string): Ditto.
2785 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2787 * progmodes/compile.el (compilation-start): Try globbing the arg to
2790 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2792 Sync with Tramp 2.2.8.
2794 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2795 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2796 * net/trampver.el: Update release number.
2798 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2800 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2801 and default-process-coding-system for darwin only.
2803 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2805 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2807 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2809 * vc/vc-git.el (vc-git-grep): Disable pager.
2811 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2813 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2814 Use :url instead of :homepage, as per
2815 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2817 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2818 non-nil, use `syntax-ppss' (Bug#15251).
2820 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2822 * progmodes/octave.el (inferior-octave-startup-file):
2823 Prefer ~/.emacs.d/init_octave.m.
2825 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2827 * emacs-lisp/package.el (package-desc-from-define):
2828 Accept additional arguments as plist, convert them to an alist and store
2829 them in the `extras' slot.
2830 (package-generate-description-file): Convert extras alist back to
2831 plist and append to the `define-package' form arguments.
2832 (package--alist-to-plist): New function.
2833 (package--ac-desc): Add `extras' slot.
2834 (package--add-to-archive-contents): Check if the archive-contents
2835 vector is long enough, and if it is, pass its `extras' slot value
2836 to `package-desc-create'.
2837 (package-buffer-info): Call `lm-homepage', pass the returned value
2838 to `package-desc-from-define'.
2839 (describe-package-1): Render the homepage button (Bug#13291).
2841 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2842 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2844 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2846 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2847 and default-process-coding-system to utf-8-unix (Bug#15402).
2849 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2851 * subr.el (looking-back): Do not recommend using looking-back.
2853 2013-09-28 Alan Mackenzie <acm@muc.de>
2855 Fix indentation/fontification of Java enum with "implements".
2857 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2858 regexp which matches "implements", etc., in Java.
2859 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2860 specifier clauses coming after "enum".
2861 * progmodes/cc-fonts.el (c-font-lock-declarations)
2862 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2865 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2867 * faces.el (region): Change ns_selection_color to
2868 ns_selection_fg_color, add ns_selection_bg_color.
2870 2013-09-28 Leo Liu <sdl.web@gmail.com>
2872 * progmodes/octave.el (inferior-octave-completion-table)
2873 (inferior-octave-completion-at-point): Minor tweaks.
2875 * textmodes/ispell.el (ispell-lookup-words): Rename from
2876 lookup-words. (Bug#15460)
2877 (lookup-words): Obsolete.
2878 (ispell-complete-word, ispell-command-loop): All uses changed.
2880 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2882 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2883 (octave-mode-menu): Add octave-send-buffer.
2884 (octave-send-buffer): New function.
2886 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2888 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2890 (octave-mode-menu): Add octave-lookfor.
2891 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2893 (octave-lookfor): New function.
2895 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2897 * emacs-lisp/cl-macs.el:
2898 (cl--loop-destr-temps): Remove.
2899 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2901 (cl--loop-set-iterator-function): New function.
2902 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2903 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2904 Bind `it' with `let' instead of substituting it with `cl-subst'.
2905 (cl--unused-var-p): New function.
2906 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2907 Eliminate some unused variable warnings (bug#15326).
2909 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2911 * doc-view.el (doc-view-scale-reset): Rename from
2912 `doc-view-reset-zoom-level'.
2913 (doc-view-scale-adjust): New command.
2914 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2915 `doc-view-scale-adjust'.
2917 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2919 * doc-view.el (doc-view-reset-zoom-level): New command.
2920 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2921 zoom commands (bug#15466).
2923 2013-09-26 Kenichi Handa <handa@gnu.org>
2925 * international/quail.el (quail-help): Make it not a command.
2927 2013-09-26 Leo Liu <sdl.web@gmail.com>
2929 * minibuffer.el (completion-all-sorted-completions): Make args
2930 optional as they are.
2932 2013-09-25 Daniel Colascione <dancol@dancol.org>
2934 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2935 specs are and that they're not evaluated.
2937 2013-09-24 Sam Steingold <sds@gnu.org>
2939 * midnight.el (clean-buffer-list-kill-regexps)
2940 (clean-buffer-list-kill-buffer-names): Update for the new Man
2941 buffer naming which includes the object name.
2943 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2945 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2946 (eshell-parse-command, eshell-parse-pipeline): Use it since
2947 eshell-separate-commands requires a dynamic scoped var.
2948 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2950 2013-09-23 Leo Liu <sdl.web@gmail.com>
2952 * autoinsert.el (auto-insert-alist): Make the value of
2953 lexical-binding match its file setting.
2955 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2957 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2959 * autoarg.el (autoarg-kp-digit-argument):
2960 * electric.el (Electric-command-loop):
2961 * kmacro.el (kmacro-step-edit-insert):
2962 Do not set universal-argument-num-events.
2964 2013-09-22 Leo Liu <sdl.web@gmail.com>
2966 * files.el (interpreter-mode-alist): Add octave.
2968 2013-09-21 Alan Mackenzie <acm@muc.de>
2970 C++: fontify identifier in declaration following "public:" correctly.
2971 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2972 to match "public", etc.
2973 (c-decl-prefix-re): Add ":" into the C++ value.
2974 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2975 bit. Add a check for a ":" preceded by "public", etc.
2977 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2979 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2980 recognized by GDB 7.5 and later.
2982 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2984 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2986 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2988 * subr.el (internal--call-interactively): New const.
2989 (called-interactively-p): Use it (bug#3984).
2991 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2993 * vc/pcvs.el (cvs-mode-ignore):
2994 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2995 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2997 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2999 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3000 (eshell-ls-orig-insert-directory): Remove.
3001 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3002 (eshell-ls-use-in-dired): Use advice-add/remove.
3003 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3004 Add `orig-fun' arg for use in :around advice.
3005 Make it check (redundantly) eshell-ls-use-in-dired.
3007 2013-09-19 Glenn Morris <rgm@gnu.org>
3009 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3011 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3013 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3015 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3017 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3018 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3019 (tramp-get-remote-python): New defuns.
3020 (tramp-get-remote-uid-with-perl)
3021 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3022 contributed by yary <not.com@gmail.com> (tiny change).
3023 (tramp-get-remote-uid-with-python)
3024 (tramp-get-remote-gid-with-python): New defuns. Python code
3025 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3026 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3028 2013-09-19 Glenn Morris <rgm@gnu.org>
3030 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3032 * eshell/em-unix.el (eshell-remove-entries):
3033 Rename argument to avoid name-clash with global `top-level'.
3035 * eshell/esh-proc.el (eshell-kill-process-function):
3036 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3037 (eshell-reset-after-proc): Remove unused arg `proc'.
3039 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3040 (directory-files-and-attributes): Mark unused arg.
3042 * eshell/em-unix.el (eshell-remove-entries):
3043 Remove unused arg `path'. Update callers.
3045 * eshell/em-hist.el (eshell-hist-parse-arguments):
3046 Remove unused arg `silent'. Update callers.
3048 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3049 Fix (f)boundp mix-up.
3051 * eshell/em-smart.el (eshell-smart-scroll-window)
3052 (eshell-disable-after-change):
3053 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3055 2013-09-18 Alan Mackenzie <acm@muc.de>
3057 Fix fontification of type when followed by "const".
3058 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3059 "known" types from fontification.
3061 2013-09-18 Glenn Morris <rgm@gnu.org>
3063 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3064 (chart-face-list): Drop Emacsen without display-color-p.
3066 * net/eww.el (libxml-parse-html-region): Declare.
3067 (eww-display-html): Explicit error if no libxml2 support.
3069 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3071 * image.el (image-type-from-buffer, image-multi-frame-p):
3072 Remove --without-x warning/error.
3074 * mouse.el (mouse-yank-primary):
3075 * term.el (term-mouse-paste):
3076 Reorder to silence --without-x compilation.
3078 * mpc.el (doc-view-mode): Silence --without-x compilation.
3080 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3081 Silence --without-x compilation.
3083 * progmodes/gud.el (gud-find-file, gud-mode):
3084 Silence --without-x compilation.
3085 (tooltip-mode): Declare.
3087 * wdired.el (dired-backup-overwrite): Remove declaration.
3088 (wdired-mode-map): Add doc string.
3090 * custom.el (x-get-resource): Declare.
3092 * eshell/em-glob.el (ange-cache):
3093 * eshell/em-unix.el (ange-cache): Declare.
3095 * faces.el (x-display-list, x-open-connection, x-get-resource):
3098 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3099 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3102 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3104 * net/gnutls.el (gnutls-log-level): Declare.
3106 * net/shr.el (image-size, image-animate): Declare.
3108 * simple.el (font-info): Declare.
3110 * subr.el (x-popup-dialog): Declare.
3112 * term/common-win.el (x-select-enable-primary)
3113 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3116 * term/ns-win.el (x-handle-args): Declare.
3118 * term/x-win.el (x-select-enable-clipboard): Declare.
3120 * term/w32-win.el (create-default-fontset): Declare.
3122 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3125 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3126 (fit-frame-to-buffer): Explicit error if --without-x.
3127 (mouse-autoselect-window-select): Silence compiler.
3129 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3131 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3132 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3133 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3134 * eshell/esh-util.el (eshell-sublist):
3135 Remove unused local variables.
3137 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3139 * textmodes/two-column.el: Make 2C-split work for --without-x.
3140 (scroll-bar-columns): Autoload.
3141 (top-level): Require fringe when compiling.
3143 2013-09-18 Leo Liu <sdl.web@gmail.com>
3145 * subr.el (add-hook): Robustify to handle closure as well.
3147 2013-09-17 Glenn Morris <rgm@gnu.org>
3149 * simple.el (messages-buffer-mode-map): Unbind "g".
3151 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3153 * help-mode.el (help-mode-finish): Use derived-mode-p.
3154 Remove obsolete highlighting.
3156 * play/life.el (life-mode): Use define-derived-mode. Derive from
3158 (life): Let-bind inhibit-read-only.
3159 (life-setup): Avoid `setq'. Use `life-mode'.
3161 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3162 which should not be needed any more.
3163 (package-menu-refresh, package-menu-describe-package): Use user-error.
3165 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3166 (eshell-post-rewrite-command-hook): Make obsolete.
3167 (eshell-parse-command): Simplify.
3168 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3169 (eshell--cmd): Declare.
3170 (eshell-parse-pipeline): Remove unused var `final-p'.
3171 Pass a dynvar to eshell-post-rewrite-command-hook.
3172 Implement the new eshell-post-rewrite-command-function.
3173 (eshell-invoke-directly): Remove unused arg `input'.
3174 * eshell/esh-io.el (eshell-io-initialize):
3175 Use eshell-post-rewrite-command-function (bug#15399).
3176 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3177 adjust to new calling convention.
3178 (eshell-create-handles): Rename args to avoid clashing with dynvar
3181 2013-09-17 Glenn Morris <rgm@gnu.org>
3183 * simple.el (messages-buffer-mode): New major mode.
3184 (messages-buffer): New function.
3185 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3186 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3187 (ert-run-test): Use `messages-buffer' function.
3188 (ert--force-message-log-buffer-truncation): Ignore read-only.
3189 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3190 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3192 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3194 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3196 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3198 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3200 * icomplete.el (icomplete-in-buffer): New var.
3201 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3202 vars and replace them with functions.
3203 (icomplete-minibuffer-setup): Adjust accordingly.
3204 (icomplete--completion-table, icomplete--completion-predicate)
3205 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3207 (icomplete-forward-completions, icomplete-backward-completions)
3208 (icomplete-simple-completing-p, icomplete-exhibit)
3209 (icomplete-completions): Use them.
3210 (icomplete--in-region-buffer): New var.
3211 (icomplete--in-region-setup): New function.
3212 (icomplete-mode): Use it.
3214 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3216 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3217 return args and options.
3218 (eshell-eval-using-options): Use the new return value of
3219 eshell--do-opts to set the options's vars in their scope.
3220 (eshell--set-option): Rename from eshell-set-option.
3222 (eshell--process-option): Rename from eshell-process-option.
3224 (eshell--process-args): Use an `opt-vals' alist to store the options's
3225 values during their processing and return them additionally to the
3228 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3230 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3231 continuation character an operator, as far as indentation is
3232 concerned (Bug#15369).
3234 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3236 * window.el (window--state-put-2): Don't process buffer state
3237 when buffer doesn't exist any more (Bug#15382).
3239 2013-09-15 Glenn Morris <rgm@gnu.org>
3241 * eshell/em-unix.el (eshell/rm):
3242 Make -f ignore missing files. (Bug#15373)
3244 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3245 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3246 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3248 2013-09-14 Glenn Morris <rgm@gnu.org>
3250 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3252 2013-09-13 Glenn Morris <rgm@gnu.org>
3254 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3255 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3257 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3259 * frame.el (x-focus-frame): Mark as declared in frame.c.
3261 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3263 * ls-lisp.el: Use advice-add.
3264 (original-insert-directory): Remove.
3265 (ls-lisp--insert-directory): Rename from insert-directory; add
3266 `orig-fun' argument.
3267 (insert-directory): Advise.
3269 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3271 * term.el (term-emulate-terminal): Decode the command string
3272 before passing it to term-command-hook. (Bug#15337)
3274 2013-09-13 Glenn Morris <rgm@gnu.org>
3276 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3278 * eshell/esh-ext.el (eshell-search-path): Declare.
3280 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3281 Otherwise an error occurs if eshell-dirs module not loaded.
3283 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3285 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3287 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3288 `tramp-check-proper-host'. Check for a valid method name.
3290 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3291 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3292 * net/tramp-sh.el (tramp-maybe-open-connection):
3293 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3295 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3296 also for hash values.
3298 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3300 * term/ns-win.el (parameters): Don't declare as dynamic.
3301 (before-make-frame-hook): Don't add ineffective function.
3303 * eshell/*.el: Use lexical-binding (bug#15231).
3305 2013-09-12 Kenichi Handa <handa@gnu.org>
3307 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3309 2013-09-12 Glenn Morris <rgm@gnu.org>
3311 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3312 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3314 * subr.el (do-after-load-evaluation): Also give compiler warnings
3315 when obsolete files are used (except by obsolete files).
3317 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3318 in the status output, assume `filename' is the first. (Bug#15322)
3320 * vc/vc.el (vc-deduce-fileset): Doc fix.
3322 * calc/calc-help.el (Info-goto-node):
3323 * progmodes/cperl-mode.el (Info-find-node):
3324 * vc/ediff.el (Info-goto-node): Update declarations.
3326 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3328 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3329 (vc-bzr-pull): Require vc-dispatcher.
3330 * vc/vc-git.el (vc-compilation-mode): Declare.
3331 (vc-git-pull): Require vc-dispatcher.
3333 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3335 * progmodes/octave.el (help-button-action): Declare.
3337 * shell.el (shell-directory-tracker): Output error as a message
3338 rather than just returning it as a string.
3339 (shell-process-pushd): Remove useless use of message.
3341 * dframe.el (dframe-timer-fn):
3342 * files.el (dir-locals-read-from-file):
3343 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3345 * reveal.el (reveal-post-command):
3346 * saveplace.el (load-save-place-alist-from-file):
3347 * shell.el (shell-resync-dirs):
3348 * w32-common-fns.el (x-get-selection-value):
3349 * emacs-lisp/copyright.el (copyright-find-copyright):
3350 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3351 * emulation/tpu-edt.el (tpu-copy-keyfile):
3352 * play/bubbles.el (bubbles--mark-neighbourhood):
3353 * progmodes/executable.el
3354 (executable-make-buffer-file-executable-if-script-p):
3355 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3357 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3359 Cleanup Eshell to rely less on dynamic scoping.
3360 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3361 last-value, and ext-command here. Bind `args' closer to `body'.
3362 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3363 (eshell--args): Declare new dynamic var.
3364 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3365 last-value, and ext-command. Pass `args' to `body'.
3366 (eshell-process-args): Bind eshell--args.
3367 (eshell-set-option): Use eshell--args.
3368 * eshell/eshell.el (eshell): Use derived-mode-p.
3369 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3370 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3371 (eshell-glob-function): Declare.
3372 * eshell/esh-util.el: Require cl-lib.
3373 (eshell-read-hosts-file): Avoid add-to-list.
3374 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3376 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3378 (eshell/diff): Remove unused var `err'.
3379 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3381 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3382 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3384 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3385 Move declaration before first use.
3386 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3387 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3390 2013-09-12 Glenn Morris <rgm@gnu.org>
3392 * term/ns-win.el (global-map): Remove binding for ispell-next,
3393 deleted 1999-05-29. (Bug#15357)
3395 2013-09-11 Glenn Morris <rgm@gnu.org>
3397 * echistory.el (electric-command-history): Remove call to deleted func.
3399 * play/landmark.el (landmark-mode): Fix typos.
3401 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3402 Check cvs-sort-ignore-file is bound.
3404 * savehist.el: No need for cl when compiling on Emacs.
3406 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3408 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3410 (eshell-self-insert-command, eshell-send-invisible):
3411 Remove unused argument.
3412 (eshell-handle-control-codes): Remove unused var `orig'.
3413 Avoid delete-backward-char.
3415 * files.el (set-auto-mode): Simplify a bit further.
3417 2013-09-11 Glenn Morris <rgm@gnu.org>
3419 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3420 (set-auto-mode): Don't regexp-quote elements.
3421 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3422 * progmodes/cc-mode.el (interpreter-mode-alist):
3423 * progmodes/ruby-mode.el (interpreter-mode-alist):
3424 Revert previous change.
3426 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3428 * play/snake.el (snake-mode):
3429 * play/mpuz.el (mpuz-mode):
3430 * play/landmark.el (lm-mode):
3431 * play/blackbox.el (blackbox-mode):
3432 * play/5x5.el (5x5-mode):
3433 * obsolete/options.el (Edit-options-mode):
3434 * net/quickurl.el (quickurl-list-mode):
3435 * net/newst-treeview.el (newsticker-treeview-mode):
3436 * mail/rmailsum.el (rmail-summary-mode):
3437 * mail/mspools.el (mspools-mode):
3438 * locate.el (locate-mode):
3439 * ibuffer.el (ibuffer-mode):
3440 * emulation/ws-mode.el (wordstar-mode):
3441 * emacs-lisp/debug.el (debugger-mode):
3442 * array.el (array-mode):
3443 * net/eudc.el (eudc-mode): Use define-derived-mode.
3444 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3445 Move initialization into declaration.
3446 (mairix-searches-mode): Use define-derived-mode.
3447 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3448 (eudc-edit-hotlist): Use dolist.
3449 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3450 (Man-mode): Use define-derived-mode.
3451 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3452 (Info-edit-mode): Use define-derived-mode.
3453 (Info-cease-edit): Use Info-mode.
3454 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3456 (eshell-mode): Use define-derived-mode.
3457 * chistory.el (command-history-mode-map): Rename from
3458 command-history-map.
3459 (command-history-mode): Use define-derived-mode.
3460 (Command-history-setup): Remove function.
3461 * calc/calc.el (calc-trail-mode-map): New var.
3462 (calc-trail-mode): Use define-derived-mode.
3463 (calc-trail-buffer): Set calc-main-buffer manually.
3464 * bookmark.el (bookmark-insert-annotation): New function.
3465 (bookmark-edit-annotation): Use it.
3466 (bookmark-edit-annotation-mode): Make it a proper major mode.
3467 (bookmark-send-edited-annotation): Use derived-mode-p.
3468 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3469 closer to its ideal place. Use \' to match EOS.
3471 * profiler.el (profiler-calltree-find): Use function-equal.
3473 2013-09-10 Glenn Morris <rgm@gnu.org>
3475 * files.el (interpreter-mode-alist): Convert to regexps.
3476 (set-auto-mode): Adapt for this. (Bug#15306)
3477 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3478 Comment out unused variable.
3479 * progmodes/cc-mode.el (interpreter-mode-alist):
3480 * progmodes/python.el (interpreter-mode-alist):
3481 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3482 * progmodes/sh-script.el (sh-set-shell):
3483 No longer use interpreter-mode-alist to get list of shells.
3485 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3487 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3489 * simple.el: Use set-temporary-overlay-map for universal-argument.
3490 (universal-argument-map): Don't use default-bindings (bug#15317).
3491 Bind switch-frame explicitly. Replace universal-argument-minus with
3492 a conditional binding.
3493 (universal-argument-num-events, saved-overriding-map): Remove.
3494 (restore-overriding-map): Remove.
3495 (universal-argument--mode): Rename from save&set-overriding-map,
3497 (universal-argument, universal-argument-more, negative-argument)
3498 (digit-argument): Adjust accordingly.
3499 (universal-argument-minus): Remove.
3500 (universal-argument-other-key): Remove.
3502 * subr.el (with-demoted-errors): Add `format' argument.
3504 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3506 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3507 `tramp-cleanup-connection'.
3509 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3510 parameters KEEP-DEBUG and KEEP-PASSWORD.
3512 * net/tramp.el (tramp-file-name-handler):
3513 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3514 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3515 (tramp-maybe-open-connection):
3516 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3517 Use `tramp-cleanup-connection'.
3519 * net/tramp-sh.el (tramp-maybe-open-connection):
3520 Catch 'uname-changed inside the progress reporter.
3522 2013-09-10 Glenn Morris <rgm@gnu.org>
3524 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3526 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3527 returns "alternate access method" in mode (eg "-rw-r--r--.").
3529 2013-09-08 Glenn Morris <rgm@gnu.org>
3531 * saveplace.el (load-save-place-alist-from-file):
3532 Demote errors. (Bug#15305)
3534 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3536 Improve compatibility with older Emacsen, and XEmacs.
3538 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3539 only if it is bound. It isn't for XEmacs.
3540 (with-tramp-progress-reporter): Do not let-bind `result'.
3541 This yields to scoping errors in XEmacs.
3542 (tramp-handle-make-auto-save-file-name): New function, moved from
3545 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3546 for `make-auto-save-file-name'.
3547 (tramp-adb--gnu-switches-to-ash):
3548 Use `tramp-compat-replace-regexp-in-string'.
3550 * net/tramp-cache.el (tramp-cache-print): Call
3551 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3553 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3554 bound. It isn't for XEmacs.
3556 * net/tramp-compat.el (tramp-compat-copy-file):
3557 Catch `wrong-number-of-arguments' error.
3558 (tramp-compat-replace-regexp-in-string): New defun.
3560 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3561 for `make-auto-save-file-name'.
3562 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3564 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3565 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3566 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3568 * net/tramp-gw.el (tramp-gw-open-network-stream):
3569 Use `tramp-compat-replace-regexp-in-string'.
3571 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3572 Call `tramp-handle-make-auto-save-file-name'.
3573 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3574 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3575 (tramp-sh-file-inotifywait-process-filter):
3576 Use `tramp-compat-replace-regexp-in-string'.
3577 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3579 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3580 for `make-auto-save-file-name'.
3581 (tramp-smb-handle-copy-directory):
3582 Call `tramp-compat-replace-regexp-in-string'.
3583 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3584 (tramp-smb-handle-copy-file): Improve error message.
3585 (tramp-smb-handle-rename-file): Rename directly only in case
3586 `newname' does not exist yet. This is a restriction of smbclient.
3587 (tramp-smb-maybe-open-connection): Rerun the function only when
3588 `auth-sources' is non-nil.
3590 2013-09-08 Kenichi Handa <handa@gnu.org>
3592 * international/characters.el: Set category "^" (Combining) for
3595 2013-09-07 Alan Mackenzie <acm@muc.de>
3597 Correctly fontify Java class constructors.
3598 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3600 (c-recognize-typeless-decls): Set the Java value to t.
3601 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3602 While handling a "(", add a check for, effectively, Java, and handle a
3603 "typeless" declaration there.
3605 2013-09-07 Roland Winkler <winkler@gnu.org>
3607 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3608 field subtitle for entry type book.
3610 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3612 * minibuffer.el: Make minibuffer-complete call completion-in-region
3613 rather than other way around.
3614 (completion--some, completion-pcm--find-all-completions):
3615 Don't delay signals when debugging.
3616 (minibuffer-completion-contents): Beware fields within the
3617 minibuffer contents.
3618 (completion-all-sorted-completions): Use defvar-local.
3619 (completion--do-completion, completion--cache-all-sorted-completions)
3620 (completion-all-sorted-completions, minibuffer-force-complete):
3621 Add args `beg' and `end'.
3622 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3623 (minibuffer-complete): Use completion-in-region.
3624 (completion-complete-and-exit): New fun, extracted from
3625 minibuffer-complete-and-exit.
3626 (minibuffer-complete-and-exit): Use it.
3627 (completion--complete-and-exit): Rename from
3628 minibuffer--complete-and-exit.
3629 (completion-in-region--single-word): New function, extracted from
3630 minibuffer-complete-word.
3631 (minibuffer-complete-word): Use it.
3632 (display-completion-list): Make `common-substring' argument obsolete.
3633 (completion--in-region): Call completion--in-region-1 instead of
3634 minibuffer-complete.
3635 (completion-help-at-point): Pass boundaries to
3636 minibuffer-completion-help as args rather than via an overlay.
3637 (completion-pcm--string->pattern): Use `any-delim'.
3638 (completion-pcm--optimize-pattern): New function.
3639 (completion-pcm--pattern->regex): Handle `any-delim'.
3640 * icomplete.el (icomplete-forward-completions)
3641 (icomplete-backward-completions, icomplete-completions):
3642 Adjust calls to completion-all-sorted-completions and
3643 completion--cache-all-sorted-completions.
3644 (icomplete-with-completion-tables): Default to t.
3645 * emacs-lisp/crm.el (crm--current-element): Rename from
3646 crm--select-current-element. Don't put an overlay but return the
3648 (crm--completion-command): Take two new args to bind to the boundaries.
3649 (crm-completion-help): Adjust accordingly.
3650 (crm-complete): Use completion-in-region.
3651 (crm-complete-word): Use completion-in-region--single-word.
3652 (crm-complete-and-exit): Use completion-complete-and-exit.
3654 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3656 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3659 2013-09-06 Juri Linkov <juri@jurta.org>
3661 * info.el (Info-display-images-node): When image file doesn't exist
3662 display text version of the image if it's provided in the Info file.
3663 Otherwise, display the location of missing image from SRC attribute.
3664 Add help-echo text property from ALT attribute. (Bug#15279)
3666 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3668 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3669 (edit-abbrevs-mode): Use define-derived-mode.
3671 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3672 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3674 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3675 Use define-derived-mode.
3677 * epg.el (epg-start-encrypt): Minor CSE simplification.
3679 2013-09-06 William Xu <william.xwl@gmail.com>
3681 * arc-mode.el: Add support for 7za (bug#15264).
3682 (archive-7z-program): New var.
3683 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3684 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3685 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3687 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3691 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3692 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3693 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3694 (tramp-postfix-host-format, tramp-file-name-regexp)
3695 (tramp-completion-file-name-regexp)
3696 (tramp-completion-dissect-file-name)
3697 (tramp-handle-substitute-in-file-name): Remove 'url case.
3698 (tramp-file-name-regexp-url)
3699 (tramp-completion-file-name-regexp-url): Remove constants.
3701 2013-09-06 Glenn Morris <rgm@gnu.org>
3703 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3705 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3707 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3708 keywords" below "here-doc beginnings" (Bug#15270).
3710 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3712 * subr.el (pop): Use `car-safe'.
3713 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3714 to detect unused `pop' return value.
3716 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3718 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3719 (python-fill-string): Remove unused var `marker'.
3720 (python-skeleton-add-menu-items): Remove unused var `items'.
3722 * international/mule-cmds.el: Require CL.
3723 (find-coding-systems-for-charsets): Avoid add-to-list.
3724 (sanitize-coding-system-list): New function, extracted from
3725 select-safe-coding-system-interactively.
3726 (select-safe-coding-system-interactively): Use it.
3727 (read-input-method-name): Accept symbols for `default'.
3729 * emacs-lisp/advice.el (defadvice): Add indent rule.
3731 2013-09-05 Daniel Hackney <dan@haxney.org>
3735 * net/browse-url.el:
3738 * net/eudcb-ldap.el:
3751 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3752 byte compiler. Remove some unused let-bound variables.
3754 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3756 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3757 a "ref-cell", since it gets better optimized (bug#14883).
3759 2013-09-05 Glenn Morris <rgm@gnu.org>
3761 * progmodes/cc-awk.el (c-forward-sws): Declare.
3763 2013-09-04 Glenn Morris <rgm@gnu.org>
3765 * generic-x.el [rul-generic-mode]: Require cc-mode.
3766 (c++-mode-syntax-table): Declare.
3767 (rul-generic-mode-syntax-table): Init in the defvar.
3769 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3771 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3772 (vc-do-command, vc-set-async-update):
3773 * vc/vc-mtn.el (vc-mtn-dir-status):
3774 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3775 (vc-hg-pull, vc-hg-merge-branch):
3776 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3777 (vc-git-merge-branch):
3778 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3779 (vc-cvs-dir-status-files):
3780 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3781 (vc-bzr-dir-status-files):
3782 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3783 * vc/vc-annotate.el: Use lexical-binding.
3784 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3785 (vc-sentinel-movepoint): Declare.
3786 (vc-annotate): Don't use `goto-line'.
3787 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3788 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3789 (vc-sentinel-movepoint): Declare.
3790 * vc/vc-svn.el: Use lexical-binding.
3791 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3793 * vc/vc-rcs.el: Use lexical-binding.
3795 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3796 `deleted'. Don't drop errors silently.
3798 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3800 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3802 * vc/vc.el (vc-ignore): Rewrite.
3803 (vc-default-ignore): New function.
3804 (vc-default-ignore-completion-table): Use find-ignore-file.
3806 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3807 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3808 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3809 Remove. Most code moved to vc.el.
3811 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3813 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3814 * net/tramp-smb.el (tramp-smb-get-file-entries):
3815 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3816 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3818 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3820 (eww-change-select): Remove unused var `properties'.
3821 (eww-make-unique-file-name): Remove unused var `base'.
3823 * finder.el (finder-compile-keywords): Don't mess with windows.
3825 * calculator.el (calculator-funcall): Fix typo in last change.
3827 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3829 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3830 <pkg>-autoloads.el file stop us.
3832 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3833 warnings, and factor out common code.
3835 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3837 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3838 two-character operators and whether the character preceding them
3839 changes their meaning (Bug#15208).
3841 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3843 Format code sent to Python shell for robustness.
3844 * progmodes/python.el (python-shell-buffer-substring):
3846 (python-shell-send-region, python-shell-send-buffer): Use it.
3848 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3850 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3851 * net/tramp.el (tramp-user-error): ... here.
3852 (tramp-find-method, tramp-check-proper-host)
3853 (tramp-dissect-file-name, tramp-debug-message)
3854 (tramp-handle-shell-command):
3855 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3856 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3858 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3860 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3862 * avoid.el (mouse-avoidance-point-position)
3863 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3866 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3868 * progmodes/python.el (python-shell-completion-get-completions):
3869 Drop use of deleted `comint-last-prompt-overlay'.
3870 (python-nav-if-name-main): New command.
3872 2013-09-01 Glenn Morris <rgm@gnu.org>
3874 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3875 Avoid leading space in $wins. Otherwise the sed command used by
3876 eg compile-main ends up containing "/*.el". (Bug#15170)
3878 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3880 2013-08-30 Glenn Morris <rgm@gnu.org>
3882 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3883 Fix is-this-a-directory logic. (Bug#15220)
3885 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3887 * textmodes/css-mode.el: Use SMIE.
3888 (css-smie-grammar): New var.
3889 (css-smie--forward-token, css-smie--backward-token)
3890 (css-smie-rules): New functions.
3891 (css-mode): Use them.
3892 (css-navigation-syntax-table): Remove var.
3893 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3894 (css-indent-calculate, css-indent-line): Remove functions.
3896 Misc changes to reduce use of `(lambda...); and other cleanups.
3897 * cus-edit.el: Use lexical-binding.
3898 (customize-push-and-save, customize-apropos)
3899 (custom-buffer-create-internal): Use closures.
3900 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3901 * progmodes/ada-xref.el: Use setq.
3902 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3903 * dframe.el: Use lexical-binding.
3904 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3905 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3906 * descr-text.el: Use lexical-binding.
3907 (describe-text-widget, describe-text-sexp, describe-property-list):
3909 * comint.el (comint-history-isearch-push-state): Use a closure.
3910 * calculator.el: Use lexical-binding.
3911 (calculator-number-to-string): Make it work with lexical-binding.
3912 (calculator-funcall): Same and use cl-letf.
3914 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3915 (lisp--company-doc-string, lisp--company-location): New functions.
3916 (lisp-completion-at-point): Use them to improve Company support.
3918 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3919 params of lambda expressions.
3920 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3921 (ruby-smie--opening-pipe-p): New function.
3922 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3923 symbols and matched |...| for formal params.
3924 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3925 from being treated as hanging. Handle "rescue".
3927 2013-08-29 Glenn Morris <rgm@gnu.org>
3929 * progmodes/cc-engine.el (c-pull-open-brace):
3930 Move definition before use.
3932 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3934 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3935 are immutable. Don't use `unsafe' any more.
3936 (cl--defsubst-expand): Don't substitute at the same time as keeping
3937 a residual unused let-binding. Don't use `unsafe' any more.
3939 2013-08-29 Glenn Morris <rgm@gnu.org>
3941 * calendar/cal-china.el (calendar-chinese-year-cache):
3944 * nxml/nxml-util.el (nxml-debug-clear-inside):
3945 Use cl-loop rather than loop.
3947 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3949 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3951 2013-08-28 Glenn Morris <rgm@gnu.org>
3953 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3955 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3957 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3959 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3961 * simple.el (repeat-complex-command--called-interactively-skip):
3963 (repeat-complex-command): Use it (bug#14136).
3965 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3966 (c-define-abbrev-table): Add `doc' argument.
3967 (c-mode-abbrev-table, c++-mode-abbrev-table)
3968 (objc-mode-abbrev-table, java-mode-abbrev-table)
3969 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3970 (awk-mode-abbrev-table): Use it.
3971 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3972 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3973 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3974 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3975 Move initialization into the declaration; and remove any
3978 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3979 and dynamic let binding.
3981 * vc/smerge-mode.el: Remove redundant :group args.
3983 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3986 2013-08-28 Juri Linkov <juri@jurta.org>
3988 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3989 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3990 (isearch-other-meta-char): Handle an undefined shifted printing
3991 character by downshifting it. (Bug#15200)
3993 2013-08-28 Juri Linkov <juri@jurta.org>
3995 * isearch.el (isearch-search): Change regexp error message for
3996 non-regexp searches. (Bug#15166)
3998 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4000 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4001 for portability to hosts where /bin/sh has problems.
4003 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4005 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4007 2013-08-27 Juri Linkov <juri@jurta.org>
4009 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4010 in the keyboard macro. (Bug#15126)
4012 2013-08-27 Juri Linkov <juri@jurta.org>
4014 * isearch.el (isearch-quote-char): Comment out converting unibyte
4015 to multibyte, thus syncing with its `quoted-insert' counterpart.
4018 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4020 * window.el (display-buffer-use-some-window): Add missing
4021 argument in call of get-largest-window (Bug#15185).
4022 Reported by Stephen Leake.
4024 2013-08-27 Glenn Morris <rgm@gnu.org>
4026 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4028 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4030 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4031 from a matcher-function unless there's no more matches (bug#15161).
4033 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4035 * minibuffer.el: Revert change from 2013-08-20.
4037 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4038 with text property `tramp-default', if appropriate.
4039 (tramp-check-proper-host): New defun.
4040 (tramp-dissect-file-name): Do not check hostname. Revert change
4042 (tramp-backtrace): Make VEC-OR-PROC optional.
4044 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4045 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4046 * net/tramp-sh.el (tramp-maybe-open-connection):
4047 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4048 Apply `tramp-check-proper-host'.
4050 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4052 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4053 lambda expression in order to have `describe-variable' display it.
4055 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4057 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4058 BUF can be optional. (Bug#15186)
4060 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4062 * progmodes/flymake.el (flymake-get-real-file-name-function):
4063 Fix broken customization. (Bug#15184)
4065 2013-08-25 Alan Mackenzie <acm@muc.de>
4067 Improve indentation of bracelists defined by macros (without "=").
4069 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4070 expansion begins with "{", regard it as bracelist when it doesn't
4073 Parse C++ inher-intro when there's a template split over 2 lines.
4075 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4076 rigorously the search for "class" etc. followed by ":".
4078 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4079 random languages a regexp which never matches rather than nil.
4081 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4083 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4084 (c-awk-regexp-one-line-possibly-open-char-list-re)
4085 (c-awk-one-line-possibly-open-regexp-re)
4086 (c-awk-one-line-non-syn-ws*-re): Remove.
4087 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4088 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4089 (c-awk-space*-unclosed-regexp-/-re): New constants.
4090 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4091 aren't regexp delimiters.
4093 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4094 handling for a rare situation in AWK Mode involving unterminated
4097 2013-08-23 Glenn Morris <rgm@gnu.org>
4099 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4101 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4103 * files.el (create-file-buffer): If the result would begin with
4104 spaces, prepend a "|" instead of removing them. (Bug#15162)
4106 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4108 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4109 text-properties (bug#15155).
4111 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4113 (calc-keypad-redraw): Remove unused var `pad'.
4114 (calc-keypad-press): Remove unused var `menu'.
4116 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4118 * window.el (display-buffer-pop-up-frame):
4119 Call pop-up-frame-function with BUFFER current so `make-frame' will
4120 use it as the new frame's buffer (Bug#15133).
4122 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4124 * calendar/timeclock.el: Minor cleanups.
4125 (timeclock-ask-before-exiting, timeclock-use-display-time):
4127 (timeclock-modeline-display): Define as alias before the
4129 (timeclock-mode-line-display): Use define-minor-mode.
4130 (timeclock-day-list-template): Make it a function, add an argument.
4131 (timeclock-day-list-required, timeclock-day-list-length)
4132 (timeclock-day-list-debt, timeclock-day-list-span)
4133 (timeclock-day-list-break): Adjust calls accordingly.
4135 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4137 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4138 Use read--expression so that completion works again.
4140 2013-08-21 Sam Steingold <sds@gnu.org>
4142 Add rudimentary inferior shell interaction
4143 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4144 (sh-set-shell): Reset it.
4145 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4146 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4148 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4150 * align.el: Use lexical-binding.
4151 (align-region): Simplify accordingly.
4153 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4155 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4157 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4160 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4164 * net/tramp-cmds.el:
4166 * net/tramp-gvfs.el:
4168 * net/tramp-sh.el: Don't wrap external variable declarations by
4169 `eval-when-compile'.
4171 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4173 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4174 now that Emacs supports ImageMagick animations.
4176 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4178 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4179 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4181 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4183 * window.el (mouse-autoselect-window-select): Do autoselect when
4184 mouse pointer is on margin.
4186 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4188 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4190 2013-08-16 Glenn Morris <rgm@gnu.org>
4192 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4193 Handle "Remote Directory" response of some clients. (Bug#15058)
4195 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4196 Tweak warning. (Bug#14926)
4198 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4199 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4201 * image-mode.el (image-mode-map): Add menu items to reverse,
4202 increase, decrease, reset animation speed.
4203 (image--set-speed, image-increase-speed, image-decrease-speed)
4204 (image-reverse-speed, image-reset-speed): New functions.
4205 (image-mode-map): Add bindings for speed commands.
4207 * image.el (image-animate-get-speed, image-animate-set-speed):
4209 (image-animate-timeout): Respect image :speed property.
4211 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4213 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4214 previous line (bug#15101).
4215 (debugger-eval-expression, debugger-record-expression):
4216 Use read--expression (bug#15102).
4218 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4220 Remove byte compiler warnings, visible when compiling with
4221 `byte-compile-force-lexical-warnings' set to t.
4223 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4224 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4225 (tramp-handle-unhandled-file-name-directory)
4226 (tramp-handle-file-notify-add-watch, tramp-action-login)
4227 (tramp-action-succeed, tramp-action-permission-denied)
4228 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4231 * net/tramp-adb.el (tramp-adb-parse-device-names)
4232 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4233 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4234 (tramp-adb-handle-file-truename): Remove unused arguments.
4236 * net/tramp-cache.el (tramp-flush-directory-property)
4237 (tramp-flush-connection-property, tramp-list-connections)
4238 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4240 * net/tramp-compat.el (tramp-compat-make-temp-file):
4241 Rename FILENAME to F.
4243 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4244 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4245 (tramp-zeroconf-parse-workstation-device-names)
4246 (tramp-zeroconf-parse-webdav-device-names)
4247 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4249 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4250 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4252 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4254 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4255 (tramp-sh-handle-insert-file-contents-literally)
4256 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4258 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4259 Remove unused variables.
4261 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4262 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4263 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4265 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4266 Make them a defconst.
4267 (tramp-uuencode-region): Remove unused variable.
4269 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4271 * frameset.el (frameset--prop-setter): New function.
4272 (frameset-prop): Add gv-setter declaration.
4273 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4274 parameter was already set in FILTERED. Doc fix.
4275 (frameset--record-minibuffer-relationships): Allow saving a
4276 minibufferless frame without its corresponding minibuffer frame.
4277 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4278 frame, if the frame id matches.
4279 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4280 frames before orphaned ones.
4281 (frameset-restore): Warn about orphaned windows, instead of error out.
4283 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4285 * window.el (window-make-atom): Don't overwrite parameter
4287 (display-buffer-in-atom-window): Handle special case where we
4288 split an already atomic window.
4289 (window--major-non-side-window, display-buffer-in-side-window)
4290 (window--side-check): Ignore minibuffer window when walking
4292 (window-deletable-p): Return 'frame only if no other frame uses
4293 our minibuffer window.
4294 (record-window-buffer): Run buffer-list-update-hook.
4295 (split-window): Make sure window--check-frame won't destroy an
4296 existing atomic window in case the new window gets nested
4298 (display-buffer-at-bottom): Ignore minibuffer window when
4299 walking window tree. Don't split a side window.
4300 (pop-to-buffer): Don't set-buffer here, the select-window call
4302 (mouse-autoselect-window-select): Autoselect only if we are in the
4303 text portion of the window.
4305 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4307 * net/shr.el (shr-parse-image-data): New function to grab both the
4308 data itself and the Content-Type.
4309 (shr-put-image): Use it.
4311 * net/eww.el (eww-display-image): Ditto.
4313 * image.el (image-content-type-suffixes): New variable.
4315 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4317 * progmodes/python.el (python-imenu--build-tree)
4318 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4320 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4322 * simple.el (backward-word): Mention the optional argument.
4324 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4326 * frameset.el (frameset--make): Rename constructor from make-frameset.
4327 (frameset-p, frameset-valid-p): Don't autoload.
4328 (frameset-valid-p): Use normal accessors.
4330 2013-08-13 Glenn Morris <rgm@gnu.org>
4332 * progmodes/compile.el (compile-command): Tweak example in doc.
4333 * obsolete/scribe.el (scribe-mode):
4334 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4336 * mail/feedmail.el (feedmail-confirm-outgoing)
4337 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4339 * cus-start.el (truncate-partial-width-windows): Fix type.
4341 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4343 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4345 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4347 * emacs-lisp/timer.el (timer--time-setter): New function.
4348 (timer--time): Use it as gv-setter.
4350 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4351 setter is not a symbol.
4353 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4355 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4356 if sending fails. This makes debugging easier.
4358 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4360 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4361 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4362 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4364 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4366 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4368 2013-08-12 Glenn Morris <rgm@gnu.org>
4370 * format.el (format-annotate-function):
4371 Handle read-only text properties in the source. (Bug#14887)
4373 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4375 * net/eww.el (eww-display-html): Ignore coding system errors.
4376 One web site uses "utf-8lias" as the coding system.
4378 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4380 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4382 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4384 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4385 (tutorial--detailed-help): Remove unused local variables.
4386 (tutorial--save-tutorial-to): Use ignore-errors.
4387 (help-with-tutorial): Use looking-at-p.
4389 * view.el (view-buffer-other-window, view-buffer-other-frame):
4390 Mark unused arguments.
4392 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4393 (woman-select-symbol-fonts, woman, woman-find-file)
4394 (woman-insert-file-contents, woman-non-underline-faces):
4396 (woman1-unquote): Move declaration.
4398 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4399 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4400 argument. Remove unused local variable.
4401 (xml-parse-elem-type): Use string-match-p.
4402 (xml-substitute-numeric-entities): Use ignore-errors.
4404 * calculator.el (calculator): Mark unused argument.
4405 (calculator-paste, calculator-quit, calculator-integer-p):
4407 (calculator-string-to-number, calculator-decimal, calculator-exp)
4408 (calculator-op-or-exp): Use string-match-p.
4410 * dired.el (dired-buffer-more-recently-used-p): Declare.
4411 (dired-insert-set-properties, dired-insert-old-subdirs):
4414 * dired-aux.el (dired-compress): Use ignore-errors.
4415 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4416 (dired-do-async-shell-command, dired-do-shell-command)
4417 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4418 (dired-insert-subdir-validate): Use string-match-p.
4419 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4420 (dired-add-entry): Use string-match-p, looking-at-p.
4421 (dired-insert-subdir-newpos): Remove unused local variable.
4423 * filenotify.el (file-notify-callback): Remove unused local variable.
4425 * filesets.el (filesets-error): Mark unused argument.
4426 (filesets-which-command-p, filesets-filter-dir-names)
4427 (filesets-directory-files, filesets-get-external-viewer)
4428 (filesets-ingroup-get-data): Use string-match-p.
4430 * find-file.el (ff-other-file-name, ff-other-file-name)
4431 (ff-find-the-other-file, ff-cc-hh-converter):
4432 Remove unused local variables.
4433 (ff-get-file-name): Use string-match-p.
4434 (ff-all-dirs-under): Use ignore-errors.
4436 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4437 (follow-select-if-visible): Remove unused local variable.
4439 * forms.el (read-file-filter): Move declaration.
4440 (forms--make-format, forms--make-parser, forms-insert-record):
4441 Quote function with #'.
4442 (forms--update): Use string-match-p. Quote function with #'.
4444 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4445 (help-make-xrefs): Use looking-at-p.
4446 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4448 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4449 (ibuffer-confirm-operation-on): Use string-match-p.
4451 * msb.el (msb-item-handler, msb-dired-item-handler):
4452 Mark unused arguments.
4454 * ses.el (ses-decode-cell-symbol)
4455 (ses-kill-override): Remove unused local variable.
4456 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4457 (ses-load): Use ignore-errors, looking-at-p.
4458 (ses-jump-safe): Use ignore-errors.
4459 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4461 * tabify.el (untabify, tabify): Mark unused arguments.
4463 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4464 Mark unused argument.
4465 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4466 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4468 * emacs-lisp/timer.el (timer--time): Define setter with
4469 gv-define-setter to avoid deprecation warning.
4471 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4472 (*record-cmpl-statistics-p*): Remove (was commented out).
4473 (cmpl-statistics-block): Remove (body was commented out).
4474 All callers changed.
4475 (add-completions-from-buffer, load-completions-from-file):
4476 Remove unused variables.
4478 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4480 * filecache.el (file-cache-delete-file-list):
4481 Print message only when told so.
4482 (file-cache-files-matching): Use #' in mapconcat argument.
4484 * ffap.el (ffap-url-at-point): Fix reference to variable
4485 thing-at-point-default-mail-uri-scheme.
4487 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4489 * subr.el (define-error): New function.
4490 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4491 error-file-not-found and define with define-error.
4492 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4493 and define with define-error.
4494 * userlock.el (file-locked, file-supersession):
4495 * simple.el (mark-inactive):
4496 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4497 * progmodes/ada-mode.el (ada-mode-errors):
4498 * play/life.el (life-extinct):
4499 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4500 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4501 * nxml/rng-util.el (rng-error):
4502 * nxml/rng-uri.el (rng-uri-error):
4503 * nxml/rng-match.el (rng-compile-error):
4504 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4505 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4506 * nxml/nxml-rap.el (nxml-scan-error):
4507 * nxml/nxml-outln.el (nxml-outline-error):
4508 * net/soap-client.el (soap-error):
4509 * net/gnutls.el (gnutls-error):
4510 * net/ange-ftp.el (ftp-error):
4511 * mpc.el (mpc-proc-error):
4512 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4513 (json-number-format, json-string-escape, json-string-format)
4514 (json-key-format, json-object-format):
4515 * jka-compr.el (compression-error):
4516 * international/quail.el (quail-error):
4517 * international/kkc.el (kkc-error):
4518 * emacs-lisp/ert.el (ert-test-failed):
4519 * calc/calc.el (calc-error, inexact-result, math-overflow)
4521 * bookmark.el (bookmark-error-no-filename):
4522 * epg.el (epg-error): Define with define-error.
4524 * time.el (display-time-event-handler)
4525 (display-time-next-load-average): Don't call sit-for since it seems
4526 unnecessary (bug#15045).
4528 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4529 Use #' instead of ' to quote functions.
4530 (checkdoc-output-mode): Use setq-local.
4531 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4532 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4533 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4534 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4535 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4536 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4537 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4538 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4540 * ido.el (ido-completion-help): Fix up compiler warning.
4542 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4544 * frameset.el (frameset-p): Add autoload cookie.
4545 (frameset--jump-to-register): New function, based on code moved from
4547 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4549 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4550 (frameset-restore, frameset-save, frameset-session-filter-alist):
4551 Remove declarations.
4552 (register-alist): Doc fix.
4553 (frameset-to-register): Move to frameset.el.
4554 (jump-to-register, describe-register-1): Remove frameset-specific code.
4556 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4558 * allout-widgets.el (allout-widgets-pre-command-business)
4559 (allout-widgets-post-command-business)
4560 (allout-widgets-after-change-handler)
4561 (allout-decorate-item-and-context, allout-set-boundary-marker)
4562 (allout-body-modification-handler)
4563 (allout-graphics-modification-handler): Mark ignored arguments.
4564 (allout-widgets-post-command-business)
4565 (allout-widgets-exposure-change-processor)
4566 (allout-widgets-exposure-undo-processor)
4567 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4568 (allout-parse-item-at-point, allout-decorate-item-guides)
4569 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4570 * allout.el (epa-passphrase-callback-function): Declare.
4571 (allout-overlay-insert-in-front-handler)
4572 (allout-overlay-interior-modification-handler)
4573 (allout-isearch-end-handler, allout-chart-siblings)
4574 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4575 (allout-yank-processing, allout-process-exposed)
4576 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4577 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4578 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4579 (lisp-indent-defform): Mark ignored arguments.
4580 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4581 (calculate-lisp-indent): Remove unused variables.
4582 * international/characters.el (indian-2-column, arabic-2-column)
4583 (tibetan): Mark ignored arguments.
4584 (use-cjk-char-width-table): Mark ignored arguments.
4585 Remove unused variables.
4586 * international/fontset.el (build-default-fontset-data)
4587 (x-compose-font-name, create-fontset-from-fontset-spec):
4588 Mark ignored arguments.
4589 (fontset-plain-name): Remove unused variables.
4590 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4591 (keyboard-coding-system): Mark ignored arguments.
4592 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4593 * help.el (resize-temp-buffer-window):
4594 * window.el (display-buffer-in-major-side-window)
4595 (display-buffer-in-side-window, display-buffer-in-previous-window):
4596 Remove unused variables.
4597 * isearch.el (isearch-forward-symbol):
4598 * version.el (emacs-bzr-version-bzr):
4599 * international/mule-cmds.el (current-language-environment):
4600 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4602 * term/pc-win.el (x-list-fonts, x-display-planes)
4603 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4604 (x-server-version, x-display-screens, x-display-mm-height)
4605 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4606 (x-selection-owner-p, x-own-selection-internal)
4607 (x-disown-selection-internal, x-get-selection-internal)
4608 (msdos-initialize-window-system):
4609 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4610 * term/x-win.el (x-handle-no-bitmap-icon):
4611 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4612 (vc-default-find-file-hook, vc-default-extra-menu):
4613 Mark ignored arguments.
4615 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4617 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4618 break-condition in the context of the debugged code (bug#12685).
4620 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4623 Do not use an overlay to highlight the last prompt. (Bug#14744)
4624 (comint-mode): Make comint-last-prompt buffer local.
4625 (comint-last-prompt): New variable.
4626 (comint-last-prompt-overlay): Remove. Superseded by
4628 (comint-snapshot-last-prompt, comint-output-filter):
4629 Use comint-last-prompt.
4631 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4633 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4634 (frameset-save): Check validity of the resulting frameset.
4636 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4638 * ido.el (ido-record-command): Add doc string.
4640 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4642 * frameset.el (frameset): Do not disable creation of the default
4643 frameset-p predicate. Doc fix.
4644 (frameset-valid-p): New function, copied from the old predicate-p.
4645 Add additional checks.
4646 (frameset-restore): Check with frameset-valid-p.
4647 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4648 (frameset-name, frameset-description, frameset-properties)
4649 (frameset-states): Add docstring.
4650 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4651 (frameset-filter-alist): Doc fixes.
4653 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4655 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4657 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4659 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4660 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4661 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4662 (byte-compile-normal-call): Remove obsolescence check.
4664 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4666 * frameset.el (frameset-restore): Doc fix.
4668 * register.el (frameset-frame-id, frameset-frame-with-id)
4669 (frameset-p, frameset-restore, frameset-save): Declare.
4670 (register-alist): Document framesets.
4671 (frameset-session-filter-alist): Declare.
4672 (frameset-to-register): New function.
4673 (jump-to-register): Implement jumping to framesets. Doc fix.
4674 (describe-register-1): Describe framesets.
4676 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4678 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4680 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4681 Use lexical-binding.
4683 * frameset.el (frameset): Use type vector, not list (incompatible
4684 change). Do not declare a new constructor, use the default one.
4685 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4686 `name' and `description', respectively, and add read-only slot
4687 `timestamp'. Doc fixes.
4688 (frameset-copy, frameset-persistent-filter-alist)
4689 (frameset-filter-alist, frameset-switch-to-gui-p)
4690 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4691 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4692 (frameset-filter-iconified, frameset-keep-original-display-p):
4694 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4695 Rename from frameset-filter-(save|restore)-param. All callers changed.
4697 (frameset-p): Adapt to change to vector and be more thorough.
4698 Change arg name to OBJECT. Doc fix.
4699 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4700 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4701 All callers changed.
4702 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4703 All callers changed.
4704 (frameset--record-minibuffer-relationships): Rename from
4705 frameset--process-minibuffer-frames. All callers changed.
4706 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4707 Use new default constructor (again). Doc fix.
4708 (frameset--find-frame-if): Rename from `frameset--find-frame.
4709 All callers changed.
4710 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4711 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4713 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4714 PARAMETERS and WINDOW-STATE, respectively.
4715 (frameset-restore): Add new keyword argument PREDICATE.
4716 Reset frameset--target-display to nil. Doc fix.
4718 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4720 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4722 (bat-mode-syntax-table): Mark \n as end-of-comment.
4723 (bat-font-lock-keywords): Remove comment rule.
4725 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4726 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4728 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4729 (byte-compile-callargs-warn): Use `push'.
4730 (byte-compile-arglist-warn): Ignore higher-order "calls".
4731 (byte-compile-file-form-autoload): Use `pcase'.
4732 (byte-compile-function-form): If quoting a symbol, check that it exists.
4734 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4736 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4737 and add a few popular commands found in batch files.
4738 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4739 (dos-mode): Doc fixes.
4741 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4743 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4744 (dos-mode): Use setq-local. Add space after "rem".
4745 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4746 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4748 2013-08-07 Arni Magnusson <arnima@hafro.is>
4750 * progmodes/dos.el: New file.
4751 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4754 2013-08-06 Glenn Morris <rgm@gnu.org>
4756 * calendar/calendar.el: Add new faces, and day-header-array.
4757 (calendar-weekday-header, calendar-weekend-header)
4758 (calendar-month-header): New faces.
4759 (calendar-day-header-construct): New function.
4760 (calendar-day-header-width): Also :set calendar-day-header-array.
4761 (calendar-american-month-header, calendar-european-month-header)
4762 (calendar-iso-month-header): Use calendar- faces.
4763 (calendar-generate-month):
4764 Use calendar-day-header-array for day headers; apply faces to them.
4765 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4766 (calendar-abbrev-construct): Add optional maxlen argument.
4767 (calendar-day-name-array): Doc fix.
4768 (calendar-day-name-array, calendar-abbrev-length)
4769 (calendar-day-abbrev-array):
4770 Also :set calendar-day-header-array, and maybe redraw.
4771 (calendar-day-header-array): New option. (Bug#15007)
4772 (calendar-font-lock-keywords): Set to nil and make obsolete.
4773 (calendar-day-name): Add option to use header array.
4775 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4777 * net/shr.el (shr-render-td): Remove debugging.
4778 (shr-render-td): Make width computation consistent by defaulting
4779 all zero-width columns to 10 characters. This may not be optimal,
4780 but it's at least consistent.
4781 (shr-make-table-1): Redo last change to fix the real problem in
4784 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4786 * files.el (cache-long-line-scans):
4787 Make obsolete alias to `cache-long-scans'.
4789 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4791 * frameset.el (frameset, frameset-filter-alist)
4792 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4793 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4794 (frameset-compute-pos): Rename from frameset--compute-pos,
4796 (frameset-move-onscreen): Use frameset-compute-pos.
4797 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4799 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4800 Fix typos in docstrings.
4802 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4804 * frame.el (get-other-frame): Tiny cleanup.
4806 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4808 * vc/vc.el (vc-default-ignore-completion-table):
4809 Silence byte-compiler warning.
4811 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4812 slot , which can indeed be nil.
4813 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4814 Move entry for `left' from persistent to live filter alist.
4815 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4817 (frameset-filter-params): When restoring a frame, copy items added to
4818 `filtered', to avoid unwittingly modifying the original parameters.
4819 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4820 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4822 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4823 to use looking-at-p instead of looking-at. (Bug#15028)
4825 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4827 Revert introduction of isearch-filter-predicates (bug#14714).
4828 Rely on add-function instead.
4829 * isearch.el (isearch-filter-predicates): Rename it back to
4830 isearch-filter-predicate.
4831 (isearch-message-prefix): Use advice-function-mapc and advice
4832 properties to get the isearch-message-prefix.
4833 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4834 instead of run-hook-with-args-until-failure.
4835 (isearch-filter-visible): Not obsolete any more.
4836 * loadup.el: Preload nadvice.
4837 * replace.el (perform-replace): Revert to funcall
4838 instead of run-hook-with-args-until-failure.
4839 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4840 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4841 dired-isearch-filenames-toggle; make it into a proper minor mode.
4842 Use add/remove-function.
4843 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4844 Call the minor-mode rather than add/remove-hook.
4845 (dired-isearch-filter-filenames):
4846 Remove isearch-message-prefix property.
4847 * info.el (Info--search-loop): New function, extracted from Info-search.
4848 Funcall isearch-filter-predicate instead of
4849 run-hook-with-args-until-failure isearch-filter-predicates.
4850 (Info-search): Use it.
4851 (Info-mode): Use isearch-filter-predicate instead of
4852 isearch-filter-predicates.
4854 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4856 Do not call to `selected-window' where it is assumed by default.
4857 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4858 `window-hscroll', `window-width', `window-height', `window-buffer',
4859 `window-frame', `window-start', `window-point', `next-window'
4860 and `window-display-table'.
4861 * abbrev.el (abbrev--default-expand):
4862 * bs.el (bs--show-with-configuration):
4863 * buff-menu.el (Buffer-menu-mouse-select):
4864 * calc/calc.el (calc):
4865 * calendar/calendar.el (calendar-generate-window):
4866 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4868 * comint.el (send-invisible, comint-dynamic-complete-filename)
4869 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4870 * completion.el (complete):
4871 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4872 * disp-table.el (describe-current-display-table):
4873 * doc-view.el (doc-view-insert-image):
4874 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4875 * ehelp.el (with-electric-help):
4876 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4877 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4878 * emacs-lisp/helper.el (Helper-help-scroller):
4879 * emulation/cua-base.el (cua--post-command-handler-1):
4880 * eshell/esh-mode.el (eshell-output-filter):
4881 * ffap.el (ffap-gnus-wrapper):
4882 * help-macro.el (make-help-screen):
4883 * hilit-chg.el (highlight-compare-buffers):
4884 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4885 * hl-line.el (global-hl-line-highlight):
4886 * icomplete.el (icomplete-simple-completing-p):
4887 * isearch.el (isearch-done):
4888 * jit-lock.el (jit-lock-stealth-fontify):
4889 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4890 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4891 * mpc.el (mpc-tagbrowser, mpc):
4892 * net/rcirc.el (rcirc-any-buffer):
4893 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4894 * play/landmark.el (landmark-max-width, landmark-max-height):
4895 * play/zone.el (zone):
4896 * progmodes/compile.el (compilation-goto-locus):
4897 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4898 * progmodes/etags.el (find-tag-other-window):
4899 * progmodes/fortran.el (fortran-column-ruler):
4900 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4901 * progmodes/verilog-mode.el (verilog-point-text):
4902 * reposition.el (reposition-window):
4903 * rot13.el (toggle-rot13-mode):
4904 * server.el (server-switch-buffer):
4905 * shell.el (shell-dynamic-complete-command)
4906 (shell-dynamic-complete-environment-variable):
4907 * simple.el (insert-buffer, set-selective-display)
4908 (delete-completion-window):
4909 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4910 (speedbar-recenter):
4911 * startup.el (fancy-splash-head):
4912 * textmodes/ispell.el (ispell-command-loop):
4913 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4914 * tutorial.el (help-with-tutorial):
4915 * vc/add-log.el (add-change-log-entry):
4916 * vc/compare-w.el (compare-windows):
4917 * vc/ediff-help.el (ediff-indent-help-message):
4918 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4919 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4920 (ediff-setup-control-frame):
4921 * vc/emerge.el (emerge-position-region):
4922 * vc/pcvs-util.el (cvs-bury-buffer):
4923 * window.el (walk-windows, mouse-autoselect-window-select):
4924 * winner.el (winner-set-conf, winner-undo): Related users changed.
4926 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4928 * frameset.el (frameset--set-id): Doc fix.
4929 (frameset-frame-id, frameset-frame-id-equal-p)
4930 (frameset-locate-frame-id): New functions.
4931 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4932 (frameset-restore): Use them.
4934 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4936 Do not call to `selected-frame' where it is assumed by default.
4937 Affected functions are `raise-frame', `redraw-frame',
4938 `frame-first-window', `frame-terminal' and `delete-frame'.
4939 * calendar/appt.el (appt-disp-window):
4940 * epg.el (epg-wait-for-completion):
4941 * follow.el (follow-delete-other-windows-and-split)
4942 (follow-avoid-tail-recenter):
4943 * international/mule.el (set-terminal-coding-system):
4944 * mail/rmail.el (rmail-mail-return):
4945 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4946 * progmodes/f90.el (f90-add-imenu-menu):
4947 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4948 * server.el (server-switch-buffer):
4949 * simple.el (delete-completion-window):
4951 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4952 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4953 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4954 * vc/ediff.el (ediff-documentation): Related users changed.
4955 * frame.el (selected-terminal): Remove the leftover.
4957 2013-08-05 Glenn Morris <rgm@gnu.org>
4959 * calendar/calendar.el (calendar-generate-month):
4960 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4961 (calendar-generate-month, calendar-font-lock-keywords):
4962 Fix for calendar-day-header-width > length of any day name.
4964 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4966 * desktop.el (desktop-clear): Use new name of sort predicate.
4968 * frameset.el (frameset): Add docstring. Move :version property to its
4970 (frameset-copy): Rename from copy-frameset.
4971 (frameset-p): Check more thoroughly.
4972 (frameset-prop): Do not check for :version, which is no longer a prop.
4973 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4974 Use new :never value instead of t.
4975 (frameset-filter-alist): Expand and clarify docstring.
4976 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4977 (frameset-filter-minibuffer, frameset-filter-save-param)
4978 (frameset-filter-restore-param, frameset-filter-iconified):
4979 Add pointer to docstring of frameset-filter-alist.
4980 (frameset-filter-params): Rename filter values to be more meaningful:
4981 :never instead of t, and reverse the meanings of :save and :restore.
4982 (frameset--process-minibuffer-frames): Clarify error message.
4983 (frameset-save): Avoid unnecessary and confusing call to framep.
4984 Use new BOA constructor for framesets.
4985 (frameset--reuse-list): Doc fix.
4986 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4987 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4988 (frameset-minibufferless-first-p): Doc fix.
4989 Rename from frameset-sort-frames-for-deletion.
4990 (frameset-restore): Doc fixes. Use new function names.
4991 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4993 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4995 * desktop.el (desktop-restore-forces-onscreen)
4996 (desktop-restore-reuses-frames): Document :keyword constant values.
4997 (desktop-filter-parameters-alist): Remove, now identical to
4998 frameset-filter-alist.
4999 (desktop--filter-tty*): Remove, moved to frameset.el.
5000 (desktop-save-frameset, desktop-restore-frameset):
5001 Do not pass :filters argument.
5003 * frameset.el (frameset-live-filter-alist)
5004 (frameset-persistent-filter-alist): New variables.
5005 (frameset-filter-alist): Use them. Add autoload cookie.
5006 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5007 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5008 `frameset--id' (it's supposed to be internal to frameset.el).
5009 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5010 (frameset--initial-params): New function.
5011 (frameset--get-frame): Use it. Doc fix.
5012 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5013 Accept :all, not 'all.
5014 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5015 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5016 with fbound symbols. Fix frame id matching, and remove matching ids if
5017 the frame being restored is deleted. Obey :delete.
5019 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5021 * subr.el (macrop): New function.
5022 (text-clone--maintaining): New var.
5023 (text-clone--maintain): Rename from text-clone-maintain. Use it
5024 instead of inhibit-modification-hooks.
5026 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5027 a proxy, so as handle autoloads and redefinitions of the target.
5028 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5030 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5031 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5032 (pcase--mutually-exclusive-p): New function.
5033 (pcase--split-consp): Use it.
5034 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5035 mutually exclusive with the current predicate.
5037 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5038 (edebug-macrop): Remove. Use `macrop' instead.
5039 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5041 * eshell/esh-cmd.el (eshell-macrop):
5042 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5044 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5046 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5047 (advice-mapc): New function, using it.
5048 (advice-function-member-p): New function.
5049 (advice--normalize): Store the cdr in advice--saved-rewrite since
5050 that's the part that will be changed.
5051 (advice--symbol-function): New function.
5052 (advice-remove): Handle removal before the function is defined.
5053 Adjust to new advice--saved-rewrite.
5054 (advice-member-p): Use advice-function-member-p and
5055 advice--symbol-function.
5057 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5059 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5060 (frameset-filter-minibuffer): Doc fix.
5061 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5062 (frameset--set-id, frameset--process-minibuffer-frames)
5063 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5064 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5066 * desktop.el (desktop-clear): Only delete frames when called
5067 interactively and desktop-restore-frames is non-nil. Doc fix.
5068 (desktop-read): Set desktop-saved-frameset to nil.
5070 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5072 * vc/vc.el (vc-ignore): Rewrite.
5073 (vc-default-ignore-completion-table):
5075 (vc--add-line, vc--remove-regexp): New functions.
5077 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5078 (vc-svn-ignore-completion-table): New function.
5080 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5081 (vc-hg-ignore-completion-table):
5082 (vc-hg-find-ignore-file): New functions.
5084 * vc/vc-git.el (vc-git-ignore): Rewrite.
5085 (vc-git-ignore-completion-table):
5086 (vc-git-find-ignore-file): New functions.
5088 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5090 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5091 (vc-bzr-ignore-completion-table):
5092 (vc-bzr-find-ignore-file): New functions.
5094 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5096 * frameset.el (frameset-prop): New function and setter.
5097 (frameset-save): Do not modify frame list passed by the caller.
5099 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5101 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5103 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5105 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5106 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5108 * custom.el (custom-initialize-default, custom-initialize-set)
5109 (custom-initialize-reset, custom-initialize-changed): Affect the
5110 toplevel-default-value (bug#6275, bug#14586).
5111 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5114 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5116 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5117 Add cl-def* expressions.
5119 * frameset.el (frameset-filter-params): Fix order of arguments.
5121 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5123 Move code related to saving frames to frameset.el.
5124 * desktop.el: Require frameset.
5125 (desktop-restore-frames): Doc fix.
5126 (desktop-restore-reuses-frames): Rename from
5127 desktop-restoring-reuses-frames.
5128 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5129 (desktop-clear): Clear frames too.
5130 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5131 (desktop--filter-tty*, desktop-save, desktop-read):
5132 Use frameset functions.
5133 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5134 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5135 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5136 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5137 (desktop--process-minibuffer-frames, desktop-save-frames)
5138 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5139 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5140 (desktop--sort-states, desktop-restoring-frames-p)
5141 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5142 (desktop-restoring-frameset-p, desktop-restore-frameset)
5143 (desktop--check-dont-save, desktop-save-frameset): New functions.
5144 (desktop--app-id): New constant.
5145 (desktop-first-buffer, desktop-buffer-ok-count)
5146 (desktop-buffer-fail-count): Move before first use.
5147 * frameset.el: New file.
5149 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5151 * files.el: Use lexical-binding.
5152 (dir-locals-read-from-file): Remove unused `err' variable.
5153 (hack-dir-local-variables--warned-coding): New var.
5154 (hack-dir-local-variables): Use it to avoid repeated warnings.
5155 (make-backup-file-name--default-function): New function.
5156 (make-backup-file-name-function): Use it as default.
5157 (buffer-stale--default-function): New function.
5158 (buffer-stale-function): Use it as default.
5159 (revert-buffer-insert-file-contents--default-function): New function.
5160 (revert-buffer-insert-file-contents-function): Use it as default.
5161 (insert-directory): Avoid add-to-list.
5163 * autorevert.el (auto-revert-handler): Simplify.
5164 Use buffer-stale--default-function.
5166 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5168 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5170 * whitespace.el (whitespace-ensure-local-variables): New function.
5171 (whitespace-cleanup-region): Call it.
5172 (whitespace-turn-on): Call it.
5174 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5176 Complete file name handlers.
5178 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5179 (tramp-handle-verify-visited-file-modtime)
5180 (tramp-handle-file-notify-rm-watch): New functions.
5181 (tramp-call-process): Do not bind `default-directory'.
5183 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5184 Order alphabetically.
5185 [access-file, add-name-to-file, dired-call-process]:
5186 [dired-compress-file, file-acl, file-notify-rm-watch]:
5187 [file-ownership-preserved-p, file-selinux-context]:
5188 [make-directory-internal, make-symbolic-link, set-file-acl]:
5189 [set-file-selinux-context, set-visited-file-modtime]:
5190 [verify-visited-file-modtime]: Add handler.
5191 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5193 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5194 [file-notify-add-watch, file-notify-rm-watch]:
5195 [set-file-times, set-visited-file-modtime]:
5196 [verify-visited-file-modtime]: Add handler.
5197 (with-tramp-gvfs-error-message)
5198 (tramp-gvfs-handle-set-visited-file-modtime)
5199 (tramp-gvfs-fuse-file-name): Remove.
5200 (tramp-gvfs-handle-file-notify-add-watch)
5201 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5202 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5204 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5205 Order alphabetically.
5206 [file-notify-rm-watch ]: Use default Tramp handler.
5207 [executable-find]: Remove private handler.
5208 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5209 `default-directory'.
5210 (tramp-sh-handle-executable-find)
5211 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5212 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5213 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5214 Do not use `format' in `tramp-message'.
5216 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5217 [file-notify-rm-watch, set-visited-file-modtime]:
5218 [verify-visited-file-modtime]: Add handler.
5219 (tramp-smb-call-winexe): Do not bind `default-directory'.
5221 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5223 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5225 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5227 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5229 (log-view-diff-changeset): Same.
5230 (log-view-diff-common): Call backend command `previous-revision'
5231 to find out the previous revision, in both cases. Swap the
5232 variables `to' and `fr', so that `fr' usually refers to the
5233 earlier revision (Bug#14989).
5235 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5237 * ibuf-ext.el (ibuffer-filter-by-filename):
5238 Make it work with dired buffers too.
5240 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5242 * emacs-lisp/re-builder.el (reb-color-display-p):
5243 * files.el (save-buffers-kill-terminal):
5244 * net/browse-url.el (browse-url):
5245 * server.el (server-save-buffers-kill-terminal):
5246 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5247 Prefer nil to selected-frame for the first arg of frame-parameter.
5249 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5251 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5253 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5255 * minibuffer.el (completion--twq-all): Try and preserve each
5256 completion's case choice (bug#14907).
5258 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5260 * net/network-stream.el (open-network-stream): Mention the new
5261 :nogreeting parameter.
5262 (network-stream-open-starttls): Use the :nogreeting parameter
5265 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5267 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5268 more natural than popping.
5270 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5271 (shr-urlify): Highlight under mouse.
5273 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5275 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5277 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5279 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5282 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5283 point-min==1. Fix search string. Fix parentheses missing.
5285 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5286 assume point-min==1. Fix search string. Fix parentheses missing.
5288 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5290 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5293 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5295 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5296 initial frame is minibuffer-less. (Bug#14841)
5298 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5300 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5303 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5304 (tramp-maybe-open-connection): Use it.
5306 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5308 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5309 minimal set of parameters passed when creating a frame, because
5310 the minibuffer status of a frame cannot be changed later.
5312 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5314 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5315 replace-regexp-in-string and inadvertent omissions in previous change.
5316 (todo-filter-items): Ensure only file names are comma-separated in
5317 name of filtered items buffer.
5319 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5321 * desktop.el: Optionally force offscreen frames back onscreen.
5322 (desktop-restoring-reuses-frames): New option.
5323 (desktop--compute-pos, desktop--move-onscreen): New functions.
5324 (desktop--make-frame): Use desktop--move-onscreen.
5326 2013-07-27 Alan Mackenzie <acm@muc.de>
5328 Fontify a Java generic method as a function.
5329 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5332 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5334 * calendar/todo-mode.el: Add command to rename todo files.
5335 (todo-rename-file): New command.
5336 (todo-key-bindings-t): Add key binding for it. Change the
5337 bindings of todo-filter-regexp-items(-multifile) to use `x'
5338 instead of `r', since the latter is better suited to the new
5341 2013-07-27 Alan Mackenzie <acm@muc.de>
5343 Make Java try-with-resources statement parse properly.
5344 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5345 (c-block-stmt-1-2-key): New language constants/variables.
5346 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5347 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5348 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5349 with c-block-stmt-1-2-key.
5351 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5353 * desktop.el (desktop--make-frame): Apply most frame parameters after
5354 creating the frame to force (partially or totally) offscreen frames to
5355 be restored as such.
5357 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5359 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5362 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5364 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5365 `base' arg of backtrace-frame.
5367 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5369 * simple.el (list-processes): Doc fix.
5371 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5373 * desktop.el (desktop--select-frame):
5374 Try harder to reuse existing frames.
5376 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5378 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5379 (edebug-eval): Use backtrace-eval.
5380 (edebug--display, edebug--recursive-edit): Don't let-bind the
5381 edebug-outer-* vars that keep track of variables we locally let-bind.
5382 (edebug-outside-excursion): Don't restore outside values of locally
5384 (edebug--display): Use user-error.
5385 (cl-lexical-debug, cl-debug-env): Remove.
5387 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5389 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5390 are restored to be sure that they are visible before deleting any
5393 2013-07-26 Matthias Meulien <orontee@gmail.com>
5395 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5396 vc-print-root-log. (Bug#14948)
5398 2013-07-26 Richard Stallman <rms@gnu.org>
5400 Add aliases for encrypting mail.
5401 * epa.el (epa-mail-aliases): New option.
5402 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5403 Bind inhibit-read-only so read-only text doesn't ruin everything.
5404 (epa-mail-default-recipients): New subroutine broken out.
5405 Handle epa-mail-aliases.
5407 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5409 Add support for lexical variables to the debugger's `e' command.
5410 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5411 vars, except for debugger-outer-match-data.
5412 (debugger-frame-number): Move check for "on a function call" from
5413 callers into it. Add `skip-base' argument.
5414 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5415 (debugger-env-macro): Only reset the state stored in non-variables,
5416 i.e. current-buffer and match-data.
5417 (debugger-eval-expression): Rewrite using backtrace-eval.
5418 * subr.el (internal--called-interactively-p--get-frame): Remove.
5419 (called-interactively-p):
5420 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5421 `base' arg of backtrace-frame instead.
5423 2013-07-26 Glenn Morris <rgm@gnu.org>
5425 * align.el (align-regexp): Doc fix. (Bug#14857)
5426 (align-region): Explicit error if subexpression missing/does not match.
5428 * simple.el (global-visual-line-mode):
5429 Do not duplicate the mode lighter. (Bug#14858)
5431 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5433 * window.el (display-buffer): In display-buffer bind
5434 split-window-keep-point to t, bug#14829.
5436 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5438 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5439 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5440 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5441 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5443 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5444 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5446 2013-07-25 Glenn Morris <rgm@gnu.org>
5448 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5450 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5452 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5453 parameter to modify-frame-parameters if the value has not changed;
5454 this is a workaround for bug#14949.
5455 (desktop--make-frame): On cl-delete-if call, check parameter name,
5458 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5460 * vc/vc.el (vc-ignore): New function.
5462 * vc/vc-svn.el (vc-svn-ignore): New function.
5464 * vc/vc-hg.el (vc-hg-ignore): New function.
5466 * vc/vc-git.el (vc-git-ignore): New function.
5468 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5469 (vc-dir-ignore): New function.
5471 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5472 (cvs-append-to-ignore): Move here from pcvs.el.
5474 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5476 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5478 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5480 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5481 (desktop-restore-frames): Warn when deleting an existing frame failed.
5483 2013-07-24 Glenn Morris <rgm@gnu.org>
5485 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5487 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5489 * filenotify.el (file-notify-supported-p):
5490 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5493 * autorevert.el (auto-revert-use-notify):
5494 (auto-revert-notify-add-watch):
5495 * net/tramp.el (tramp-file-name-for-operation):
5496 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5497 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5498 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5499 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5500 Remove `file-notify-supported-p' entry.
5502 2013-07-24 Glenn Morris <rgm@gnu.org>
5504 * printing.el: Replace all uses of deleted ps-windows-system,
5505 ps-lp-system, ps-flatten-list with lpr- versions.
5507 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5509 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5510 checked with memq (bug#14935).
5512 * files.el (revert-buffer-function): Use a non-nil default.
5513 (revert-buffer-preserve-modes): Declare var to
5514 provide access to the `preserve-modes' argument.
5515 (revert-buffer): Let-bind it.
5516 (revert-buffer--default): New function, extracted from revert-buffer.
5518 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5520 * lpr.el: Signal print errors more prominently.
5521 (print-region-function): Don't default to nil.
5522 (lpr-print-region): New function, extracted from print-region-1.
5523 Check lpr's return value and signal an error in case of problem.
5524 (print-region-1): Use it.
5525 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5527 (ps-printer-name): Default to nil.
5528 (ps-printer-name-option): Default to lpr-printer-switch.
5529 (ps-print-region-function): Don't default to nil.
5530 (ps-postscript-code-directory): Simplify default.
5531 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5532 (ps-string-list, ps-eval-switch, ps-flatten-list)
5533 (ps-flatten-list-1): Remove.
5534 (ps-multibyte-buffer): Avoid setq.
5535 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5536 (print-region-function, ps-print-region-function): Don't set them here.
5538 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5540 * ido.el (ido-fractionp):
5541 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5542 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5543 (ido-max-directory-size, ido-max-dir-file-cache)
5544 (ido-decorations): Doc fix.
5546 * ansi-color.el: Fix old URL.
5548 2013-07-23 Michael R. Mauger <michael@mauger.com>
5550 * progmodes/sql.el: Version 3.3
5551 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5552 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5553 (sql-interactive-remove-continuation-prompt): Rewrite, use
5554 functions above. Fix continuation prompt and complete output line
5556 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5557 redirected output buffer.
5558 (sql-mode): Restore deleted code (Bug#13591).
5560 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5562 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5564 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5566 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5568 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5569 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5570 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5572 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5574 * desktop.el (desktop-clear): Simplify; remove useless checks
5575 against invalid buffer names.
5576 (desktop-list*): Use cl-list*.
5577 (desktop-buffer-info, desktop-create-buffer): Simplify.
5579 2013-07-23 Leo Liu <sdl.web@gmail.com>
5581 * bookmark.el (bookmark-make-record): Restore NAME as a default
5584 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5586 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5587 extracted from autoload--insert-text.
5588 (autoload--insert-text): Remove.
5589 (autoload--print-cookie-text): New function, extracted from
5590 autoload--insert-cookie-text.
5591 (autoload--insert-cookie-text): Remove.
5592 (autoload-generate-file-autoloads): Adjust calls accordingly.
5594 * winner.el (winner-hook-installed-p): Remove.
5595 (winner-mode): Simplify accordingly.
5597 * subr.el (add-to-list): Fix compiler-macro when `append' is
5598 not constant. Don't use `cl-member' for the base case.
5600 * progmodes/subword.el: Fix boundary case (bug#13758).
5601 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5603 (subword-backward-regexp): Make it a constant.
5604 (subword-forward-internal): Don't treat a trailing capital as the
5605 beginning of a word.
5607 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5609 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5610 global value of tabulated-list-revert-hook (bug#14930).
5612 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5614 * desktop.el: Require 'cl-lib.
5615 (desktop-before-saving-frames-functions): New hook.
5616 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5617 for frames being saved. Rename from desktop--save-minibuffer-frames.
5618 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5619 Do not save frames with non-nil `desktop-dont-save' parameter.
5620 Filter out deleted frames.
5621 (desktop--find-frame): Use cl-find-if.
5622 (desktop--select-frame): Use cl-(first|second|third) to access values
5624 (desktop--make-frame): Use cl-delete-if.
5625 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5626 (desktop-restore-frames): Use cl-(first|second|third) to access values
5627 of desktop-mini. Look for visible frame at the end, not while
5630 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5631 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5632 Use string-match-p, looking-at-p (bug#14927).
5634 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5636 * desktop.el (desktop-saved-frame-states):
5637 Rename from desktop--saved-states; all users changed.
5638 (desktop-save-frames): Rename from desktop--save-frames.
5639 Do not save state to desktop file.
5640 (desktop-save): Save desktop-saved-frame-states to desktop file
5642 (desktop-restoring-frames-p): New function.
5643 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5644 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5645 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5647 * desktop.el: Correctly restore iconified frames.
5648 (desktop--filter-iconified-position): New function.
5649 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5651 2013-07-20 Glenn Morris <rgm@gnu.org>
5653 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5654 Let `message' do the formatting.
5655 (def-gdb-preempt-display-buffer): Add explicit format.
5657 * image-dired.el (image-dired-track-original-file):
5658 Use with-current-buffer.
5659 (image-dired-track-thumbnail): Use with-current-buffer.
5660 Avoid changing point of wrong window.
5662 * image-dired.el (image-dired-track-original-file):
5663 Avoid changing point of wrong window. (Bug#14909)
5665 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5667 * progmodes/gdb-mi.el (gdb-done-or-error):
5668 Guard against "%" in gdb output. (Bug#14127)
5670 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5672 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5675 * international/mule.el (coding-system-iso-2022-flags): Fix last
5678 2013-07-20 Kenichi Handa <handa@gnu.org>
5680 * international/mule.el (coding-system-iso-2022-flags):
5681 Add `8-bit-level-4'. (Bug#8522)
5683 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5685 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5688 * net/eww.el (eww-process-text-input): Allow inputting when the
5689 point is at the start of the line, as the properties aren't
5692 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5695 2013-07-19 Richard Stallman <rms@gnu.org>
5697 * epa.el (epa-popup-info-window): Doc fix.
5699 * subr.el (split-string): New arg TRIM.
5701 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5703 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5704 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5706 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5708 * filenotify.el (file-notify--library): Rename from
5709 `file-notify-support'. Do not autoload. Adapt all uses.
5710 (file-notify-supported-p): New defun.
5712 * autorevert.el (auto-revert-use-notify):
5713 Use `file-notify-supported-p' instead of `file-notify-support'.
5715 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5717 * net/tramp.el (tramp-file-name-for-operation):
5718 Add `file-notify-supported-p'.
5720 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5722 (tramp-sh-file-name-handler-alist): Add it as handler for
5723 `file-notify-supported-p '.
5725 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5726 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5727 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5728 Add `ignore' as handler for `file-notify-*' functions.
5730 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5732 * simple.el (line-move-partial, line-move): Don't start vscroll or
5733 scroll-up if the current line is not taller than the window.
5736 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5738 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5739 highlight question marks in the method names as strings.
5740 (ruby-block-beg-keywords): Inline.
5741 (ruby-font-lock-keyword-beg-re): Extract from
5742 `ruby-font-lock-keywords'.
5744 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5746 * frame.el (blink-cursor-blinks): New defcustom.
5747 (blink-cursor-blinks-done): New defvar.
5748 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5749 (blink-cursor-timer-function): Check if number of blinks has been
5751 (blink-cursor-suspend, blink-cursor-check): New defuns.
5753 2013-07-15 Glenn Morris <rgm@gnu.org>
5755 * edmacro.el (edmacro-format-keys): Fix previous change.
5757 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5759 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5760 The hack didn't work outside English locales anyway.
5762 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5764 * simple.el (define-alternatives): Rename from alternatives-define,
5765 per RMS' suggestion.
5767 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5769 * desktop.el (desktop-restore-frames): Change default to t.
5770 (desktop-restore-in-current-display): Now offer more options.
5771 (desktop-restoring-reuses-frames): New customization option.
5772 (desktop--saved-states): Doc fix.
5773 (desktop-filter-parameters-alist): New variable, renamed and expanded
5774 from desktop--excluded-frame-parameters.
5775 (desktop--target-display): New variable.
5776 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5777 (desktop--filter-tty*, desktop--filter-*-color)
5778 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5779 (desktop--filter-save-desktop-parm)
5780 (desktop-restore-in-original-display-p): New functions.
5781 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5782 (desktop--save-minibuffer-frames): New function, inspired by a similar
5783 function from Martin Rudalics.
5784 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5785 (desktop--restore-in-this-display-p): Remove.
5786 (desktop--find-frame): Rename from desktop--find-frame-in-display
5787 and add predicate argument.
5788 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5789 (desktop--reuse-list): New variable.
5790 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5792 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5794 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5796 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5798 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5800 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5801 Highlight conversion methods on Kernel.
5803 2013-07-13 Alan Mackenzie <acm@muc.de>
5805 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5806 and comment it out. This out-commenting enables certain C++
5807 declarations to be parsed correctly.
5809 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5811 * international/mule.el (define-coding-system): Doc fix.
5813 * simple.el (default-font-height): Don't call font-info if the
5814 frame's default font didn't change since the frame was created.
5817 2013-07-13 Leo Liu <sdl.web@gmail.com>
5819 * ido.el (ido-read-file-name): Guard against non-symbol value.
5821 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5823 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5826 2013-07-13 Leo Liu <sdl.web@gmail.com>
5828 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5829 ido-set-matches call. (Bug#6852)
5831 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5833 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5834 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5836 (ruby-font-lock-keywords): Distinguish calls to functions with
5837 module-like names from module references. Highlight character
5840 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5842 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5843 (gdb-send): Handle continued commands. (Bug#14847)
5845 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5847 * desktop.el (desktop--v2s): Remove unused local variable.
5848 (desktop-save-buffer): Make defvar-local; adjust docstring.
5849 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5850 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5852 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5854 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5856 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5858 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5861 2013-07-12 Glenn Morris <rgm@gnu.org>
5863 * doc-view.el: Require cl-lib at runtime too.
5864 (doc-view-remove-if): Remove.
5865 (doc-view-search-next-match, doc-view-search-previous-match):
5868 * edmacro.el: Require cl-lib at runtime too.
5869 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5870 (edmacro-mismatch, edmacro-subseq): Remove.
5872 * shadowfile.el: Require cl-lib.
5873 (shadow-remove-if): Remove.
5874 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5877 * wid-edit.el: Require cl-lib.
5878 (widget-choose): Use cl-remove-if.
5879 (widget-remove-if): Remove.
5881 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5882 (ebrowse-delete-if-not): Remove.
5883 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5884 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5885 Use cl-delete-if-not.
5887 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5889 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5890 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5892 2013-07-12 Leo Liu <sdl.web@gmail.com>
5894 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5896 2013-07-11 Glenn Morris <rgm@gnu.org>
5898 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5899 (edebug-gensym-index, edebug-gensym):
5900 Remove reimplementation of cl-gensym.
5901 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5903 * thumbs.el: Require cl-lib at run-time too.
5904 (thumbs-gensym-counter, thumbs-gensym):
5905 Remove reimplementation of cl-gensym.
5906 (thumbs-temp-file): Use cl-gensym.
5908 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5909 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5910 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5911 (ert--union, ert--gensym-counter, ert--gensym-counter)
5912 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5913 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5914 (ert-make-test-unbound, ert--expand-should-1)
5915 (ert--expand-should, ert--should-error-handle-error)
5916 (should-error, ert--explain-equal-rec)
5917 (ert--plist-difference-explanation, ert-select-tests)
5918 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5919 Use cl-lib functions rather than reimplementations.
5921 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5923 * net/tramp.el (tramp-methods): Extend docstring.
5924 (tramp-connection-timeout): New defcustom.
5925 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5926 (with-tramp-progress-reporter): Simplify.
5927 (tramp-process-actions): Improve messages.
5929 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5930 * net/tramp-sh.el (tramp-maybe-open-connection):
5931 Use `tramp-connection-timeout'.
5932 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5935 2013-07-11 Leo Liu <sdl.web@gmail.com>
5937 * ido.el (ido-read-file-name): Conform to the requirements of
5938 read-file-name. (Bug#11861)
5939 (ido-read-directory-name): Conform to the requirements of
5940 read-directory-name.
5942 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5944 * subr.el (delay-warning): New function.
5946 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5948 * simple.el (default-line-height): New function.
5949 (line-move-partial, line-move): Use it instead of computing the
5951 (line-move-partial): Always compute ROWH. If the last line is
5952 partially-visible, but its text is completely visible, allow
5953 cursor to enter such a partially-visible line.
5955 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5957 Improve error messages. (Bug#14808)
5959 * net/tramp.el (tramp-current-connection): New defvar, moved from
5961 (tramp-message-show-progress-reporter-message): Remove, not
5963 (tramp-error-with-buffer): Show message in minibuffer.
5964 Discard input before waiting. Reset connection timestamp.
5965 (with-tramp-progress-reporter): Improve messages.
5966 (tramp-process-actions): Use progress reporter. Delete process in
5967 case of error. Improve messages.
5969 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5970 Call `tramp-error-with-buffer' with vector and buffer.
5971 (tramp-current-connection): Remove.
5972 (tramp-maybe-open-connection): The car of
5973 `tramp-current-connection' are the first 3 slots of the vector.
5975 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5977 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5978 inside continued strings.
5980 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5982 Timestamp fixes for undo (Bug#14824).
5983 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5985 2013-07-10 Leo Liu <sdl.web@gmail.com>
5987 * files.el (require-final-newline): Allow safe local value.
5990 2013-07-09 Leo Liu <sdl.web@gmail.com>
5992 * ido.el (ido-read-directory-name): Handle fallback.
5993 (ido-read-file-name): Update DIR to ido-current-directory.
5995 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5997 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5999 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6000 "autoload". Remove "warn lower camel case" section, previously
6001 commented out. Highlight negation char. Do not highlight the
6002 target in singleton method definitions.
6004 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6006 * faces.el (tty-setup-hook): Declare the hook.
6008 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6009 and detect when a guard/pred depends on local vars (bug#14773).
6010 (pcase--u1): Adjust caller.
6012 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6014 * simple.el (line-move-partial, line-move): Account for
6016 (line-move-partial): Avoid setting vscroll when the last
6017 partially-visible line in window is of default height.
6019 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6021 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6024 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6026 * subr.el (read-quoted-char): Remove unused local variable `char'.
6028 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6030 * ediff.el (ediff-version): Version update.
6031 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6032 (ediff-merge-with-ancestor-command, ediff-directories-command)
6033 (ediff-directories3-command, ediff-merge-directories-command)
6034 (ediff-merge-directories-with-ancestor-command): New functions.
6035 All are command-line interfaces to ediff: to facilitate calling
6036 Emacs with the appropriate ediff functions invoked.
6038 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6039 (viper-save-kill-buffer): Check if buffer is modified.
6041 * viper.el (viper-version): Version update.
6042 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6044 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6046 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6047 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6048 (viper-intercept-ESC-key): Simplify.
6049 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6050 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6051 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6052 (viper-setup-ESC-to-escape): New functions.
6053 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6054 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6056 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6058 * simple.el (default-font-height, window-screen-lines):
6060 (line-move, line-move-partial): Use them instead of
6061 frame-char-height and window-text-height. This makes scrolling
6062 text smoother when the buffer's default face uses a font that is
6063 different from the frame's default font.
6065 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6067 * files.el (write-file): Do not display confirm dialog for NS,
6068 it does its own dialog, which can't be cancelled (Bug#14578).
6070 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6072 * simple.el (line-move-partial): Adjust the row returned by
6073 posn-at-point for the current window-vscroll. (Bug#14567)
6075 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6077 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6078 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6081 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6083 * window.el (window-state-put-stale-windows): New variable.
6084 (window--state-put-2): Save list of windows without matching buffer.
6085 (window-state-put): Remove "bufferless" windows if possible.
6087 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6089 * simple.el (alternatives-define): Remove leftover :group keyword.
6092 2013-07-06 Leo Liu <sdl.web@gmail.com>
6094 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6095 (ido-enable-virtual-buffers): New variable.
6096 (ido-buffer-internal, ido-toggle-virtual-buffers)
6097 (ido-make-buffer-list): Use it.
6098 (ido-exhibit): Support turning on and off virtual buffers
6101 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6103 * simple.el (alternatives-define): New macro.
6105 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6107 * subr.el (read-quoted-char): Use read-key.
6108 (sit-for): Let read-event decode tty input (bug#14782).
6110 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6112 * calendar/todo-mode.el: Add handling of file deletion, both by
6113 mode command and externally. Fix various related bugs.
6114 Clarify Commentary and improve some documentation strings and code.
6115 (todo-delete-file): New command.
6116 (todo-check-file): New function.
6117 (todo-show): Handle external deletion of the file we're trying to
6118 show (bug#14688). Replace called-interactively-p by an optional
6119 prefix argument to avoid problematic interaction with catch form
6120 when byte compiled (bug#14702).
6121 (todo-quit): Handle external deletion of the archive's todo file.
6122 Make sure the buffer that was visiting the archive file is still
6123 live before trying to bury it.
6124 (todo-category-completions): Handle external deletion of any
6125 category completion files.
6126 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6127 of todo files, in case of external deletion.
6128 (todo-add-file): Replace unnecessary setq by let-binding.
6129 (todo-find-archive): Check whether there are any archives.
6130 Replace unnecessary setq by let-binding.
6131 (todo-archive-done-item): Use find-file-noselect to get the
6132 archive buffer whether or not the archive already exists.
6133 Remove superfluous code. Use file size instead of buffer-file-name to
6134 check if the archive is new; if it is, update list of archives.
6135 (todo-default-todo-file): Allow nil to be a valid value for when
6136 there are no todo files.
6137 (todo-reevaluate-default-file-defcustom): Use corrected definition
6138 of todo-default-todo-file.
6139 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6140 (todo-delete-category, todo-show-categories-table)
6141 (todo-category-number): Clarify comment.
6142 (todo-filter-items): Clarify documentation string.
6143 (todo-show-current-file, todo-display-as-todo-file)
6144 (todo-reset-and-enable-done-separator): Tweak documentation string.
6145 (todo-done-separator): Make separator length window-width, since
6146 bug#2749 is now fixed.
6148 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6150 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6151 Support both "gvfs-monitor-dir" and "inotifywait".
6152 (tramp-sh-file-inotifywait-process-filter): Rename from
6153 `tramp-sh-file-notify-process-filter'.
6154 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6155 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6157 2013-07-05 Leo Liu <sdl.web@gmail.com>
6159 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6161 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6163 * frame.el (display-pixel-height, display-pixel-width)
6164 (display-mm-height, display-mm-width): Mention behavior on
6165 multi-monitor setups in docstrings.
6166 (w32-display-monitor-attributes-list): Declare function.
6167 (display-monitor-attributes-list): Use it.
6169 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6171 * filenotify.el: New package.
6173 * autorevert.el (top): Require filenotify.el.
6174 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6176 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6177 (auto-revert-notify-handler): Use `file-notify-*' functions.
6179 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6181 * net/tramp.el (tramp-file-name-for-operation):
6182 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6184 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6185 for `file-notify-add-watch' and `file-notify-rm-watch'.
6186 (tramp-process-sentinel): Improve trace.
6187 (tramp-sh-handle-file-notify-add-watch)
6188 (tramp-sh-file-notify-process-filter)
6189 (tramp-sh-handle-file-notify-rm-watch)
6190 (tramp-get-remote-inotifywait): New defuns.
6192 2013-07-03 Juri Linkov <juri@jurta.org>
6194 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6195 call of `occur-read-primary-args' to interactive spec.
6197 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6198 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6200 2013-07-03 Matthias Meulien <orontee@gmail.com>
6202 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6203 `Buffer-menu-multi-occur'. Add it to the menu.
6204 (Buffer-menu-mode): Document it in docstring.
6205 (Buffer-menu-multi-occur): New command. (Bug#14673)
6207 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6209 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6210 keywords and built-ins.
6212 2013-07-03 Glenn Morris <rgm@gnu.org>
6214 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6216 Make info-xref checks case-sensitive by default
6217 * info.el (Info-find-node, Info-find-in-tag-table)
6218 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6219 Add option for exact case matching of nodes.
6220 * info-xref.el (info-xref): New custom group.
6221 (info-xref-case-fold): New option.
6222 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6224 2013-07-03 Leo Liu <sdl.web@gmail.com>
6226 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6228 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6230 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6231 middle of block statement initially, lower the depth. Remove
6232 FIXME comment, not longer valid. Remove middle of block statement
6233 detection, no need to do that anymore since we've been using
6234 `ruby-parse-region' here.
6236 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6238 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6240 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6242 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6244 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6246 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6247 (desktop-restore-in-current-display): New customization option.
6248 (desktop--excluded-frame-parameters): Add `font'.
6249 (desktop--save-frames): Rename from desktop--save-windows.
6250 (desktop--restore-in-this-display-p): New function.
6251 (desktop--make-full-frame): Remove unwanted width/height from
6252 full(width|height) frames.
6253 (desktop--restore-frames): Rename from desktop--restore-windows.
6254 Obey desktop-restore-current-display. Do not delete old frames or
6255 select a new frame unless we were able to restore at least one frame.
6257 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6259 * files.el (find-file-noselect): Simplify conditional expression.
6261 * remember.el (remember-append-to-file):
6262 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6264 Add `remember-notes' function to store random notes across Emacs
6266 * remember.el (remember-data-file): Add :set callback to affect
6267 notes buffer (if any).
6268 (remember-notes): New command.
6269 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6270 New defcustoms for the `remember-notes' function.
6271 (remember-notes-save-and-bury-buffer): New command.
6272 (remember-notes-mode-map): New variable.
6273 (remember-mode): New minor mode.
6274 (remember-notes--kill-buffer-query): New function.
6275 * startup.el (initial-buffer-choice): Add notes to custom type.
6277 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6279 * bindings.el (right-char, left-char): Don't call sit-for, this is
6280 no longer needed. Use arithmetic comparison only for numerical
6283 * international/mule-cmds.el (select-safe-coding-system):
6284 Handle the case of FROM being a string correctly. (Bug#14755)
6286 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6288 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6289 progression on degenerate tables.
6290 (shr-rescale-image): ImageMagick animated images currently don't work.
6292 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6294 Some fixes and improvements for desktop frame restoration.
6295 It is still experimental and disabled by default.
6296 * desktop.el (desktop--save-windows): Put the selected frame at
6297 the head of the list.
6298 (desktop--make-full-frame): New function.
6299 (desktop--restore-windows): Try to re-select the frame that was
6300 selected upon saving. Do not abort if some frames fail to restore,
6301 just show an error message and continue. Set up maximized frames
6302 so they have default non-maximized dimensions.
6304 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6306 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6307 Don't start heredoc inside a string or comment.
6309 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6311 * bindings.el (visual-order-cursor-movement): New defcustom.
6312 (right-char, left-char): Provide visual-order cursor motion by
6313 calling move-point-visually. Update the doc strings.
6315 2013-06-28 Kenichi Handa <handa@gnu.org>
6317 * international/mule.el (define-coding-system): New coding system
6318 properties :inhibit-null-byte-detection,
6319 :inhibit-iso-escape-detection, and :prefer-utf-8.
6320 (set-buffer-file-coding-system): If :charset-list property of
6321 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6322 appropriate for setting.
6324 * international/mule-cmds.el (select-safe-coding-system):
6325 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6326 multibyte characters, return utf-8 (or one of its siblings).
6328 * international/mule-conf.el (prefer-utf-8): New coding system.
6329 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6332 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6334 * net/shr.el (shr-render-region): New function.
6336 * net/eww.el: Autoload `eww-browse-url'.
6338 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6340 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6341 Adapt to `package-desc-version' being a list.
6342 Use `package--ac-desc-version' to retrieve version from a package
6345 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6347 New experimental feature to save&restore window and frame setup.
6348 * desktop.el (desktop-save-windows): New defcustom.
6349 (desktop--saved-states): New var.
6350 (desktop--excluded-frame-parameters): New defconst.
6351 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6352 (desktop--restore-windows, desktop--save-windows): New functions.
6353 (desktop-save): Call `desktop--save-windows'.
6354 (desktop-read): Call `desktop--restore-windows'.
6356 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6358 * net/shr.el (add-face-text-property): Remove compat definition.
6360 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6362 * info.el (Info-try-follow-nearest-node): Move search for footnote
6363 above search for node name to prevent missing a footnote (bug#14717).
6365 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6367 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6369 2013-06-27 Leo Liu <sdl.web@gmail.com>
6371 * net/eww.el (eww-read-bookmarks): Check file size.
6373 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6375 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6376 advice--pending if newdef is nil or an autoload (bug#13820).
6377 (advice-mapc): New function.
6379 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6381 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6383 (eww-mode-map): Add a menu bar.
6384 (eww-add-bookmark): New command.
6385 (eww-bookmark-mode): New mode and commands.
6386 (eww-add-bookmark): Remove newlines from the title.
6387 (eww-bookmark-browse): Don't bug out if it's the only window.
6389 2013-06-26 Glenn Morris <rgm@gnu.org>
6391 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6392 (hfy-size): Handle ttys. (Bug#14668)
6394 * info-xref.el: Update for Texinfo 5 change in *note format.
6395 (info-xref-node-re, info-xref-note-re): New constants.
6396 (info-xref-check-buffer): Use info-xref-note-re.
6398 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6400 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6402 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6403 nil terminate the loop (bug#14718).
6405 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6407 * net/eww.el: Rework history traversal. When going forward/back,
6408 put these actions into the history, too, so that they can be
6410 (eww-render): Move the history reset to the correct buffer.
6412 2013-06-25 Juri Linkov <juri@jurta.org>
6414 * files-x.el (modify-dir-local-variable): Change the header comment
6415 in the file with directory local variables. (Bug#14692)
6417 * files-x.el (read-file-local-variable-value): Add `default'.
6420 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6422 * net/eww.el (eww-make-unique-file-name): Create a unique file
6423 name before saving to entering `y' accidentally asynchronously.
6425 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6427 * net/eww.el (eww-download): New command and keystroke.
6429 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6431 * net/eww.el (eww-copy-page-url): Change name of command.
6433 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6434 be more consistent with Info and dired.
6436 * net/eww.el (eww-mode-map): Ditto.
6438 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6440 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6441 packages from archives.
6442 (package-archive-contents): Change format; include obsolete packages.
6443 (package-desc): Use `dir' to mark builtin packages.
6444 (package--from-builtin): Set the `dir' field to `builtin'.
6445 (generated-autoload-file, version-control): Declare.
6446 (package-compute-transaction): Change first arg and return value to be
6447 lists of package-descs. Adjust to new package-archive-contents format.
6448 (package--add-to-archive-contents): Adjust to new
6449 package-archive-contents format.
6450 (package-download-transaction): Arg is now a list of package-descs.
6451 (package-install): If `pkg' is a package name, pass it as
6452 a requirement, so it is subject to the usual (e.g. disabled) checks.
6453 (describe-package): Accept package-desc as well.
6454 (describe-package-1): Describe a specific package-desc. Add links to
6455 other package-descs for the same package name.
6456 (package-menu-describe-package): Pass the actual package-desc.
6457 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6459 (package-desc-status): New function.
6460 (package-menu--refresh): New function, extracted
6461 from package-menu--generate.
6462 (package-menu--generate): Use it.
6463 (package-delete): Update package-alist.
6464 (package-menu-execute): Don't call package-initialize.
6466 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6467 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6468 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6469 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6470 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6471 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6473 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6475 * window.el (window--state-get-1): Workaround for bug#14527.
6476 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6478 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6480 * net/eww.el (eww-back-url): Implement the history by stashing all
6481 the data into a list.
6482 (eww-forward-url): Allow going forward in the history, too.
6484 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6486 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6487 for values and use read--expression for expressions (bug#14710).
6488 (read-file-local-variable): Avoid setq.
6489 (read-file-local-variable-mode): Use minor-mode-list.
6491 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6493 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6496 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6498 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6499 Update imenu-support when dialect changes.
6501 2013-06-25 Leo Liu <sdl.web@gmail.com>
6503 * ido.el (ido-read-internal): Allow forward slash on windows.
6505 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6507 * net/eww.el (eww): Start of strings is \\`, not ^.
6509 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6511 * net/shr.el (shr-browse-url): Fix interactive spec.
6513 * net/eww.el (eww): Add a trailing slash to domain names.
6515 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6517 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6519 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6521 * net/shr.el (shr-browse-url): Use an external browser if given a
6524 * net/eww.el (eww-external-browser): Move to shr.
6526 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6528 * net/eww.el (eww): Work more correctly for file: URLs.
6529 (eww-detect-charset): Allow quoted charsets.
6530 (eww-yank-page-url): New command and keystroke.
6532 2013-06-24 Daiki Ueno <ueno@gnu.org>
6534 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6535 file name of gpg executable.
6536 (epg-context-program): New function.
6537 (epg-context-home-directory): New function.
6538 (epg-context-set-program): New function.
6539 (epg-context-set-home-directory): New function.
6540 (epg--start): Use `epg-context-program' instead of
6542 (epg--list-keys-1): Likewise.
6544 2013-06-24 Leo Liu <sdl.web@gmail.com>
6546 * ido.el (ido-read-internal): Fix bug#14620.
6548 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6550 * faces.el (face-documentation): Simplify.
6551 (read-face-attribute, tty-find-type, x-resolve-font-name):
6552 Use `string-match-p'.
6553 (list-faces-display): Use `string-match-p'. Simplify.
6554 (face-spec-recalc): Check face to avoid face alias loops.
6555 (read-color): Use `string-match-p' and non-capturing parenthesis.
6557 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6559 * net/shr.el (shr-rescale-image): Use the new
6560 :max-width/:max-height functionality.
6562 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6564 * net/eww.el (eww-search-prefix): New variable.
6566 (eww-external-browser): New variable.
6567 (eww-mode-map): New keystroke.
6568 (eww-browse-with-external-browser): New command.
6570 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6572 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6574 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6575 Don't skip aligning the next header field when padding is 0;
6576 otherwise, field width is not respected unless the title is as
6579 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6581 * emacs-lisp/package.el (package-el-version): Remove.
6582 (package-process-define-package): Fix inf-loop.
6583 (package-install): Allow symbols as arguments again.
6585 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6587 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6588 add some more keyword-like methods.
6589 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6591 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6593 * bs.el (bs-buffer-show-mark): Make defvar-local.
6594 (bs-mode): Use setq-local.
6596 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6597 (emacs-lock--try-unlocking): Make defvar-local.
6599 2013-06-22 Glenn Morris <rgm@gnu.org>
6601 * play/cookie1.el (cookie-apropos): Minor simplification.
6603 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6605 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6607 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6608 `regexp-opt', it breaks the build during dumping.
6610 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6612 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6613 Highlight keyword-like methods on Kernel and Module with
6614 font-lock-builtin-face.
6615 (auto-mode-alist): Consolidate different entries into one regexp
6616 and add more *file-s.
6618 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6620 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6622 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6623 (diary-entry): Use it in the action of this button type instead of
6626 * calendar/todo-mode.el: New version.
6627 (todo-add-category): Append new category to end of file and give
6628 it the highest number, instead of putting it at the beginning and
6629 giving it 0. Incorporate noninteractive functionality.
6630 (todo-forward-category): Adapt to 1-based category numbering.
6631 Allow skipping over archived categories.
6632 (todo-backward-category): Derive from todo-forward-category.
6633 (todo-backward-item, todo-forward-item): Make noninteractive and
6634 delegate interactive part to new commands. Make sensitive to done items.
6635 (todo-categories): Make value an alist of category names and
6636 vectors of item counts.
6637 (todo-category-beg): Make a defconst.
6638 (todo-category-number): Use 1 instead of 0 as initial value.
6639 (todo-category-select): Make sensitive to overlays, optional item
6640 highlighting and done items.
6641 (todo-delete-item): Make sensitive to overlays and marked and done items.
6642 (todo-edit-item): Make sensitive to overlays and editing of
6643 date/time header optional. Add format checks.
6644 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6645 no-op if point is not on an item. Advertise using todo-edit-quit.
6646 (todo-edit-mode): Make sensitive to new format, font-locking, and
6647 multiple todo files.
6648 (todo-insert-item, todo-insert-item-here): Derive from
6649 todo-basic-insert-item and extend functionality.
6650 (todo-item-end, todo-item-start): Make sensitive to done items.
6651 (todo-item-string): Don't return text properties. Restore point.
6652 (todo-jump-to-category): Make sensitive to multiple todo files and
6653 todo archives. Use extended category completion.
6654 (todo-lower-item, todo-raise-item): Rename to *-priority and
6655 derive from todo-set-item-priority.
6656 (todo-mode): Derive from special-mode. Make sensitive to new
6657 format, font-locking and multiple todo files. Make read-only.
6658 (todo-mode-map): Don't suppress digit keys, so they can supply
6659 prefix arguments. Add many new key bindings.
6660 (todo-prefix): Insert as an overlay instead of file text.
6661 Change semantics from diary date expression to purely visual mark.
6662 (todo-print): Rename to todo-print-buffer. Make buffer display
6663 features printable. Remove option to restrict number of items
6664 printed. Add option to print to file.
6665 (todo-print-function): Rename to todo-print-buffer-function.
6666 (todo-quit): Extend to handle exiting new todo modes.
6667 (todo-remove-item): Make sensitive to overlays.
6668 (todo-save): Extend to buffers of filtered items.
6669 (todo-show): Make sensitive to done items, multiple todo files and
6670 new todo modes. Offer to convert legacy todo file before creating
6671 first new todo file.
6672 (todo-show-priorities): Rename to todo-top-priorities.
6673 Change semantics of value 0.
6674 (todo-top-priorities): Rename to todo-filter-top-priorities,
6675 derive from todo-filter-items and extend functionality.
6676 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6677 and extend functionality to other types of filtered items.
6678 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6679 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6680 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6681 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6682 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6683 (todo-edit-mode-hook, todo-entry-prefix-function)
6684 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6685 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6686 (todo-initials, todo-insert-threshold, todo-item-string-start)
6687 (todo-line-string, todo-menu, todo-mode-hook)
6688 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6689 (todo-print-priorities, todo-remove-separator)
6690 (todo-save-top-priorities-too, todo-string-count-lines)
6691 (todo-string-multiline-p, todo-time-string-format)
6692 (todo-tmp-buffer-name): Remove.
6693 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6694 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6695 (todo-edit-category-diary-inclusion)
6696 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6697 (todo-edit-file, todo-edit-item-date-day)
6698 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6699 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6700 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6701 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6702 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6703 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6704 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6705 (todo-filter-top-priorities-multifile, todo-find-archive)
6706 (todo-find-filtered-items-file, todo-go-to-source-item)
6707 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6708 (todo-jump-to-archive-category, todo-lower-category)
6709 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6710 (todo-move-category, todo-move-item, todo-next-button)
6711 (todo-next-item, todo-padded-string, todo-powerset)
6712 (todo-previous-button, todo-previous-item)
6713 (todo-print-buffer-to-file, todo-raise-category)
6714 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6715 (todo-set-category-number, todo-set-item-priority)
6716 (todo-set-top-priorities-in-category)
6717 (todo-set-top-priorities-in-file, todo-show-categories-table)
6718 (todo-sort-categories-alphabetically-or-numerically)
6719 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6720 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6721 (todo-toggle-item-header, todo-toggle-item-highlighting)
6722 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6723 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6724 (todo-unarchive-items, todo-unmark-category): New commands.
6725 (todo-absolute-file-name, todo-add-to-buffer-list)
6726 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6727 (todo-basic-insert-item, todo-category-completions)
6728 (todo-category-number, todo-category-string-matcher-1)
6729 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6730 (todo-check-format, todo-clear-matches)
6731 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6732 (todo-current-category, todo-date-string-matcher)
6733 (todo-define-insertion-command, todo-diary-expired-matcher)
6734 (todo-diary-goto-entry, todo-diary-item-p)
6735 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6736 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6737 (todo-done-item-section-p, todo-done-separator)
6738 (todo-done-string-matcher, todo-files, todo-filter-items)
6739 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6740 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6741 (todo-insert-category-line, todo-insert-item-from-calendar)
6742 (todo-insert-sort-button, todo-insert-with-overlays)
6743 (todo-insertion-command-name, todo-insertion-key-bindings)
6744 (todo-label-to-key, todo-longest-category-name-length)
6745 (todo-make-categories-list, todo-mode-external-set)
6746 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6747 (todo-modes-set-3, todo-multiple-filter-files)
6748 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6749 (todo-read-category, todo-read-date, todo-read-dayname)
6750 (todo-read-file-name, todo-read-time)
6751 (todo-reevaluate-category-completions-files-defcustom)
6752 (todo-reevaluate-default-file-defcustom)
6753 (todo-reevaluate-filelist-defcustoms)
6754 (todo-reevaluate-filter-files-defcustom)
6755 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6756 (todo-reset-done-separator, todo-reset-done-separator-string)
6757 (todo-reset-done-string, todo-reset-global-current-todo-file)
6758 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6759 (todo-reset-prefix, todo-set-categories)
6760 (todo-set-date-from-calendar, todo-set-show-current-file)
6761 (todo-set-top-priorities, todo-short-file-name)
6762 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6763 (todo-total-item-counts, todo-update-buffer-list)
6764 (todo-update-categories-display, todo-update-categories-sexp)
6765 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6767 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6769 (todo-categories, todo-display, todo-edit, todo-faces)
6770 (todo-filtered): New defgroups.
6771 (todo-archived-only, todo-button, todo-category-string, todo-date)
6772 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6773 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6774 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6775 (todo-add-item-if-new-category, todo-always-add-time-string)
6776 (todo-categories-align, todo-categories-archived-label)
6777 (todo-categories-category-label, todo-categories-diary-label)
6778 (todo-categories-done-label, todo-categories-number-separator)
6779 (todo-categories-todo-label, todo-categories-totals-label)
6780 (todo-category-completions-files, todo-completion-ignore-case)
6781 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6782 (todo-done-separator-string, todo-done-string)
6783 (todo-files-function, todo-filter-done-items, todo-filter-files)
6784 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6785 (todo-initial-category, todo-initial-file, todo-item-mark)
6786 (todo-legacy-date-time-regexp, todo-mode-line-function)
6787 (todo-nondiary-marker, todo-number-prefix)
6788 (todo-print-buffer-function, todo-show-current-file)
6789 (todo-show-done-only, todo-show-first, todo-show-with-done)
6790 (todo-skip-archived-categories, todo-top-priorities-overrides)
6791 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6792 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6794 (todo-category-done, todo-date-pattern, todo-date-string-start)
6795 (todo-diary-items-buffer, todo-done-string-start)
6796 (todo-filtered-items-buffer, todo-item-start)
6797 (todo-month-abbrev-array, todo-month-name-array)
6798 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6799 (todo-top-priorities-buffer): New defconsts.
6800 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6801 (todo-categories-with-marks, todo-category-string-face)
6802 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6803 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6804 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6805 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6806 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6807 (todo-font-lock-keywords, todo-global-current-todo-file)
6808 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6809 (todo-insertion-commands-args)
6810 (todo-insertion-commands-args-genlist)
6811 (todo-insertion-commands-names, todo-insertion-map)
6812 (todo-key-bindings-t, todo-key-bindings-t+a)
6813 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6814 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6815 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6816 (todo-visited): New variables.
6818 2013-06-21 Glenn Morris <rgm@gnu.org>
6820 * play/cookie1.el (cookie-apropos): Add optional display argument.
6821 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6822 (psychoanalyze-pinhead): Use cookie-doctor.
6824 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6826 * emacs-lisp/package.el (tar-get-file-descriptor)
6827 (tar--extract): Declare.
6829 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6831 Extend flymake's warning predicate to be a function (bug#14217).
6832 * progmodes/flymake.el (flymake-warning-predicate): New.
6833 (flymake-parse-line): Use it.
6834 (flymake-warning-re): Make obsolete alias to
6835 `flymake-warning-predicate'.
6837 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6839 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6840 (package-obsolete-list): Remove.
6841 (package-activate): Remove min-version argument. Add `force' argument.
6842 Adjust to new package-alist format.
6843 (package-mark-obsolete): Remove.
6844 (package-unpack): Force reload of the package's autoloads.
6845 (package-installed-p): Check builtins if the installed package is not
6847 (package-initialize): Don't reset package-obsolete-list.
6848 Don't specify which package version to activate.
6849 (package-process-define-package, describe-package-1)
6850 (package-menu--generate): Adjust to new package-alist format.
6852 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6854 * allout-widgets.el (allout-widgets-mode-off)
6855 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6856 (allout-widgets-post-command-business)
6857 (allout-widgets-after-copy-or-kill-function)
6858 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6859 (allout-decorate-item-and-context)
6860 (allout-graphics-modification-handler): Fix typos in docstrings.
6861 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6863 * cmuscheme.el (scheme-start-file): Doc fix.
6864 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6865 (scheme-input-filter): Use `string-match-p'.
6867 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6869 * dired-x.el: Use Dired consistently in docstrings.
6871 * dired.el: Use Dired consistently in docstrings.
6872 (dired-readin, dired-mode): Use `setq-local'.
6873 (dired-switches-alist): Make defvar-local.
6874 (dired-buffers-for-dir): Use `zerop'.
6875 (dired-safe-switches-p, dired-switches-escape-p)
6876 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6877 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6878 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6879 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6880 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6881 (dired-toggle-marks, dired-mark-files-containing-regexp)
6882 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6883 (dired-flag-auto-save-files, dired-flag-backup-files):
6885 (dired-mark-files-regexp, dired-build-subdir-alist):
6886 Use `string-match-p', `looking-at-p'.
6888 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6889 (direct-print-region-helper): Use `string-match-p'.
6891 2013-06-21 Leo Liu <sdl.web@gmail.com>
6893 * comint.el (comint-redirect-results-list-from-process):
6896 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6898 * net/eww.el (eww-update-header-line-format): Quote % characters.
6900 2013-06-21 Glenn Morris <rgm@gnu.org>
6902 * play/cookie1.el (cookie): New custom group.
6903 (cookie-file): New option.
6904 (cookie-check-file): New function.
6905 (cookie): Make it interactive. Make start and end messages optional.
6906 Interactively, display the result. Default to cookie-file.
6907 (cookie-insert): Default to cookie-file.
6908 (cookie-snarf): Make start and end messages optional.
6909 Default to cookie-file. Use with-temp-buffer.
6910 (cookie-read): Rename from read-cookie.
6911 Make start and end messages optional. Default to cookie-file.
6912 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6914 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6915 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6917 2013-06-21 Leo Liu <sdl.web@gmail.com>
6919 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6921 2013-06-21 Glenn Morris <rgm@gnu.org>
6923 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6925 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6926 Daniel Hackney <dan@haxney.org>
6928 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6929 Consolidate the single-file vs tarball code.
6930 (package-desc-suffix): New function.
6931 (package-desc-full-name): Don't bother inlining it.
6932 (package-load-descriptor): Return the new package-desc.
6933 (package-mark-obsolete): Remove unused arg `package'.
6934 (package-unpack): Make it work for single files as well.
6935 Make it update package-alist.
6936 (package--make-autoloads-and-stuff): Rename from
6937 package--make-autoloads-and-compile. Don't compile any more.
6938 (package--compile): New function.
6939 (package-generate-description-file): New function, extracted from
6940 package-unpack-single.
6941 (package-unpack-single): Remove.
6942 (package--with-work-buffer): Add indentation and debugging info.
6943 (package-download-single): Remove.
6944 (package-install-from-archive): Rename from package-download-tar, make
6945 it take a pkg-desc, and make it work for single files as well.
6946 (package-download-transaction): Simplify.
6947 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6948 external tar program.
6949 (package-install-from-buffer): Remove `pkg-desc' argument.
6950 Use package-tar-file-info for tar-mode buffers.
6951 (package-install-file): Simplify accordingly.
6952 (package-archive-base): Change to take a pkg-desc.
6953 * tar-mode.el (tar--check-descriptor): New function, extracted from
6955 (tar-get-descriptor): Use it.
6956 (tar-get-file-descriptor): New function.
6957 (tar--extract): New function, extracted from tar-extract.
6958 (tar--extract): Use it.
6959 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6960 case the summary uses non-ascii. Adjust to new calling convention of
6961 package-tar-file-info.
6963 2013-06-21 Leo Liu <sdl.web@gmail.com>
6965 * comint.el (comint-redirect-results-list-from-process):
6966 Fix random delay. (Bug#14681)
6968 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6970 * profiler.el (profiler-format-number): Use log, not log10.
6972 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6974 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6976 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6978 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6979 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6981 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6982 (AUTOGENEL): ... here.
6983 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6984 (cl--defsubst-expand): Use it.
6986 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6988 * subr.el (log10): Move here from C code, and declare as obsolete.
6989 All uses of (log10 X) replaced with (log X 10).
6991 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6993 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6994 Declare with `defvar-local'.
6995 (tabulated-list-use-header-line, tabulated-list-entries)
6996 (tabulated-list-padding, tabulated-list-printer)
6997 (tabulated-list-sort-key): Declare with `defvar-local'.
6998 (tabulated-list-init-header, tabulated-list-print-fake-header):
7001 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7003 * arc-mode.el (archive-mode): Add `archive-write-file' to
7004 `write-contents-functions' also for remote files. (Bug#14652)
7006 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7008 * cus-edit.el (custom-commands): Fix typos.
7009 (custom-display): Fix tooltip text.
7010 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7011 Fix typos in docstrings.
7012 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7013 (custom-unlispify-menu-entry, custom-magic-value-create)
7014 (custom-add-see-also, custom-group-value-create): Use ?\s.
7015 (custom-guess-type, customize-apropos, editable-field)
7016 (custom-face-value-create): Use `string-match-p'.
7017 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7019 * custom.el (custom-load-symbol): Use `string-match-p'.
7021 * ansi-color.el: Convert to lexical binding.
7022 (ansi-colors): Fix URL.
7023 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7024 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7025 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7027 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7029 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7031 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7033 2013-06-19 Tom Tromey <tromey@redhat.com>
7035 * net/eww.el (eww-top-url): Remove.
7036 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7037 (eww-render): Set new variables. Don't set eww-top-url.
7038 (eww-handle-link): Handle "prev", "home", and "contents".
7039 Downcase the rel text.
7040 (eww-top-url): Choose best top URL.
7042 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7044 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7045 relying in widget.el. Using widget.el leads to too many
7046 user interface inconsistencies.
7047 (eww-self-insert): Implement entering commands in text fields.
7048 (eww-process-text-input): New function to make text input field editing
7050 (eww-submit): Rewrite to use the new-style form methods.
7051 (eww-select-display): Display the correct selected item.
7052 (eww-change-select): Implement changing the select value.
7053 (eww-toggle-checkbox): Implement radio/checkboxes.
7054 (eww-update-field): Fix compilation error.
7055 (eww-tag-textarea): Implement <textarea>.
7057 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7058 we don't shadow mode-specific bindings.
7060 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7063 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7065 2013-06-19 Glenn Morris <rgm@gnu.org>
7067 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7069 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7071 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7074 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7076 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7078 * net/browse-url.el (browse-url-browser-function):
7079 `eww-browse-url' has the right calling signature, `eww' does not.
7081 2013-06-19 Glenn Morris <rgm@gnu.org>
7083 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7084 Only eval autoloaded macros.
7085 (byte-compile-autoload): Only give the macro warning for macros.
7087 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7088 (ps-underlined-faces): Declare.
7090 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7091 (speedbar-add-supported-extension): Declare.
7093 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7094 Don't include a date stamp in the header of the generated file;
7095 it leads to needless differences between output files.
7097 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7099 * net/secrets.el (secrets-struct-secret-content-type):
7100 Replace check of introspection data by a test call of "CreateItem".
7101 Some servers do not offer introspection.
7103 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7105 * electric.el (electric-pair-mode): Improve interaction with
7106 electric-layout-mode.
7107 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7108 (electric-pair-syntax): Use text-mode-syntax-table in comments
7110 (electric-pair--insert): New function.
7111 (electric-pair-post-self-insert-function): Use it and
7112 electric--after-char-pos.
7114 2013-06-19 Leo Liu <sdl.web@gmail.com>
7116 * progmodes/octave.el (octave-help): Fix regexp.
7118 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7120 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7121 (shr-table-horizontal-line): Allow nil as a value, and change the
7123 (shr-insert-table-ruler): Respect the nil value.
7125 2013-06-18 Tom Tromey <tromey@barimba>
7127 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7129 (eww-open-file): New defun.
7130 (eww-render): Initialize new variables.
7131 (eww-display-html): Handle "link" and "a".
7132 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7133 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7134 (eww-back-url): Rename from eww-previous-url.
7135 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7138 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7140 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7141 Distinguish ternary operator tokens from slash symbol and slash
7144 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7146 Convert symbol prettification into minor mode and global minor mode.
7148 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7149 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7150 (prettify-symbols--keywords): Rename from
7151 `prog-prettify-symbols-alist' and make a local defvar.
7152 (prettify-symbols--compose-symbol): Rename from
7153 `prog--prettify-font-lock-compose-symbol'.
7154 (prettify-symbols--make-keywords): Rename from
7155 `prog-prettify-font-lock-symbols-keywords' and simplify.
7156 (prog-prettify-install): Remove.
7157 (prettify-symbols-mode): New minor mode, based on
7158 `prog-prettify-install'.
7159 (turn-on-prettify-symbols-mode): New function.
7160 (global-prettify-symbols-mode): New globalized minor mode.
7162 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7163 * progmodes/cfengine.el (cfengine3-mode):
7164 * progmodes/perl-mode.el (perl-mode): Don't call
7165 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7167 2013-06-18 Juri Linkov <juri@jurta.org>
7169 * files-x.el (modify-file-local-variable-message): New function.
7170 (modify-file-local-variable)
7171 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7172 and call `modify-file-local-variable-message' when it's non-nil.
7173 (add-file-local-variable, delete-file-local-variable)
7174 (add-file-local-variable-prop-line)
7175 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7176 and use it. (Bug#9820)
7178 2013-06-18 Juri Linkov <juri@jurta.org>
7180 * emulation/vi.el (vi-shell-op):
7181 * emulation/vip.el (vip-execute-com, ex-command):
7182 * emulation/viper-cmd.el (viper-exec-bang):
7183 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7184 the call of `shell-command-on-region'. (Bug#14637)
7186 * simple.el (shell-command-on-region): Doc fix.
7188 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7190 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7193 2013-06-18 Glenn Morris <rgm@gnu.org>
7195 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7197 * newcomment.el (comment-search-forward, comment-search-backward):
7198 Doc fix. (Bug#14376)
7200 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7202 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7203 (buffer-face-mode-invoke): Doc fix.
7205 2013-06-18 Matthias Meulien <orontee@gmail.com>
7207 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7208 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7210 2013-06-18 Glenn Morris <rgm@gnu.org>
7212 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7213 Replace obsolete function generic-make-keywords with its expansion.
7215 * progmodes/python.el (ffap-alist): Declare.
7217 * textmodes/reftex.el (bibtex-mode-map): Declare.
7219 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7221 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7222 (package-unpack, package-unpack-single): Return the pkg-dir.
7223 (package-download-transaction): Use it to update package-alist.
7225 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7227 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7230 2013-06-17 Juri Linkov <juri@jurta.org>
7232 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7234 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7236 * emacs-lisp/package.el (package-load-descriptor):
7237 Remove `with-syntax-table' call, `read' doesn't need it.
7238 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7240 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7242 * startup.el (command-line): Expand package name returned by
7243 `package--description-file' (bug#14639).
7245 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7247 * emacs-lisp/package.el (package-load-descriptor): Do not call
7248 `emacs-lisp-mode', just use its syntax table.
7250 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7252 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7253 `font-lock-extra-managed-props' if any prettifying keyword is added.
7254 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7255 (prog-mode): Use `setq-local'.
7257 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7259 * international/characters.el (standard-case-table): Set syntax of ?»
7260 and ?« to punctuation.
7262 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7264 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7265 Save relevant match data before calling `syntax-ppss' (bug#14595).
7267 2013-06-15 Juri Linkov <juri@jurta.org>
7269 * files-x.el (modify-file-local-variable-prop-line): Add local
7270 variables to the end of the existing comment on the first line.
7271 Use `file-auto-mode-skip' to skip interpreter magic line,
7272 and also skip XML declaration.
7274 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7276 * startup.el (package--builtin-versions): New var.
7277 (package-subdirectory-regexp): Remove.
7278 (package--description-file): Hard code its value instead.
7280 * emacs-lisp/package.el: Don't activate packages older than builtin.
7281 (package-obsolete-list): Rename from package-obsolete-alist, and make
7282 it into a simple list of package-desc.
7283 (package-strip-version): Remove.
7284 (package-built-in-p): Use package--builtin-versions.
7285 (package-mark-obsolete): Simplify.
7286 (package-process-define-package): Mark it obsolete if older than the
7288 (package-handle-response): Use line-end-position.
7289 (package-read-archive-contents, package--download-one-archive):
7291 (package--add-to-archive-contents): Skip if older than the builtin or
7293 (package-menu-describe-package): Fix last change.
7294 (package-list-unversioned): New var.
7295 (package-menu--generate): Use it.
7297 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7298 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7299 (autoload-builtin-package-versions): New variable.
7300 (autoload-generate-file-autoloads): Use them.
7301 Remove the list of autoloaded functions/macros from the
7302 (autoload...) comments.
7304 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7306 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7308 * simple.el (line-move-partial): Don't jump to the next screen
7309 line as soon as it becomes visible. Instead, continue enlarging
7310 the vscroll until the portion of a tall screen line that's left on
7311 display is about the height of the frame's default font.
7314 2013-06-15 Glenn Morris <rgm@gnu.org>
7316 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7317 compilation-error-regexp-alist void, or local while let-bound.
7319 * progmodes/make-mode.el (makefile-mode-syntax-table):
7320 Treat "=" as punctuation. (Bug#14614)
7322 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7324 * help-fns.el (describe-variable):
7325 Add extra line for permanent-local variables.
7327 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7329 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7330 Add export, import, library. (Bug#9164)
7331 (library): Set indent function.
7333 2013-06-14 Glenn Morris <rgm@gnu.org>
7335 * term/xterm.el (xterm--query):
7336 Stop after first matching handler. (Bug#14615)
7338 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7340 Add support for dired in saveplace.
7341 * dired.el (dired-initial-position-hook): New variable.
7342 (dired-initial-position): Call hook to place cursor position.
7343 * saveplace.el (save-place-to-alist): Add dired position.
7344 (save-place-dired-hook): New function.
7346 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7348 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7349 through a symbol rather than letrec.
7351 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7352 (package-desc): Add `dir' field.
7353 (package-desc-full-name): New function.
7354 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7355 (package-maybe-load-descriptor): Remove.
7356 (package-load-all-descriptors): Just call package-load-descriptor.
7357 (package--disabled-p): New function.
7358 (package-desc-vers, package-desc-doc): Remove aliases.
7359 (package--dir): Remove function.
7360 (package-activate): Check if a package is disabled.
7361 (package-process-define-package): New function, extracted from
7363 (define-package): Turn into a place holder.
7364 (package-unpack-single, package-tar-file-info):
7365 Use package--description-file.
7366 (package-compute-transaction): Use package--disabled-p.
7367 (package-download-transaction): Don't call
7368 package-maybe-load-descriptor since they're all loaded anyway.
7369 (package-install): Change argument to be a pkg-desc.
7370 (package-delete): Use a single pkg-desc argument.
7371 (describe-package-1): Use package-desc-dir instead of package--dir.
7372 Use package-desc property instead of package-symbol.
7373 (package-install-button-action): Adjust accordingly.
7374 (package--push): Rewrite.
7375 (package-menu--print-info): Adjust accordingly. Change the ID format
7377 (package-menu-describe-package, package-menu-get-status)
7378 (package-menu--find-upgrades, package-menu-mark-upgrades)
7379 (package-menu-execute, package-menu--name-predicate):
7381 * startup.el (package--description-file): New function.
7382 (command-line): Use it.
7383 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7384 Use package-desc-version.
7386 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7387 (byte-compile-preprocess): Use it.
7388 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7389 can't quite recognize.
7390 (byte-compile-add-to-list): Remove.
7391 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7392 (cconv-closure-convert): Add assertion.
7394 * emacs-lisp/map-ynp.el: Use lexical-binding.
7395 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7396 Factor out some repeated code.
7398 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7400 * subr.el (with-eval-after-load): New macro.
7401 (eval-after-load): Allow form to be a function.
7402 take advantage of lexical-binding.
7403 (do-after-load-evaluation): Use dolist and adjust to new format.
7404 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7406 2013-06-13 Juri Linkov <juri@jurta.org>
7408 * replace.el (perform-replace): Display "symbol " and other search
7409 modes from `isearch-message-prefix' in the *Help* buffer.
7411 * isearch.el (isearch-query-replace): Add " symbol" and other
7412 possible search modes from `isearch-message-prefix' to the prompt.
7413 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7414 when reading a regexp to collect.
7416 2013-06-13 Juri Linkov <juri@jurta.org>
7418 * isearch.el (word-search-regexp): Match whitespace if the search
7419 string begins or ends in whitespace. The LAX arg is applied to
7420 both ends of the search string. Use `regexp-quote' and explicit
7421 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7422 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7423 boundaries are replaced with symbol boundaries, and characters
7424 between symbols match non-word non-symbol syntax. (Bug#14602)
7426 2013-06-13 Juri Linkov <juri@jurta.org>
7428 * isearch.el (isearch-del-char): Don't exceed the length of
7429 `isearch-string' by the prefix arg. (Bug#14563)
7431 2013-06-13 Juri Linkov <juri@jurta.org>
7433 * isearch.el (isearch-yank-word, isearch-yank-line)
7434 (isearch-char-by-name, isearch-quote-char)
7435 (isearch-printing-char, isearch-process-search-char):
7436 Add optional count prefix arg. (Bug#14563)
7438 * international/isearch-x.el
7439 (isearch-process-search-multibyte-characters):
7440 Add optional count prefix arg.
7442 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7444 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7445 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7448 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7450 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7452 2013-06-13 Glenn Morris <rgm@gnu.org>
7454 * startup.el (tty-handle-args):
7455 Don't just discard "--" and anything after. (Bug#14608)
7457 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7459 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7461 Implement changes in Secret Service API. Make it backward compatible.
7462 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7463 (secrets-create-item): Use it. Prefix properties with interface.
7465 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7467 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7468 (term-emulate-terminal): Respect term-suppress-hard-newline.
7470 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7472 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7473 Only remove a `thumb-file' overlay. (Bug#14548)
7475 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7477 * mail/reporter.el (reporter-submit-bug-report):
7478 Handle missing package-name. (Bug#14600)
7480 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7482 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7483 (reftex-citation-prompt, reftex-default-bibliography)
7484 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7485 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7486 (reftex-bib-sort-author, reftex-bib-sort-year)
7487 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7488 (reftex-extract-bib-entries-from-thebibliography)
7489 (reftex-get-bibkey-default, reftex-get-bib-names)
7490 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7491 (reftex-format-bib-entry, reftex-parse-bibitem)
7492 (reftex-format-bibitem, reftex-do-citation)
7493 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7494 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7495 (reftex-insert-bib-matches, reftex-format-citation)
7496 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7497 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7498 existing comments into docstrings.
7500 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7502 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7504 2013-06-12 Andreas Schwab <schwab@suse.de>
7506 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7507 for auto-save files.
7509 2013-06-12 Glenn Morris <rgm@gnu.org>
7511 * ido.el (ido-delete-ignored-files): Remove.
7512 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7513 Go back to calling ido-ignore-item-p directly.
7515 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7517 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7519 * ido.el (ido-delete-ignored-files): New function,
7520 split from ido-make-file-list-1.
7521 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7522 (ido-make-file-list-1): Use ido-delete-ignored-files.
7524 2013-06-12 Leo Liu <sdl.web@gmail.com>
7526 * progmodes/octave.el (inferior-octave-startup)
7527 (inferior-octave-completion-table)
7528 (inferior-octave-track-window-width-change)
7529 (octave-eldoc-function-signatures, octave-help)
7530 (octave-find-definition): Use single quoted strings.
7531 (inferior-octave-startup-args): Change default value.
7532 (inferior-octave-startup): Do not hard code "-i" and
7533 "--no-line-editing".
7534 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7535 (inferior-octave-directory-tracker): Use it.
7536 (octave-goto-function-definition): Robustify.
7537 (octave-help): Support highlighting operators in 'See also'.
7538 (octave-find-definition): Find subfunctions only in Octave mode.
7540 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7542 * help-fns.el (help-fns--compiler-macro): If the handler function is
7543 named, then put a link to it.
7544 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7545 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7547 (cl-eval-when): Simplify debug spec.
7548 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7549 compiler-macro function instead of setting `compiler-macro-file'.
7551 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7553 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7554 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7556 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7557 Daniel Hackney <dan@haxney.org>
7559 First part of Daniel Hackney's patch to package.el.
7560 * emacs-lisp/package.el: Use defstruct.
7561 (package-desc): New, main struct.
7562 (package--bi-desc, package--ac-desc): New structs, used to describe the
7563 format in external files.
7564 (package-desc-vers): Replace with package-desc-version accessor.
7565 (package-desc-doc): Replace with package-desc-summary accessor.
7566 (package-activate-1): Remove `package' arg since the pkg-vec now
7568 (define-package): Use package-desc-from-define.
7569 (package-unpack-single): Change file-name arg to be a symbol.
7570 (package--add-to-archive-contents): Use package-desc-create and new
7571 accessor functions to package--ac-desc.
7572 (package-buffer-info, package-tar-file-info): Return a package-desc.
7573 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7574 arg to be a package-desc.
7575 (package-install-file): Adjust accordingly. Use \' to match EOS.
7576 (package--from-builtin): New function.
7577 (describe-package-1, package-menu--generate): Use it.
7578 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7579 (package-generate-autoloads): Idem and return the name of the file.
7580 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7581 Change pkg-info arg to be a package-desc.
7582 Use package-make-ac-desc.
7583 (package-upload-file): Use \' to match EOS.
7584 * finder.el (finder-compile-keywords): Use package-make-builtin.
7586 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7588 * vc/vc.el (vc-deduce-fileset): Change error message.
7589 (vc-read-backend): New function.
7590 (vc-next-action): Use it.
7592 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7594 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7595 (prolog-font-lock-keywords): Use regexp-opt instead.
7596 Don't manually highlight strings.
7597 (prolog-mode-variables): Simplify comment-start-skip.
7598 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7600 * emacs-lisp/generic.el (generic--normalise-comments)
7601 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7602 (generic-mode-set-comments): Use them.
7603 (generic-bracket-support): Use setq-local.
7604 (generic-make-keywords-list): Declare obsolete.
7606 2013-06-11 Glenn Morris <rgm@gnu.org>
7608 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7609 Prettify after setting font-lock-defaults. (Bug#14574)
7611 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7613 * replace.el (query-replace, occur-read-regexp-defaults-function)
7615 * subr.el (declare-function, number-sequence, local-set-key)
7616 (substitute-key-definition, locate-user-emacs-file)
7617 (with-silent-modifications, split-string, eval-after-load):
7618 Fix typos, remove unneeded backslashes and reflow some docstrings.
7620 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7622 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7623 default for Elisp files.
7625 2013-06-11 Glenn Morris <rgm@gnu.org>
7627 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7628 although define-derived-mode was doing this anyway. (Bug#14583)
7630 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7632 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7633 Fix make-variable-buffer-local call to refer to the correct variable.
7635 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7637 * eshell/em-term.el (eshell-visual-commands)
7638 (eshell-visual-subcommands, eshell-visual-options):
7639 Add summary line to docstrings. Add cross-references.
7641 2013-06-10 Glenn Morris <rgm@gnu.org>
7643 * epa.el (epa-read-file-name): New function. (Bug#14510)
7644 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7646 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7648 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7649 output redirection to be ignored with visual commands.
7651 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7653 * eshell/em-term.el (eshell-visual-command-p): New function.
7654 (eshell-term-initialize): Move long lambda to separate function
7655 eshell-visual-command-p.
7656 * eshell/em-dirs.el (eshell-dirs-initialise):
7657 * eshell/em-script.el (eshell-script-initialize):
7658 Add missing #' to lambda.
7660 2013-06-08 Leo Liu <sdl.web@gmail.com>
7662 * progmodes/octave.el (octave-add-log-current-defun): New function.
7663 (octave-mode): Set add-log-current-defun-function.
7664 (octave-goto-function-definition): Do not move point if not found.
7665 (octave-find-definition): Enhance to try subfunctions first.
7667 2013-06-08 Glenn Morris <rgm@gnu.org>
7669 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7670 (byte-compile-backward-char, byte-compile-backward-word):
7671 Improve previous change, to handle non-explicit nil.
7673 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7675 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7676 (smie--opener/closer-at-point): New function.
7677 (smie--matching-block-data): Use it. Don't match from right after an
7678 opener or right before a closer. Obey smie-blink-matching-inners.
7679 Don't signal a mismatch for repeated inners like "switch..case..case".
7681 2013-06-07 Leo Liu <sdl.web@gmail.com>
7683 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7685 (octave-function-header-regexp): Fix. (Bug#14570)
7686 (octave-help-mode-finish-hook, octave-help-mode-finish):
7687 Remove. Just use temp-buffer-show-hook.
7689 * newcomment.el (comment-search-backward): Revert last change.
7692 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7694 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7696 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7697 through xargs, to avoid failure due to MS-Windows limitations on
7698 command-line length.
7700 2013-06-06 Glenn Morris <rgm@gnu.org>
7702 * font-lock.el (lisp-font-lock-keywords-2):
7703 Treat user-error like error.
7705 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7706 (byte-compile-backward-char, byte-compile-backward-word):
7707 Handle explicit nil arguments. (Bug#14565)
7709 2013-06-05 Alan Mackenzie <acm@muc.de>
7711 * isearch.el (isearch-allow-prefix): New user option.
7712 (isearch-other-meta-char): Don't exit isearch when a prefix
7713 argument is typed whilst `isearch-allow-prefix' is non-nil.
7716 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7718 * autorevert.el (auto-revert-notify-handler): Use memq.
7719 Hide assertion failure.
7721 * skeleton.el: Use cl-lib.
7722 (skeleton-further-elements): Use defvar-local.
7723 (skeleton-insert): Use cl-progv.
7725 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7727 * progmodes/prog-mode.el (prog-prettify-symbols)
7728 (prog-prettify-install): Update docstrings.
7730 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7732 * simple.el: Move all the prog-mode code to prog-mode.el.
7733 * progmodes/prog-mode.el: New file.
7734 * loadup.el: Add prog-mode.el.
7736 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7738 * simple.el (prog-prettify-symbols): Add version.
7739 (prog-prettify-install): Add convenience function to prettify symbols.
7741 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7742 (perl--augmented-font-lock-keywords-1)
7743 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7744 variables and use it.
7746 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7747 (cfengine3-mode): Remove unneeded variable and use it.
7749 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7750 (lisp--augmented-font-lock-keywords-1)
7751 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7752 Remove unneeded variables and use it.
7754 2013-06-05 João Távora <joaotavora@gmail.com>
7756 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7757 to point when opening the connection. (Bug#14380)
7759 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7761 * subr.el (load-history-regexp, load-history-filename-element)
7762 (eval-after-load, after-load-functions, do-after-load-evaluation)
7763 (eval-next-after-load, display-delayed-warnings)
7764 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7765 definition of save-match-data.
7766 (overriding-local-map): Remove accidental obsolescence declaration.
7768 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7770 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7772 Generalize symbol prettify support to prog-mode and implement it
7773 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7774 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7775 (prog--prettify-font-lock-compose-symbol)
7776 (prog-prettify-font-lock-symbols-keywords): New variables and
7777 functions to support symbol prettification.
7778 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7779 (lisp--augmented-font-lock-keywords-1)
7780 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7781 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7782 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7783 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7784 Implement prettify of -> => :: strings.
7785 * progmodes/perl-mode.el (perl-prettify-symbols)
7786 (perl--font-lock-compose-symbol)
7787 (perl--font-lock-symbols-keywords): Move to prog-mode.
7788 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7789 (perl-font-lock-keywords-1)
7790 (perl-font-lock-keywords-2): Remove explicit prettify support.
7791 (perl--augmented-font-lock-keywords)
7792 (perl--augmented-font-lock-keywords-1)
7793 (perl--augmented-font-lock-keywords-2, perl-mode):
7794 Implement prettify support.
7796 2013-06-05 Leo Liu <sdl.web@gmail.com>
7798 Re-implement smie matching block highlight using
7799 show-paren-data-function. (Bug#14395)
7800 * emacs-lisp/smie.el (smie-matching-block-highlight)
7801 (smie--highlight-matching-block-overlay)
7802 (smie--highlight-matching-block-lastpos)
7803 (smie-highlight-matching-block)
7804 (smie-highlight-matching-block-mode): Remove.
7805 (smie--matching-block-data-cache): New variable.
7806 (smie--matching-block-data): New function.
7807 (smie-setup): Use smie--matching-block-data for
7808 show-paren-data-function.
7810 * progmodes/octave.el (octave-mode-menu): Fix.
7811 (octave-find-definition): Skip garbage lines.
7813 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7815 Fix compilation error with simultaneous dynamic+lexical scoping.
7816 Add warning when a defvar appears after the first let-binding.
7817 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7818 (byte-compile-close-variables): Initialize it.
7819 (byte-compile--declare-var): New function.
7820 (byte-compile-file-form-defvar)
7821 (byte-compile-file-form-define-abbrev-table)
7822 (byte-compile-file-form-custom-declare-variable): Use it.
7823 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7824 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7825 (byte-compile-bind): Handle dynamic bindings that shadow
7827 (byte-compile-unbind): Make arg non-optional.
7828 (byte-compile-let): Simplify.
7829 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7830 (cconv--analyse-function, cconv-analyse-form): Populate it.
7831 Protect byte-compile-bound-variables to limit the scope of defvars.
7832 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7833 Remove unneeded rule for `declare'.
7835 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7836 so as to avoid depending on cl-adjoin at run-time.
7837 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7839 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7840 (macroexp--warn-and-return): Use it.
7842 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7844 * lisp/subr.el: Convert to lexical binding.
7845 (overriding-local-map): Make obsolete.
7846 (add-to-list): Doc fix. Add compiler macro.
7847 (read-key): Swap values of local maps.
7849 2013-06-05 Leo Liu <sdl.web@gmail.com>
7851 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7853 2013-06-04 Leo Liu <sdl.web@gmail.com>
7855 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7856 (compilation-auto-jump): Suppress the "Mark set" message to give
7857 way to exit message.
7859 2013-06-04 Alan Mackenzie <acm@muc.de>
7861 Remove faulty optimisation from indentation calculation.
7862 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7863 search limit based on 2000 characters back from indent-point.
7865 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7867 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7869 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7871 * emacs-lisp/lisp.el: Use lexical-binding.
7872 (lisp--local-variables-1, lisp--local-variables): New functions.
7873 (lisp--local-variables-completion-table): New var.
7874 (lisp-completion-at-point): Use it complete let-bound vars.
7876 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7877 eagerly (bug#14422).
7879 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7881 * autorevert.el (auto-revert-notify-enabled)
7882 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7883 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7884 (auto-revert-notify-handler): Handle also gfilenotify.
7886 * subr.el (file-notify-handle-event): New defun. Replacing ...
7887 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7890 2013-06-03 Juri Linkov <juri@jurta.org>
7892 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7893 `M-s h .'. (Bug#14427)
7895 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7896 command `hi-lock-face-symbol-at-point'.
7897 (hi-lock-face-symbol-at-point): New command.
7898 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7899 (hi-lock-menu): Add `highlight-symbol-at-point'.
7900 (hi-lock-mode): Doc fix.
7902 * isearch.el (isearch-forward-symbol-at-point): New command.
7903 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7904 (isearch-highlight-regexp): Add a regexp which matches
7905 words/symbols for word/symbol mode.
7907 * subr.el (find-tag-default-bounds): New function with the body
7908 mostly moved from `find-tag-default'.
7909 (find-tag-default): Move most code to `find-tag-default-bounds',
7910 call it and apply `buffer-substring-no-properties' afterwards.
7912 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7914 * eshell/em-term.el (eshell-term-initialize):
7915 Use `cl-intersection' rather than `intersection'.
7917 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7919 * vc/log-view.el: Doc fix.
7920 (log-view-mode-map): Copy keymap from `special-mode-map'.
7922 2013-06-02 Eric Ludlam <zappo@gnu.org>
7924 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7925 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7926 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7927 (eieio-unbound, eieio-default-superclass)
7928 (eieio--define-field-accessors, method-static, method-before)
7929 (method-primary, method-after, method-num-lists)
7930 (method-generic-before, method-generic-primary)
7931 (method-generic-after, method-num-slots)
7932 (eieio-specialized-key-to-generic-key)
7933 (eieio--check-type, class-v, class-p)
7934 (eieio-class-name, define-obsolete-function-alias)
7935 (eieio-class-parents-fast, eieio-class-children-fast)
7936 (same-class-fast-p, class-constructor, generic-p)
7937 (generic-primary-only-p, generic-primary-only-one-p)
7938 (class-option-assoc, class-option, eieio-object-p)
7939 (class-abstract-p, class-method-invocation-order)
7940 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7941 (eieio-class-un-autoload, eieio-defclass)
7942 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7943 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7944 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7945 (eieio-defgeneric-reset-generic-form)
7946 (eieio-defgeneric-form-primary-only)
7947 (eieio-defgeneric-reset-generic-form-primary-only)
7948 (eieio-defgeneric-form-primary-only-one)
7949 (eieio-defgeneric-reset-generic-form-primary-only-one)
7950 (eieio-unbind-method-implementations)
7951 (eieio--defmethod, eieio--typep)
7952 (eieio-perform-slot-validation, eieio-validate-slot-value)
7953 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7954 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7955 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7956 (eieio-slot-name-index, eieio-class-slot-name-index)
7957 (eieio-set-defaults, eieio-initarg-to-attribute)
7958 (eieio-attribute-to-initarg, eieio-c3-candidate)
7959 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7960 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7961 (eieio-class-precedence-list, eieio-generic-call-methodname)
7962 (eieio-generic-call-arglst, eieio-generic-call-key)
7963 (eieio-generic-call-next-method-list)
7964 (eieio-pre-method-execution-functions, eieio-generic-call)
7965 (eieio-generic-call-primary-only, eieiomt-method-list)
7966 (eieiomt-optimizing-obarray, eieiomt-install)
7967 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7968 (eieio-generic-form, eieio-defmethod, make-obsolete)
7969 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7970 (defclass): Remove `eval-and-compile' from macro.
7971 (call-next-method, shared-initialize): Instead of using
7972 `scoped-class' variable, use new eieio--scoped-class, and
7973 eieio--with-scoped-class.
7974 (initialize-instance): Rename local variable 'scoped-class' to
7975 'this-class' to remove ambiguitity from old global.
7977 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7979 (eieio--scoped-class-stack): New variable.
7980 (eieio--scoped-class): New fcn.
7981 (eieio--with-scoped-class): New scoping macro.
7982 (eieio-defclass): Use pushnew instead of add-to-list.
7983 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7984 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7985 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7986 `scoped-class' variable, use new eieio--scoped-class, and
7987 eieio--with-scoped-class.
7989 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7991 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7993 * eshell/esh-ext.el (eshell-external-command): Pass args to
7994 `eshell-find-interpreter'.
7995 (eshell-find-interpreter): Add new second parameter ARGS.
7997 * eshell/em-script.el (eshell-script-initialize): Add second arg
7998 to the function added as MATCH to `eshell-interpreter-alist'.
8000 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8001 the function added as MATCH to `eshell-interpreter-alist'.
8003 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8004 (eshell-visual-options): New defcustom.
8005 (eshell-escape-control-x): Adapt docstring.
8006 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8007 `eshell-visual-options' in addition to `eshell-visual-commands'.
8008 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8010 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8012 * progmodes/python.el (python-indent-block-enders): Add break,
8013 continue and raise keywords.
8015 2013-06-01 Glenn Morris <rgm@gnu.org>
8017 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8019 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8020 * progmodes/cc-cmds.el (delete-forward-p):
8021 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8022 * progmodes/cc-engine.el (buffer-syntactic-context):
8023 * progmodes/cc-fonts.el (face-property-instance):
8024 * progmodes/cc-mode.el (set-keymap-parents):
8025 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8026 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8027 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8028 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8029 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8031 * progmodes/cc-vars.el (other): Emacs has this widget since
8032 at least 21.1, so don't (re)define it.
8034 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8035 Replace the obsolete alias pcomplete-arg-quote-list.
8037 2013-06-01 Leo Liu <sdl.web@gmail.com>
8039 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8041 (inferior-octave-minimal-columns)
8042 (inferior-octave-last-column-width): New variables.
8043 (inferior-octave-track-window-width-change): New function.
8044 (inferior-octave-mode): Adjust column width so that Octave output,
8045 for example from 'ls', can fit into the window nicely.
8047 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8049 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8050 Highlight expansions inside regexp literals.
8052 2013-05-31 Glenn Morris <rgm@gnu.org>
8054 * obsolete/sym-comp.el (symbol-complete):
8055 Replace obsolete completion-annotate-function.
8057 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8059 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8061 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8062 New function, checks if point is inside a literal that allows
8063 expression expansion.
8064 (ruby-syntax-propertize-expansion): Use it.
8065 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8068 2013-05-30 Juri Linkov <juri@jurta.org>
8070 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8072 (isearch-invisible): New variable.
8073 (isearch-forward): Doc fix.
8074 (isearch-mode): Set `isearch-invisible'
8075 to the value of `search-invisible'.
8076 (isearch-toggle-case-fold): Doc fix.
8077 (isearch-toggle-invisible): New command.
8078 (isearch-query-replace): Let-bind `search-invisible'
8079 to the value of `isearch-invisible'.
8080 (isearch-search): Use `isearch-invisible' instead of
8081 `search-invisible'. Let-bind `search-invisible'
8082 to the value of `isearch-invisible'. (Bug#11378)
8084 2013-05-30 Juri Linkov <juri@jurta.org>
8086 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8087 call when `query-flag' is nil and `search-invisible' is non-nil.
8090 2013-05-30 Glenn Morris <rgm@gnu.org>
8092 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8094 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8095 (cc-require): Suppress spurious "noruntime" warnings.
8096 (cc-require-when-compile): Use fboundp, for sake of compiler.
8098 * progmodes/cc-mode.el: Move load of cc-vars before that of
8099 cc-langs (which in turn loads cc-vars), to quieten compiler.
8101 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8103 * paren.el: Simplify the code.
8104 (show-paren-mode): Always start the timer.
8105 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8106 (show-paren--overlay, show-paren--overlay-1): Rename from
8107 show-paren-overlay and show-paren-overlay-1, and initialize to an
8108 overlay rather than to nil.
8109 (show-paren-function): Misc cleanup and simplifications.
8111 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8113 * paren.el (show-paren-data-function): New hook.
8114 (show-paren--default): New function, extracted from show-paren-function.
8115 (show-paren-function): Use show-paren-data-function.
8117 2013-05-30 Glenn Morris <rgm@gnu.org>
8119 * ielm.el (ielm-map, ielm-complete-symbol):
8120 Use completion-at-point rather than obsolete functions.
8121 (inferior-emacs-lisp-mode): Doc fix.
8122 Set completion-at-point-functions, rather than
8123 comint-dynamic-complete-functions.
8125 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8126 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8127 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8129 * image.el (image-animated-p): Tweak definition.
8131 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8132 (rlogin-process-connection-type): Tweak default. Add set-after.
8133 (rlogin-host): Doc fix.
8134 (rlogin): Tweak prompt.
8135 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8137 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8138 * progmodes/tcl.el (inferior-tcl-mode-map):
8139 Use completion-at-point rather than obsolete alias.
8141 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8143 * minibuffer.el (read-file-name-completion-ignore-case):
8144 Move before completion--in-region, for eager macro expansion.
8146 2013-05-29 Juri Linkov <juri@jurta.org>
8148 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8149 for total count of matching lines. Add `global-matches' for total
8150 count of matches. Rename `matches' to `lines' for count of
8151 matching lines. Add `matches' for count of matches.
8152 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8153 to `prev-line' for line number of prev match endpt.
8154 Increment `matches' for every match. Print the number of
8155 matching lines in the header.
8156 (occur-context-lines): Rename `lines' to `curr-line'.
8157 Rename `prev-lines' to `prev-line'. (Bug#14017)
8159 2013-05-29 Juri Linkov <juri@jurta.org>
8161 * replace.el (perform-replace): Add `skip-read-only-count',
8162 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8163 Increment them for corresponding conditions and report the number
8164 of skipped occurrences in the final message. (Bug#11746)
8165 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8166 (replace-string, replace-regexp): Doc fix.
8168 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8170 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8172 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8173 prog-mode-map (bug#14504).
8175 2013-05-29 Leo Liu <sdl.web@gmail.com>
8177 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8178 (octave-help): Small simplification.
8180 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8181 off the highlight first.
8183 2013-05-29 Glenn Morris <rgm@gnu.org>
8185 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8186 Handle idlwave-last-system-routine-info-cons-cell being nil.
8188 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8189 (idlwave-write-paths): Simplify via with-temp-buffer.
8191 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8192 * emulation/cua-rect.el: Also load cua-base at run time.
8194 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8195 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8196 (cperl-imenu-on-info): Require imenu.
8198 2013-05-28 Alan Mackenzie <acm@muc.de>
8200 Handle "capitalised keywords" correctly.
8201 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8203 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8205 * eshell/em-unix.el: Add -r option to cp.
8207 2013-05-28 Glenn Morris <rgm@gnu.org>
8209 * vc/vc-arch.el (vc-exec-after): Declare.
8210 (vc-switches): Autoload.
8211 * vc/vc-bzr.el: No need to require vc when compiling.
8212 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8213 (vc-resynch-buffer, vc-dir-refresh): Declare.
8214 (vc-setup-buffer, vc-switches): Autoload.
8215 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8216 (vc-resynch-buffer): Declare.
8217 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8218 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8219 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8220 (grep-read-regexp, grep-read-files, grep-expand-template)
8221 (vc-dir-refresh): Declare.
8222 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8223 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8224 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8225 * vc/vc-mtn.el (vc-exec-after): Declare.
8226 (vc-switches): Autoload.
8227 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8228 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8229 (vc-file-tree-walk): Declare.
8230 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8231 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8232 (vc-tag-precondition, vc-rename-master): Autoload.
8233 * vc/vc-svn.el (vc-exec-after): Declare.
8234 (vc-switches, vc-setup-buffer): Autoload.
8235 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8237 (vc-resynch-buffer): Declare.
8239 * obsolete/fast-lock.el (byte-compile-warnings):
8240 Don't warn about obsolete features in this obsolete file.
8242 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8243 Move definition before use.
8245 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8246 (dun-unix-verbs): Remove dun-zippy.
8247 (dun-zippy): Remove function.
8249 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8251 2013-05-27 Juri Linkov <juri@jurta.org>
8253 * replace.el (replace-search): New function with code moved out
8254 from `perform-replace'.
8255 (replace-highlight, replace-dehighlight): Move function definitions
8256 up closer to `replace-search'. (Bug#11746)
8258 2013-05-27 Juri Linkov <juri@jurta.org>
8260 * replace.el (perform-replace): Ignore invisible matches.
8261 In addition to checking `query-replace-skip-read-only', also
8262 filter out matches by calling `run-hook-with-args-until-failure'
8263 on `isearch-filter-predicates', and also check `search-invisible'
8264 for t or call `isearch-range-invisible'.
8265 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8267 2013-05-27 Juri Linkov <juri@jurta.org>
8269 * isearch.el (isearch-filter-predicates): Rename from
8270 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8271 (isearch-message-prefix): Display text from the property
8272 `isearch-message-prefix' of the currently active filters.
8273 (isearch-search): Don't compare `isearch-filter-predicate' with
8274 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8275 on `isearch-filter-predicates'. Also check `search-invisible' for t
8276 or call `isearch-range-invisible'.
8277 (isearch-filter-visible): Make obsolete.
8278 (isearch-lazy-highlight-search):
8279 Call `run-hook-with-args-until-failure' on
8280 `isearch-filter-predicates' and use `isearch-range-invisible'.
8282 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8283 `isearch-filter-predicates' instead of `funcall'ing
8284 `isearch-filter-predicate'.
8285 (Info-mode): Set `Info-isearch-filter' to
8286 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8288 * dired-aux.el (dired-isearch-filter-predicate-orig):
8290 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8291 (dired-isearch-filenames-end): Add and remove
8292 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8293 instead of changing the value of `isearch-filter-predicate'.
8294 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8295 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8296 Put property `isearch-message-prefix' to "filename " on
8297 `dired-isearch-filter-filenames'.
8299 * wdired.el (wdired-change-to-wdired-mode):
8300 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8301 locally instead of changing `isearch-filter-predicate'.
8302 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8304 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8306 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8307 return the commit hash (Bug#14459). Also set the
8308 `vc-git-detached' property.
8309 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8310 (vc-git-mode-line-string): Use the same help-echo format whether
8311 in detached mode or not, because we know the actual revision now.
8312 When in detached mode, shorten the revision to 7 chars.
8314 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8316 * emacs-lisp/easy-mmode.el (define-minor-mode):
8317 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8318 mode hook and provide a docstring.
8320 2013-05-27 Alan Mackenzie <acm@muc.de>
8322 Remove spurious syntax-table text properties inserted by C-y.
8323 * progmodes/cc-mode.el (c-after-change): Also clear hard
8324 syntax-table property with value nil.
8326 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8328 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8329 when reading the events; the buffer layout shall not be changed.
8331 2013-05-27 Leo Liu <sdl.web@gmail.com>
8333 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8335 (inferior-octave-directory-tracker): Automatically re-sync
8337 (octave-help): Improve handling of 'See also'.
8339 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8341 * doc-view.el: Minor naming convention tweaks.
8342 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8344 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8345 even if there's no `display' property yet (bug#14435).
8347 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8349 * subr.el (unmsys--file-name): Rename from reveal-filename.
8351 * Makefile.in (custom-deps, finder-data, autoloads)
8352 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8353 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8354 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8356 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8358 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8359 error-completion on the first 2 args of condition-case (bug#14446).
8362 2013-05-25 Leo Liu <sdl.web@gmail.com>
8364 * comint.el (comint-previous-matching-input): Do not flood the
8365 *Messages* buffer with trivial messages.
8367 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8369 * progmodes/flymake.el (flymake-nop): Don't return a string.
8370 (flymake-set-at): Fix typo.
8372 * simple.el (read--expression): New function, extracted from
8373 eval-expression. Set completion-at-point-functions (bug#14465).
8374 (eval-expression, eval-minibuffer): Use it.
8376 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8378 * progmodes/flymake.el (flymake-save-buffer-in-file)
8379 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8380 (flymake-selected-frame, flymake-log, flymake-ins-after)
8381 (flymake-set-at, flymake-get-buildfile-from-cache)
8382 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8383 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8384 Refine the doc string.
8385 (flymake-get-file-name-mode-and-masks): Reformat.
8386 (flymake-get-real-file-name-function): Fix a minor bug.
8388 2013-05-24 Juri Linkov <juri@jurta.org>
8390 * progmodes/grep.el (grep-mode-font-lock-keywords):
8391 Support =linenumber= format used by git-grep for lines with
8392 function names. (Bug#13549)
8394 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8396 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8397 0 after a semi-colon; it works better for smie-auto-fill.
8398 (octave--indent-new-comment-line): New function.
8399 (octave-indent-new-comment-line): Use it (indirectly).
8400 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8401 modify comment-line-break-function.
8403 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8404 (smie-setup): Use add-function to set it.
8406 2013-05-24 Sam Steingold <sds@gnu.org>
8408 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8409 argument (before the `interactive' argument).
8411 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8413 * image-mode.el (image-mode-winprops): Add winprops to
8414 image-mode-winprops-alist before running
8415 image-mode-new-window-functions.
8416 * doc-view.el (doc-view-new-window-function): Don't delay
8417 doc-view-goto-page via timers (bug#14435).
8419 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8421 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8422 (doc-view-desktop-save-buffer): New function.
8423 (doc-view-restore-desktop-buffer): New function.
8424 (desktop-buffer-mode-handlers):
8425 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8427 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8428 `desktop-save-buffer' function.
8430 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8432 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8433 (tramp-gvfs-file-name-handler): Raise a user error when
8434 `tramp-gvfs-enabled' is nil.
8435 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8436 Do not raise a user error when loading package. (Bug#14447)
8438 * net/xesam.el: Move to obsolete/.
8440 2013-05-24 Glenn Morris <rgm@gnu.org>
8442 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8444 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8446 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8447 (Info-find-node, Man-getpage-in-background): Declare.
8449 * mail/unrmail.el (unrmail):
8450 Replace obsolete detect-coding-with-priority.
8452 * net/socks.el (socks-split-string): Use this rather than split-string.
8453 (socks-nslookup-host): Update for above change.
8454 (dynamic-choice, s5-dynamic-choice-match)
8455 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8456 Comment out unused code.
8458 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8459 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8460 (gud-tooltip-echo-area): Make obsolete.
8461 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8463 * progmodes/js.el (js--optimize-arglist): Declare.
8465 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8467 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8468 (ediff-window-C): Declare.
8470 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8471 Tweak requires to silence compiler.
8473 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8474 (he-search-string, he-tried-table, he-expand-list)
8475 (he-init-string, he-string-member, he-substitute-string)
8476 (he-reset-string): Declare.
8478 * obsolete/options.el (list-options): Use custom-variable-p,
8479 rather than obsolete alias.
8481 2013-05-23 Sam Steingold <sds@gnu.org>
8483 * simple.el (shell-command-on-region): Pass the `replace' argument
8484 down to `call-process-region' to comply with the doc as reported on
8485 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8487 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8489 * emacs-lisp/smie.el (smie-indent-forward-token)
8490 (smie-indent-backward-token): Handle string tokens (bug#14381).
8492 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8494 * ielm.el (ielm-menu): New menu.
8495 (inferior-emacs-lisp-mode): Set comment-start.
8497 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8499 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8500 Fix deactivate action.
8502 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8503 Add cleveref macros.
8505 * lisp/textmodes/reftex-parse.el
8506 (reftex-locate-bibliography-files): Accept options for
8507 bibliography commands.
8508 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8509 Add addbibresource. Basic Biblatex support.
8511 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8513 * net/tramp-gvfs.el (top):
8514 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8515 when loading package. (Bug#14447)
8517 2013-05-23 Glenn Morris <rgm@gnu.org>
8519 * progmodes/js.el: No need to load comint when compiling.
8520 (ring-insert, comint-send-string, comint-send-input)
8521 (comint-last-input-end, ido-chop): Declare.
8523 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8524 * vc/ediff-mult.el: Adjust requires.
8525 (ediff-directories-internal, ediff-directory-revisions-internal)
8526 (ediff-patch-file-internal): Declare.
8527 * vc/ediff-ptch.el: Adjust requires.
8528 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8529 (ediff-find-file): Autoload.
8530 * vc/ediff-util.el: No need to load ediff when compiling.
8531 (ediff-regions-internal): Declare.
8532 * vc/ediff-wind.el: Adjust requires.
8533 (ediff-compute-toolbar-width): Define when compiling.
8534 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8535 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8536 (dired-get-filename, dired-get-marked-files)
8537 (ediff-last-dir-patch, ediff-patch-default-directory)
8538 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8539 (ediff-patch-buffer-internal): Declare.
8541 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8542 (ispell-process, ispell-buffer-local-words, lm-summary)
8543 (lm-section-start, lm-section-end): Declare.
8544 (checkdoc-ispell-init): Simplify.
8546 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8547 (he-string-member, he-reset-string, he-substitute-string): Declare.
8549 * eshell/em-ls.el: Adjust requires.
8550 (eshell-glob-regexp): Declare.
8551 * eshell/em-tramp.el: Adjust requires.
8552 (eshell-parse-command): Autoload.
8553 * eshell/em-xtra.el: Adjust requires.
8554 (eshell-parse-command): Autoload.
8555 * eshell/esh-ext.el: Adjust requires.
8556 (eshell-parse-command, eshell-close-handles): Autoload.
8557 * eshell/esh-io.el: Adjust requires.
8558 (eshell-output-filter): Autoload.
8559 * eshell/esh-util.el: No need to load tramp when compiling.
8560 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8562 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8563 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8564 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8565 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8566 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8567 * eshell/esh-opt.el, eshell/esh-proc.el:
8568 * eshell/esh-var.el: Adjust requires.
8569 * eshell/eshell.el: Do not require esh-util twice.
8570 (eshell-add-input-to-history): Declare.
8571 (eshell-command): Check history module is active before using it.
8573 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8575 2013-05-22 Leo Liu <sdl.web@gmail.com>
8577 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8579 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8581 * autorevert.el (auto-revert-notify-add-watch)
8582 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8583 it indicates changes in file modification time.
8585 2013-05-22 Glenn Morris <rgm@gnu.org>
8587 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8588 Always delete the autoloaded function from the noruntime and
8589 unresolved functions lists.
8591 * allout.el: No need to load epa, epg, overlay when compiling.
8592 (epg-context-set-passphrase-callback, epg-list-keys)
8593 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8594 (epg-key-user-id-list): Declare.
8596 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8597 (viper-set-parsing-style-toggling-macro)
8598 (viper-set-emacs-state-searchstyle-macros):
8599 Use called-interactively-p on Emacs.
8600 (viper-looking-back): Make it an obsolete alias. Update callers.
8601 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8602 Use looking-back rather than viper-looking-back.
8603 (viper-tmp-insert-at-eob, viper-enlarge-region)
8604 (viper-read-string-with-history, viper-register-to-point)
8605 (viper-append-to-register, viper-change-state-to-vi)
8606 (viper-backward-char-carefully, viper-forward-char-carefully)
8607 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8608 (viper-change-state-to-emacs): Declare.
8609 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8610 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8611 * emulation/viper-mous.el: Do not load viper-cmd.
8612 (viper-backward-char-carefully, viper-forward-char-carefully)
8613 (viper-forward-word, viper-adjust-window): Declare.
8615 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8617 * progmodes/idlw-help.el (idlwave-help-fontify):
8618 Use called-interactively-p.
8620 * term/w32console.el (w32-get-console-codepage)
8621 (w32-get-console-output-codepage): Declare.
8623 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8624 Remove unnecessary declarations.
8625 (dframe-message): Doc fix.
8627 * info.el (dframe-select-attached-frame, dframe-current-frame):
8630 * speedbar.el (speedbar-message): Make it an obsolete alias.
8632 (speedbar-with-attached-buffer)
8633 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8634 (speedbar-with-writable): Use backquote.
8635 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8636 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8637 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8638 rather than speedbar- aliases.
8639 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8640 (speedbar-make-specialized-keymap, speedbar-insert-button)
8641 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8642 (speedbar-do-function-pointer): Declare.
8643 (rmail-speedbar-button, rmail-speedbar-find-file)
8644 (rmail-speedbar-move-message):
8645 Use dframe-with-attached-buffer rather than speedbar- alias.
8646 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8647 (dframe-message, speedbar-make-specialized-keymap)
8648 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8649 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8650 (speedbar-insert-button, dframe-select-attached-frame)
8651 (dframe-maybee-jump-to-attached-frame)
8652 (speedbar-change-initial-expansion-list)
8653 (speedbar-previously-used-expansion-list-name): Declare.
8654 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8655 Use dframe-message, dframe-with-attached-buffer rather than
8657 (gud-sentinel): Silence compiler.
8658 * progmodes/vhdl-mode.el (speedbar-refresh)
8659 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8660 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8661 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8662 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8663 (speedbar-file-lists, speedbar-make-tag-line)
8664 (speedbar-line-directory, speedbar-goto-this-file)
8665 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8666 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8667 (speedbar-make-button, speedbar-reset-scanners)
8668 (speedbar-files-item-info, speedbar-line-text)
8669 (speedbar-find-file-in-frame, speedbar-set-timer)
8670 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8671 (speedbar-with-writable): Do not (re)define it.
8672 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8673 rather than speedbar- alias.
8675 2013-05-21 Leo Liu <sdl.web@gmail.com>
8677 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8679 (octave-mode): Tweak fill-nobreak-predicate.
8680 (inferior-octave-startup): Check process to avoid infinite loop.
8681 (inferior-octave): Pop to buffer first to show abornmal process
8684 2013-05-21 Glenn Morris <rgm@gnu.org>
8686 * printing.el (pr-menu-bar): Define when compiling.
8688 2013-05-21 Leo Liu <sdl.web@gmail.com>
8690 * progmodes/octave.el (octave-auto-fill): Remove.
8691 (octave-indent-new-comment-line): Improve.
8692 (octave-mode): Use auto fill mode through
8693 comment-line-break-function and fill-nobreak-predicate.
8694 (octave-goto-function-definition): Support DEFUN_DLD.
8695 (octave-beginning-of-defun): Small tweak.
8696 (octave-help): Show parent directory.
8698 2013-05-21 Glenn Morris <rgm@gnu.org>
8700 * files.el (dired-unmark):
8701 * progmodes/gud.el (gdb-input): Update declarations.
8703 * calculator.el (electric, ehelp): No need to load when compiling.
8704 (Electric-command-loop, electric-describe-mode): Declare.
8706 * doc-view.el (doc-view-current-converter-processes): Move before use.
8708 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8709 Move MODE-set-explicitly definition before use.
8711 * international/mule-diag.el (mule-diag):
8712 Don't use obsolete window-system-version.
8714 * mail/feedmail.el (smtpmail): No need to load when compiling.
8715 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8717 * mail/mail-utils.el (rfc822): No need to load when compiling.
8718 (rfc822-addresses): Autoload it.
8719 (mail-strip-quoted-names): Trivial simplification.
8721 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8722 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8724 * net/snmp-mode.el (tempo): Don't duplicate requires.
8726 * progmodes/prolog.el (info): No need to load when compiling.
8727 (comint): Require before shell requires it.
8728 (Info-goto-node): Autoload it.
8729 (Info-follow-nearest-node): Declare.
8730 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8732 * textmodes/artist.el (picture-mode-exit): Declare.
8734 * textmodes/reftex-parse.el (reftex-parse-from-file):
8735 Trivial rewrite so the compiler can parse it better.
8737 2013-05-20 Leo Liu <sdl.web@gmail.com>
8739 * progmodes/octave.el (octave-help-mode-map)
8740 (octave-help-mode-finish-hook): New variables.
8741 (octave-help-mode, octave-help-mode-finish): New functions.
8742 (octave-help): Use octave-help-mode.
8744 2013-05-20 Glenn Morris <rgm@gnu.org>
8746 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8748 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8750 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8751 start at point, so that expansion starting right after opening
8752 slash in a regexp is recognized.
8753 (ruby-syntax-before-regexp-re): New defvar, extracted from
8754 ruby-syntax-propertize-function. Since the value of this regexp
8755 is looked up at runtime now, we should be able to turn
8756 `ruby-syntax-methods-before-regexp' into a defcustom later.
8757 (ruby-syntax-propertize-function): Split regexp matching into two
8758 parts, for opening and closing slashes. That allows us to skip
8759 over string interpolations and support multiline regexps.
8760 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8761 for them, which calls `ruby-syntax-propertize-expansion'.
8762 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8763 call to `ruby-syntax-propertize-function'.
8764 (ruby-syntax-propertize-expansion): Extracted from
8765 `ruby-syntax-propertize-expansions'. Handles one expansion.
8766 (ruby-syntax-propertize-percent-literal): Leave point right after
8767 the percent symbol, so that the expression expansion rule can
8768 propertize the contents.
8769 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8771 (ruby-syntax-propertize-expansions): Remove.
8773 2013-05-18 Juri Linkov <juri@jurta.org>
8775 * man.el (Man-default-man-entry): Remove `-' from the end
8776 of the default value. (Bug#14400)
8778 2013-05-18 Glenn Morris <rgm@gnu.org>
8780 * comint.el (comint-password-prompt-regexp):
8781 Allow "password for XXX" where XXX contains colons (eg https://...).
8783 2013-05-18 Leo Liu <sdl.web@gmail.com>
8785 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8786 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8787 (octave-source-directories): Don't check process.
8788 (octave-source-directories, octave-find-definition): Doc fix.
8790 2013-05-18 Glenn Morris <rgm@gnu.org>
8792 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8793 Remove backspace/delete bindings. (Bug#14392)
8795 * cus-dep.el (custom-make-dependencies): Sort the output.
8796 (custom-versions-load-alist): Convert comment to doc.
8798 2013-05-17 Leo Liu <sdl.web@gmail.com>
8800 * newcomment.el (comment-search-backward): Stricter in finding
8801 comment start. (Bug#14303)
8803 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8804 (octave-comment-start-skip): Properly anchored.
8806 2013-05-17 Leo Liu <sdl.web@gmail.com>
8808 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8809 Clean up when turned off. (Bug#14395)
8810 (smie--highlight-matching-block-overlay): No longer buffer-local.
8811 (smie-highlight-matching-block): Adjust.
8813 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8815 Doc string fix for "nanoseconds" (Bug#14406).
8816 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8817 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8819 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8821 * calc/calc-units.el (math-extract-units): Preserve powers
8824 2013-05-17 Leo Liu <sdl.web@gmail.com>
8826 * subr.el (delete-consecutive-dups): New function.
8827 * ido.el (ido-set-matches-1): Use it.
8828 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8829 * ido.el (ido-remove-consecutive-dups): Remove.
8831 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8833 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8834 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8835 regexp-opt's `words'.
8837 2013-05-16 Leo Liu <sdl.web@gmail.com>
8839 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8840 (smie--highlight-matching-block-overlay)
8841 (smie--highlight-matching-block-lastpos)
8842 (smie--highlight-matching-block-timer): New variables.
8843 (smie-highlight-matching-block): New function.
8844 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8845 (smie-setup): Conditionally enable smie-blink-matching-open.
8847 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8849 Sync with upstream verilog-mode r840.
8850 * progmodes/verilog-mode.el (verilog-mode-version)
8851 (verilog-mode-release-date): Update.
8852 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8853 (verilog-sig-tieoff): Fix string error on
8854 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8855 (verilog-read-decls): Fix parameters confusing
8856 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8858 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8860 * subr.el (reveal-filename): New function.
8862 * loadup.el: Compute Emacs executable versions on MS-Windows,
8863 where executables have the .exe extension. Add a hard link
8864 emacs-XX.YY.ZZ.exe on MS-Windows.
8866 * Makefile.in (XARGS_LIMIT): New variable.
8867 (custom-deps, finder-data, autoloads)
8868 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8869 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8870 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8871 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8873 2013-05-16 Leo Liu <sdl.web@gmail.com>
8875 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8876 (octave-mode-menu, octave-mode-map): Remove its uses.
8878 2013-05-16 Reto Zimmermann <reto@gnu.org>
8880 Sync with upstream vhdl mode v3.34.2.
8881 * progmodes/vhdl-mode.el: Use `push' throughout.
8882 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8883 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8884 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8885 (vhdl-actual-generic-name): New option to derive actual generic name.
8886 (vhdl-port-paste-signals): Replace formal by actual generics.
8887 (vhdl-beautify): New name for old group vhdl-align. Update users.
8888 (vhdl-beautify-options): New option.
8889 (vhdl-last-input-event): New compat alias. Use throughout.
8890 (vhdl-goto-line): Replace user level function `goto-line'.
8891 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8892 vhdl-fix-statement-buffer.
8893 (vhdl-create-mode-menu): Add some entries.
8894 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8895 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8896 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8897 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8898 to force statements on one line.
8899 (vhdl-remove-trailing-spaces-region):
8900 New, split from vhdl-remove-trailing-spaces.
8901 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8902 Respect vhdl-beautify-options.
8903 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8904 (vhdl-update-sensitivity-list): Not add with index if exists without.
8905 Not include array index with signal. Ignore keywords in comments.
8906 (vhdl-get-visible-signals): Regexp tweaks.
8907 (vhdl-template-component-inst): Handle empty library.
8908 (vhdl-template-type): Add template for 'enum' type.
8909 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8910 Use vhdl-replace-string.
8911 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8912 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8913 (vhdl-speedbar-initialize): Update for above name change.
8914 (vhdl-compose-wire-components): Fix in handling of constants.
8915 (vhdl-error-regexp-emacs-alist): New variable.
8916 (vhdl-error-regexp-add-emacs): New function;
8917 adds support for new compile.el (Emacs 22+)
8918 (vhdl-generate-makefile-1): Change target order for single lib. units.
8919 Allow use of absolute file names.
8921 2013-05-16 Leo Liu <sdl.web@gmail.com>
8923 * simple.el (prog-indent-sexp): Indent enclosing defun.
8925 2013-05-15 Glenn Morris <rgm@gnu.org>
8927 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8928 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8929 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8930 (whitespace-highlight): Move to whitespace group.
8932 * comint.el (comint-source):
8933 * pcmpl-linux.el (pcmpl-linux):
8934 * shell.el (shell-faces):
8935 * eshell/esh-opt.el (eshell-opt):
8936 * international/ccl.el (ccl): Remove empty custom groups.
8938 * completion.el (dynamic-completion-mode):
8939 * jit-lock.el (jit-lock-debug-mode):
8940 * minibuffer.el (completion-in-region-mode):
8941 * type-break.el (type-break-mode-line-message-mode)
8942 (type-break-query-mode):
8943 * emulation/tpu-edt.el (tpu-edt-mode):
8944 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8945 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8946 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8948 * term/xterm.el (xterm): Change parent group to terminals.
8950 * master.el (master): Remove empty custom group.
8951 (master-mode): Remove unused :group argument.
8952 * textmodes/refill.el (refill): Remove empty custom group.
8953 (refill-mode): Remove unused :group argument.
8955 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8957 * cus-dep.el: Provide a feature.
8958 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8959 Don't mistakenly ignore files whose basenames match a basename
8960 from preloaded-file-list (eg cedet/ede/simple.el).
8961 Add a fallback method for getting :group.
8963 2013-05-15 Juri Linkov <juri@jurta.org>
8965 * isearch.el (isearch-char-by-name): Rename from
8966 `isearch-insert-char-by-name'. Doc fix.
8967 (isearch-forward): Mention `isearch-char-by-name' in
8968 the docstring. (Bug#13348)
8970 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8971 `exit-minibuffer' instead of
8972 `isearch-nonincremental-exit-minibuffer'.
8973 (isearch-edit-string): Remove mention of
8974 `isearch-nonincremental-exit-minibuffer' from docstring.
8975 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8976 (isearch-forward-exit-minibuffer)
8977 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8979 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8981 * loadup.el: Just use unversioned DOC.
8983 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8984 literals as extending to EOB.
8985 (nxml-last-fontify-end): Remove unused variable.
8986 (nxml-after-change1): Use with-silent-modifications.
8987 (nxml-extend-after-change-region): Simplify.
8988 (nxml-extend-after-change-region1): Remove function.
8989 (nxml-after-change1): Don't adjust for dependent regions.
8990 (nxml-fontify-matcher): Simplify.
8991 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8992 (xmltok-add-dependent): Remove function.
8993 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8994 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8995 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8996 unclosed <[[, <?, comment, and other literals as extending to EOB.
8997 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8998 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9000 (rng-do-some-validation-1): Don't mark dependent regions.
9001 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9002 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9003 (nxml-clear-dependent-regions): Remove functions.
9004 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9005 (nxml-ensure-scan-up-to-date):
9006 Don't clear&mark dependent regions.
9008 2013-05-15 Leo Liu <sdl.web@gmail.com>
9010 * progmodes/octave.el (octave-goto-function-definition):
9011 Improve and fix callers.
9013 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9015 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9016 the setter (bug#14387).
9018 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9019 surrounding group (bug#14402).
9021 2013-05-14 Juri Linkov <juri@jurta.org>
9023 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9026 2013-05-14 Glenn Morris <rgm@gnu.org>
9028 * progmodes/f90.el (f90-imenu-generic-expression):
9029 Fix typo in 2013-05-08 change. (Bug#14402)
9031 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9033 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9034 Remove signals for which replies are never received.
9036 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9038 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9039 (gdb-handler-alist, gdb-handler-number): Remove variables.
9040 (gdb-handler-list): New variable.
9041 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9042 (gdb-pending-handler-p, gdb-handle-reply)
9043 (gdb-remove-all-pending-triggers): New functions.
9044 (gdb-discard-unordered-replies): New defcustom.
9045 (gdb-handler): New defstruct.
9046 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9047 instead of gdb-pending-triggers. Update docstring.
9048 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9049 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9050 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9051 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9052 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9053 (gdb-frame-handler): Pending triggers are now automatically managed.
9054 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9056 (gdb-input): Automatically handles pending triggers. Update docstring.
9057 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9058 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9060 (gdb-done-or-error): Now use gdb-handle-reply.
9062 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9064 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9067 2013-05-14 Glenn Morris <rgm@gnu.org>
9069 * subr.el (user-emacs-directory-warning): New option.
9070 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9072 2013-05-14 Leo Liu <sdl.web@gmail.com>
9074 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9076 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9077 (octave-font-lock-texinfo-comment): Fix invalid search bound
9078 error: wrong side of point.
9080 2013-05-14 Glenn Morris <rgm@gnu.org>
9082 * progmodes/flymake.el (flymake-xml-program): New option.
9083 (flymake-xml-init): Use it.
9085 * term/xterm.el: Provide a feature.
9087 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9089 2013-05-13 Glenn Morris <rgm@gnu.org>
9091 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9092 Add compat aliases as a hack workaround. (Bug#14384)
9094 2013-05-13 Leo Liu <sdl.web@gmail.com>
9096 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9098 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9100 (octave-comment-start-skip): Include %!.
9101 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9103 2013-05-12 Leo Liu <sdl.web@gmail.com>
9105 * progmodes/octave.el (inferior-octave-startup): Store the value
9106 of __octave_srcdir__ for octave-source-directories.
9107 (inferior-octave-check-process): New function refactored out of
9108 inferior-octave-send-list-and-digest.
9109 (octave-source-directories)
9110 (octave-find-definition-filename-function): New variables.
9111 (octave-source-directories)
9112 (octave-find-definition-default-filename): New functions.
9113 (octave-find-definition): Improve to find functions implemented in C++.
9115 2013-05-12 Glenn Morris <rgm@gnu.org>
9117 * calendar/diary-lib.el (diary-outlook-format-1):
9118 Don't include dayname in the output. (Bug#14349)
9120 2013-05-11 Glenn Morris <rgm@gnu.org>
9122 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9124 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9125 Treat cc-provide like provide.
9127 2013-05-11 Kevin Ryde <user42@zip.com.au>
9129 * cus-dep.el (custom-make-dependencies):
9130 Use generated-autoload-load-name for the sake of files such
9131 such cedet/semantic/bovine/c.el, where the base file name
9132 is not in load-path. (Bug#5277)
9134 2013-05-11 Glenn Morris <rgm@gnu.org>
9136 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9139 2013-05-11 Leo Liu <sdl.web@gmail.com>
9141 * progmodes/octave.el (octave-indent-comment): Improve.
9142 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9143 (octave-eldoc-function-signatures, octave-eldoc-function):
9145 (octave-mode, inferior-octave-mode): Add eldoc support.
9147 2013-05-11 Richard Stallman <rms@gnu.org>
9149 * epa.el (epa-decrypt-file): Take output file name as argument
9150 and read it using `interactive'.
9152 2013-05-11 Leo Liu <sdl.web@gmail.com>
9154 * progmodes/octave.el (octave-beginning-of-line)
9155 (octave-end-of-line): Check before using up-list because it jumps
9156 out of more syntactic contructs since moving to smie.
9157 (octave-indent-comment): New function.
9158 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9159 (octave-begin-keywords, octave-end-keywords)
9160 (octave-reserved-words, octave-smie-bnf-table)
9161 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9163 2013-05-11 Glenn Morris <rgm@gnu.org>
9165 * faces.el (internal-face-x-get-resource):
9166 * frame.el (ns-display-monitor-attributes-list):
9167 * calc/calc-aent.el (math-to-radians-2):
9168 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9171 * calc/calc-menu.el: Make it loadable in isolation.
9173 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9174 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9175 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9176 (eudc-bbdb-query-internal): Require 'bbdb.
9178 * lpr.el (lpr-headers-switches):
9179 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9181 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9183 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9185 * term.el (term-set-escape-char): Make it idempotent.
9187 2013-05-10 Leo Liu <sdl.web@gmail.com>
9189 * progmodes/octave.el (inferior-octave-completion-table):
9190 No longer a function and all uses changed. Use cache to speed up
9191 completion due to bug#11906.
9192 (octave-beginning-of-defun): Re-write to be more general.
9194 2013-05-10 Glenn Morris <rgm@gnu.org>
9196 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9198 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9200 * comint.el (comint-redirect-send-command-to-process): Use :around
9201 rather than :override for comint-redirect-filter.
9202 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9203 Call it instead of comint-redirect-original-filter-function (which
9204 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9206 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9208 * frame.el (display-monitor-attributes-list): Add NS case.
9209 (ns-display-monitor-attributes-list): Declare.
9211 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9213 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9215 2013-05-09 Glenn Morris <rgm@gnu.org>
9217 * international/fontset.el (vertical-centering-font-regexp):
9220 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9222 * bookmark.el (bookmark-search-delay):
9223 * cus-start.el (vertical-centering-font-regexp):
9224 * ps-mule.el (ps-mule-font-info-database-default):
9225 * ps-print.el (ps-default-fg, ps-default-bg):
9226 * type-break.el (type-break-good-break-interval):
9227 * whitespace.el (whitespace-indentation-regexp)
9228 (whitespace-space-after-tab-regexp):
9229 * emacs-lisp/testcover.el (testcover-1value-functions)
9230 (testcover-noreturn-functions, testcover-progn-functions)
9231 (testcover-prog1-functions):
9232 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9233 * eshell/em-glob.el (eshell-glob-translate-alist):
9234 * play/tetris.el (tetris-tty-colors):
9235 * progmodes/cpp.el (cpp-face-default-list):
9236 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9237 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9238 (idlwave-help-browser-generic-args):
9239 * progmodes/make-mode.el (makefile-special-targets-list):
9240 * progmodes/python.el (python-shell-virtualenv-path):
9241 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9242 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9243 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9244 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9245 * textmodes/reftex-vars.el (reftex-format-label-function):
9246 * textmodes/remember.el (remember-diary-file): Fix custom types.
9248 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9251 2013-05-09 Leo Liu <sdl.web@gmail.com>
9253 * progmodes/octave.el (inferior-octave-completion-at-point):
9254 Restore file completion. (Bug#14300)
9255 (inferior-octave-startup): Fix incorrect highlighting for the
9258 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9260 * progmodes/ruby-mode.el: First cut at SMIE support.
9261 (ruby-use-smie): New var.
9262 (ruby-smie-grammar): New constant.
9263 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9264 (ruby-smie--forward-token, ruby-smie--backward-token)
9265 (ruby-smie-rules): New functions.
9266 (ruby-mode-variables): Setup SMIE if applicable.
9268 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9270 * simple.el (line-move-visual): Signal beginning/end of buffer
9271 only if vertical-motion moved less than it was requested. Avoids
9272 silly incorrect error messages when there are display strings with
9273 multiple newlines at EOL.
9275 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9277 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9278 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9279 (prolog-char-quote-workaround):
9280 * progmodes/cperl-mode.el (cperl-under-as-char):
9281 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9283 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9285 (vhdl-mode-syntax-table-init): Remove.
9287 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9290 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9292 (ld-script-font-lock-keywords):
9293 Change regexps to use things like \_< and \_>.
9295 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9296 Change all regexps to use things like \_< and \_>.
9298 * progmodes/autoconf.el (autoconf-definition-regexp)
9299 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9300 Handle a _ with symbol syntax.
9301 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9303 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9304 Consolidate declaration.
9305 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9307 (ada-create-syntax-table): Remove.
9308 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9309 already has the right syntax nowadays.
9310 (ada-goto-next-word): Don't change the syntax of "_".
9312 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9315 2013-05-08 Sam Steingold <sds@gnu.org>
9317 * thingatpt.el (thing-at-point): Accept optional second argument
9318 NO-PROPERTIES to strip the text properties from the return value.
9319 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9320 to `thing-at-point' instead of stripping the properties ourselves.
9321 Also, when `thing-at-point' fails to find a url, prepend "http://"
9322 to the filename at point on the assumption that the user is
9323 pointing at something like gnu.org/gnu.
9325 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9327 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9328 * faces.el (crm-separator):
9329 Silence byte-compiler.
9331 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9332 (tool-bar-map): Remove unneeded defvars.
9334 2013-05-08 Leo Liu <sdl.web@gmail.com>
9336 Re-work a fix for bug#10994 based on Le Wang's patch.
9337 * ido.el (ido-remove-consecutive-dups): New helper.
9338 (ido-completing-read): Use it.
9339 (ido-chop): Revert fix for bug#10994.
9341 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9343 * cus-edit.el (custom-save-variables):
9344 Pretty-print long values. (Bug#14187)
9346 2013-05-08 Glenn Morris <rgm@gnu.org>
9348 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9349 (m4-mode-syntax-table): Init in the defvar.
9350 (m4-mode-abbrev-table): Let define-derived-mode define it.
9352 2013-05-08 Tom Tromey <tromey@redhat.com>
9354 * progmodes/m4-mode.el (m4-mode-syntax-table):
9355 Do not treat "_" as word constituent. (Bug#14167)
9357 2013-05-07 Glenn Morris <rgm@gnu.org>
9359 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9360 Remove explicit eshell-isearch-cancel-map.
9362 * progmodes/f90.el (f90-smart-end-names): New option.
9363 (f90-smart-end): Doc fix.
9364 (f90-end-block-optional-name): New constant.
9365 (f90-block-match): Respect f90-smart-end-names.
9367 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9369 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9370 about implicit semi-colons (bug#14218).
9372 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9374 * frame.el (display-monitor-attributes-list)
9375 (frame-monitor-attributes): New functions.
9377 2013-05-06 Leo Liu <sdl.web@gmail.com>
9379 * progmodes/octave.el (octave-syntax-propertize-function): Change
9380 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9381 (octave-font-lock-keywords): Use octave-operator-regexp.
9382 (octave-completion-at-point): Rename from
9383 octave-completion-at-point-function.
9384 (inferior-octave-directory-tracker): Robustify.
9385 (octave-text-functions): Remove and fix its uses. No such things
9388 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9390 * emacs-lisp/trace.el (trace--display-buffer): New function.
9391 (trace-make-advice): Use it.
9393 2013-05-06 Juri Linkov <juri@jurta.org>
9395 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9396 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9398 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9399 in the help string. (Bug#12985)
9401 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9403 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9405 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9407 * progmodes/perl-mode.el: Add support for here documents.
9408 (perl-syntax-propertize-function): Match here-doc markers.
9409 (perl-syntax-propertize-special-constructs): Find their end.
9410 (perl-imenu-generic-expression): Use [:alnum:].
9412 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9413 (advice--add-function): Refresh the advice if already present
9416 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9418 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9420 2013-05-06 Glenn Morris <rgm@gnu.org>
9422 * w32-fns.el (w32-charset-info-alist): Declare.
9424 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9425 of its defcustom properties.
9426 (eshell-cmpl-initialize): No need to load pcomplete.
9428 * generic-x.el: No need to require comint when compiling.
9430 * net/eudc-export.el: Make it loadable without bbdb.
9431 (top-level): Use require rather than load-library.
9432 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9433 (eudc-batch-export-records-to-bbdb)
9434 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9437 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9439 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9440 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9441 some tweaks, instead.
9443 2013-05-05 Leo Liu <sdl.web@gmail.com>
9445 * progmodes/octave.el (octave-font-lock-keywords)
9446 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9447 (inferior-octave-send-list-and-digest): Improve error message.
9448 (octave-mode, inferior-octave-mode): Use setq-local.
9449 (octave-help): Set info-lookup-mode.
9451 2013-05-05 Richard Stallman <rms@gnu.org>
9453 * vc/compare-w.el (compare-windows-whitespace):
9454 Treat no-break space as whitespace.
9456 * mail/rmailsum.el (rmail-summary-rmail-update):
9457 Detect empty summary and don't change selected message.
9458 (rmail-summary-goto-msg): Likewise.
9460 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9461 Doc fixes, rename args.
9463 2013-05-05 Alan Mackenzie <acm@muc.de>
9465 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9467 2013-05-05 Juri Linkov <juri@jurta.org>
9469 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9470 to not add the length of the summary segment to the return value.
9473 2013-05-05 Leo Liu <sdl.web@gmail.com>
9475 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9476 (inferior-octave-output-filter): Remove.
9477 (octave-send-region, inferior-octave-startup): Fix callers.
9478 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9479 (octave-binary-file-extensions): New user variable.
9480 (octave-find-definition): Confirm if opening binary files.
9481 (octave-help-file): Use octave-find-definition to get the binary
9483 (octave-help): Adjust for octave-help-file change.
9485 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9487 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9488 Merge the two entries that handle function definitions.
9489 (pascal--syntax-propertize): New const.
9490 (pascal-mode): Use it. Use setq-local.
9492 2013-05-04 Glenn Morris <rgm@gnu.org>
9494 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9495 (diary-from-outlook): Respect diary-from-outlook-function.
9497 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9499 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9500 Move the declaration from C.
9501 (read-minibuffer, eval-minibuffer): Move from C.
9502 (completion-setup-function): Avoid minibuffer-completion-contents.
9504 2013-05-03 Leo Liu <sdl.web@gmail.com>
9506 * progmodes/octave.el (octave-font-lock-keywords): Do not
9507 dehighlight 'end' in comments or strings.
9508 (octave-completing-read, octave-goto-function-definition):
9510 (octave-help-buffer): New user variable.
9511 (octave-help-file, octave-help-function): New button types.
9512 (octave-help): New command and bind it to C-h ;.
9513 (octave-find-definition): New command and bind it to M-.
9514 (user-error): Alias to error if not defined.
9516 2013-05-02 Leo Liu <sdl.web@gmail.com>
9518 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9520 (octave-font-lock-keywords): Include [ and {.
9522 2013-05-02 Leo Liu <sdl.web@gmail.com>
9524 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9525 (inferior-octave): Remove calling comint-mode and return the buffer.
9526 (inferior-octave-startup): Cosmetic changes.
9528 2013-05-02 Leo Liu <sdl.web@gmail.com>
9530 * progmodes/octave.el (octave-syntax-propertize-function):
9531 Include the case when ' is at line beginning. (Bug#14336)
9533 2013-05-02 Glenn Morris <rgm@gnu.org>
9535 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9536 * desktop.el (vc-dir-mode): Just autoload it here.
9538 2013-05-02 Alan Mackenzie <acm@muc.de>
9540 Eliminate variable c-standard-font-lock-fontify-region-function.
9541 * progmodes/cc-mode.el
9542 (c-standard-font-lock-fontify-region-function): Remove.
9543 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9545 2013-05-01 Leo Liu <sdl.web@gmail.com>
9547 * progmodes/octave.el: Compatible with older emacs-24 releases.
9548 (inferior-octave-has-built-in-variables): Remove. Built-in
9549 variables were removed from Octave in 2007.
9550 (inferior-octave-startup): Fix uses.
9551 (comint-line-beginning-position): Remove compatibility code for
9554 2013-05-01 Juri Linkov <juri@jurta.org>
9556 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9558 2013-05-01 Juri Linkov <juri@jurta.org>
9560 * comint.el (comint-previous-matching-input): Don't print message
9561 "History item: %d" when `isearch-mode' is active.
9562 (comint-history-isearch-message): Print message "History item: %d"
9563 when `comint-input-ring-index' is not empty and this function is
9564 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9566 2013-05-01 Leo Liu <sdl.web@gmail.com>
9568 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9569 definitions. Use completion-at-point to insert keywords.
9570 (octave-abbrev-start): Remove.
9571 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9573 2013-04-30 Leo Liu <sdl.web@gmail.com>
9575 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9578 2013-04-30 Alan Mackenzie <acm@muc.de>
9580 Handle arbitrarily long C++ member initialisation lists.
9581 * progmodes/cc-engine.el (c-back-over-member-initializers):
9583 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9584 (most) member init lists.
9586 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9588 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9591 2013-04-30 Leo Liu <sdl.web@gmail.com>
9593 * progmodes/octave.el (octave-variables): Remove. No builtin
9594 variables any more. All converted to functions.
9595 (octave-font-lock-keywords, octave-completion-at-point-function):
9597 (octave-font-lock-texinfo-comment): New user variable.
9598 (octave-texinfo-font-lock-keywords): New variable for texinfo
9600 (octave-function-comment-block): New face.
9601 (octave-font-lock-texinfo-comment): New function.
9602 (octave-mode): Font lock texinfo comment block.
9604 2013-04-29 Leo Liu <sdl.web@gmail.com>
9606 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9607 indexing expression.
9608 (octave-continuation-string): Do not use \.
9609 (inferior-octave-complete-impossible): Remove.
9610 (inferior-octave-completion-table)
9611 (inferior-octave-completion-at-point): Remove its uses.
9612 (inferior-octave-startup): completion_matches was introduced to
9613 Octave in 1996 so safe to assume it.
9614 (octave-function-file-comment): Improve to follow how Octave does it.
9615 (octave-update-function-file-comment): Tweak.
9617 2013-04-29 Leo Liu <sdl.web@gmail.com>
9619 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9620 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9621 (octave-function-file-comment): Fix typo.
9622 (octave-sync-function-file-names): Use read-char-choice.
9624 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9626 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9627 to t for the less important warnings.
9629 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9631 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9633 2013-04-27 Glenn Morris <rgm@gnu.org>
9635 * vc/log-view.el (log-view-current-entry):
9636 Treat "---" separator lines as part of the following rev. (Bug#14169)
9638 2013-04-27 Juri Linkov <juri@jurta.org>
9640 * subr.el (read-number): Doc fix about using it by interactive
9641 code letter `n'. (Bug#14254)
9643 2013-04-27 Juri Linkov <juri@jurta.org>
9645 * desktop.el (desktop-auto-save-timeout): New option.
9646 (desktop-file-checksum): New variable.
9647 (desktop-save): Add optional arg `auto-save' and don't auto-save
9649 (desktop-auto-save-timer): New variable.
9650 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9651 (after-init-hook): Call `desktop-auto-save-set-timer'.
9652 Suggested by Reuben Thomas <rrt@sc3d.org> in
9653 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9655 2013-04-27 Leo Liu <sdl.web@gmail.com>
9657 * progmodes/octave.el (octave-function-file-p)
9658 (octave-skip-comment-forward, octave-function-file-comment)
9659 (octave-update-function-file-comment): New functions.
9660 (octave-mode-map): Bind C-c ; to
9661 octave-update-function-file-comment.
9662 (octave-mode-menu): Add octave-update-function-file-comment.
9663 (octave-mode, inferior-octave-mode): Fix doc-string.
9664 (octave-insert-defun): Conform to Octave's coding convention.
9667 * files.el (basic-save-buffer): Don't let errors in
9668 before-save-hook prevent saving buffer.
9670 2013-04-20 Roland Winkler <winkler@gnu.org>
9672 * faces.el (read-face-name): Use completing-read if arg multiple
9675 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9677 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9678 displayed, move point to after the totals line.
9679 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9682 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9684 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9685 Add current dir to the load-path.
9686 (package-generate-autoloads): Don't rely on
9687 autoload-ensure-default-file.
9689 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9691 * textmodes/remember.el (remember-store-in-files): Document that
9692 the file name format is passed to `format-time-string'.
9694 2013-04-26 Leo Liu <sdl.web@gmail.com>
9696 * progmodes/octave.el (octave-sync-function-file-names): New function.
9697 (octave-mode): Use it in before-save-hook.
9699 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9701 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9704 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9705 \n and comment, even if it's not an implicit ; (bug#14218).
9707 2013-04-26 Glenn Morris <rgm@gnu.org>
9709 * subr.el (read-number): Once more use `read' rather than
9710 `string-to-number', to trap non-numeric input. (Bug#14254)
9712 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9714 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9715 Use `syntax-multiline' text property consistently instead of
9716 `font-lock-multiline'. (Bug#14237)
9718 2013-04-26 Glenn Morris <rgm@gnu.org>
9720 * emacs-lisp/shadow.el (list-load-path-shadows):
9721 No longer necessary to check for duplicate simple.el, since
9722 2012-07-07 change to init_lread to not include installation lisp
9723 directories in load-path when running uninstalled. (Bug#14270)
9725 2013-04-26 Leo Liu <sdl.web@gmail.com>
9727 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9728 (octave-mode, inferior-octave-mode): Use setq-local.
9729 (octave-not-in-string-or-comment-p): Rename to
9730 octave-in-string-or-comment-p.
9731 (octave-in-comment-p, octave-in-string-p)
9732 (octave-in-string-or-comment-p): Replace defsubst with defun.
9734 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9736 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9738 2013-04-25 Bastien Guerry <bzg@gnu.org>
9740 * textmodes/remember.el (remember-data-directory)
9741 (remember-directory-file-name-format): Fix custom types.
9743 2013-04-25 Leo Liu <sdl.web@gmail.com>
9745 * progmodes/octave.el (octave-completion-at-point-function):
9746 Make use of inferior octave process.
9747 (octave-initialize-completions): Remove.
9748 (inferior-octave-completion-table): New function.
9749 (inferior-octave-completion-at-point): Use it.
9750 (octave-completion-alist): Remove.
9752 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9754 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9755 (opascal-mode-syntax-table): New var.
9756 (opascal-literal-kind, opascal-is-literal-end)
9757 (opascal-literal-token-at): Rewrite.
9758 (opascal--literal-start-re, opascal-font-lock-keywords)
9759 (opascal--syntax-propertize): New constants.
9760 (opascal-font-lock-defaults): Adjust.
9761 (opascal-mode): Use them. Set comment-<foo> variables as well.
9762 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9763 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9764 (delphi-other-face, opascal-other-face): Remove face variables.
9765 (opascal-save-state): Remove macro.
9766 (opascal-fontifying-progress-step): Remove constant.
9767 (opascal--ignore-changes): Remove var.
9768 (opascal-set-token-property, opascal-parse-next-literal)
9769 (opascal-is-stable-literal, opascal-complete-literal)
9770 (opascal-is-literal-start, opascal-face-of)
9771 (opascal-parse-region, opascal-parse-region-until-stable)
9772 (opascal-fontify-region, opascal-after-change)
9773 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9774 (opascal-debug-parse-region, opascal-debug-parse-window)
9775 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9776 (opascal-debug-fontify-buffer): Remove.
9777 (opascal-debug-mode-map): Adjust accordingly.
9779 2013-04-25 Leo Liu <sdl.web@gmail.com>
9781 Merge octave-mod.el and octave-inf.el into octave.el with some
9783 * progmodes/octave.el: New file renamed from octave-mod.el.
9784 * progmodes/octave-inf.el: Merged into octave.el.
9785 * progmodes/octave-mod.el: Renamed to octave.el.
9787 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9789 * textmodes/reftex-vars.el
9790 (reftex-label-ignored-macros-and-environments): New defcustom.
9792 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9794 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9796 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9797 (smie-indent-keyword): Improve the check to ensure that the next
9798 comment is really on the same line.
9799 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9801 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9802 semi-colons if the line is not otherwise empty (bug#14218).
9804 2013-04-25 Glenn Morris <rgm@gnu.org>
9806 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9808 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9810 * progmodes/opascal.el (opascal-set-token-property): Rename from
9811 opascal-set-text-properties and only set `token' (bug#14134).
9812 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9813 (opascal-literal-text-properties): Remove.
9814 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9817 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9819 * textmodes/remember.el (remember-handler-functions): Add an
9820 option for a new handler `remember-store-in-files'.
9821 (remember-data-directory, remember-directory-file-name-format):
9823 (remember-store-in-files): New function to store remember notes
9824 as separate files within a directory.
9826 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9828 * progmodes/compile.el (compilation-next-error-function):
9829 Pass "formats" to compilation-find-file (bug#11777).
9831 2013-04-24 Glenn Morris <rgm@gnu.org>
9833 * vc/vc-bzr.el (vc-bzr-print-log):
9834 * vc/vc-hg.el (vc-hg-print-log):
9835 * vc/vc-svn.el (vc-svn-print-log):
9836 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9838 * vc/vc-bzr.el (vc-bzr-print-log):
9839 * vc/vc-cvs.el (vc-cvs-print-log):
9840 * vc/vc-git.el (vc-git-print-log):
9841 * vc/vc-hg.el (vc-hg-print-log):
9842 * vc/vc-mtn.el (vc-mtn-print-log):
9843 * vc/vc-rcs.el (vc-rcs-print-log):
9844 * vc/vc-sccs.el (vc-sccs-print-log):
9845 * vc/vc-svn.el (vc-svn-print-log):
9846 * vc/vc.el (vc-print-log-internal): Doc fixes.
9848 2013-04-23 Glenn Morris <rgm@gnu.org>
9850 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9851 Remove venerable code attempting to avoid substitute-command-keys.
9853 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9855 * textmodes/reftex-vars.el (reftex-label-regexps):
9856 Call `reftex-compile-variables' after changes to this variable.
9858 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9860 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9861 Use lexical-binding.
9862 (jit-lock-force-redisplay): Use markers, check buffer's continued
9863 existence and beware narrowed buffers.
9864 (jit-lock-fontify-now): Adjust call accordingly.
9866 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9868 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9869 to avoid misleading the user.
9871 2013-04-22 Leo Liu <sdl.web@gmail.com>
9873 * info-look.el: Prefer latex2e.info. (Bug#14240)
9875 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9877 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9879 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9880 * net/tramp.el (tramp-call-process): ... here.
9881 (tramp-set-completion-function, tramp-parse-putty):
9882 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9883 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9884 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9885 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9886 (tramp-call-local-coding-command): Use `tramp-call-process'
9887 instead of `tramp-compat-call-process'.
9889 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9890 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9891 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9892 (tramp-find-inline-compress): Improve traces.
9893 (tramp-maybe-send-script): Check for Perl binary.
9894 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9896 2013-04-22 Daiki Ueno <ueno@gnu.org>
9898 * epg.el (epg-context-pinentry-mode): New function.
9899 (epg-context-set-pinentry-mode): New function.
9900 (epg--start): Pass --pinentry-mode option to gpg command.
9902 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9904 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9905 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9906 `completion-at-point'. (Bug#13774)
9908 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9909 default key binding for `describe-distribution' has been moved to
9910 `C-h C-o'. (Bug#13970)
9912 2013-04-21 Glenn Morris <rgm@gnu.org>
9914 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9916 (vc-print-log): Clarify interactive prompt.
9918 2013-04-20 Glenn Morris <rgm@gnu.org>
9920 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9921 No longer include timestamp etc information.
9923 2013-04-20 Roland Winkler <winkler@gnu.org>
9925 * faces.el (read-face-name): Bug fix, return just one face if arg
9926 multiple is nil. (Bug#14209)
9928 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9930 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9931 (remove-function): Autoload.
9933 * comint.el (comint-redirect-original-filter-function): Remove.
9934 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9935 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9936 (vc-cvs-annotate-command):
9937 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9938 * progmodes/prolog.el (prolog-consult-compile):
9939 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9940 Use add/remove-function instead.
9941 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9942 (gud-tooltip-process-output, gud-tooltip-tips):
9943 Use add/remove-function instead.
9944 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9945 (scheme-interaction-mode, exit-scheme-interaction-mode):
9946 Use add/remove-function instead.
9948 * vc/vc-dispatcher.el: Use lexical-binding.
9949 (vc--process-sentinel): Rename from vc-process-sentinel.
9950 Change last arg to be the code to run. Don't use vc-previous-sentinel
9951 and vc-sentinel-commands any more.
9952 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9953 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9955 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9957 * progmodes/sh-script.el (sh-imenu-generic-expression):
9958 Handle function names with a single character. (Bug#14111)
9960 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9962 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9963 for subroutines defined in an eval (bug#14182).
9965 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9967 * bookmark.el (bookmark-completing-read): Improve handling of empty
9970 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9972 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9974 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9976 New faster Imenu implementation (bug#14058).
9977 * progmodes/python.el:
9978 (python-imenu-prev-index-position):
9979 (python-imenu-format-item-label-function)
9980 (python-imenu-format-parent-item-label-function)
9981 (python-imenu-format-parent-item-jump-label-function):
9983 (python-imenu-format-item-label)
9984 (python-imenu-format-parent-item-label)
9985 (python-imenu-format-parent-item-jump-label)
9986 (python-imenu--put-parent, python-imenu--build-tree)
9987 (python-imenu-create-index, python-imenu-create-flat-index)
9988 (python-util-popn): New functions.
9989 (python-mode): Set imenu-create-index-function to
9990 python-imenu-create-index.
9992 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9994 * winner.el (winner-active-region): Use region-active-p, activate-mark
9995 and deactivate-mark (bug#14225).
9997 * simple.el (deactivate-mark): Don't inline it.
9999 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10001 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10003 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10005 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10006 file extensions from the archive-mode entry in order to prefer
10007 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10009 2013-04-18 Leo Liu <sdl.web@gmail.com>
10011 * bindings.el (help-event-list): Add ?\?.
10013 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10015 * subr.el (with-wrapper-hook): Declare obsolete.
10016 * simple.el (filter-buffer-substring-function): New hook.
10017 (filter-buffer-substring): Use it.
10018 (filter-buffer-substring-functions): Mark obsolete.
10019 * minibuffer.el (completion-in-region-function): New hook.
10020 (completion-in-region): Use it.
10021 (completion-in-region-functions): Mark obsolete.
10022 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10023 * abbrev.el (abbrev-expand-function): New hook.
10024 (expand-abbrev): Use it.
10025 (abbrev-expand-functions): Mark obsolete.
10026 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10027 and :filter-return.
10029 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10031 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10032 and do not care about match data.
10034 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10036 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10037 completion tables when completing error conditions and
10038 `declare' arguments.
10039 (lisp-complete-symbol, field-complete): Mark as obsolete.
10040 (check-parens): Unmatched parens are user errors.
10041 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10043 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10045 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10046 command changed buffer (ie. `flyspell-pre-buffer' is not current
10047 buffer), which prevents making decisions based on invalid value of
10048 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10049 cause an error when `flyspell-pre-point' was nil after switching
10051 (flyspell-post-command-hook): No longer needs to change buffers when
10052 checking pre-word. While at it remove unnecessary progn.
10054 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10056 * textmodes/ispell.el (ispell-add-per-file-word-list):
10057 Fix `flyspell-correct-word-before-point' error when accepting
10058 words and `coment-padding' is an integer by using
10059 `comment-normalize-vars' (Bug #14214).
10061 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10063 New defun movement commands.
10064 * progmodes/python.el (python-nav--syntactically)
10065 (python-nav--forward-defun, python-nav-backward-defun)
10066 (python-nav-forward-defun): New functions.
10068 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10070 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10071 (python-syntax-context): Use named compiler-macro for backwards
10072 compatibility with Emacs 24.x.
10074 2013-04-17 Leo Liu <sdl.web@gmail.com>
10076 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10077 octave-hide-process-buffer.
10079 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10081 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10084 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10086 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10087 Fix adjustment of offset when receiving incomplete responses from GDB
10090 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10092 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10093 python-mode-abbrev-table.
10094 (python-skeleton-define): Adjust accordingly.
10095 (python-mode-abbrev-table): New table that inherits from it so that
10096 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10098 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10099 (abbrev-symbol): Use it.
10100 (abbrev--before-point): Use it since we already handle inheritance.
10102 2013-04-16 Leo Liu <sdl.web@gmail.com>
10104 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10105 binding to info-lookup-symbol.
10107 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10109 * minibuffer.el (completion--twq-all):
10110 * term/ns-win.el (ns-initialize-window-system):
10111 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10113 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10115 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10118 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10120 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10122 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10123 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10125 (ruby-end-of-defun): Remove the unused arg, change the docstring
10126 to reflect that this function is only used as the value of
10127 `end-of-defun-function'.
10128 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10129 to reflect an earlier change that beginning/end-of-defun functions
10130 jump between methods in a class definition, as well as top-level
10133 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10135 * minibuffer.el (minibuffer-complete): Don't just scroll
10136 a *Completions* that's been iconified.
10137 (minibuffer-force-complete): Make sure repetitions do cycle when going
10138 through completion-in-region -> minibuffer-complete.
10140 2013-04-15 Alan Mackenzie <acm@muc.de>
10142 Correct the placement of c-cpp-delimiters when there're #s not at
10145 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10146 place a submatch around the #.
10147 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10148 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10151 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10153 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10154 (advice--member-p): New arg `name'.
10155 (advice--add-function, advice-member-p): Use it (bug#14202).
10157 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10159 Reformulate java imenu-generic-expression.
10160 The old expression contained ill formed regexps.
10162 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10163 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10164 (cc-imenu-java-method-arg-regexp): New defconsts.
10165 (cc-imenu-java-build-type-args-regex): New defun.
10166 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10167 handling of spaces in the regexp.
10169 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10171 * textmodes/ispell.el (ispell-command-loop): Remove
10172 flyspell highlight of a word when ispell accepts it (bug #14178).
10174 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10176 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10177 uses code from the previous `ange-ftp-run-real-handler'.
10178 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10179 only in case that function exist. This is needed for proper
10180 unloading of Tramp.
10182 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10184 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10186 * textmodes/reftex.el (reftex-compile-variables): Use it.
10188 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10190 * files.el (normal-mode): Only use default major-mode if no other mode
10193 * emacs-lisp/trace.el (trace-values): New function.
10195 * files.el: Allow : in local variables (bug#14089).
10196 (hack-local-variable-regexp): New var.
10197 (hack-local-variables-prop-line, hack-local-variables): Use it.
10199 2013-04-13 Roland Winkler <winkler@gnu.org>
10201 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10202 data before it gets modified by bibtex-beginning-of-entry.
10204 2013-04-13 Roland Winkler <winkler@gnu.org>
10206 * textmodes/bibtex.el (bibtex-url): Doc fix.
10208 2013-04-13 Roland Winkler <winkler@gnu.org>
10210 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10211 does not visit a BibTeX file, exclude it from the list of buffers
10212 returned by bibtex-initialize.
10214 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10216 * window.el (split-window): Remove interactive form, since as a
10217 command this function is a special case of split-window-below.
10218 Correct doc string.
10220 2013-04-12 Roland Winkler <winkler@gnu.org>
10222 * faces.el (read-face-name): Do not override value of arg default.
10223 Allow single faces and strings as default values. Remove those
10224 elements from return value that are not faces.
10225 (describe-face): Simplify.
10226 (face-at-point): New optional args thing and multiple so that this
10227 function can provide the same functionality previously provided by
10229 (make-face-bold, make-face-unbold, make-face-italic)
10230 (make-face-unitalic, make-face-bold-italic, invert-face)
10231 (modify-face, read-face-and-attribute): Use face-at-point.
10233 * cus-edit.el (customize-face, customize-face-other-window)
10234 * cus-theme.el (custom-theme-add-face)
10235 * face-remap.el (buffer-face-set)
10236 * facemenu.el (facemenu-set-face): Use face-at-point.
10238 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10240 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10242 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10244 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10245 off leading { and trailing } from field values.
10247 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10249 * emacs-lisp/timer.el (timer--check): New function.
10250 (timer--time, timer-set-function, timer-event-handler): Use it.
10251 (timer-set-idle-time): Simplify.
10252 (timer--activate): CSE.
10253 (timer-event-handler): Give more info in error message.
10254 (internal-timer-start-idle): New function, moved from C.
10256 * mpc.el (mpc-proc): Add `restart' argument.
10257 (mpc-proc-cmd): Use it.
10258 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10259 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10262 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10264 * progmodes/sh-script.el: Implement `sh-mode' own
10265 `add-log-current-defun-function' (bug#14112).
10266 (sh-current-defun-name): New function.
10267 (sh-mode): Use the function.
10269 2013-04-09 Bastien Guerry <bzg@gnu.org>
10271 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10273 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10275 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10277 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10280 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10282 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10285 2013-04-07 Leo Liu <sdl.web@gmail.com>
10287 * pcmpl-x.el: New file.
10289 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10291 Do not set x-display-name until X connection is established.
10292 This is needed to prevent from weird situation described at
10293 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10294 * frame.el (make-frame): Set x-display-name after call to
10295 window system initialization function, not before.
10296 * term/x-win.el (x-initialize-window-system): Add optional
10297 display argument and use it.
10298 * term/w32-win.el (w32-initialize-window-system):
10299 * term/ns-win.el (ns-initialize-window-system):
10300 * term/pc-win.el (msdos-initialize-window-system):
10301 Add compatible optional display argument.
10303 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10305 * files.el (normal-backup-enable-predicate): On MS-Windows and
10306 MS-DOS compare truenames of temporary-file-directory and of the
10307 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10308 don't fail comparison by compare-strings. Also, compare file
10309 names case-insensitively on MS-Windows and MS-DOS.
10311 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10313 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10314 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10316 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10318 * whitespace.el (whitespace-color-on, whitespace-color-off):
10319 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10321 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10323 * ispell.el (ispell-set-spellchecker-params):
10324 Really set `ispell-args' for all equivs.
10326 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10328 * ido.el (ido-completions): Use extra elements of ido-decorations
10330 (ido-decorations): Update docstring.
10332 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10334 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10335 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10336 nil during initialization, in order not to miss changes since the
10337 file was opened. (Bug#14140)
10339 2013-04-05 Leo Liu <sdl.web@gmail.com>
10341 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10343 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10345 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10347 2013-04-04 Glenn Morris <rgm@gnu.org>
10349 * electric.el (electric-pair-inhibit-predicate): Add :version.
10351 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10353 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10354 when a package is required several times (bug#14082).
10356 2013-04-04 Roland Winkler <winkler@gnu.org>
10358 * faces.el (read-face-name): Behave as promised by the docstring.
10359 Assume that arg default is a list of faces.
10360 (describe-face): Call read-face-name with list of default faces.
10362 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10364 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10365 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10366 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10368 (bookmark-exit-hook-internal): Save even if list is empty.
10370 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10372 * emacs-lisp/package.el (package-pinned-packages): New var.
10373 (package--add-to-archive-contents): Obey it (bug#14118).
10375 2013-04-03 Alan Mackenzie <acm@muc.de>
10377 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10378 Also adapt to the new values of element 7 of a parse state.
10380 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10381 parameter `not-in-delimiter'. Handle being inside comment opener.
10382 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10383 character in case we're typing a '*' after a '/'.
10384 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10385 instead by passing the parameter to c-state-pp-to-literal.
10387 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10388 for elt. 7 of a parse state.
10390 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10392 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10393 * international/latin1-disp.el, international/mule-util.el:
10394 * language/cyril-util.el, language/european.el, language/ind-util.el:
10395 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10396 * language/tibetan.el, language/viet-util.el:
10397 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10399 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10401 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10402 (electric-pair-post-self-insert-function): Use it.
10403 (electric-pair-default-inhibit): New function, extracted from
10404 electric-pair-post-self-insert-function.
10406 2013-03-31 Roland Winkler <winkler@gnu.org>
10408 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10410 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10412 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10414 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10416 Un-indent after "pass" and "return" statements (Bug#13888)
10417 * progmodes/python.el (python-indent-block-enders): New var.
10418 (python-indent-calculate-indentation): Use it.
10420 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10422 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10423 defun. Defining it as defalias could introduce too eager
10424 byte-compiler optimization. (Bug#14030)
10426 2013-03-30 Chong Yidong <cyd@gnu.org>
10428 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10430 2013-03-30 Leo Liu <sdl.web@gmail.com>
10432 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10433 (kmacro-execute-from-register): Pass the keyboard macro to
10434 kmacro-call-macro or repeating won't work correctly.
10436 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10438 * progmodes/subword.el: Back to using `forward-symbol'.
10440 * subr.el (forward-whitespace, forward-symbol)
10441 (forward-same-syntax): Move from thingatpt.el.
10443 2013-03-29 Leo Liu <sdl.web@gmail.com>
10445 * kmacro.el (kmacro-to-register): New command.
10446 (kmacro-execute-from-register): New function.
10447 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10449 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10451 * mpc.el: Use defvar-local and setq-local.
10452 (mpc--proc-connect): Connection failures are not bugs.
10453 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10454 (mpc-volume-map): Bind to the up-events.
10456 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10458 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10459 instead of `forward-symbol'.
10461 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10463 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10464 (edebug--recursive-edit): Use it.
10465 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10466 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10468 2013-03-28 Leo Liu <sdl.web@gmail.com>
10470 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10472 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10474 * facemenu.el (list-colors-callback): New defvar.
10475 (list-colors-redisplay): New function.
10476 (list-colors-display): Install list-colors-redisplay as the
10477 revert-buffer-function. (Bug#14063)
10479 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10481 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10482 and suffixes don't overlap (bug#14061).
10484 * case-table.el: Use lexical-binding.
10485 (case-table-get-table): New function.
10486 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10488 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10490 * progmodes/subword.el: Add `superword-mode' to do word motion
10491 over symbol_words (parallels and leverages `subword-mode' which
10492 does word motion inside MixedCaseWords).
10494 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10496 * eshell/em-unix.el: Move su and sudo to...
10497 * eshell/em-tramp.el: ...Eshell tramp module.
10499 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10501 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10502 Change return value to be a sexp. Delay `get-buffer' to after
10503 restoring the desktop (bug#13951).
10505 2013-03-26 Leo Liu <sdl.web@gmail.com>
10507 * register.el: Move semantic tag handling back to
10508 cedet/semantic/senator.el. (Bug#14052)
10510 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10512 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10513 into the prompt either (bug#13963).
10515 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10517 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10518 part of "(error-foo)".
10520 2013-03-24 Juri Linkov <juri@jurta.org>
10522 * replace.el (list-matching-lines-prefix-face): New defcustom.
10523 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10524 `occur-engine' if `face-differs-from-default-p' returns t.
10525 (occur-engine): Add `,' inside backquote construct to evaluate
10526 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10527 Pass `prefix-face' to the functions `occur-context-lines' and
10528 `occur-engine-add-prefix'.
10529 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10530 `prefix-face' and propertize the prefix with `prefix-face'.
10533 2013-03-24 Leo Liu <sdl.web@gmail.com>
10535 * nxml/rng-valid.el (rng-validate-while-idle)
10536 (rng-validate-quick-while-idle): Guard against deleted buffer.
10539 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10540 is the last entry in kill-buffer-hook.
10542 * files.el (kill-buffer-hook): Doc fix.
10544 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10546 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10547 Make it safe-local.
10549 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10551 2013-03-23 Leo Liu <sdl.web@gmail.com>
10553 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10556 * nxml/rng-valid.el (rng-validate-mode)
10557 (rng-after-change-function, rng-do-some-validation):
10558 * nxml/rng-maint.el (rng-validate-buffer):
10559 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10560 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10561 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10562 (nxml-extend-after-change-region): Use with-silent-modifications.
10564 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10567 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10568 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10569 timer-idle-list. (Bug#13999)
10571 2013-03-23 Juri Linkov <juri@jurta.org>
10573 * info.el (info-index-match): New face.
10574 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10575 main pattern and add text properties with the new face to matches
10576 in index entries relative to the beginning of the index entry.
10579 2013-03-21 Eric Ludlam <zappo@gnu.org>
10581 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10582 Inhibit read only while inserting objects.
10584 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10586 * progmodes/cfengine.el: Update docs to mention
10587 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10588 symbol motion. Remove "_" from the word syntax.
10590 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10592 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10593 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10595 2013-03-20 Juri Linkov <juri@jurta.org>
10597 * info.el (Info-next-reference-or-link)
10598 (Info-prev-reference-or-link): New functions.
10599 (Info-next-reference, Info-prev-reference): Use them.
10600 (Info-try-follow-nearest-node): Handle footnote navigation.
10601 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10603 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10605 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10606 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10608 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10610 Suppress unnecessary non-ASCII chatter during build process.
10611 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10612 (batch-skkdic-convert): Suppress most of the chatter.
10613 It's not needed so much now that machines are faster,
10614 and its non-ASCII component was confusing; see Dmitry Gutov in
10615 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10617 2013-03-20 Leo Liu <sdl.web@gmail.com>
10619 * ido.el (ido-chop): Fix bug#10994.
10621 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10623 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10625 (whitespace-color-on, whitespace-color-off):
10626 Use `font-lock-fontify-buffer' (Bug#13817).
10628 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10630 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10631 remapping in mode-line.
10632 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10634 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10636 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10637 value for `whitespace-line' face (Bug#13875).
10638 (whitespace-font-lock-keywords): Change description.
10639 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10640 the constructed keywords instead.
10641 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10643 2013-03-19 Leo Liu <sdl.web@gmail.com>
10645 * progmodes/compile.el (compilation-display-error): New command.
10646 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10649 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10651 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10653 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10655 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10657 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10659 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10661 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10662 * net/tramp-gvfs.el (top):
10663 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10664 (tramp-handle-shell-command): Use it.
10665 (tramp-dissect-file-name): Raise an error when hostname is a
10666 method name, and neither method nor user is specified.
10668 * net/trampver.el: Update release number.
10670 2013-03-18 Leo Liu <sdl.web@gmail.com>
10672 Make sure eldoc can be turned off properly.
10673 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10675 (eldoc-display-message-p): Revert last change.
10676 (eldoc-display-message-no-interference-p)
10677 (eldoc-print-current-symbol-info): Tweak.
10679 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10681 * doc-view.el (doc-view-new-window-function): Check the new window
10682 overlay's display property instead the char property of the
10683 buffer's first char. Use `with-selected-window' instead of
10684 `save-window-excursion' with `select-window'.
10685 (doc-view-document->bitmap): Check the current doc-view overlay's
10686 display property instead the char property of the buffer's first char.
10688 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10690 Automate the build of ja-dic.el (Bug#13984).
10691 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10692 from the input, rather than assume that it's been done for us by the
10693 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10694 the current date into a ja-dic.el comment, as that complicates
10695 regression testing.
10697 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10699 * whitespace.el: Fix double evaluation.
10700 (whitespace-space, whitespace-hspace, whitespace-tab)
10701 (whitespace-newline, whitespace-trailing, whitespace-line)
10702 (whitespace-space-before-tab, whitespace-indentation)
10703 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10705 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10706 (whitespace-color-on): Use a single font-lock-add-keywords call.
10707 Fix double-evaluation of face variables.
10709 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10711 * net/tramp-adb.el (tramp-adb-parse-device-names):
10712 Use `start-process' instead of `call-process'. Otherwise, the
10713 function might be blocked under MS Windows. (Bug#13299)
10715 2013-03-17 Leo Liu <sdl.web@gmail.com>
10717 Extend eldoc to display info in the mode-line. (Bug#13978)
10718 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10719 (eldoc-mode-line-string): New variable.
10720 (eldoc-minibuffer-message): New function.
10721 (eldoc-message-function): New variable.
10722 (eldoc-message): Use it.
10723 (eldoc-display-message-p)
10724 (eldoc-display-message-no-interference-p):
10725 Support eldoc-post-insert-mode.
10727 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10728 (eval-expression): Run it.
10730 2013-03-17 Roland Winkler <winkler@gnu.org>
10732 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10733 strings in the list of return values.
10735 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10737 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10738 radix before checking for HMS forms.
10740 2013-03-16 Leo Liu <sdl.web@gmail.com>
10742 * progmodes/scheme.el: Add indentation and font-locking for λ.
10745 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10747 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10748 token before point (bug#13942).
10750 2013-03-16 Leo Liu <sdl.web@gmail.com>
10752 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10754 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10756 * startup.el (command-line-normalize-file-name): Fix handling of
10757 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10758 <xfq.free@gmail.com> in
10759 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10761 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10763 Sync with Tramp 2.2.7.
10765 * net/trampver.el: Update release number.
10767 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10769 * doc-view.el: Fix bug#13887.
10770 (doc-view-insert-image): Don't modify overlay associated to
10771 non-live windows, and implement horizontal centering of image in
10772 case it's smaller than the window.
10773 (doc-view-new-window-function): Force redisplay of new windows on
10776 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10778 * saveplace.el (save-place-alist-to-file): Don't sort
10779 `save-place-alist', just pretty-print it (bug#13882).
10781 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10783 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10784 Check whether `default-file-name-coding-system' is bound.
10785 It isn't in XEmacs.
10787 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10789 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10790 backquotes for `obsolete' (bug#13929).
10792 * international/mule.el (find-auto-coding): Include file name in
10793 obsolescence warning (bug#13922).
10795 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10797 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10798 for CFEngine 3-specific indentation.
10799 (cfengine3-indent-line): Use it. Fix up category regex.
10800 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10802 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10804 * type-break.el (type-break-file-name):
10805 * textmodes/remember.el (remember-data-file):
10806 * strokes.el (strokes-file):
10807 * shadowfile.el (shadow-initialize):
10808 * saveplace.el (save-place-file):
10809 * ps-bdf.el (bdf-cache-file):
10810 * progmodes/idlwave.el (idlwave-config-directory):
10811 * net/quickurl.el (quickurl-url-file):
10812 * international/kkc.el (kkc-init-file-name):
10813 * ido.el (ido-save-directory-list-file):
10814 * emulation/viper.el (viper-custom-file-name):
10815 * emulation/vip.el (vip-startup-file):
10816 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10817 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10819 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10821 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10822 * language/thai-word.el: Switch to UTF-8.
10824 See ChangeLog.16 for earlier changes.
10826 ;; Local Variables:
10830 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10832 This file is part of GNU Emacs.
10834 GNU Emacs is free software: you can redistribute it and/or modify
10835 it under the terms of the GNU General Public License as published by
10836 the Free Software Foundation, either version 3 of the License, or
10837 (at your option) any later version.
10839 GNU Emacs is distributed in the hope that it will be useful,
10840 but WITHOUT ANY WARRANTY; without even the implied warranty of
10841 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10842 GNU General Public License for more details.
10844 You should have received a copy of the GNU General Public License
10845 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.