1 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
3 * progmodes/python.el (python-indent-calculate-indentation): Fix
4 de-denters cornercase. (Bug#15731)
6 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
8 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
9 (advice--make): Pay attention to `depth'.
10 (advice--make-1): Don't autoload commands eagerly.
11 * emacs-lisp/elp.el (elp-instrument-function):
12 * emacs-lisp/trace.el (trace-function-internal):
13 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
15 * iswitchb.el (iswitchb-mode): Don't belittle ido.
17 2013-12-12 Eli Zaretskii <eliz@gnu.org>
19 * term/w32-win.el (w32-handle-dropped-file):
20 * startup.el (normal-top-level):
21 * net/browse-url.el (browse-url-file-url):
22 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
23 decode file names using 'utf-8' rather than
24 file-name-coding-system.
26 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
28 * progmodes/python.el (python-indent-context)
29 (python-indent-calculate-indentation): Fix auto-identation
30 behavior for comment blocks. (Bug#15916)
32 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
34 * progmodes/python.el (python-indent-calculate-indentation):
35 When determining indentation, don't treat "return", "pass", etc., as
36 operators when they are just string constituents. (Bug#15812)
38 2013-12-12 Juri Linkov <juri@jurta.org>
40 * uniquify.el (uniquify-buffer-name-style): Change default to
41 `post-forward-angle-brackets'.
43 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
44 `uniquify'. Change default to `post-forward-angle-brackets'.
46 2013-12-11 Glenn Morris <rgm@gnu.org>
48 * emacs-lisp/package.el (finder-list-matches):
49 Autoload rather than falsely declaring.
51 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
53 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
54 (eww-mode-map): Use them.
56 2013-12-11 Martin Rudalics <rudalics@gmx.at>
58 * window.el (display-buffer-in-side-window): Fix doc-string
61 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
63 * vc/vc-git.el: Silence byte-compiler warnings.
64 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
65 (log-edit-set-header): Declare.
67 2013-12-11 Eli Zaretskii <eliz@gnu.org>
69 * Makefile.in (custom-deps, finder-data): Run output file names
70 through unmsys--file-name. (Bug#16099)
72 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
74 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
75 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
77 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
78 instead of deleting the selection "by hand" (bug#16098).
79 Rely on insert-for-yank to yank rectangles.
80 (cua-highlight-region-shift-only): Mark obsolete.
81 (cua-mode): Don't enable/disable transient-mark-mode,
82 shift-select-mode (cua-mode works both with and without them), and
83 pc-selection-mode (obsolete).
84 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
85 (cua--deactivate-rectangle): Deactivate it.
87 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
88 (delete-selection-helper): Make sure yank starts at the top of the
90 (minibuffer-keyboard-quit): Use region-active-p.
92 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
94 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
95 to `delete' (bug#16109).
97 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
99 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
100 info manual and show keybindings and set `:group' keyword.
102 2013-12-11 Juri Linkov <juri@jurta.org>
104 * delsel.el (delete-active-region): Let-bind `this-command'
105 to prevent `kill-region' from changing its original value.
106 (delete-selection-helper): Handle `overwrite-mode' for the type
107 `kill' exactly the same way as for the type `t'.
108 (insert-char, quoted-insert, reindent-then-newline-and-indent):
109 Support more commands. (Bug#13312)
111 2013-12-11 Juri Linkov <juri@jurta.org>
113 * bindings.el: Map kp keys to non-kp keys systematically
114 with basic modifiers control, meta and shift. (Bug#14397)
116 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
118 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
119 "Close browser" menu items. Fix wrong function of "List
122 2013-12-11 Juri Linkov <juri@jurta.org>
124 * misearch.el (multi-isearch-buffers): Set the value of
125 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
126 arg of isearch-forward to t.
127 (multi-isearch-buffers-regexp): Set the value of
128 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
129 arg of isearch-forward-regexp to t.
130 (multi-isearch-files): Set the value of
131 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
132 arg of isearch-forward to t.
133 (multi-isearch-files-regexp): Set the value of
134 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
135 arg of isearch-forward-regexp to t. (Bug#16035)
137 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
138 arg of isearch-forward to t.
139 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
140 arg of isearch-forward-regexp to t.
141 (dired-isearch-filter-filenames): Remove unnecessary check for
142 `dired-isearch-filenames'.
144 * comint.el (comint-history-isearch-backward):
145 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
146 (comint-history-isearch-backward-regexp):
147 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
149 2013-12-10 Eli Zaretskii <eliz@gnu.org>
151 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
152 unmsys--file-name. (Bug#16099)
154 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
156 * emacs-lisp/package.el (package-keyword-button-action):
157 Remove finder.el require dependency.
159 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
161 * emacs-lisp/package.el: Require finder.el.
162 (describe-package-1): Add keyword buttons.
163 (package-make-button): New convenience function.
164 (package-keyword-button-action): Keyword button action using
165 `finder-list-matches'
167 2013-12-09 Eli Zaretskii <eliz@gnu.org>
169 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
172 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
174 * autorevert.el (auto-revert-notify-add-watch): Do not handle
177 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
179 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
180 after the end of a percent literal.
182 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
184 * progmodes/ruby-mode.el (ruby-forward-string): Document.
185 Handle caret-delimited strings (Bug#16079).
187 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
189 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
190 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
191 `ruby-parse-partial' (Bug#16078).
193 2013-12-09 Leo Liu <sdl.web@gmail.com>
195 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
197 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
199 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
200 (js-switch-indent-offset): New option.
201 (js--proper-indentation): Use it. And handle the case when
202 "default" is actually a key in an object literal.
203 (js--same-line): New function.
204 (js--multi-line-declaration-indentation): Use it.
205 (js--indent-in-array-comp, js--array-comp-indentation):
207 (js--proper-indentation): Use them, to handle array comprehension
210 2013-12-08 Leo Liu <sdl.web@gmail.com>
212 * progmodes/flymake.el (flymake-highlight-line): Re-write.
213 (flymake-make-overlay): Remove arg MOUSE-FACE.
214 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
216 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
218 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
220 (redisplay-highlight-region-function): Use it.
222 * emulation/cua-base.el (cua--explicit-region-start)
223 (cua--last-region-shifted): Remove.
224 (cua--deactivate): Use deactivate-mark.
225 (cua--pre-command-handler-1): Don't handle shift-selection.
226 (cua--post-command-handler-1): Don't change transient-mark-mode.
227 (cua--select-keymaps): Use region-active-p rather than
228 cua--explicit-region-start or cua--last-region-shifted.
229 (cua-mode): Enable shift-select-mode.
231 2013-12-08 Leo Liu <sdl.web@gmail.com>
233 * progmodes/flymake.el (flymake-popup-current-error-menu):
234 Rename from flymake-display-err-menu-for-current-line. Reimplement.
235 (flymake-posn-at-point-as-event, flymake-popup-menu)
236 (flymake-make-emacs-menu): Remove. (Bug#16077)
238 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
240 * rect.el (rectangle-mark-mode): Activate mark even if
241 transient-mark-mode is off (bug#16066).
242 (rectangle--highlight-for-redisplay): Fix boundary condition when point
243 is > mark and at bolp.
245 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
246 (region-extract-function): Use it.
247 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
248 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
250 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
251 kill-ring-save, kill-region, delete-char, delete-forward-char.
252 Ignore self-insert-iso.
254 * emulation/cua-gmrk.el (cua--init-global-mark):
255 Ignore `self-insert-iso'.
257 * emulation/cua-base.el (cua--prefix-copy-handler)
258 (cua--prefix-cut-handler): Rely on region-extract-function rather than
259 checking cua--rectangle.
260 (cua-delete-region): Use region-extract-function.
261 (cua-replace-region): Delete function.
262 (cua-copy-region, cua-cut-region): Obey region-extract-function.
263 (cua--pre-command-handler-1): Don't do the delete-selection thing.
264 (cua--self-insert-char-p): Ignore `self-insert-iso'.
265 (cua--init-keymaps): Don't remap delete-selection commands.
266 (cua-mode): Use delete-selection-mode instead of rolling our own
269 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
270 Obey region-extract-function.
272 Make registers and delete-selection-mode work on rectangles.
273 * register.el (describe-register-1): Don't modify the register's value.
274 (copy-to-register): Obey region-extract-function.
275 * delsel.el (delete-active-region): Obey region-extract-function.
277 2013-12-08 Leo Liu <sdl.web@gmail.com>
279 * progmodes/flymake.el (flymake, flymake-error-bitmap)
280 (flymake-warning-bitmap, flymake-fringe-indicator-position)
281 (flymake-compilation-prevents-syntax-check)
282 (flymake-start-syntax-check-on-newline)
283 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
284 (flymake-start-syntax-check-on-find-file, flymake-log-level)
285 (flymake-xml-program, flymake-master-file-dirs)
286 (flymake-master-file-count-limit)
287 (flymake-allowed-file-name-masks): Relocate.
288 (flymake-makehash, flymake-float-time)
289 (flymake-replace-regexp-in-string, flymake-split-string)
290 (flymake-get-temp-dir): Remove.
291 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
292 (flymake-current-row, flymake-selected-frame)
293 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
294 related functions. (Bug#16077)
296 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
298 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
300 2013-12-07 Tassilo Horn <tsdh@gnu.org>
302 * help-fns.el (describe-function-1): Use new advice-* functions
303 rather than old ad-* functions. Fix function type description and
304 source links for advised functions and subrs.
306 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
308 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
310 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
312 * progmodes/compile.el (compilation-start):
313 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
315 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
316 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
318 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
320 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
321 Touch up the last change.
323 2013-12-06 Leo Liu <sdl.web@gmail.com>
325 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
326 (inferior-octave-startup): Always use "octave> " for prompt.
327 (octave-goto-function-definition)
328 (octave-sync-function-file-names)
329 (octave-find-definition-default-filename): Remove redundant backquotes.
331 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
333 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
335 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
336 where appropriate already.
337 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
338 end of method names (Bug#15874).
340 2013-12-06 Juri Linkov <juri@jurta.org>
342 * isearch.el (isearch--saved-overriding-local-map):
343 New internal variable.
344 (isearch-mode): Set it to the initial value of
345 `overriding-terminal-local-map'.
346 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
347 with `isearch--saved-overriding-local-map'. (Bug#16035)
349 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
351 * progmodes/octave.el (inferior-octave-completion-table):
352 Turn back into function, use `completion-table-with-cache'
353 (Bug#11906). Update all references.
355 * minibuffer.el (completion-table-with-cache): New function.
357 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
359 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
361 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
363 * net/eww.el (eww-current-source): New variable to store page
365 (eww-display-html, eww-mode, eww-save-history)
366 (eww-restore-history): Use it.
367 (eww-view-source): New command to view page source.
368 Opportunistically uses `html-mode' to highlight the buffer.
369 (eww-mode-map): Install it.
371 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
373 * net/dbus.el (dbus-unregister-service)
374 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
376 (dbus-unregister-service): Skip :serial entries in
377 `dbus-registered-objects-table'.
378 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
380 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
382 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
383 around keywords with extra `split-string' argument.
385 2013-12-04 Martin Rudalics <rudalics@gmx.at>
387 * windmove.el (windmove-other-window-loc): Handle navigation
388 between windows (excluding the minibuffer window - Bug#16017).
390 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
392 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
393 in D-Bus type syntax.
394 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
395 preserve unibyte strings. (Bug#16048)
397 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
399 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
400 Call force-mode-line-update is the proper buffer (bug#16042).
402 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
404 * vc/log-edit.el (log-edit-add-new-comment): Rename to
405 `log-edit-remember-comment', make argument optional. Adjust all
407 (log-edit-mode): Add `log-edit-remember-comment' to
408 `kill-buffer-hook' locally.
409 (log-edit-kill-buffer): Don't remember comment explicitly since
410 the buffer is killed anyway.
412 2013-12-04 Juri Linkov <juri@jurta.org>
414 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
415 add-hook and remove-hook for multi-buffer search. (Bug#16035)
417 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
419 * notifications.el (notifications-close-notification): Call the
420 D-Bus method with ID being a `:uint32'. (Bug#16030)
422 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
424 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
426 2013-12-03 Juri Linkov <juri@jurta.org>
428 * progmodes/compile.el (compilation-start): Rename window alist
429 entry `no-display-ok' to `allow-no-window'.
431 * simple.el (shell-command): Add window alist entry
432 `allow-no-window' to `display-buffer'.
433 (async-shell-command): Doc fix.
435 * window.el (display-buffer-no-window): New action function.
436 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
438 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
440 * vc/log-edit.el (log-edit-set-header): Extract from
441 `log-edit-toggle-header'.
442 (log-edit-extract-headers): Separate the summary, when extracted
443 from header, from the rest of the message with an empty line.
445 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
446 line, if present, to the Summary header.
448 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
450 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
451 in current-buffer (bug#16029).
453 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
455 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
456 (debugger-mode-map): Bind it.
457 (debugger--backtrace-base): New function.
458 (debugger-eval-expression): Use it.
459 (debugger-frame-number): Skip local vars when present.
460 (debugger--locals-visible-p, debugger--insert-locals)
461 (debugger--show-locals, debugger--hide-locals): New functions.
463 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
465 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
467 (tramp-get-remote-locale): New defun.
468 (tramp-open-connection-setup-interactive-shell): Use it.
470 2013-12-02 Leo Liu <sdl.web@gmail.com>
472 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
474 * progmodes/sh-script.el (sh-shell-process):
475 * progmodes/octave.el (inferior-octave-process-live-p):
476 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
477 (gdb-inferior-io-sentinel):
478 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
480 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
482 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
483 `save-selected-window' to `log-edit-hide-buf'. This makes
484 `log-edit-show-files' idempotent.
485 (log-edit-show-files): Mark the new window as dedicated.
487 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
489 * vc/log-edit.el (log-edit-mode-map): Add binding for
490 `log-edit-kill-biffer'.
491 (log-edit-hide-buf): Add a FIXME comment.
492 (log-edit-add-new-comment): New function, extracted from
494 (log-edit-done, log-edit-add-to-changelog): Use it.
495 (log-edit-kill-buffer): New command.
497 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
499 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
500 instead of killing the buffer.
502 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
504 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
506 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
508 * net/eww.el (eww-form-checkbox-selected-symbol)
509 (eww-form-checkbox-symbol): New customizable variable.
510 (eww-form-checkbox, eww-toggle-checkbox):
511 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
513 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
514 (shr--get-media-pref, shr--extract-best-source): New function.
515 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
516 no :src tag was specified.
518 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
519 (eww-render): Handle `eww-use-external-browser-for-content-type'.
520 Use \\` to match beginning of string instead of ^.
521 (eww-browse-with-external-browser): Provide optional URL parameter.
522 (eww-render): Set `eww-current-title' back to "".
524 * net/shr.el (shr-tag-video): Display content for video if no
526 (shr-tag-audio): Add support for <audio> tag.
528 * net/eww.el (eww-text-input-types): : New const.
529 (eww-process-text-input): Treat input types in
530 `eww-text-input-types' as text.
532 * net/shr.el (shr-tag-table): Fix comment typo.
534 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
536 * net/eww.el (eww-follow-link): New command to avoid reloading
537 pages when we follow #target links (bug#15243).
538 (eww-quit): Special mode buffers shouldn't query before exiting.
540 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
542 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
545 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
547 * net/eww.el (eww-restore-history): Update the window title after
548 moving in the history.
549 (eww-current-dom): New variable used to save the current DOM.
551 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
553 * vc/log-edit.el (log-edit-mode-map): Add binding for
554 `log-edit-beginning-of-line'.
555 (log-edit-setup-add-author): New user option.
556 (log-edit-beginning-of-line): New command.
557 (log-edit): Move major mode call above the contents setup so that
558 the local variable values are already applied.
559 (log-edit): Only insert "Author: " when
560 `log-edit-setup-add-author' is non-nil.
561 (log-edit): When SETUP is non-nil, position point after ": "
562 instead of point-min.
564 2013-12-01 Glenn Morris <rgm@gnu.org>
566 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
568 2013-11-30 Eli Zaretskii <eliz@gnu.org>
570 * startup.el (fancy-splash-frame): On MS-Windows, trigger
571 redisplay to make sure the initial frame gets a chance to become
574 2013-11-30 Martin Rudalics <rudalics@gmx.at>
576 Support resizing frames and windows pixelwise.
577 * cus-start.el (frame-resize-pixelwise)
578 (window-resize-pixelwise): New entries.
579 * emacs-lisp/debug.el (debug): Use window-total-height instead
580 of window-total-size.
581 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
582 * help.el (describe-bindings-internal): Call help-buffer
583 (temp-buffer-max-width): New option.
584 (resize-temp-buffer-window, help-window-setup)
585 (with-help-window): Rewrite.
586 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
588 * window.el (frame-char-size, window-min-pixel-height)
589 (window-safe-min-pixel-height, window-safe-min-pixel-width)
590 (window-min-pixel-width, window-safe-min-pixel-size)
591 (window-combination-p, window-safe-min-size)
592 (window-resizable-p, window--size-to-pixel)
593 (window--pixel-to-size, window--resize-apply-p): New functions.
594 (window-safe-min-height): Fix doc-string.
595 (window-size, window-min-size, window--min-size-1)
596 (window-sizable, window-sizable-p, window--min-delta-1)
597 (window-min-delta, window--max-delta-1, window-max-delta)
598 (window--resizable, window--resizable-p, window-resizable)
599 (window-full-height-p, window-full-width-p, window-at-side-p)
600 (window--in-direction-2, window-in-direction)
601 (window--resize-reset-1, window--resize-mini-window)
602 (window-resize, window-resize-no-error)
603 (window--resize-child-windows-normal)
604 (window--resize-child-windows, window--resize-siblings)
605 (window--resize-this-window, window--resize-root-window)
606 (window--resize-root-window-vertically)
607 (adjust-window-trailing-edge, enlarge-window, shrink-window)
608 (maximize-window, minimize-window, delete-window)
609 (quit-restore-window, window-split-min-size, split-window)
610 (balance-windows-2, balance-windows)
611 (balance-windows-area-adjust, balance-windows-area)
612 (window--state-get-1, window-state-get, window--state-put-1)
613 (window--state-put-2, window-state-put)
614 (display-buffer-record-window, window--display-buffer):
615 Make functions handle pixelwise sizing of windows.
616 (display-buffer--action-function-custom-type)
617 (display-buffer-fallback-action):
618 Add display-buffer-in-previous-window.
619 (display-buffer-use-some-window): Resize window to height it had
621 (fit-window-to-buffer-horizontally): New option.
622 (fit-frame-to-buffer): Describe new values.
623 (fit-frame-to-buffer-bottom-margin): Replace with
624 fit-frame-to-buffer-margins.
625 (window--sanitize-margin): New function.
626 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
627 using window-text-pixel-size.
629 2013-11-30 Glenn Morris <rgm@gnu.org>
631 * emacs-lisp/bytecomp.el (byte-compile-form):
632 Make the `interactive-only' warning like the `obsolete' one.
633 * comint.el (comint-run):
634 * files.el (insert-file-literally, insert-file):
635 * replace.el (replace-string, replace-regexp):
636 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
637 (goto-line, insert-buffer, next-line, previous-line):
638 Tweak `interactive-only' spec.
640 Stop keeping (most) generated cedet grammar files in the repository.
641 * Makefile.in (semantic): New.
642 (compile-main): Depend on semantic.
644 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
646 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
647 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
649 * uniquify.el (uniquify-buffer-name-style): Change default.
651 * loadup.el: Preload "uniquify".
653 * time.el (display-time-update): Update all mode lines (bug#15999).
655 * electric.el (electric-indent-mode): Enable by default.
656 * loadup.el: Preload "electric".
658 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
660 * emacs-lisp/helpers.el (string-empty-p): New function.
661 (string-blank-p): New function.
663 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
665 * imenu.el (imenu--index-alist): Add missing dot to the docstring
668 2013-11-29 Andreas Politz <politza@fh-trier.de>
669 * imenu.el (imenu--subalist-p): Don't error on non-conses and
670 allow non-lambda lists as functions.
671 (imenu--in-alist): Don't recurse into non-subalists.
672 (imenu): Don't pass function itself as an argument (Bug#14029).
674 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
676 * progmodes/python.el (python-mode-map): Remove binding for ":".
677 (python-indent-electric-colon): Remove command.
678 (python-indent-post-self-insert-function): Integrate the previous code
679 of python-indent-electric-colon. Make it conditional on
680 electric-indent-mode.
681 (python-mode): Add ?: to electric-indent-chars.
682 Move python-indent-post-self-insert-function to the end of
683 post-self-insert-hook.
685 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
687 * doc-view.el (doc-view-goto-page): Update mode-line.
689 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
691 2013-11-27 Glenn Morris <rgm@gnu.org>
693 * international/charprop.el, international/uni-bidi.el:
694 * international/uni-category.el, international/uni-combining.el:
695 * international/uni-comment.el, international/uni-decimal.el:
696 * international/uni-decomposition.el, international/uni-digit.el:
697 * international/uni-lowercase.el, international/uni-mirrored.el:
698 * international/uni-name.el, international/uni-numeric.el:
699 * international/uni-old-name.el, international/uni-titlecase.el:
700 * international/uni-uppercase.el:
701 Remove generated files from VCS repository.
703 2013-11-27 Eli Zaretskii <eliz@gnu.org>
705 * filenotify.el (file-notify-add-watch): Don't special-case
706 w32notify when computing the directory to watch.
708 2013-11-27 Glenn Morris <rgm@gnu.org>
710 Make bootstrap without generated uni-*.el files possible again.
711 * loadup.el: Update command-line-args checking for unidata-gen.
712 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
713 * composite.el, international/characters.el:
714 Handle unicode tables being undefined.
716 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
717 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
718 (compile-main): Depend on leim rule.
720 * loadup.el: Move leim-list.el to leim/ subdirectory.
721 * startup.el (normal-top-level): No more leim directory.
722 * international/ja-dic-cnv.el (skkdic-convert):
723 Disable version-control and autoloads in output files.
724 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
725 Disable version-control and autoloads in output files.
726 * leim/quail: Move here from ../leim.
727 * leim/quail/hangul.el (hangul-input-method-activate):
729 (generated-autoload-load-name): Set file-local value.
730 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
731 (generated-autoload-load-name): Set file-local value.
733 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
735 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
736 (eww-add-bookmark): ask confirmation when add to bookmarks
737 (eww-quit): ask confirmation before quitting eww
739 2013-11-26 Eli Zaretskii <eliz@gnu.org>
741 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
742 reading output from Diff on MS-Windows and MS-DOS.
744 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
746 * emacs-lisp/helpers.el (string-reverse): New function.
748 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
750 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
751 names on MS Windows, like "/[::1]:".
753 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
756 2013-11-26 Glenn Morris <rgm@gnu.org>
758 * progmodes/python.el (python-indent-guess-indent-offset):
759 Avoid corner-case error. (Bug#15975)
761 Preload leim-list.el. (Bug#4789)
762 * loadup.el: Load leim-list.el when found.
763 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
765 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
767 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
769 * emacs-lisp/helpers.el (string-join): New function.
771 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
773 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
774 Mark as obsolete and replace it with a symbol property.
775 (byte-compile-form): Use new 'interactive-only property.
776 * comint.el, files.el, replace.el, simple.el:
777 Apply new 'interactive-only properly.
779 2013-11-25 Martin Rudalics <rudalics@gmx.at>
781 * window.el (display-buffer-at-bottom): Make sure that
782 split-window-sensibly creates the new window on bottom
785 2013-11-23 David Kastrup <dak@gnu.org>
787 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
788 on the conflict markers when available.
789 (smerge--get-marker): New function.
790 (smerge-end-re, smerge-base-re): Add subgroup.
792 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
794 * frame.el (handle-focus-in, handle-focus-out): Add missing
797 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
799 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
800 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
802 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
804 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
805 (gomoku--last-pos): New var.
806 (gomoku--intangible-chars): New const.
807 (gomoku--intangible): New function.
808 (gomoku-mode): Use it. Derive from special-mode.
809 (gomoku-move-up): Adjust line count.
810 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
811 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
812 Simplify accordingly.
814 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
815 Remove blink-cursor code.
816 (blink-cursor-timer-function, blink-cursor-suspend):
817 Don't special-case GUIs.
818 (blink-cursor-mode): Use focus-in/out-hook.
820 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
822 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
823 work when annotation is invisible (Bug#13886).
825 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
827 * json.el (json-alist-p): Only return non-nil if the alist has
828 simple keys (Bug#13518).
830 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
832 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
833 when control-statement is the first statement in a buffer (Bug#15956).
835 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
837 * imenu.el (imenu-generic-skip-comments-and-strings):
838 New option (Bug#15560).
839 (imenu--generic-function): Use it.
841 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
843 * minibuffer.el (completion--in-region-1): Scroll the correct
846 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
848 * emacs-lisp/helpers.el: Add some string helpers.
849 (string-trim-left): Removes leading whitespace.
850 (string-trim-right): Removes trailing whitespace.
851 (string-trim): Removes leading and trailing whitespace.
853 * subr.el (string-suffix-p): New function.
855 2013-11-23 Glenn Morris <rgm@gnu.org>
857 * progmodes/python.el (python-shell-send-file):
858 Add option to delete file when done. (Bug#15647)
859 (python-shell-send-string, python-shell-send-region): Use it.
861 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
863 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
864 to set buffer-read-only to t, never to nil. (Bug#15938)
866 * textmodes/tex-mode.el (latex-noindent-environments):
867 Add safe-local-variable property. (Bug#15936)
869 2013-11-23 Glenn Morris <rgm@gnu.org>
871 * textmodes/enriched.el (enriched-mode): Doc fix.
872 * emacs-lisp/authors.el (authors-renamed-files-alist):
873 Add enriched.doc -> enriched.txt.
875 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
877 2013-11-22 Leo Liu <sdl.web@gmail.com>
879 * progmodes/octave.el (inferior-octave-startup): Spit out error
882 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
884 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
887 (ruby-encoding-magic-comment-style): Add :version.
889 2013-11-22 Leo Liu <sdl.web@gmail.com>
891 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
893 (octave-help-mode): Adapt to change to help-mode-finish to use
894 derived-mode-p on 2013-09-17.
895 (inferior-octave-prompt): Also match octave-gui.
896 (octave-kill-process): Don't ask twice. (Bug#10564)
898 2013-11-22 Leo Liu <sdl.web@gmail.com>
900 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
901 (inferior-octave-startup, inferior-octave-check-process)
902 (inferior-octave-track-window-width-change)
903 (octave-completion-at-point, octave-eldoc-function): Use it.
904 (octave-kill-process): Provide confirmation. (Bug#10564)
906 2013-11-21 Leo Liu <sdl.web@gmail.com>
908 * progmodes/octave.el (octave-mode, inferior-octave-mode):
909 Fix obsolete variable comment-use-global-state.
911 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
913 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
914 Add `octave-source-file'.
915 (octave-source-file): New function. (Bug#15935)
917 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
919 * net/eww.el (eww-local-regex): New variable.
920 (eww): Use it to detect localhost and similar.
922 2013-11-21 Leo Liu <sdl.web@gmail.com>
924 Add completion for command `ag'.
925 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
926 (pcomplete/ag): New function.
927 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
929 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
931 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
933 (make-obsolete): Remove interactive spec.
935 2013-11-21 Glenn Morris <rgm@gnu.org>
937 * startup.el (command-line-1): Use path-separator with -L.
939 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
941 * emacs-lisp/package.el (describe-package-1): Add package archive
944 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
946 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
947 Change default to "# encoding: %s" to differentiate it from the
948 default Ruby encoding comment template.
950 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
952 * ses.el (ses-mode): Doc fix. (Bug#14748)
954 2013-11-20 Leo Liu <sdl.web@gmail.com>
956 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
958 2013-11-19 Dan Nicolaescu <dann@gnu.org>
960 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
961 when rebase or bisect are in progress.
963 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
965 * filenotify.el (file-notify-add-watch): Doc fix.
967 2013-11-19 Leo Liu <sdl.web@gmail.com>
969 * obsolete/rcompile.el: Mark obsolete.
971 * progmodes/compile.el (compilation-start)
972 (compilation-goto-locus, compilation-find-file):
973 Pass no-display-ok and handle nil value from display-buffer.
976 * window.el (display-buffer-alist, display-buffer): Document the
977 new parameter no-display-ok. Return either a window or nil
978 but never a non-window value.
980 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
982 * electric.el (electric-indent-mode-map): Remove.
983 (electric-indent-mode): Change the global-map instead (bug#15915).
985 * textmodes/text-mode.el (paragraph-indent-minor-mode):
988 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
990 * emacs-lisp/nadvice.el (remove-function): Align with
991 add-function's behavior.
993 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
994 (gdb--string-regexp): New constant.
995 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
996 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
997 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
999 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1000 Adjust use accordingly.
1001 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1003 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1005 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1006 interpolation curlies (Bug#15914).
1008 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1010 * calc/calc.el (calc-context-sensitive-enter): New variable.
1011 (calc-enter): Use `calc-context-sensitive-enter'.
1013 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1015 * progmodes/cfengine.el: Version bump.
1016 (cfengine-cf-promises): New defcustom to locate cf-promises.
1017 (cfengine3-vartypes): Add new "data" type.
1018 (cfengine3--current-word): New function to get current name-like
1020 (cfengine3--current-function): New function to look up a CFEngine
1021 function's definition.
1022 (cfengine3-format-function-docstring): New function.
1023 (cfengine3-make-syntax-cache): New function.
1024 (cfengine3-documentation-function): New function: ElDoc glue.
1025 (cfengine3-completion-function): New function: completion glue.
1026 (cfengine3-mode): Set `compile-command',
1027 `eldoc-documentation-function', and add to
1028 `completion-at-point-functions'.
1030 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1032 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1033 `tramp-current-connection'.
1035 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1037 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1038 nil/self/true/false with "end of symbol".
1040 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1042 * subr.el (version-regexp-alist): Fix a typo.
1044 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1046 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1047 "en_US.utf8" and "LC_CTYPE" to "".
1048 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1049 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1051 2013-11-15 Leo Liu <sdl.web@gmail.com>
1053 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1055 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1057 * progmodes/gud.el (ctl-x-map):
1058 Remove C-x SPC binding. (Bug#12342)
1059 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1061 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1063 * subr.el (version-regexp-alist):
1064 Recognize hg, svn and darcs versions as snapshot versions.
1066 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1067 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1068 (ruby--encoding-comment-required-p): Extract from
1069 `ruby-mode-set-encoding'.
1070 (ruby-mode-set-encoding): Add the ability to always insert an
1071 utf-8 encoding comment. Fix and simplify coding comment update
1074 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1076 * net/tramp-gvfs.el (top): Run init code only when
1077 `tramp-gvfs-enabled' is not nil.
1078 (tramp-gvfs-enabled): Check also :system bus.
1080 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1082 Sync with upstream verilog-mode revision 78e66ba.
1083 * progmodes/verilog-mode.el (verilog-end-of-defun)
1084 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1085 (verilog-get-end-of-defun): Remove unused argument.
1086 (verilog-comment-depth): Remove unused local `e'.
1087 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1088 Don't pass arg to verilog-get-end-of-defun.
1090 2013-11-14 Glenn Morris <rgm@gnu.org>
1092 * obsolete/assoc.el (aget): Prefix dynamic variable.
1094 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1096 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1098 * widget.el, hfy-cmap.el: Remove bogus package version number.
1100 2013-11-13 Glenn Morris <rgm@gnu.org>
1102 * replace.el (replace-eval-replacement):
1103 Try to give more helpful error message. (Bug#15836)
1105 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1106 (archive-7z-update): Avoid custom type mismatches.
1108 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1110 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1112 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1113 address can be empty.
1115 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1116 Accept nil SWITCHES.
1117 (tramp-gvfs-handle-write-region): Implement APPEND.
1119 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1121 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1122 binary "|" operator and closing block args delimiter.
1123 Remove FIXME comment referring to Ruby 1.8-only syntax.
1124 (ruby-smie--implicit-semi-p): Not after "|" operator.
1125 (ruby-smie--closing-pipe-p): New function.
1126 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1127 (ruby-smie-rules): Indent after "|".
1129 2013-11-12 Glenn Morris <rgm@gnu.org>
1131 * ps-print.el (ps-face-attribute-list):
1132 Handle anonymous faces. (Bug#15827)
1134 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1136 * window.el (display-buffer-other-frame): Fix doc-string.
1139 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1141 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1143 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1145 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1146 (tramp-sh-handle-file-local-copy): Don't write a message when
1147 saving temporary files.
1149 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1150 both directories are remote.
1151 (tramp-smb-handle-directory-files): Do not return double entries.
1152 Do not expand full file names.
1153 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1154 (tramp-smb-handle-write-region): Implement APPEND.
1155 (tramp-smb-get-stat-capability): Fix a stupid bug.
1157 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1159 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1161 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1163 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1164 throwing error over malformed let/let* (bug#15814).
1166 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1168 * iswitchb.el (iswitchb-mode): Mark obsolete.
1170 2013-11-11 Glenn Morris <rgm@gnu.org>
1172 * international/uni-bidi.el, international/uni-category.el:
1173 * international/uni-name.el, international/uni-numeric.el:
1174 Regenerate for Unicode 6.3.0.
1176 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1178 * net/tramp.el (tramp-methods):
1179 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1180 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1182 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1184 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1185 Force highlighting text after Summary keyword in doc face for rpm.
1187 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1189 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1190 available and the word has no wildcards, append one to the grep pattern.
1191 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1192 (ispell-complete-word): Call `ispell-lookup-words' with the value
1193 independent of `ispell-look-p'.
1195 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1197 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1199 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1202 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1204 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1205 (ruby-font-lock-keywords): Use backquote.
1207 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1209 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1210 (ruby-smie--backward-token): Only consider full-string matches.
1212 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1214 * faces.el (describe-face): Add distant-foreground.
1216 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1218 * progmodes/ruby-mode.el: Improve encoding comment handling.
1219 (ruby-encoding-magic-comment-style): New option.
1220 (ruby-custom-encoding-magic-comment-template): New option.
1221 (ruby--insert-coding-comment, ruby--detect-encoding):
1222 New functions extracted from `ruby-mode-set-encoding'.
1223 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1224 to control the style of the auto-inserted encoding comment.
1226 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1228 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1229 Use `smie-backward-sexp' with token argument.
1231 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1233 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1234 Remove instrumentation code.
1236 2013-11-08 Glenn Morris <rgm@gnu.org>
1238 * progmodes/autoconf.el (autoconf-mode):
1239 Tweak comment-start-skip. (Bug#15822)
1241 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1243 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1244 at bobp (bug#15826).
1245 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1247 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1249 * man.el (Man-start-calling): New macro, extracted from
1250 Man-getpage-in-background.
1251 (Man-getpage-in-background): Use it.
1252 (Man-update-manpage): New command.
1253 (Man-mode-map): Bind it.
1255 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1257 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1258 of "and", "or", "&&" and "||".
1259 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1260 argument. Prohibit opening curly brace because it could only be a
1261 block opener in that position.
1262 (ruby-smie--forward-token, ruby-smie--backward-token):
1263 Separate "|" from "&" or "*" going after it. That can happen in block
1265 (ruby-smie--indent-to-stmt): New function, seeks the end of
1266 previous statement or beginning of buffer.
1267 (ruby-smie-rules): Use it.
1268 (ruby-smie-rules): Check if there's a ":" before a curly block
1269 opener candidate; if there is, it's a hash.
1271 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1273 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1274 (cl--block-wrapper): Fix last accidental change.
1276 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1278 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1279 Instrument, in order to hunt failure on hydra.
1281 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1283 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1284 malformed bindings form (bug#15814).
1286 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1288 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1289 "." compared to " @ ". This incidentally fixes some indentation
1291 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1292 (ruby-smie-grammar): New tokens: "and" and "or".
1293 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1294 Exclude "and" and "or". Remove "do" in order to work around token
1296 (ruby-smie-rules): Add all infix tokens. Handle the case of
1297 beginning-of-buffer.
1299 2013-11-06 Glenn Morris <rgm@gnu.org>
1301 * Makefile.in (setwins_almost, setwins_for_subdirs):
1302 Avoid accidental matches.
1304 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1306 * menu-bar.el (popup-menu): Use key-binding.
1308 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1310 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1311 menus, support also the menus produced by minor modes.
1314 2013-11-06 Leo Liu <sdl.web@gmail.com>
1316 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1317 DISTANCE to bound the search. All uses changed. (Bug#15808)
1319 2013-11-06 Glenn Morris <rgm@gnu.org>
1321 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1322 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1323 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1325 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1327 * electric.el (electric-indent-just-newline): New command.
1328 (electric-indent-mode-map): New keymap.
1329 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1330 Re-add :group which weren't redundant.
1332 * electric.el (electric-indent-local-mode): New minor mode.
1333 (electric-indent-functions-without-reindent): New var.
1334 (electric-indent-post-self-insert-function): Use it.
1335 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1337 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1339 * international/quail.el (quail-help): Be more explicit about the
1340 meaning of the labels shown on the keys. (Bug#15800)
1342 * startup.el (normal-top-level): Load the subdirs.el files before
1343 setting the locale environment. (Bug#15805)
1345 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1347 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1348 via arguments so as to get the right ones (bug#15418).
1350 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1352 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1354 Fix problems found while writing a test suite.
1356 * net/tramp-compat.el (tramp-compat-load): New defun.
1357 * net/tramp.el (tramp-handle-load): Use it.
1359 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1360 "(numberp ok-if-already-exists)" correctly.
1362 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1364 * international/characters.el (glyphless-char-display-control):
1367 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1369 * progmodes/python.el (python-mode):
1370 * progmodes/scheme.el (scheme-mode):
1371 * progmodes/prolog.el (prolog-mode):
1372 * progmodes/ruby-mode.el (ruby-mode):
1373 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1374 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1376 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1378 * rect.el (rectangle--highlight-for-redisplay):
1379 * emacs-lisp/smie.el (smie--next-indent-change):
1380 Use buffer-chars-modified-tick.
1382 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1384 * electric.el (electric-indent-post-self-insert-function):
1385 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1387 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1389 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1391 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1393 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1396 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1398 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1400 * progmodes/python.el: Fix up last change.
1401 (python-shell--save-temp-file): New function.
1402 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1403 `string' comes from the current buffer.
1404 (python-shell-send-string-no-output): Remove `msg' arg.
1405 (python--use-fake-loc): New var.
1406 (python-shell-buffer-substring): Obey it. Try to compensate for the
1407 extra coding line added by python-shell--save-temp-file.
1408 (python-shell-send-region): Use python-shell--save-temp-file and
1409 python-shell-send-file directly. Add `nomain' argument.
1410 (python-shell-send-buffer): Use python-shell-send-region.
1411 (python-electric-pair-string-delimiter): New function.
1412 (python-mode): Use it.
1414 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1416 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1417 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1418 environment and decoding all of the default-directory's to here
1420 (command-line): Decode also argv[0].
1422 * loadup.el: Error out if default-directory is a multibyte string
1423 when we are dumping.
1425 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1427 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1429 * emacs-lisp/package.el (package-menu-mode)
1430 (package-menu--print-info, package-menu--archive-predicate):
1431 Add Archive column to package list.
1433 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1435 Fix problems found while writing a test suite.
1437 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1438 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1439 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1440 to nil when running original file name handler. Otherwise,
1441 there are problems with constructs like "$$FOO".
1443 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1446 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1448 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1450 * subr.el (version<, version<=, version=):
1451 Update docstrings with information for snapshot versions.
1453 * helpers.el: New library for misc helper functions.
1454 (hash-table-keys): New function returning a list of hash keys.
1455 (hash-table-values): New function returning a list of hash values.
1457 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1459 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1460 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1462 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1464 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1465 checking whether point is after a 1-letter word.
1467 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1469 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1470 Don't infloop when expanding region over `multiline' syntax-type that
1471 begins a line (bug#15778).
1473 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1475 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1476 Make it into a proper minor mode.
1477 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1478 (rectangle-mark-mode-map): New keymap.
1479 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1481 2013-11-04 Glenn Morris <rgm@gnu.org>
1483 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1485 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1487 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1488 (ruby-smie-rules): Use smie-rule-parent instead.
1490 * emacs-lisp/smie.el (smie-rule-parent): Always call
1491 smie-indent-virtual rather than only for hanging tokens.
1492 (smie--next-indent-change): New helper command.
1494 2013-11-03 Glenn Morris <rgm@gnu.org>
1496 * Makefile.in (abs_srcdir): Remove.
1497 (emacs): Unset EMACSLOADPATH.
1499 2013-11-02 Glenn Morris <rgm@gnu.org>
1501 * Makefile.in (EMACS): Use a relative filename.
1502 (abs_top_builddir): Remove.
1503 (custom-deps, finder-data, autoloads): Use --chdir.
1505 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1507 Use relative filenames in TAGS files.
1508 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1509 (lisptagsfiles4, TAGS): Use relative file names.
1510 (TAGS-LISP): Remove.
1511 (maintainer-clean): No more TAGS-LISP file.
1513 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1514 (lisptagsfiles4): Use absolute filenames again.
1515 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1516 Remove all *loaddefs files, not just the first. Remove esh-groups.
1517 (maintainer-clean): Delete TAGS, TAGS-LISP.
1519 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1521 * emacs-lisp/package.el (package-version-join):
1522 Recognize snapshot versions.
1524 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1526 * subr.el (version-regexp-alist): Add support for snapshot versions.
1528 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1530 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1531 New function, replacement for `smie-rule-parent' for when we want to
1532 skip over our direct parent if it's an assignment token..
1533 (ruby-smie-rules): Use it.
1535 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1537 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1538 unconditionally. Remove now unnecessary forward declarations.
1539 Remove XEmacs-specific setup.
1540 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1541 (ruby-font-lock-syntactic-keywords)
1542 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1543 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1544 (ruby-here-doc-end-syntax): Remove.
1545 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1546 defined as function.
1548 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1550 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1552 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1554 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1555 table and abbrev table, `define-derived-mode' does that for us
1558 2013-11-01 Glenn Morris <rgm@gnu.org>
1560 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1561 files is atomic for some time, so no parallel compilation issues).
1563 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1565 * faces.el (face-x-resources): Add :distant-foreground.
1566 (region): Use :distant-foreground for gtk and ns.
1568 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1570 Allow multiple bibliographies when BibLaTeX is used rather than
1572 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1573 (reftex-locate-bibliography-files): Us it.
1575 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1577 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1578 allow comments in pbm files.
1580 * term/w32-win.el (dynamic-library-alist): Support newer versions
1581 of libjpeg starting with v7: look only for the DLL from the
1582 version against which Emacs was built.
1583 Support versions of libpng beyond 1.4.x.
1584 Support libtiff v4.x.
1586 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1588 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1589 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1591 (ruby-deep-arglist): Add property :type.
1593 2013-10-31 Glenn Morris <rgm@gnu.org>
1595 * Makefile.in (custom-deps, finder-data): No need to setq the target
1596 variables, we are in the right directory and the defaults work fine.
1598 2013-10-30 Glenn Morris <rgm@gnu.org>
1600 * Makefile.in (autoloads): Do not use abs_lisp.
1602 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1603 `newline' does not respect `standard-output', so use `princ'.
1605 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1607 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1608 * buff-menu.el (Buffer-menu--unmark): New function.
1609 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1611 2013-10-30 Glenn Morris <rgm@gnu.org>
1613 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1615 * emacs-lisp/package.el (lm-homepage): Declare.
1617 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1620 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1622 * Makefile.in (finder-data, autoloads, update-subdirs)
1623 (compile-main, compile-clean, compile-always, bootstrap-clean):
1624 Check return value of cd.
1625 (compile-calc): Remove.
1627 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1629 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1631 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1632 (byte-compile-and-folded): New function.
1633 (=, <, >, <=, >=): Use it.
1635 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1636 (path-separator, null-device, buffer-file-coding-system)
1637 (lpr-headers-switches): Check system-type before modifying them.
1638 (find-buffer-file-type-coding-system): Mark obsolete.
1639 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1640 find-file-not-found-set-buffer-file-coding-system.
1641 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1642 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1643 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1644 (w32-direct-print-region-helper, w32-direct-print-region-function)
1645 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1646 * startup.el (normal-top-level-add-subdirs-to-load-path):
1647 * ps-print.el (ps-print-region-function):
1648 * lpr.el (print-region-function): Use new name.
1650 * subr.el (custom-declare-variable-early): Remove function.
1651 (custom-declare-variable-list): Remove var.
1652 (error, user-error): Remove `while' loop.
1653 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1654 (user-emacs-directory-warning, locate-user-emacs-file):
1656 * simple.el (read-quoted-char-radix, read-quoted-char):
1657 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1659 * custom.el (custom-declare-variable-list): Don't process
1660 custom-declare-variable-list.
1662 * progmodes/python.el (python-shell-get-buffer): New function.
1663 (python-shell-get-process): Use it.
1664 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1665 Python which encoding was used. Don't split-string since we only care
1666 about the first line. Return the temp-file, if applicable.
1667 (python-shell-send-region): Tell compile.el how to turn locations in
1668 the temp-file into locations in the source buffer.
1670 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1672 * subr.el (undefined): Add missing behavior from the C code for
1675 * rect.el: Use lexical-binding. Add new rectangular region support.
1676 (rectangle-mark): New command.
1677 (rectangle--region): New var.
1678 (deactivate-mark-hook): Reset rectangle--region.
1679 (rectangle--extract-region, rectangle--insert-for-yank)
1680 (rectangle--highlight-for-redisplay)
1681 (rectangle--unhighlight-for-redisplay): New functions.
1682 (region-extract-function, redisplay-unhighlight-region-function)
1683 (redisplay-highlight-region-function): Use them to handle
1685 * simple.el (region-extract-function): New var.
1686 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1687 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1688 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1689 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1690 (redisplay-unhighlight-region-function)
1691 (redisplay-highlight-region-function): New vars.
1692 (redisplay--update-region-highlight): New function.
1693 (pre-redisplay-function): Use it.
1694 (exchange-point-and-mark): Don't deactivate the mark before
1695 reactivate-it anyway.
1696 * comint.el (comint-kill-region): Remove yank-handler argument.
1697 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1698 (delete-char): Remove property, since it's now part of their
1700 (self-insert-iso): Remove property since this command doesn't exist.
1702 * emacs-lisp/package.el (package--download-one-archive)
1703 (describe-package-1): Don't query the user about final newline.
1705 2013-10-29 Daniel Colascione <dancol@dancol.org>
1707 * net/tramp.el (tramp-methods): Document new functionality.
1708 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1709 tramp-hostname-checker if method provides one instead of scanning
1710 argument list for "%h" to decide hostname acceptability.
1712 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1714 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1715 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1716 Handle COPY-CONTENTS. (Bug#15737)
1718 2013-10-28 Daiki Ueno <ueno@gnu.org>
1721 (epa-file-cache-passphrase-for-symmetric-encryption):
1722 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1724 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1726 * image.el (defimage):
1727 (image-load-path): Doc fixes.
1729 2013-10-27 Alan Mackenzie <acm@muc.de>
1731 Indent statements in macros following "##" correctly.
1732 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1733 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1735 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1737 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1739 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1741 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1742 after `=' is probably a new expression.
1744 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1746 * man.el (man-imenu-title): New option.
1747 (Man-mode-map): Add menu. (Bug#15722)
1748 (Man-mode): Add imenu to menu.
1750 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1752 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1753 specific in what the first arg can be: a non-keyword word,
1754 string/regexp/percent literal opener, opening paren, or unary
1755 operator followed directly by word.
1757 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1759 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1760 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1761 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1762 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1763 Remove vars, they do not apply any more.
1764 (prolog-mode-abbrev-table): Remove redundant declaration.
1765 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1766 (prolog-use-smie): Remove.
1767 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1768 supported by prolog-electric-if-then-else-flag.
1769 (prolog-mode-variables, prolog-menu): Use setq-local.
1770 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1771 Remove binding to `Backspace' since this key doesn't exist anyway.
1772 Remove bindings for electric self-inserting keys.
1773 (prog-mode): Assume it's defined.
1774 (prolog-post-self-insert): New function.
1775 (prolog-mode): Use it.
1776 (prolog-indent-line, prolog-indent-level)
1777 (prolog-find-indent-of-matching-paren)
1778 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1779 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1780 (prolog-goto-next-paren, prolog-in-string-or-comment)
1781 (prolog-tokenize, prolog-inside-mline-comment)
1782 (prolog-find-start-of-mline-comment): Remove functions.
1783 (prolog-find-unmatched-paren, prolog-clause-end)
1784 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1785 (prolog-electric--if-then-else): Rename from
1786 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1787 (prolog-tokenize-searchkey): Remove const.
1788 (prolog-clause-info): Use forward-sexp.
1789 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1790 (prolog-electric-if-then-else): Remove commands.
1791 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1792 for use in post-self-insert-hook.
1793 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1794 for use in post-self-insert-hook.
1795 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1796 for use in post-self-insert-hook.
1797 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1798 adapt it for use in post-self-insert-hook.
1800 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1802 * emacs-lisp/ert.el (ert-run-tests-interactively):
1803 Use `completing-read'. (Bug#9756)
1805 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1807 * simple.el (line-move): Call line-move-1 instead of
1808 line-move-visual when the current window hscroll is zero, but
1809 temporary-goal-column indicates we will need to hscroll as result
1810 of the movement. (Bug#15712)
1812 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1814 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1815 capitalization. Use :visible instead of :active.
1816 Fix `ruby-indent-exp' reference. Add menu items for the generic
1817 commands that are used with SMIE.
1818 (ruby-do-end-to-brace): Insert space after `{'.
1820 2013-10-25 John Anthony <john@jo.hnanthony.com>
1822 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1824 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1826 2013-10-25 Glenn Morris <rgm@gnu.org>
1828 * vc/vc.el (vc-print-log): Don't use a working revision unless
1829 one was explicitly specified. (Bug#15322)
1831 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1833 * subr.el (add-to-list): Preserve return value in compiler-macro
1836 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1838 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1839 result. Ask user to retry using '-all' flag. (Bug#15701)
1841 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1843 * emacs-lisp/smie.el: New smie-config system.
1844 (smie-config): New defcustom.
1845 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1846 (smie-config-guess, smie-config-save): New commands.
1847 (smie-config--mode-local, smie-config--buffer-local)
1848 (smie-config--trace, smie-config--modefuns): New vars.
1849 (smie-config--advice, smie-config--mode-hook)
1850 (smie-config--setter, smie-config-local, smie-config--get-trace)
1851 (smie-config--guess-value, smie-config--guess): New functions.
1852 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1853 text properties. Treat "string fence" syntax like string syntax.
1855 * progmodes/sh-script.el (sh-use-smie): Change default.
1856 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1857 (sh-var-value): Simplify by CSE.
1858 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1859 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1861 (sh-guess-basic-offset): Use cl-incf.
1862 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1864 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1866 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1869 2013-10-24 Glenn Morris <rgm@gnu.org>
1871 * Makefile.in (abs_top_srcdir): Remove.
1872 (update-subdirs): Use relative path to update-subdirs.
1874 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1876 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1877 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1878 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1879 Call unmsys--file-name before expand-file-name, not after it.
1881 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1883 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1884 (ert-test-skipped): New error.
1885 (ert-skip, ert-stats-skipped): New defuns.
1886 (ert--skip-unless): New macro.
1887 (ert-test-skipped): New struct.
1888 (ert--run-test-debugger, ert-test-result-type-p)
1889 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1890 (ert--stats-set-test-and-result, ert-char-for-test-result)
1891 (ert-string-for-test-result, ert-run-tests-batch)
1892 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1893 Handle skipped tests. (Bug#9803)
1895 2013-10-24 Glenn Morris <rgm@gnu.org>
1897 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1899 * Makefile.in (abs_top_srcdir): New, set by configure.
1900 (update-subdirs): Correct build-aux location.
1902 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1904 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1905 value, whether we could auto-deduce `backend', or not.
1907 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1908 with parameters" example. Simplify the "is it block or is it
1909 hash" check, but also make it more thorough.
1911 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1913 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1915 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1917 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1920 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1923 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1925 * progmodes/compile.el (compilation-directory-matcher)
1926 (compilation-page-delimiter):
1927 Support GNU Make-4.0 directory quoting. (Bug#15678)
1929 2013-10-23 Leo Liu <sdl.web@gmail.com>
1931 * ido.el (ido-tidy): Handle read-only text.
1933 2013-10-23 Glenn Morris <rgm@gnu.org>
1935 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1936 (emacs, compile, compile-always):
1937 Quote entities that might contain whitespace.
1938 (custom-deps, finder-data, autoloads): Use abs_lisp.
1939 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1940 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1941 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1943 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1945 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1946 Use `following-char'.
1948 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1950 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1951 * progmodes/ruby-mode.el (ruby-smie-rules):
1952 Remove corresponding workaround. Fix indentation rule of ";" so it
1953 also applies when ";" is the parent.
1955 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1957 * frame.el (display-screens, display-pixel-height)
1958 (display-pixel-width, display-mm-width, display-backing-store)
1959 (display-save-under, display-planes, display-color-cells)
1960 (display-visual-class, display-monitor-attributes-list):
1961 Mention the optional ‘display’ argument in doc strings.
1963 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1965 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1966 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1968 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1970 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1971 TODO. Add "." after " @ ".
1972 (ruby-smie--at-dot-call): New function. Checks if point at method
1973 call with explicit target.
1974 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1975 to the method name tokens when it precedes them.
1976 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1977 (ruby-smie-rules): Add rule for indentation before and after "."
1980 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1982 * textmodes/remember.el (remember-diary-extract-entries):
1985 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1988 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1990 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1991 (ruby-smie--implicit-semi-p): Add new operator chars.
1993 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1995 (ruby-smie--args-separator-p): Check that there's no newline
1996 between method call and its arguments.
1998 2013-10-20 Alan Mackenzie <acm@muc.de>
2000 Allow comma separated lists after Java "implements".
2002 * progmodes/cc-engine.el (c-backward-over-enum-header):
2004 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2005 from a "disallowed" list in enum fontification.
2007 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2009 * startup.el (default-frame-background-mode): Remove unused defvar.
2011 * progmodes/verilog-mode.el (verilog-mode): Don't set
2012 comment-indent-function globally.
2014 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2016 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2017 Move Info menu item creation to ns-win.el.
2019 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2022 * menu-bar.el: Move GNUStep specific menus...
2024 * term/ns-win.el (ns-initialize-window-system): ... to here.
2026 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2028 * simple.el (newline): Only run post-self-insert-hook when
2029 called interactively.
2031 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2033 * icomplete.el (icomplete-with-completion-tables): Add :version.
2035 2013-10-19 Alan Mackenzie <acm@muc.de>
2037 Fix fontification bugs with constructors and const.
2039 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2040 CASE 2) Remove the check for the absence of a suffix construct
2041 after a function declaration with only types (no identifiers) in
2042 the parentheses. Also, accept a function declaration with just a
2043 type inside the parentheses, if this type can be positively
2044 recognised as such, or if a prefix keyword like "explicit" nails
2045 down the construct as a declaration.
2047 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2049 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2050 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2051 the problem whereby selecting a menu item that leads to a
2052 minibuffer prompt moves the cursor out of the minibuffer window,
2053 making it hard to type at the prompt. Suggested by Stefan Monnier
2054 <monnier@iro.umontreal.ca>.
2056 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2058 * menu-bar.el: Don't make Services menu.
2060 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2062 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2063 (ffap-alist): Use ffap-c++-mode for c++-mode.
2064 (ffap-c++-path): New variable.
2065 (ffap-c++-mode): New function.
2067 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2069 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2071 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2073 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2074 introduced on 2013-09-08, which results in an infinite loop
2075 requesting a password.
2077 2013-10-18 Glenn Morris <rgm@gnu.org>
2079 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2081 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2083 Sync with upstream verilog-mode revision 1a6ecec7.
2084 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2085 (verilog-mode-release-date): Remove.
2086 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2087 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2088 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2089 (verilog-auto-tieoff-ignore-regexp)
2090 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2091 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2092 (verilog-signals-with, verilog-dir-cache-preserving)
2093 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2095 (verilog-case-fold): New option, to control case folding in
2096 regexp searches, bug597.
2097 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2098 (verilog-string-match-fold, verilog-in-paren-count)
2099 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2100 (verilog-at-close-struct-p): New functions.
2101 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2102 (verilog-forward-sexp, verilog-set-auto-endcomments):
2103 (verilog-leap-to-case-head): Handle "unique0" case.
2104 (verilog-in-constraint-re): New constant.
2105 (verilog-keywords, verilog-type-font-keywords):
2106 Add some SystemVerilog 1800-2012 keywords.
2107 (verilog-label-be): Remove unimplemented argument, bug669.
2108 (verilog-batch-execute-func): When batch expanding clear
2109 create-lockfiles to prevent spurious user locks when a file ends
2111 (verilog-calculate-indent, verilog-calc-1)
2112 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2113 (verilog-do-indent): Fix indentation of nested constraints
2115 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2116 (verilog-auto-inst-param): Use verilog-string-match-fold.
2117 (verilog-read-inst-module-matcher):
2118 Fix AUTOINST on gate primitives with #1.
2119 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2120 Reads all user-defined typed variables.
2121 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2122 (verilog-signals-matching-regexp)
2123 (verilog-signals-not-matching-regexp, verilog-auto):
2124 Respect verilog-case-fold.
2125 (verilog-diff-report): Fix line count.
2126 (verilog-auto-assign-modport): Remove unused local `modi'.
2127 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2128 better handle multidimensional arrays.
2129 Fix packed array ports misadding bit index in AUTOINST, bug637.
2130 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2131 to not double-declare existing outputs and inputs, respectively.
2132 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2133 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2134 (verilog-sk-uvm-component): New skeleton.
2135 (verilog-submit-bug-report): Add verilog-case-fold,
2136 remove verilog-mode-release-date.
2138 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2140 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2143 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2145 * textmodes/remember.el (remember): set buffer-offer-save in
2146 remember buffers (bug#13566).
2148 2013-10-18 Daniel Colascione <dancol@dancol.org>
2150 When evaluating forms in ielm, direct standard output to ielm
2151 buffer. Add new ielm-return-for-effect command. Remove trailing
2152 whitespace throughout.
2154 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2155 (ielm-return-for-effect): New command.
2156 (ielm-send-input): Accept optional `for-effect' parameter.
2157 (ielm-eval-input): Accept optional `for-effect' parameter.
2158 Bind `standard-output' to stream we create using
2159 `ielm-standard-output-impl'. Suppress printing result when
2161 (ielm-standard-output-impl): New function.
2162 (inferior-emacs-lisp-mode): Explain new features in documentation.
2164 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2168 * net/tramp.el (tramp-debug-message): Do not check for connection
2170 (tramp-message): Use "vector" connection property.
2172 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2173 (tramp-equal-remote, tramp-eshell-directory-change)
2174 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2175 (tramp-adb-handle-rename-file)
2176 * net/tramp-cmds.el (tramp-list-remote-buffers)
2177 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2178 * net/tramp-compat.el (tramp-compat-process-running-p)
2179 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2180 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2181 (tramp-gvfs-handle-rename-file)
2182 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2183 (tramp-set-file-uid-gid)
2184 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2185 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2188 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2189 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2190 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2191 (tramp-gw-open-network-stream): Suppress unrelated traces.
2193 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2194 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2195 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2196 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2197 connection property.
2199 * net/tramp-cache.el (top): Suppress traces when reading
2202 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2203 Refactor common code. Improve debug message.
2204 (tramp-maybe-open-connection)
2205 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2206 connection buffer too early.
2208 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2209 from `tramp-smb-actions-with-acl'.
2210 (tramp-smb-actions-set-acl): New defconst.
2211 (tramp-smb-handle-copy-directory)
2212 (tramp-smb-action-get-acl): New defun, renamed from
2213 `tramp-smb-action-with-acl'.
2214 (tramp-smb-action-set-acl): New defun.
2215 (tramp-smb-handle-set-file-acl): Rewrite.
2217 2013-10-17 Glenn Morris <rgm@gnu.org>
2219 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2221 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2223 * skeleton.el (skeleton-newline): Remove.
2224 (skeleton-internal-1): Use (insert "\n") instead.
2226 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2229 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2230 forward-sexp-function while we redo its job (bug#15613).
2232 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2234 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2235 represented by lists.
2237 2013-10-16 Glenn Morris <rgm@gnu.org>
2239 * tmm.el (tmm--history): New dynamic variable.
2240 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2242 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2244 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2245 (tramp-smb-errors): Add error messages.
2246 (tramp-smb-actions-with-acl): New defconst.
2247 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2248 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2249 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2250 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2251 (tramp-smb-get-stat-capability): Fix tests.
2253 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2255 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2258 2013-10-16 Glenn Morris <rgm@gnu.org>
2260 * ansi-color.el (ansi-color-drop-regexp):
2261 Add 1J, 1K, 2K. (Bug#15617)
2263 * files.el (hack-local-variables--warned-lexical): New.
2264 (hack-local-variables):
2265 Warn about misplaced lexical-binding. (Bug#15616)
2267 * net/eww.el (eww-render): Always set eww-current-url,
2268 and update header line. (Bug#15622)
2269 (eww-display-html): ... Rather than just doing it here.
2271 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2273 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2274 menu navigations commands.
2276 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2278 * progmodes/subword.el (subword-capitalize): Be careful when
2279 the search for [[:alpha:]] fails (bug#15580).
2281 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2283 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2284 to commands that scroll the menu.
2286 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2288 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2289 Handle methods ending with `?' and `!'.
2291 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2293 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2294 `japanese-cp932' to `cp932' to fix the problem where saving a
2295 source file written in Shift_JIS twice would end up having
2296 `coding: japanese-cp932' which Ruby could not recognize.
2297 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2298 in `ruby-encoding-map'.
2299 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2300 doesn't need to be explicitly declared in magic comment.
2301 (ruby-encoding-map): Add type declaration for better customize UI.
2303 2013-10-13 Glenn Morris <rgm@gnu.org>
2305 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2306 Occur buffers are read-only. http://bugs.debian.org/720775
2308 * emacs-lisp/authors.el (authors-fixed-entries):
2309 Comment out old alpha stuff.
2311 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2313 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2314 to `after-save-hook' instead of `before-save-hook'.
2315 (ruby-mode-set-encoding): Use the value of coding system used to
2316 write the file. Call `basic-save-buffer-1' after modifying the
2319 2013-10-13 Alan Mackenzie <acm@muc.de>
2321 Fix indentation/fontification of Java enum with
2322 "implements"/generic.
2324 * progmodes/cc-engine.el (c-backward-over-enum-header):
2325 Extracted from the three other places and enhanced to handle generics.
2326 (c-inside-bracelist-p): Uses new function above.
2327 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2329 (c-font-lock-enum-tail): Uses new function above.
2331 2013-10-13 Kenichi Handa <handa@gnu.org>
2333 * international/mule-cmds.el (select-safe-coding-system): Remove a
2334 superfluous condition in chekcing whether a coding system is safe
2337 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2339 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2341 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2343 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2345 2013-10-13 Glenn Morris <rgm@gnu.org>
2347 * menu-bar.el (menu-bar-update-buffers):
2348 Unify Buffers menu prompt string. (Bug#15576)
2350 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2352 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2354 (authors-fixed-entries): Use accented form of name.
2356 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2358 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2359 method calls (bug#15594).
2360 (ruby-smie--args-separator-p): New function.
2361 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2362 recognize paren-free method calls.
2364 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2365 internals of universal-argument.
2367 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2369 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2370 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2371 dropped menu on second mouse click on the menu bar.
2373 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2375 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2376 (explicit-shell-file-name): Declare.
2377 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2378 (sh-completion-at-point-function): New function.
2380 (sh-smie--keyword-p): Remove unused argument.
2381 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2383 (sh-set-shell): Always setup SMIE, even if we use the
2384 old indentation code.
2386 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2388 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2390 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2391 predicate would return nil are almost non-existent.
2392 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2394 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2395 cache also after commands that modify the buffer but don't move
2398 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2400 * env.el (substitute-env-in-file-name): New function.
2401 (substitute-env-vars): Extend the meaning of the optional arg.
2403 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2405 * term/w32-win.el (dynamic-library-alist): Define separate lists
2406 of GIF DLLs for versions before and after 5.0.0 of giflib.
2409 2013-10-10 João Távora <joaotavora@gmail.com>
2411 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2412 not locked, use last revision and current source as
2413 defaults. (Bug#15569)
2415 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2417 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2420 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2422 * window.el (pop-to-buffer-same-window): Fix doc-string.
2425 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2427 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2429 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2431 * calendar/icalendar.el (icalendar-import-file):
2432 Fix interactive spec. (Bug#15482)
2434 2013-10-10 Glenn Morris <rgm@gnu.org>
2436 * desktop.el (desktop-save): Default to saving in .emacs.d,
2437 since PWD is no longer in desktop-path by default. (Bug#15319)
2439 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2440 now that text mode has a menu with the same entry.
2441 (menu-bar-text-mode-auto-fill): Remove now unused func.
2442 * textmodes/text-mode.el (text-mode-map):
2443 Use auto-fill help text from menu-bar.el.
2445 2013-10-10 John Anthony <john@jo.hnanthony.com>
2447 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2449 2013-10-09 Juri Linkov <juri@jurta.org>
2451 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2452 instead of this-command-keys. Add universal-argument-more and
2453 universal-argument-minus to the list of prefix commands. (Bug#15568)
2455 2013-10-09 Glenn Morris <rgm@gnu.org>
2457 * vc/vc-svn.el (vc-svn-create-repo):
2458 Expand paths in file://... url. (Bug#15446)
2460 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2462 (authors): Remove unused local variables.
2464 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2466 * profiler.el: Create a more coherent calltree from partial backtraces.
2467 (profiler-format): Hide the tail with `invisible' so that C-s can still
2468 find the hidden elements.
2469 (profiler-calltree-depth): Don't recurse so enthusiastically.
2470 (profiler-function-equal): New hash-table-test.
2471 (profiler-calltree-build-unified): New function.
2472 (profiler-calltree-build): Use it.
2473 (profiler-report-make-name-part): Indent the calltree less.
2474 (profiler-report-mode): Add visibility specs for profiler-format.
2475 (profiler-report-expand-entry, profiler-report-toggle-entry):
2476 Expand the whole subtree when provided with a prefix arg.
2478 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2480 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2482 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2483 hanging iuwu-mod token.
2484 (ruby-smie--forward-token): Do not include a dot after a token in
2486 (ruby-smie--backward-token): Likewise.
2488 2013-10-08 Juri Linkov <juri@jurta.org>
2490 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2491 to isearch-other-control-char.
2492 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2493 and isearch-post-command-hook to post-command-hook.
2494 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2495 and isearch-post-command-hook from post-command-hook.
2496 (isearch-unread-key-sequence)
2497 (isearch-reread-key-sequence-naturally)
2498 (isearch-lookup-scroll-key, isearch-other-control-char)
2499 (isearch-other-meta-char): Remove functions.
2500 (isearch-pre-command-hook, isearch-post-command-hook):
2501 New functions based on isearch-other-meta-char rewritten
2502 relying on the new behavior of overriding-terminal-local-map
2503 that does not replace the local keymaps any more. (Bug#15200)
2505 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2507 Support menus on text-mode terminals.
2508 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2511 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2513 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2514 Move here from mouse.el.
2515 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2517 (tty-menu-navigation-map): New map for TTY menu navigation.
2519 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2521 * frame.el (display-mouse-p): Report text-mode mouse as available
2523 (display-popup-menus-p): Report availability if mouse is
2524 available; don't condition on window-system.
2526 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2527 (tty-menu-selected-face): New faces.
2529 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2531 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2532 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2533 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2534 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2536 (lisp-mode-variables): New `elisp' argument.
2537 (emacs-lisp-mode): Use it.
2538 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2539 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2541 * indent.el: Use lexical-binding.
2542 (indent-region): Add progress reporter.
2543 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2545 (indent--next-tab-stop): New function to implement this behavior.
2546 (tab-to-tab-stop, move-to-tab-stop): Use it.
2548 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2550 * indent.el (indent-rigidly--current-indentation): New function.
2551 (indent-rigidly-map): New var.
2552 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2554 2013-10-08 Bastien Guerry <bzg@gnu.org>
2556 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2558 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2560 * progmodes/perl-mode.el: Use lexical-binding.
2561 Remove redundant :group args.
2562 (perl-nochange): Change default to be closer to other major modes's
2564 (perl-indent-line): Don't consider text on current line as a
2565 valid beginning of function from which to indent.
2567 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2568 with more than one argument (bug#15538).
2570 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2572 * vc/pcvs.el: Use lexical-binding.
2573 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2574 environment of `eval'.
2575 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2576 than a list of expressions. Adjust callers.
2577 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2579 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2581 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2582 case of the dot in a chained method call being on the following line.
2584 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2586 * electric.el (electric-indent-inhibit): New var.
2587 (electric-indent-post-self-insert-function): Use it.
2588 * progmodes/python.el (python-mode): Set it.
2590 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2593 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2595 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2596 (css-mode): Use electric-indent-chars.
2598 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2599 (font-lock-beg, font-lock-end): Move before first use.
2600 (nxml-mode): Use syntax-propertize-function.
2601 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2602 (nxml-extend-after-change-region): Remove.
2603 * nxml/xmltok.el: Use lexical-binding.
2604 (xmltok-save): Use `declare'.
2605 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2606 * nxml/nxml-util.el: Use lexical-binding.
2607 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2609 * nxml/nxml-ns.el: Use lexical-binding.
2610 (nxml-ns-save): Use `declare'.
2611 (nxml-ns-prefixes-for): Avoid add-to-list.
2612 * nxml/rng-match.el: Use lexical-binding.
2613 (rng--ipattern): Use cl-defstruct.
2614 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2615 (rng-cons-group-after, rng-subst-group-after)
2616 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2617 Use closures instead of `(lambda...).
2619 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2621 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2624 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2625 Use `tramp-handle-insert-file-contents'.
2626 (tramp-gvfs-handle-insert-file-contents): Remove function.
2628 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2629 Use `save-restriction' in order to keep markers.
2631 * net/trampver.el: Update release number.
2633 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2635 * progmodes/compile.el (compilation-parse-errors):
2636 Use compilation--put-prop.
2637 (compilation--ensure-parse): Check compilation-multiline.
2639 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2641 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2644 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2646 * progmodes/ruby-mode.el: Fix recently added tests.
2647 (ruby-smie-grammar): Add - and +.
2648 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2649 (ruby-smie--backward-id): New functions.
2650 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2651 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2654 2013-10-07 Leo Liu <sdl.web@gmail.com>
2656 * register.el (register-preview-delay)
2657 (register-preview-functions): New variables.
2658 (register-read-with-preview, register-preview)
2659 (register-describe-oneline): New functions.
2660 (point-to-register, window-configuration-to-register)
2661 (frame-configuration-to-register, jump-to-register)
2662 (number-to-register, view-register, insert-register)
2663 (copy-to-register, append-to-register, prepend-to-register)
2664 (copy-rectangle-to-register): Use register-read-with-preview to
2665 read register. (Bug#15525)
2667 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2669 * net/network-stream.el (network-stream-open-starttls): Don't add
2670 --insecure if it's already present, because that gnutls-cli
2671 rejects getting that parameter twice.
2673 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2675 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2678 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2680 * newcomment.el (comment-use-global-state): Change default value
2681 to t, mark obsolete (Bug#15251).
2682 (comment-beginning): In addition to `comment-to-syntax', check the
2683 value of `comment-use-global-state'.
2685 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2687 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2688 (ruby-comment-column): Follow the global default, by default.
2689 (ruby-smie-grammar): Add assignment syntax.
2690 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2691 open-paren, a comma, or a \.
2692 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2693 and line continuations.
2694 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2695 followed by implicit semi-colons. Add rule for string concatenation
2696 and for indentation at BOB.
2697 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2699 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2700 calling next-sexp, since next-token may have skipped chars which
2701 next-sexp doesn't know should be skipped!
2703 2013-10-05 Leo Liu <sdl.web@gmail.com>
2705 * progmodes/octave.el (octave-send-region):
2706 Call compilation-forget-errors.
2708 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2710 * vc/vc-svn.el (vc-svn-find-admin-dir):
2711 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2712 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2713 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2714 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2716 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2718 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2720 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2722 * subr.el (read-passwd): Hide chars even when called within a context
2723 where after-change-functions is disabled (bug#15501).
2724 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2725 until we removed ourself from overriding-terminal-local-map.
2727 2013-10-04 Leo Liu <sdl.web@gmail.com>
2729 * progmodes/octave.el (inferior-octave-mode):
2730 Call compilation-forget-errors.
2732 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2734 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2736 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2738 * net/secrets.el (secrets-create-collection): Add optional
2739 argument ALIAS. Use proper Label keyword. Append ALIAS as
2740 dbus-call-method argument. (Bug#15516)
2742 2013-10-04 Leo Liu <sdl.web@gmail.com>
2744 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2745 (inferior-octave-compilation-font-lock-keywords): New variables.
2746 (compilation-error-regexp-alist)
2747 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2748 (inferior-octave-mode): Use compilation-shell-minor-mode.
2750 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2752 * minibuffer.el (completion--replace): Be careful that `end' might be
2755 2013-10-03 Daiki Ueno <ueno@gnu.org>
2757 Add support for package signature checking.
2758 * emacs-lisp/package.el (url-http-file-exists-p)
2759 (epg-make-context, epg-context-set-home-directory)
2760 (epg-verify-string, epg-context-result-for)
2761 (epg-signature-status, epg-signature-to-string)
2762 (epg-check-configuration, epg-configuration)
2763 (epg-import-keys-from-file): Declare.
2764 (package-check-signature): New user option.
2765 (package-unsigned-archives): New user option.
2766 (package-desc): Add `signed' field.
2767 (package-load-descriptor): Set `signed' field if .signed file exists.
2768 (package--archive-file-exists-p): New function.
2769 (package--check-signature): New function.
2770 (package-install-from-archive): Check package signature.
2771 (package--download-one-archive): Check archive signature.
2772 (package-delete): Remove .signed file.
2773 (package-import-keyring): New command.
2774 (package-refresh-contents): Import default keyring.
2775 (package-desc-status): Add "unsigned" status.
2776 (describe-package-1, package-menu--print-info)
2777 (package-menu-mark-delete, package-menu--find-upgrades)
2778 (package-menu--status-predicate): Support "unsigned" status.
2780 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2782 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2783 the new compilation scheme using the new byte-codes.
2785 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2786 (byte-pophandler): New byte codes.
2787 (byte-goto-ops): Adjust accordingly.
2788 (byte-compile--use-old-handlers): New var.
2789 (byte-compile-catch): Use new byte codes depending on
2790 byte-compile--use-old-handlers.
2791 (byte-compile-condition-case--old): Rename from
2792 byte-compile-condition-case.
2793 (byte-compile-condition-case--new): New function.
2794 (byte-compile-condition-case): New function that dispatches depending
2795 on byte-compile--use-old-handlers.
2796 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2799 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2800 Optimize under `condition-case' and `catch' if
2801 byte-compile--use-old-handlers is nil.
2802 (disassemble-offset): Handle new bytecodes.
2804 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2806 * subr.el (error): Use `declare'.
2807 (decode-char, encode-char): Use advertised-calling-convention instead
2808 of the docstring to discourage use of the `restriction' arg.
2810 2013-10-03 Daiki Ueno <ueno@gnu.org>
2812 * epg.el (epg-verify-file): Add a comment saying that it does not
2813 notify verification error as a return value nor a signal.
2814 (epg-verify-string): Ditto.
2816 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2818 * progmodes/compile.el (compilation-start): Try globbing the arg to
2821 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2823 Sync with Tramp 2.2.8.
2825 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2826 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2827 * net/trampver.el: Update release number.
2829 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2831 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2832 and default-process-coding-system for darwin only.
2834 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2836 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2838 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2840 * vc/vc-git.el (vc-git-grep): Disable pager.
2842 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2844 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2845 Use :url instead of :homepage, as per
2846 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2848 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2849 non-nil, use `syntax-ppss' (Bug#15251).
2851 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2853 * progmodes/octave.el (inferior-octave-startup-file):
2854 Prefer ~/.emacs.d/init_octave.m.
2856 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2858 * emacs-lisp/package.el (package-desc-from-define):
2859 Accept additional arguments as plist, convert them to an alist and store
2860 them in the `extras' slot.
2861 (package-generate-description-file): Convert extras alist back to
2862 plist and append to the `define-package' form arguments.
2863 (package--alist-to-plist): New function.
2864 (package--ac-desc): Add `extras' slot.
2865 (package--add-to-archive-contents): Check if the archive-contents
2866 vector is long enough, and if it is, pass its `extras' slot value
2867 to `package-desc-create'.
2868 (package-buffer-info): Call `lm-homepage', pass the returned value
2869 to `package-desc-from-define'.
2870 (describe-package-1): Render the homepage button (Bug#13291).
2872 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2873 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2875 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2877 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2878 and default-process-coding-system to utf-8-unix (Bug#15402).
2880 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2882 * subr.el (looking-back): Do not recommend using looking-back.
2884 2013-09-28 Alan Mackenzie <acm@muc.de>
2886 Fix indentation/fontification of Java enum with "implements".
2888 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2889 regexp which matches "implements", etc., in Java.
2890 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2891 specifier clauses coming after "enum".
2892 * progmodes/cc-fonts.el (c-font-lock-declarations)
2893 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2896 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2898 * faces.el (region): Change ns_selection_color to
2899 ns_selection_fg_color, add ns_selection_bg_color.
2901 2013-09-28 Leo Liu <sdl.web@gmail.com>
2903 * progmodes/octave.el (inferior-octave-completion-table)
2904 (inferior-octave-completion-at-point): Minor tweaks.
2906 * textmodes/ispell.el (ispell-lookup-words): Rename from
2907 lookup-words. (Bug#15460)
2908 (lookup-words): Obsolete.
2909 (ispell-complete-word, ispell-command-loop): All uses changed.
2911 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2913 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2914 (octave-mode-menu): Add octave-send-buffer.
2915 (octave-send-buffer): New function.
2917 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2919 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2921 (octave-mode-menu): Add octave-lookfor.
2922 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2924 (octave-lookfor): New function.
2926 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2928 * emacs-lisp/cl-macs.el:
2929 (cl--loop-destr-temps): Remove.
2930 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2932 (cl--loop-set-iterator-function): New function.
2933 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2934 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2935 Bind `it' with `let' instead of substituting it with `cl-subst'.
2936 (cl--unused-var-p): New function.
2937 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2938 Eliminate some unused variable warnings (bug#15326).
2940 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2942 * doc-view.el (doc-view-scale-reset): Rename from
2943 `doc-view-reset-zoom-level'.
2944 (doc-view-scale-adjust): New command.
2945 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2946 `doc-view-scale-adjust'.
2948 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2950 * doc-view.el (doc-view-reset-zoom-level): New command.
2951 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2952 zoom commands (bug#15466).
2954 2013-09-26 Kenichi Handa <handa@gnu.org>
2956 * international/quail.el (quail-help): Make it not a command.
2958 2013-09-26 Leo Liu <sdl.web@gmail.com>
2960 * minibuffer.el (completion-all-sorted-completions): Make args
2961 optional as they are.
2963 2013-09-25 Daniel Colascione <dancol@dancol.org>
2965 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2966 specs are and that they're not evaluated.
2968 2013-09-24 Sam Steingold <sds@gnu.org>
2970 * midnight.el (clean-buffer-list-kill-regexps)
2971 (clean-buffer-list-kill-buffer-names): Update for the new Man
2972 buffer naming which includes the object name.
2974 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2976 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2977 (eshell-parse-command, eshell-parse-pipeline): Use it since
2978 eshell-separate-commands requires a dynamic scoped var.
2979 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2981 2013-09-23 Leo Liu <sdl.web@gmail.com>
2983 * autoinsert.el (auto-insert-alist): Make the value of
2984 lexical-binding match its file setting.
2986 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2988 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2990 * autoarg.el (autoarg-kp-digit-argument):
2991 * electric.el (Electric-command-loop):
2992 * kmacro.el (kmacro-step-edit-insert):
2993 Do not set universal-argument-num-events.
2995 2013-09-22 Leo Liu <sdl.web@gmail.com>
2997 * files.el (interpreter-mode-alist): Add octave.
2999 2013-09-21 Alan Mackenzie <acm@muc.de>
3001 C++: fontify identifier in declaration following "public:" correctly.
3002 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3003 to match "public", etc.
3004 (c-decl-prefix-re): Add ":" into the C++ value.
3005 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3006 bit. Add a check for a ":" preceded by "public", etc.
3008 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3010 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3011 recognized by GDB 7.5 and later.
3013 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3015 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3017 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3019 * subr.el (internal--call-interactively): New const.
3020 (called-interactively-p): Use it (bug#3984).
3022 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3024 * vc/pcvs.el (cvs-mode-ignore):
3025 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3026 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3028 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3030 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3031 (eshell-ls-orig-insert-directory): Remove.
3032 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3033 (eshell-ls-use-in-dired): Use advice-add/remove.
3034 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3035 Add `orig-fun' arg for use in :around advice.
3036 Make it check (redundantly) eshell-ls-use-in-dired.
3038 2013-09-19 Glenn Morris <rgm@gnu.org>
3040 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3042 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3044 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3046 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3048 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3049 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3050 (tramp-get-remote-python): New defuns.
3051 (tramp-get-remote-uid-with-perl)
3052 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3053 contributed by yary <not.com@gmail.com> (tiny change).
3054 (tramp-get-remote-uid-with-python)
3055 (tramp-get-remote-gid-with-python): New defuns. Python code
3056 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3057 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3059 2013-09-19 Glenn Morris <rgm@gnu.org>
3061 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3063 * eshell/em-unix.el (eshell-remove-entries):
3064 Rename argument to avoid name-clash with global `top-level'.
3066 * eshell/esh-proc.el (eshell-kill-process-function):
3067 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3068 (eshell-reset-after-proc): Remove unused arg `proc'.
3070 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3071 (directory-files-and-attributes): Mark unused arg.
3073 * eshell/em-unix.el (eshell-remove-entries):
3074 Remove unused arg `path'. Update callers.
3076 * eshell/em-hist.el (eshell-hist-parse-arguments):
3077 Remove unused arg `silent'. Update callers.
3079 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3080 Fix (f)boundp mix-up.
3082 * eshell/em-smart.el (eshell-smart-scroll-window)
3083 (eshell-disable-after-change):
3084 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3086 2013-09-18 Alan Mackenzie <acm@muc.de>
3088 Fix fontification of type when followed by "const".
3089 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3090 "known" types from fontification.
3092 2013-09-18 Glenn Morris <rgm@gnu.org>
3094 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3095 (chart-face-list): Drop Emacsen without display-color-p.
3097 * net/eww.el (libxml-parse-html-region): Declare.
3098 (eww-display-html): Explicit error if no libxml2 support.
3100 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3102 * image.el (image-type-from-buffer, image-multi-frame-p):
3103 Remove --without-x warning/error.
3105 * mouse.el (mouse-yank-primary):
3106 * term.el (term-mouse-paste):
3107 Reorder to silence --without-x compilation.
3109 * mpc.el (doc-view-mode): Silence --without-x compilation.
3111 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3112 Silence --without-x compilation.
3114 * progmodes/gud.el (gud-find-file, gud-mode):
3115 Silence --without-x compilation.
3116 (tooltip-mode): Declare.
3118 * wdired.el (dired-backup-overwrite): Remove declaration.
3119 (wdired-mode-map): Add doc string.
3121 * custom.el (x-get-resource): Declare.
3123 * eshell/em-glob.el (ange-cache):
3124 * eshell/em-unix.el (ange-cache): Declare.
3126 * faces.el (x-display-list, x-open-connection, x-get-resource):
3129 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3130 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3133 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3135 * net/gnutls.el (gnutls-log-level): Declare.
3137 * net/shr.el (image-size, image-animate): Declare.
3139 * simple.el (font-info): Declare.
3141 * subr.el (x-popup-dialog): Declare.
3143 * term/common-win.el (x-select-enable-primary)
3144 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3147 * term/ns-win.el (x-handle-args): Declare.
3149 * term/x-win.el (x-select-enable-clipboard): Declare.
3151 * term/w32-win.el (create-default-fontset): Declare.
3153 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3156 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3157 (fit-frame-to-buffer): Explicit error if --without-x.
3158 (mouse-autoselect-window-select): Silence compiler.
3160 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3162 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3163 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3164 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3165 * eshell/esh-util.el (eshell-sublist):
3166 Remove unused local variables.
3168 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3170 * textmodes/two-column.el: Make 2C-split work for --without-x.
3171 (scroll-bar-columns): Autoload.
3172 (top-level): Require fringe when compiling.
3174 2013-09-18 Leo Liu <sdl.web@gmail.com>
3176 * subr.el (add-hook): Robustify to handle closure as well.
3178 2013-09-17 Glenn Morris <rgm@gnu.org>
3180 * simple.el (messages-buffer-mode-map): Unbind "g".
3182 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3184 * help-mode.el (help-mode-finish): Use derived-mode-p.
3185 Remove obsolete highlighting.
3187 * play/life.el (life-mode): Use define-derived-mode. Derive from
3189 (life): Let-bind inhibit-read-only.
3190 (life-setup): Avoid `setq'. Use `life-mode'.
3192 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3193 which should not be needed any more.
3194 (package-menu-refresh, package-menu-describe-package): Use user-error.
3196 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3197 (eshell-post-rewrite-command-hook): Make obsolete.
3198 (eshell-parse-command): Simplify.
3199 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3200 (eshell--cmd): Declare.
3201 (eshell-parse-pipeline): Remove unused var `final-p'.
3202 Pass a dynvar to eshell-post-rewrite-command-hook.
3203 Implement the new eshell-post-rewrite-command-function.
3204 (eshell-invoke-directly): Remove unused arg `input'.
3205 * eshell/esh-io.el (eshell-io-initialize):
3206 Use eshell-post-rewrite-command-function (bug#15399).
3207 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3208 adjust to new calling convention.
3209 (eshell-create-handles): Rename args to avoid clashing with dynvar
3212 2013-09-17 Glenn Morris <rgm@gnu.org>
3214 * simple.el (messages-buffer-mode): New major mode.
3215 (messages-buffer): New function.
3216 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3217 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3218 (ert-run-test): Use `messages-buffer' function.
3219 (ert--force-message-log-buffer-truncation): Ignore read-only.
3220 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3221 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3223 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3225 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3227 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3229 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3231 * icomplete.el (icomplete-in-buffer): New var.
3232 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3233 vars and replace them with functions.
3234 (icomplete-minibuffer-setup): Adjust accordingly.
3235 (icomplete--completion-table, icomplete--completion-predicate)
3236 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3238 (icomplete-forward-completions, icomplete-backward-completions)
3239 (icomplete-simple-completing-p, icomplete-exhibit)
3240 (icomplete-completions): Use them.
3241 (icomplete--in-region-buffer): New var.
3242 (icomplete--in-region-setup): New function.
3243 (icomplete-mode): Use it.
3245 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3247 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3248 return args and options.
3249 (eshell-eval-using-options): Use the new return value of
3250 eshell--do-opts to set the options's vars in their scope.
3251 (eshell--set-option): Rename from eshell-set-option.
3253 (eshell--process-option): Rename from eshell-process-option.
3255 (eshell--process-args): Use an `opt-vals' alist to store the options's
3256 values during their processing and return them additionally to the
3259 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3261 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3262 continuation character an operator, as far as indentation is
3263 concerned (Bug#15369).
3265 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3267 * window.el (window--state-put-2): Don't process buffer state
3268 when buffer doesn't exist any more (Bug#15382).
3270 2013-09-15 Glenn Morris <rgm@gnu.org>
3272 * eshell/em-unix.el (eshell/rm):
3273 Make -f ignore missing files. (Bug#15373)
3275 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3276 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3277 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3279 2013-09-14 Glenn Morris <rgm@gnu.org>
3281 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3283 2013-09-13 Glenn Morris <rgm@gnu.org>
3285 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3286 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3288 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3290 * frame.el (x-focus-frame): Mark as declared in frame.c.
3292 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3294 * ls-lisp.el: Use advice-add.
3295 (original-insert-directory): Remove.
3296 (ls-lisp--insert-directory): Rename from insert-directory; add
3297 `orig-fun' argument.
3298 (insert-directory): Advise.
3300 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3302 * term.el (term-emulate-terminal): Decode the command string
3303 before passing it to term-command-hook. (Bug#15337)
3305 2013-09-13 Glenn Morris <rgm@gnu.org>
3307 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3309 * eshell/esh-ext.el (eshell-search-path): Declare.
3311 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3312 Otherwise an error occurs if eshell-dirs module not loaded.
3314 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3316 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3318 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3319 `tramp-check-proper-host'. Check for a valid method name.
3321 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3322 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3323 * net/tramp-sh.el (tramp-maybe-open-connection):
3324 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3326 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3327 also for hash values.
3329 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3331 * term/ns-win.el (parameters): Don't declare as dynamic.
3332 (before-make-frame-hook): Don't add ineffective function.
3334 * eshell/*.el: Use lexical-binding (bug#15231).
3336 2013-09-12 Kenichi Handa <handa@gnu.org>
3338 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3340 2013-09-12 Glenn Morris <rgm@gnu.org>
3342 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3343 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3345 * subr.el (do-after-load-evaluation): Also give compiler warnings
3346 when obsolete files are used (except by obsolete files).
3348 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3349 in the status output, assume `filename' is the first. (Bug#15322)
3351 * vc/vc.el (vc-deduce-fileset): Doc fix.
3353 * calc/calc-help.el (Info-goto-node):
3354 * progmodes/cperl-mode.el (Info-find-node):
3355 * vc/ediff.el (Info-goto-node): Update declarations.
3357 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3359 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3360 (vc-bzr-pull): Require vc-dispatcher.
3361 * vc/vc-git.el (vc-compilation-mode): Declare.
3362 (vc-git-pull): Require vc-dispatcher.
3364 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3366 * progmodes/octave.el (help-button-action): Declare.
3368 * shell.el (shell-directory-tracker): Output error as a message
3369 rather than just returning it as a string.
3370 (shell-process-pushd): Remove useless use of message.
3372 * dframe.el (dframe-timer-fn):
3373 * files.el (dir-locals-read-from-file):
3374 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3376 * reveal.el (reveal-post-command):
3377 * saveplace.el (load-save-place-alist-from-file):
3378 * shell.el (shell-resync-dirs):
3379 * w32-common-fns.el (x-get-selection-value):
3380 * emacs-lisp/copyright.el (copyright-find-copyright):
3381 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3382 * emulation/tpu-edt.el (tpu-copy-keyfile):
3383 * play/bubbles.el (bubbles--mark-neighbourhood):
3384 * progmodes/executable.el
3385 (executable-make-buffer-file-executable-if-script-p):
3386 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3388 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3390 Cleanup Eshell to rely less on dynamic scoping.
3391 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3392 last-value, and ext-command here. Bind `args' closer to `body'.
3393 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3394 (eshell--args): Declare new dynamic var.
3395 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3396 last-value, and ext-command. Pass `args' to `body'.
3397 (eshell-process-args): Bind eshell--args.
3398 (eshell-set-option): Use eshell--args.
3399 * eshell/eshell.el (eshell): Use derived-mode-p.
3400 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3401 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3402 (eshell-glob-function): Declare.
3403 * eshell/esh-util.el: Require cl-lib.
3404 (eshell-read-hosts-file): Avoid add-to-list.
3405 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3407 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3409 (eshell/diff): Remove unused var `err'.
3410 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3412 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3413 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3415 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3416 Move declaration before first use.
3417 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3418 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3421 2013-09-12 Glenn Morris <rgm@gnu.org>
3423 * term/ns-win.el (global-map): Remove binding for ispell-next,
3424 deleted 1999-05-29. (Bug#15357)
3426 2013-09-11 Glenn Morris <rgm@gnu.org>
3428 * echistory.el (electric-command-history): Remove call to deleted func.
3430 * play/landmark.el (landmark-mode): Fix typos.
3432 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3433 Check cvs-sort-ignore-file is bound.
3435 * savehist.el: No need for cl when compiling on Emacs.
3437 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3439 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3441 (eshell-self-insert-command, eshell-send-invisible):
3442 Remove unused argument.
3443 (eshell-handle-control-codes): Remove unused var `orig'.
3444 Avoid delete-backward-char.
3446 * files.el (set-auto-mode): Simplify a bit further.
3448 2013-09-11 Glenn Morris <rgm@gnu.org>
3450 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3451 (set-auto-mode): Don't regexp-quote elements.
3452 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3453 * progmodes/cc-mode.el (interpreter-mode-alist):
3454 * progmodes/ruby-mode.el (interpreter-mode-alist):
3455 Revert previous change.
3457 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3459 * play/snake.el (snake-mode):
3460 * play/mpuz.el (mpuz-mode):
3461 * play/landmark.el (lm-mode):
3462 * play/blackbox.el (blackbox-mode):
3463 * play/5x5.el (5x5-mode):
3464 * obsolete/options.el (Edit-options-mode):
3465 * net/quickurl.el (quickurl-list-mode):
3466 * net/newst-treeview.el (newsticker-treeview-mode):
3467 * mail/rmailsum.el (rmail-summary-mode):
3468 * mail/mspools.el (mspools-mode):
3469 * locate.el (locate-mode):
3470 * ibuffer.el (ibuffer-mode):
3471 * emulation/ws-mode.el (wordstar-mode):
3472 * emacs-lisp/debug.el (debugger-mode):
3473 * array.el (array-mode):
3474 * net/eudc.el (eudc-mode): Use define-derived-mode.
3475 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3476 Move initialization into declaration.
3477 (mairix-searches-mode): Use define-derived-mode.
3478 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3479 (eudc-edit-hotlist): Use dolist.
3480 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3481 (Man-mode): Use define-derived-mode.
3482 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3483 (Info-edit-mode): Use define-derived-mode.
3484 (Info-cease-edit): Use Info-mode.
3485 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3487 (eshell-mode): Use define-derived-mode.
3488 * chistory.el (command-history-mode-map): Rename from
3489 command-history-map.
3490 (command-history-mode): Use define-derived-mode.
3491 (Command-history-setup): Remove function.
3492 * calc/calc.el (calc-trail-mode-map): New var.
3493 (calc-trail-mode): Use define-derived-mode.
3494 (calc-trail-buffer): Set calc-main-buffer manually.
3495 * bookmark.el (bookmark-insert-annotation): New function.
3496 (bookmark-edit-annotation): Use it.
3497 (bookmark-edit-annotation-mode): Make it a proper major mode.
3498 (bookmark-send-edited-annotation): Use derived-mode-p.
3499 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3500 closer to its ideal place. Use \' to match EOS.
3502 * profiler.el (profiler-calltree-find): Use function-equal.
3504 2013-09-10 Glenn Morris <rgm@gnu.org>
3506 * files.el (interpreter-mode-alist): Convert to regexps.
3507 (set-auto-mode): Adapt for this. (Bug#15306)
3508 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3509 Comment out unused variable.
3510 * progmodes/cc-mode.el (interpreter-mode-alist):
3511 * progmodes/python.el (interpreter-mode-alist):
3512 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3513 * progmodes/sh-script.el (sh-set-shell):
3514 No longer use interpreter-mode-alist to get list of shells.
3516 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3518 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3520 * simple.el: Use set-temporary-overlay-map for universal-argument.
3521 (universal-argument-map): Don't use default-bindings (bug#15317).
3522 Bind switch-frame explicitly. Replace universal-argument-minus with
3523 a conditional binding.
3524 (universal-argument-num-events, saved-overriding-map): Remove.
3525 (restore-overriding-map): Remove.
3526 (universal-argument--mode): Rename from save&set-overriding-map,
3528 (universal-argument, universal-argument-more, negative-argument)
3529 (digit-argument): Adjust accordingly.
3530 (universal-argument-minus): Remove.
3531 (universal-argument-other-key): Remove.
3533 * subr.el (with-demoted-errors): Add `format' argument.
3535 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3537 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3538 `tramp-cleanup-connection'.
3540 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3541 parameters KEEP-DEBUG and KEEP-PASSWORD.
3543 * net/tramp.el (tramp-file-name-handler):
3544 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3545 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3546 (tramp-maybe-open-connection):
3547 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3548 Use `tramp-cleanup-connection'.
3550 * net/tramp-sh.el (tramp-maybe-open-connection):
3551 Catch 'uname-changed inside the progress reporter.
3553 2013-09-10 Glenn Morris <rgm@gnu.org>
3555 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3557 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3558 returns "alternate access method" in mode (eg "-rw-r--r--.").
3560 2013-09-08 Glenn Morris <rgm@gnu.org>
3562 * saveplace.el (load-save-place-alist-from-file):
3563 Demote errors. (Bug#15305)
3565 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3567 Improve compatibility with older Emacsen, and XEmacs.
3569 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3570 only if it is bound. It isn't for XEmacs.
3571 (with-tramp-progress-reporter): Do not let-bind `result'.
3572 This yields to scoping errors in XEmacs.
3573 (tramp-handle-make-auto-save-file-name): New function, moved from
3576 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3577 for `make-auto-save-file-name'.
3578 (tramp-adb--gnu-switches-to-ash):
3579 Use `tramp-compat-replace-regexp-in-string'.
3581 * net/tramp-cache.el (tramp-cache-print): Call
3582 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3584 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3585 bound. It isn't for XEmacs.
3587 * net/tramp-compat.el (tramp-compat-copy-file):
3588 Catch `wrong-number-of-arguments' error.
3589 (tramp-compat-replace-regexp-in-string): New defun.
3591 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3592 for `make-auto-save-file-name'.
3593 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3595 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3596 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3597 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3599 * net/tramp-gw.el (tramp-gw-open-network-stream):
3600 Use `tramp-compat-replace-regexp-in-string'.
3602 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3603 Call `tramp-handle-make-auto-save-file-name'.
3604 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3605 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3606 (tramp-sh-file-inotifywait-process-filter):
3607 Use `tramp-compat-replace-regexp-in-string'.
3608 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3610 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3611 for `make-auto-save-file-name'.
3612 (tramp-smb-handle-copy-directory):
3613 Call `tramp-compat-replace-regexp-in-string'.
3614 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3615 (tramp-smb-handle-copy-file): Improve error message.
3616 (tramp-smb-handle-rename-file): Rename directly only in case
3617 `newname' does not exist yet. This is a restriction of smbclient.
3618 (tramp-smb-maybe-open-connection): Rerun the function only when
3619 `auth-sources' is non-nil.
3621 2013-09-08 Kenichi Handa <handa@gnu.org>
3623 * international/characters.el: Set category "^" (Combining) for
3626 2013-09-07 Alan Mackenzie <acm@muc.de>
3628 Correctly fontify Java class constructors.
3629 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3631 (c-recognize-typeless-decls): Set the Java value to t.
3632 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3633 While handling a "(", add a check for, effectively, Java, and handle a
3634 "typeless" declaration there.
3636 2013-09-07 Roland Winkler <winkler@gnu.org>
3638 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3639 field subtitle for entry type book.
3641 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3643 * minibuffer.el: Make minibuffer-complete call completion-in-region
3644 rather than other way around.
3645 (completion--some, completion-pcm--find-all-completions):
3646 Don't delay signals when debugging.
3647 (minibuffer-completion-contents): Beware fields within the
3648 minibuffer contents.
3649 (completion-all-sorted-completions): Use defvar-local.
3650 (completion--do-completion, completion--cache-all-sorted-completions)
3651 (completion-all-sorted-completions, minibuffer-force-complete):
3652 Add args `beg' and `end'.
3653 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3654 (minibuffer-complete): Use completion-in-region.
3655 (completion-complete-and-exit): New fun, extracted from
3656 minibuffer-complete-and-exit.
3657 (minibuffer-complete-and-exit): Use it.
3658 (completion--complete-and-exit): Rename from
3659 minibuffer--complete-and-exit.
3660 (completion-in-region--single-word): New function, extracted from
3661 minibuffer-complete-word.
3662 (minibuffer-complete-word): Use it.
3663 (display-completion-list): Make `common-substring' argument obsolete.
3664 (completion--in-region): Call completion--in-region-1 instead of
3665 minibuffer-complete.
3666 (completion-help-at-point): Pass boundaries to
3667 minibuffer-completion-help as args rather than via an overlay.
3668 (completion-pcm--string->pattern): Use `any-delim'.
3669 (completion-pcm--optimize-pattern): New function.
3670 (completion-pcm--pattern->regex): Handle `any-delim'.
3671 * icomplete.el (icomplete-forward-completions)
3672 (icomplete-backward-completions, icomplete-completions):
3673 Adjust calls to completion-all-sorted-completions and
3674 completion--cache-all-sorted-completions.
3675 (icomplete-with-completion-tables): Default to t.
3676 * emacs-lisp/crm.el (crm--current-element): Rename from
3677 crm--select-current-element. Don't put an overlay but return the
3679 (crm--completion-command): Take two new args to bind to the boundaries.
3680 (crm-completion-help): Adjust accordingly.
3681 (crm-complete): Use completion-in-region.
3682 (crm-complete-word): Use completion-in-region--single-word.
3683 (crm-complete-and-exit): Use completion-complete-and-exit.
3685 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3687 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3690 2013-09-06 Juri Linkov <juri@jurta.org>
3692 * info.el (Info-display-images-node): When image file doesn't exist
3693 display text version of the image if it's provided in the Info file.
3694 Otherwise, display the location of missing image from SRC attribute.
3695 Add help-echo text property from ALT attribute. (Bug#15279)
3697 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3699 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3700 (edit-abbrevs-mode): Use define-derived-mode.
3702 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3703 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3705 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3706 Use define-derived-mode.
3708 * epg.el (epg-start-encrypt): Minor CSE simplification.
3710 2013-09-06 William Xu <william.xwl@gmail.com>
3712 * arc-mode.el: Add support for 7za (bug#15264).
3713 (archive-7z-program): New var.
3714 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3715 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3716 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3718 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3722 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3723 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3724 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3725 (tramp-postfix-host-format, tramp-file-name-regexp)
3726 (tramp-completion-file-name-regexp)
3727 (tramp-completion-dissect-file-name)
3728 (tramp-handle-substitute-in-file-name): Remove 'url case.
3729 (tramp-file-name-regexp-url)
3730 (tramp-completion-file-name-regexp-url): Remove constants.
3732 2013-09-06 Glenn Morris <rgm@gnu.org>
3734 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3736 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3738 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3739 keywords" below "here-doc beginnings" (Bug#15270).
3741 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3743 * subr.el (pop): Use `car-safe'.
3744 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3745 to detect unused `pop' return value.
3747 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3749 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3750 (python-fill-string): Remove unused var `marker'.
3751 (python-skeleton-add-menu-items): Remove unused var `items'.
3753 * international/mule-cmds.el: Require CL.
3754 (find-coding-systems-for-charsets): Avoid add-to-list.
3755 (sanitize-coding-system-list): New function, extracted from
3756 select-safe-coding-system-interactively.
3757 (select-safe-coding-system-interactively): Use it.
3758 (read-input-method-name): Accept symbols for `default'.
3760 * emacs-lisp/advice.el (defadvice): Add indent rule.
3762 2013-09-05 Daniel Hackney <dan@haxney.org>
3766 * net/browse-url.el:
3769 * net/eudcb-ldap.el:
3782 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3783 byte compiler. Remove some unused let-bound variables.
3785 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3787 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3788 a "ref-cell", since it gets better optimized (bug#14883).
3790 2013-09-05 Glenn Morris <rgm@gnu.org>
3792 * progmodes/cc-awk.el (c-forward-sws): Declare.
3794 2013-09-04 Glenn Morris <rgm@gnu.org>
3796 * generic-x.el [rul-generic-mode]: Require cc-mode.
3797 (c++-mode-syntax-table): Declare.
3798 (rul-generic-mode-syntax-table): Init in the defvar.
3800 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3802 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3803 (vc-do-command, vc-set-async-update):
3804 * vc/vc-mtn.el (vc-mtn-dir-status):
3805 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3806 (vc-hg-pull, vc-hg-merge-branch):
3807 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3808 (vc-git-merge-branch):
3809 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3810 (vc-cvs-dir-status-files):
3811 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3812 (vc-bzr-dir-status-files):
3813 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3814 * vc/vc-annotate.el: Use lexical-binding.
3815 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3816 (vc-sentinel-movepoint): Declare.
3817 (vc-annotate): Don't use `goto-line'.
3818 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3819 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3820 (vc-sentinel-movepoint): Declare.
3821 * vc/vc-svn.el: Use lexical-binding.
3822 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3824 * vc/vc-rcs.el: Use lexical-binding.
3826 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3827 `deleted'. Don't drop errors silently.
3829 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3831 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3833 * vc/vc.el (vc-ignore): Rewrite.
3834 (vc-default-ignore): New function.
3835 (vc-default-ignore-completion-table): Use find-ignore-file.
3837 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3838 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3839 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3840 Remove. Most code moved to vc.el.
3842 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3844 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3845 * net/tramp-smb.el (tramp-smb-get-file-entries):
3846 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3847 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3849 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3851 (eww-change-select): Remove unused var `properties'.
3852 (eww-make-unique-file-name): Remove unused var `base'.
3854 * finder.el (finder-compile-keywords): Don't mess with windows.
3856 * calculator.el (calculator-funcall): Fix typo in last change.
3858 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3860 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3861 <pkg>-autoloads.el file stop us.
3863 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3864 warnings, and factor out common code.
3866 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3868 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3869 two-character operators and whether the character preceding them
3870 changes their meaning (Bug#15208).
3872 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3874 Format code sent to Python shell for robustness.
3875 * progmodes/python.el (python-shell-buffer-substring):
3877 (python-shell-send-region, python-shell-send-buffer): Use it.
3879 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3881 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3882 * net/tramp.el (tramp-user-error): ... here.
3883 (tramp-find-method, tramp-check-proper-host)
3884 (tramp-dissect-file-name, tramp-debug-message)
3885 (tramp-handle-shell-command):
3886 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3887 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3889 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3891 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3893 * avoid.el (mouse-avoidance-point-position)
3894 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3897 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3899 * progmodes/python.el (python-shell-completion-get-completions):
3900 Drop use of deleted `comint-last-prompt-overlay'.
3901 (python-nav-if-name-main): New command.
3903 2013-09-01 Glenn Morris <rgm@gnu.org>
3905 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3906 Avoid leading space in $wins. Otherwise the sed command used by
3907 eg compile-main ends up containing "/*.el". (Bug#15170)
3909 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3911 2013-08-30 Glenn Morris <rgm@gnu.org>
3913 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3914 Fix is-this-a-directory logic. (Bug#15220)
3916 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3918 * textmodes/css-mode.el: Use SMIE.
3919 (css-smie-grammar): New var.
3920 (css-smie--forward-token, css-smie--backward-token)
3921 (css-smie-rules): New functions.
3922 (css-mode): Use them.
3923 (css-navigation-syntax-table): Remove var.
3924 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3925 (css-indent-calculate, css-indent-line): Remove functions.
3927 Misc changes to reduce use of `(lambda...); and other cleanups.
3928 * cus-edit.el: Use lexical-binding.
3929 (customize-push-and-save, customize-apropos)
3930 (custom-buffer-create-internal): Use closures.
3931 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3932 * progmodes/ada-xref.el: Use setq.
3933 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3934 * dframe.el: Use lexical-binding.
3935 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3936 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3937 * descr-text.el: Use lexical-binding.
3938 (describe-text-widget, describe-text-sexp, describe-property-list):
3940 * comint.el (comint-history-isearch-push-state): Use a closure.
3941 * calculator.el: Use lexical-binding.
3942 (calculator-number-to-string): Make it work with lexical-binding.
3943 (calculator-funcall): Same and use cl-letf.
3945 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3946 (lisp--company-doc-string, lisp--company-location): New functions.
3947 (lisp-completion-at-point): Use them to improve Company support.
3949 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3950 params of lambda expressions.
3951 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3952 (ruby-smie--opening-pipe-p): New function.
3953 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3954 symbols and matched |...| for formal params.
3955 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3956 from being treated as hanging. Handle "rescue".
3958 2013-08-29 Glenn Morris <rgm@gnu.org>
3960 * progmodes/cc-engine.el (c-pull-open-brace):
3961 Move definition before use.
3963 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3965 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3966 are immutable. Don't use `unsafe' any more.
3967 (cl--defsubst-expand): Don't substitute at the same time as keeping
3968 a residual unused let-binding. Don't use `unsafe' any more.
3970 2013-08-29 Glenn Morris <rgm@gnu.org>
3972 * calendar/cal-china.el (calendar-chinese-year-cache):
3975 * nxml/nxml-util.el (nxml-debug-clear-inside):
3976 Use cl-loop rather than loop.
3978 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3980 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3982 2013-08-28 Glenn Morris <rgm@gnu.org>
3984 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3986 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3988 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3990 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3992 * simple.el (repeat-complex-command--called-interactively-skip):
3994 (repeat-complex-command): Use it (bug#14136).
3996 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3997 (c-define-abbrev-table): Add `doc' argument.
3998 (c-mode-abbrev-table, c++-mode-abbrev-table)
3999 (objc-mode-abbrev-table, java-mode-abbrev-table)
4000 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4001 (awk-mode-abbrev-table): Use it.
4002 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4003 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4004 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4005 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4006 Move initialization into the declaration; and remove any
4009 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4010 and dynamic let binding.
4012 * vc/smerge-mode.el: Remove redundant :group args.
4014 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4017 2013-08-28 Juri Linkov <juri@jurta.org>
4019 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4020 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4021 (isearch-other-meta-char): Handle an undefined shifted printing
4022 character by downshifting it. (Bug#15200)
4024 2013-08-28 Juri Linkov <juri@jurta.org>
4026 * isearch.el (isearch-search): Change regexp error message for
4027 non-regexp searches. (Bug#15166)
4029 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4031 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4032 for portability to hosts where /bin/sh has problems.
4034 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4036 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4038 2013-08-27 Juri Linkov <juri@jurta.org>
4040 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4041 in the keyboard macro. (Bug#15126)
4043 2013-08-27 Juri Linkov <juri@jurta.org>
4045 * isearch.el (isearch-quote-char): Comment out converting unibyte
4046 to multibyte, thus syncing with its `quoted-insert' counterpart.
4049 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4051 * window.el (display-buffer-use-some-window): Add missing
4052 argument in call of get-largest-window (Bug#15185).
4053 Reported by Stephen Leake.
4055 2013-08-27 Glenn Morris <rgm@gnu.org>
4057 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4059 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4061 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4062 from a matcher-function unless there's no more matches (bug#15161).
4064 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4066 * minibuffer.el: Revert change from 2013-08-20.
4068 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4069 with text property `tramp-default', if appropriate.
4070 (tramp-check-proper-host): New defun.
4071 (tramp-dissect-file-name): Do not check hostname. Revert change
4073 (tramp-backtrace): Make VEC-OR-PROC optional.
4075 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4076 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4077 * net/tramp-sh.el (tramp-maybe-open-connection):
4078 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4079 Apply `tramp-check-proper-host'.
4081 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4083 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4084 lambda expression in order to have `describe-variable' display it.
4086 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4088 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4089 BUF can be optional. (Bug#15186)
4091 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4093 * progmodes/flymake.el (flymake-get-real-file-name-function):
4094 Fix broken customization. (Bug#15184)
4096 2013-08-25 Alan Mackenzie <acm@muc.de>
4098 Improve indentation of bracelists defined by macros (without "=").
4100 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4101 expansion begins with "{", regard it as bracelist when it doesn't
4104 Parse C++ inher-intro when there's a template split over 2 lines.
4106 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4107 rigorously the search for "class" etc. followed by ":".
4109 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4110 random languages a regexp which never matches rather than nil.
4112 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4114 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4115 (c-awk-regexp-one-line-possibly-open-char-list-re)
4116 (c-awk-one-line-possibly-open-regexp-re)
4117 (c-awk-one-line-non-syn-ws*-re): Remove.
4118 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4119 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4120 (c-awk-space*-unclosed-regexp-/-re): New constants.
4121 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4122 aren't regexp delimiters.
4124 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4125 handling for a rare situation in AWK Mode involving unterminated
4128 2013-08-23 Glenn Morris <rgm@gnu.org>
4130 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4132 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4134 * files.el (create-file-buffer): If the result would begin with
4135 spaces, prepend a "|" instead of removing them. (Bug#15162)
4137 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4139 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4140 text-properties (bug#15155).
4142 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4144 (calc-keypad-redraw): Remove unused var `pad'.
4145 (calc-keypad-press): Remove unused var `menu'.
4147 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4149 * window.el (display-buffer-pop-up-frame):
4150 Call pop-up-frame-function with BUFFER current so `make-frame' will
4151 use it as the new frame's buffer (Bug#15133).
4153 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4155 * calendar/timeclock.el: Minor cleanups.
4156 (timeclock-ask-before-exiting, timeclock-use-display-time):
4158 (timeclock-modeline-display): Define as alias before the
4160 (timeclock-mode-line-display): Use define-minor-mode.
4161 (timeclock-day-list-template): Make it a function, add an argument.
4162 (timeclock-day-list-required, timeclock-day-list-length)
4163 (timeclock-day-list-debt, timeclock-day-list-span)
4164 (timeclock-day-list-break): Adjust calls accordingly.
4166 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4168 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4169 Use read--expression so that completion works again.
4171 2013-08-21 Sam Steingold <sds@gnu.org>
4173 Add rudimentary inferior shell interaction
4174 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4175 (sh-set-shell): Reset it.
4176 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4177 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4179 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4181 * align.el: Use lexical-binding.
4182 (align-region): Simplify accordingly.
4184 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4186 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4188 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4191 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4195 * net/tramp-cmds.el:
4197 * net/tramp-gvfs.el:
4199 * net/tramp-sh.el: Don't wrap external variable declarations by
4200 `eval-when-compile'.
4202 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4204 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4205 now that Emacs supports ImageMagick animations.
4207 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4209 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4210 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4212 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4214 * window.el (mouse-autoselect-window-select): Do autoselect when
4215 mouse pointer is on margin.
4217 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4219 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4221 2013-08-16 Glenn Morris <rgm@gnu.org>
4223 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4224 Handle "Remote Directory" response of some clients. (Bug#15058)
4226 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4227 Tweak warning. (Bug#14926)
4229 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4230 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4232 * image-mode.el (image-mode-map): Add menu items to reverse,
4233 increase, decrease, reset animation speed.
4234 (image--set-speed, image-increase-speed, image-decrease-speed)
4235 (image-reverse-speed, image-reset-speed): New functions.
4236 (image-mode-map): Add bindings for speed commands.
4238 * image.el (image-animate-get-speed, image-animate-set-speed):
4240 (image-animate-timeout): Respect image :speed property.
4242 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4244 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4245 previous line (bug#15101).
4246 (debugger-eval-expression, debugger-record-expression):
4247 Use read--expression (bug#15102).
4249 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4251 Remove byte compiler warnings, visible when compiling with
4252 `byte-compile-force-lexical-warnings' set to t.
4254 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4255 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4256 (tramp-handle-unhandled-file-name-directory)
4257 (tramp-handle-file-notify-add-watch, tramp-action-login)
4258 (tramp-action-succeed, tramp-action-permission-denied)
4259 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4262 * net/tramp-adb.el (tramp-adb-parse-device-names)
4263 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4264 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4265 (tramp-adb-handle-file-truename): Remove unused arguments.
4267 * net/tramp-cache.el (tramp-flush-directory-property)
4268 (tramp-flush-connection-property, tramp-list-connections)
4269 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4271 * net/tramp-compat.el (tramp-compat-make-temp-file):
4272 Rename FILENAME to F.
4274 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4275 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4276 (tramp-zeroconf-parse-workstation-device-names)
4277 (tramp-zeroconf-parse-webdav-device-names)
4278 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4280 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4281 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4283 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4285 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4286 (tramp-sh-handle-insert-file-contents-literally)
4287 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4289 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4290 Remove unused variables.
4292 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4293 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4294 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4296 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4297 Make them a defconst.
4298 (tramp-uuencode-region): Remove unused variable.
4300 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4302 * frameset.el (frameset--prop-setter): New function.
4303 (frameset-prop): Add gv-setter declaration.
4304 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4305 parameter was already set in FILTERED. Doc fix.
4306 (frameset--record-minibuffer-relationships): Allow saving a
4307 minibufferless frame without its corresponding minibuffer frame.
4308 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4309 frame, if the frame id matches.
4310 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4311 frames before orphaned ones.
4312 (frameset-restore): Warn about orphaned windows, instead of error out.
4314 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4316 * window.el (window-make-atom): Don't overwrite parameter
4318 (display-buffer-in-atom-window): Handle special case where we
4319 split an already atomic window.
4320 (window--major-non-side-window, display-buffer-in-side-window)
4321 (window--side-check): Ignore minibuffer window when walking
4323 (window-deletable-p): Return 'frame only if no other frame uses
4324 our minibuffer window.
4325 (record-window-buffer): Run buffer-list-update-hook.
4326 (split-window): Make sure window--check-frame won't destroy an
4327 existing atomic window in case the new window gets nested
4329 (display-buffer-at-bottom): Ignore minibuffer window when
4330 walking window tree. Don't split a side window.
4331 (pop-to-buffer): Don't set-buffer here, the select-window call
4333 (mouse-autoselect-window-select): Autoselect only if we are in the
4334 text portion of the window.
4336 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4338 * net/shr.el (shr-parse-image-data): New function to grab both the
4339 data itself and the Content-Type.
4340 (shr-put-image): Use it.
4342 * net/eww.el (eww-display-image): Ditto.
4344 * image.el (image-content-type-suffixes): New variable.
4346 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4348 * progmodes/python.el (python-imenu--build-tree)
4349 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4351 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4353 * simple.el (backward-word): Mention the optional argument.
4355 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4357 * frameset.el (frameset--make): Rename constructor from make-frameset.
4358 (frameset-p, frameset-valid-p): Don't autoload.
4359 (frameset-valid-p): Use normal accessors.
4361 2013-08-13 Glenn Morris <rgm@gnu.org>
4363 * progmodes/compile.el (compile-command): Tweak example in doc.
4364 * obsolete/scribe.el (scribe-mode):
4365 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4367 * mail/feedmail.el (feedmail-confirm-outgoing)
4368 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4370 * cus-start.el (truncate-partial-width-windows): Fix type.
4372 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4374 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4376 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4378 * emacs-lisp/timer.el (timer--time-setter): New function.
4379 (timer--time): Use it as gv-setter.
4381 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4382 setter is not a symbol.
4384 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4386 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4387 if sending fails. This makes debugging easier.
4389 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4391 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4392 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4393 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4395 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4397 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4399 2013-08-12 Glenn Morris <rgm@gnu.org>
4401 * format.el (format-annotate-function):
4402 Handle read-only text properties in the source. (Bug#14887)
4404 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4406 * net/eww.el (eww-display-html): Ignore coding system errors.
4407 One web site uses "utf-8lias" as the coding system.
4409 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4411 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4413 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4415 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4416 (tutorial--detailed-help): Remove unused local variables.
4417 (tutorial--save-tutorial-to): Use ignore-errors.
4418 (help-with-tutorial): Use looking-at-p.
4420 * view.el (view-buffer-other-window, view-buffer-other-frame):
4421 Mark unused arguments.
4423 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4424 (woman-select-symbol-fonts, woman, woman-find-file)
4425 (woman-insert-file-contents, woman-non-underline-faces):
4427 (woman1-unquote): Move declaration.
4429 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4430 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4431 argument. Remove unused local variable.
4432 (xml-parse-elem-type): Use string-match-p.
4433 (xml-substitute-numeric-entities): Use ignore-errors.
4435 * calculator.el (calculator): Mark unused argument.
4436 (calculator-paste, calculator-quit, calculator-integer-p):
4438 (calculator-string-to-number, calculator-decimal, calculator-exp)
4439 (calculator-op-or-exp): Use string-match-p.
4441 * dired.el (dired-buffer-more-recently-used-p): Declare.
4442 (dired-insert-set-properties, dired-insert-old-subdirs):
4445 * dired-aux.el (dired-compress): Use ignore-errors.
4446 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4447 (dired-do-async-shell-command, dired-do-shell-command)
4448 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4449 (dired-insert-subdir-validate): Use string-match-p.
4450 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4451 (dired-add-entry): Use string-match-p, looking-at-p.
4452 (dired-insert-subdir-newpos): Remove unused local variable.
4454 * filenotify.el (file-notify-callback): Remove unused local variable.
4456 * filesets.el (filesets-error): Mark unused argument.
4457 (filesets-which-command-p, filesets-filter-dir-names)
4458 (filesets-directory-files, filesets-get-external-viewer)
4459 (filesets-ingroup-get-data): Use string-match-p.
4461 * find-file.el (ff-other-file-name, ff-other-file-name)
4462 (ff-find-the-other-file, ff-cc-hh-converter):
4463 Remove unused local variables.
4464 (ff-get-file-name): Use string-match-p.
4465 (ff-all-dirs-under): Use ignore-errors.
4467 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4468 (follow-select-if-visible): Remove unused local variable.
4470 * forms.el (read-file-filter): Move declaration.
4471 (forms--make-format, forms--make-parser, forms-insert-record):
4472 Quote function with #'.
4473 (forms--update): Use string-match-p. Quote function with #'.
4475 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4476 (help-make-xrefs): Use looking-at-p.
4477 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4479 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4480 (ibuffer-confirm-operation-on): Use string-match-p.
4482 * msb.el (msb-item-handler, msb-dired-item-handler):
4483 Mark unused arguments.
4485 * ses.el (ses-decode-cell-symbol)
4486 (ses-kill-override): Remove unused local variable.
4487 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4488 (ses-load): Use ignore-errors, looking-at-p.
4489 (ses-jump-safe): Use ignore-errors.
4490 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4492 * tabify.el (untabify, tabify): Mark unused arguments.
4494 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4495 Mark unused argument.
4496 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4497 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4499 * emacs-lisp/timer.el (timer--time): Define setter with
4500 gv-define-setter to avoid deprecation warning.
4502 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4503 (*record-cmpl-statistics-p*): Remove (was commented out).
4504 (cmpl-statistics-block): Remove (body was commented out).
4505 All callers changed.
4506 (add-completions-from-buffer, load-completions-from-file):
4507 Remove unused variables.
4509 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4511 * filecache.el (file-cache-delete-file-list):
4512 Print message only when told so.
4513 (file-cache-files-matching): Use #' in mapconcat argument.
4515 * ffap.el (ffap-url-at-point): Fix reference to variable
4516 thing-at-point-default-mail-uri-scheme.
4518 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4520 * subr.el (define-error): New function.
4521 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4522 error-file-not-found and define with define-error.
4523 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4524 and define with define-error.
4525 * userlock.el (file-locked, file-supersession):
4526 * simple.el (mark-inactive):
4527 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4528 * progmodes/ada-mode.el (ada-mode-errors):
4529 * play/life.el (life-extinct):
4530 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4531 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4532 * nxml/rng-util.el (rng-error):
4533 * nxml/rng-uri.el (rng-uri-error):
4534 * nxml/rng-match.el (rng-compile-error):
4535 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4536 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4537 * nxml/nxml-rap.el (nxml-scan-error):
4538 * nxml/nxml-outln.el (nxml-outline-error):
4539 * net/soap-client.el (soap-error):
4540 * net/gnutls.el (gnutls-error):
4541 * net/ange-ftp.el (ftp-error):
4542 * mpc.el (mpc-proc-error):
4543 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4544 (json-number-format, json-string-escape, json-string-format)
4545 (json-key-format, json-object-format):
4546 * jka-compr.el (compression-error):
4547 * international/quail.el (quail-error):
4548 * international/kkc.el (kkc-error):
4549 * emacs-lisp/ert.el (ert-test-failed):
4550 * calc/calc.el (calc-error, inexact-result, math-overflow)
4552 * bookmark.el (bookmark-error-no-filename):
4553 * epg.el (epg-error): Define with define-error.
4555 * time.el (display-time-event-handler)
4556 (display-time-next-load-average): Don't call sit-for since it seems
4557 unnecessary (bug#15045).
4559 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4560 Use #' instead of ' to quote functions.
4561 (checkdoc-output-mode): Use setq-local.
4562 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4563 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4564 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4565 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4566 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4567 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4568 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4569 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4571 * ido.el (ido-completion-help): Fix up compiler warning.
4573 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4575 * frameset.el (frameset-p): Add autoload cookie.
4576 (frameset--jump-to-register): New function, based on code moved from
4578 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4580 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4581 (frameset-restore, frameset-save, frameset-session-filter-alist):
4582 Remove declarations.
4583 (register-alist): Doc fix.
4584 (frameset-to-register): Move to frameset.el.
4585 (jump-to-register, describe-register-1): Remove frameset-specific code.
4587 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4589 * allout-widgets.el (allout-widgets-pre-command-business)
4590 (allout-widgets-post-command-business)
4591 (allout-widgets-after-change-handler)
4592 (allout-decorate-item-and-context, allout-set-boundary-marker)
4593 (allout-body-modification-handler)
4594 (allout-graphics-modification-handler): Mark ignored arguments.
4595 (allout-widgets-post-command-business)
4596 (allout-widgets-exposure-change-processor)
4597 (allout-widgets-exposure-undo-processor)
4598 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4599 (allout-parse-item-at-point, allout-decorate-item-guides)
4600 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4601 * allout.el (epa-passphrase-callback-function): Declare.
4602 (allout-overlay-insert-in-front-handler)
4603 (allout-overlay-interior-modification-handler)
4604 (allout-isearch-end-handler, allout-chart-siblings)
4605 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4606 (allout-yank-processing, allout-process-exposed)
4607 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4608 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4609 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4610 (lisp-indent-defform): Mark ignored arguments.
4611 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4612 (calculate-lisp-indent): Remove unused variables.
4613 * international/characters.el (indian-2-column, arabic-2-column)
4614 (tibetan): Mark ignored arguments.
4615 (use-cjk-char-width-table): Mark ignored arguments.
4616 Remove unused variables.
4617 * international/fontset.el (build-default-fontset-data)
4618 (x-compose-font-name, create-fontset-from-fontset-spec):
4619 Mark ignored arguments.
4620 (fontset-plain-name): Remove unused variables.
4621 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4622 (keyboard-coding-system): Mark ignored arguments.
4623 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4624 * help.el (resize-temp-buffer-window):
4625 * window.el (display-buffer-in-major-side-window)
4626 (display-buffer-in-side-window, display-buffer-in-previous-window):
4627 Remove unused variables.
4628 * isearch.el (isearch-forward-symbol):
4629 * version.el (emacs-bzr-version-bzr):
4630 * international/mule-cmds.el (current-language-environment):
4631 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4633 * term/pc-win.el (x-list-fonts, x-display-planes)
4634 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4635 (x-server-version, x-display-screens, x-display-mm-height)
4636 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4637 (x-selection-owner-p, x-own-selection-internal)
4638 (x-disown-selection-internal, x-get-selection-internal)
4639 (msdos-initialize-window-system):
4640 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4641 * term/x-win.el (x-handle-no-bitmap-icon):
4642 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4643 (vc-default-find-file-hook, vc-default-extra-menu):
4644 Mark ignored arguments.
4646 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4648 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4649 break-condition in the context of the debugged code (bug#12685).
4651 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4654 Do not use an overlay to highlight the last prompt. (Bug#14744)
4655 (comint-mode): Make comint-last-prompt buffer local.
4656 (comint-last-prompt): New variable.
4657 (comint-last-prompt-overlay): Remove. Superseded by
4659 (comint-snapshot-last-prompt, comint-output-filter):
4660 Use comint-last-prompt.
4662 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4664 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4665 (frameset-save): Check validity of the resulting frameset.
4667 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4669 * ido.el (ido-record-command): Add doc string.
4671 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4673 * frameset.el (frameset): Do not disable creation of the default
4674 frameset-p predicate. Doc fix.
4675 (frameset-valid-p): New function, copied from the old predicate-p.
4676 Add additional checks.
4677 (frameset-restore): Check with frameset-valid-p.
4678 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4679 (frameset-name, frameset-description, frameset-properties)
4680 (frameset-states): Add docstring.
4681 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4682 (frameset-filter-alist): Doc fixes.
4684 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4686 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4688 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4690 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4691 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4692 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4693 (byte-compile-normal-call): Remove obsolescence check.
4695 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4697 * frameset.el (frameset-restore): Doc fix.
4699 * register.el (frameset-frame-id, frameset-frame-with-id)
4700 (frameset-p, frameset-restore, frameset-save): Declare.
4701 (register-alist): Document framesets.
4702 (frameset-session-filter-alist): Declare.
4703 (frameset-to-register): New function.
4704 (jump-to-register): Implement jumping to framesets. Doc fix.
4705 (describe-register-1): Describe framesets.
4707 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4709 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4711 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4712 Use lexical-binding.
4714 * frameset.el (frameset): Use type vector, not list (incompatible
4715 change). Do not declare a new constructor, use the default one.
4716 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4717 `name' and `description', respectively, and add read-only slot
4718 `timestamp'. Doc fixes.
4719 (frameset-copy, frameset-persistent-filter-alist)
4720 (frameset-filter-alist, frameset-switch-to-gui-p)
4721 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4722 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4723 (frameset-filter-iconified, frameset-keep-original-display-p):
4725 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4726 Rename from frameset-filter-(save|restore)-param. All callers changed.
4728 (frameset-p): Adapt to change to vector and be more thorough.
4729 Change arg name to OBJECT. Doc fix.
4730 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4731 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4732 All callers changed.
4733 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4734 All callers changed.
4735 (frameset--record-minibuffer-relationships): Rename from
4736 frameset--process-minibuffer-frames. All callers changed.
4737 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4738 Use new default constructor (again). Doc fix.
4739 (frameset--find-frame-if): Rename from `frameset--find-frame.
4740 All callers changed.
4741 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4742 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4744 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4745 PARAMETERS and WINDOW-STATE, respectively.
4746 (frameset-restore): Add new keyword argument PREDICATE.
4747 Reset frameset--target-display to nil. Doc fix.
4749 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4751 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4753 (bat-mode-syntax-table): Mark \n as end-of-comment.
4754 (bat-font-lock-keywords): Remove comment rule.
4756 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4757 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4759 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4760 (byte-compile-callargs-warn): Use `push'.
4761 (byte-compile-arglist-warn): Ignore higher-order "calls".
4762 (byte-compile-file-form-autoload): Use `pcase'.
4763 (byte-compile-function-form): If quoting a symbol, check that it exists.
4765 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4767 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4768 and add a few popular commands found in batch files.
4769 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4770 (dos-mode): Doc fixes.
4772 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4774 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4775 (dos-mode): Use setq-local. Add space after "rem".
4776 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4777 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4779 2013-08-07 Arni Magnusson <arnima@hafro.is>
4781 * progmodes/dos.el: New file.
4782 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4785 2013-08-06 Glenn Morris <rgm@gnu.org>
4787 * calendar/calendar.el: Add new faces, and day-header-array.
4788 (calendar-weekday-header, calendar-weekend-header)
4789 (calendar-month-header): New faces.
4790 (calendar-day-header-construct): New function.
4791 (calendar-day-header-width): Also :set calendar-day-header-array.
4792 (calendar-american-month-header, calendar-european-month-header)
4793 (calendar-iso-month-header): Use calendar- faces.
4794 (calendar-generate-month):
4795 Use calendar-day-header-array for day headers; apply faces to them.
4796 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4797 (calendar-abbrev-construct): Add optional maxlen argument.
4798 (calendar-day-name-array): Doc fix.
4799 (calendar-day-name-array, calendar-abbrev-length)
4800 (calendar-day-abbrev-array):
4801 Also :set calendar-day-header-array, and maybe redraw.
4802 (calendar-day-header-array): New option. (Bug#15007)
4803 (calendar-font-lock-keywords): Set to nil and make obsolete.
4804 (calendar-day-name): Add option to use header array.
4806 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4808 * net/shr.el (shr-render-td): Remove debugging.
4809 (shr-render-td): Make width computation consistent by defaulting
4810 all zero-width columns to 10 characters. This may not be optimal,
4811 but it's at least consistent.
4812 (shr-make-table-1): Redo last change to fix the real problem in
4815 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4817 * files.el (cache-long-line-scans):
4818 Make obsolete alias to `cache-long-scans'.
4820 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4822 * frameset.el (frameset, frameset-filter-alist)
4823 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4824 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4825 (frameset-compute-pos): Rename from frameset--compute-pos,
4827 (frameset-move-onscreen): Use frameset-compute-pos.
4828 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4830 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4831 Fix typos in docstrings.
4833 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4835 * frame.el (get-other-frame): Tiny cleanup.
4837 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4839 * vc/vc.el (vc-default-ignore-completion-table):
4840 Silence byte-compiler warning.
4842 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4843 slot , which can indeed be nil.
4844 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4845 Move entry for `left' from persistent to live filter alist.
4846 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4848 (frameset-filter-params): When restoring a frame, copy items added to
4849 `filtered', to avoid unwittingly modifying the original parameters.
4850 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4851 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4853 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4854 to use looking-at-p instead of looking-at. (Bug#15028)
4856 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4858 Revert introduction of isearch-filter-predicates (bug#14714).
4859 Rely on add-function instead.
4860 * isearch.el (isearch-filter-predicates): Rename it back to
4861 isearch-filter-predicate.
4862 (isearch-message-prefix): Use advice-function-mapc and advice
4863 properties to get the isearch-message-prefix.
4864 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4865 instead of run-hook-with-args-until-failure.
4866 (isearch-filter-visible): Not obsolete any more.
4867 * loadup.el: Preload nadvice.
4868 * replace.el (perform-replace): Revert to funcall
4869 instead of run-hook-with-args-until-failure.
4870 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4871 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4872 dired-isearch-filenames-toggle; make it into a proper minor mode.
4873 Use add/remove-function.
4874 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4875 Call the minor-mode rather than add/remove-hook.
4876 (dired-isearch-filter-filenames):
4877 Remove isearch-message-prefix property.
4878 * info.el (Info--search-loop): New function, extracted from Info-search.
4879 Funcall isearch-filter-predicate instead of
4880 run-hook-with-args-until-failure isearch-filter-predicates.
4881 (Info-search): Use it.
4882 (Info-mode): Use isearch-filter-predicate instead of
4883 isearch-filter-predicates.
4885 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4887 Do not call to `selected-window' where it is assumed by default.
4888 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4889 `window-hscroll', `window-width', `window-height', `window-buffer',
4890 `window-frame', `window-start', `window-point', `next-window'
4891 and `window-display-table'.
4892 * abbrev.el (abbrev--default-expand):
4893 * bs.el (bs--show-with-configuration):
4894 * buff-menu.el (Buffer-menu-mouse-select):
4895 * calc/calc.el (calc):
4896 * calendar/calendar.el (calendar-generate-window):
4897 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4899 * comint.el (send-invisible, comint-dynamic-complete-filename)
4900 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4901 * completion.el (complete):
4902 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4903 * disp-table.el (describe-current-display-table):
4904 * doc-view.el (doc-view-insert-image):
4905 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4906 * ehelp.el (with-electric-help):
4907 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4908 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4909 * emacs-lisp/helper.el (Helper-help-scroller):
4910 * emulation/cua-base.el (cua--post-command-handler-1):
4911 * eshell/esh-mode.el (eshell-output-filter):
4912 * ffap.el (ffap-gnus-wrapper):
4913 * help-macro.el (make-help-screen):
4914 * hilit-chg.el (highlight-compare-buffers):
4915 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4916 * hl-line.el (global-hl-line-highlight):
4917 * icomplete.el (icomplete-simple-completing-p):
4918 * isearch.el (isearch-done):
4919 * jit-lock.el (jit-lock-stealth-fontify):
4920 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4921 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4922 * mpc.el (mpc-tagbrowser, mpc):
4923 * net/rcirc.el (rcirc-any-buffer):
4924 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4925 * play/landmark.el (landmark-max-width, landmark-max-height):
4926 * play/zone.el (zone):
4927 * progmodes/compile.el (compilation-goto-locus):
4928 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4929 * progmodes/etags.el (find-tag-other-window):
4930 * progmodes/fortran.el (fortran-column-ruler):
4931 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4932 * progmodes/verilog-mode.el (verilog-point-text):
4933 * reposition.el (reposition-window):
4934 * rot13.el (toggle-rot13-mode):
4935 * server.el (server-switch-buffer):
4936 * shell.el (shell-dynamic-complete-command)
4937 (shell-dynamic-complete-environment-variable):
4938 * simple.el (insert-buffer, set-selective-display)
4939 (delete-completion-window):
4940 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4941 (speedbar-recenter):
4942 * startup.el (fancy-splash-head):
4943 * textmodes/ispell.el (ispell-command-loop):
4944 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4945 * tutorial.el (help-with-tutorial):
4946 * vc/add-log.el (add-change-log-entry):
4947 * vc/compare-w.el (compare-windows):
4948 * vc/ediff-help.el (ediff-indent-help-message):
4949 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4950 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4951 (ediff-setup-control-frame):
4952 * vc/emerge.el (emerge-position-region):
4953 * vc/pcvs-util.el (cvs-bury-buffer):
4954 * window.el (walk-windows, mouse-autoselect-window-select):
4955 * winner.el (winner-set-conf, winner-undo): Related users changed.
4957 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4959 * frameset.el (frameset--set-id): Doc fix.
4960 (frameset-frame-id, frameset-frame-id-equal-p)
4961 (frameset-locate-frame-id): New functions.
4962 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4963 (frameset-restore): Use them.
4965 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4967 Do not call to `selected-frame' where it is assumed by default.
4968 Affected functions are `raise-frame', `redraw-frame',
4969 `frame-first-window', `frame-terminal' and `delete-frame'.
4970 * calendar/appt.el (appt-disp-window):
4971 * epg.el (epg-wait-for-completion):
4972 * follow.el (follow-delete-other-windows-and-split)
4973 (follow-avoid-tail-recenter):
4974 * international/mule.el (set-terminal-coding-system):
4975 * mail/rmail.el (rmail-mail-return):
4976 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4977 * progmodes/f90.el (f90-add-imenu-menu):
4978 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4979 * server.el (server-switch-buffer):
4980 * simple.el (delete-completion-window):
4982 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4983 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4984 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4985 * vc/ediff.el (ediff-documentation): Related users changed.
4986 * frame.el (selected-terminal): Remove the leftover.
4988 2013-08-05 Glenn Morris <rgm@gnu.org>
4990 * calendar/calendar.el (calendar-generate-month):
4991 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4992 (calendar-generate-month, calendar-font-lock-keywords):
4993 Fix for calendar-day-header-width > length of any day name.
4995 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4997 * desktop.el (desktop-clear): Use new name of sort predicate.
4999 * frameset.el (frameset): Add docstring. Move :version property to its
5001 (frameset-copy): Rename from copy-frameset.
5002 (frameset-p): Check more thoroughly.
5003 (frameset-prop): Do not check for :version, which is no longer a prop.
5004 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5005 Use new :never value instead of t.
5006 (frameset-filter-alist): Expand and clarify docstring.
5007 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5008 (frameset-filter-minibuffer, frameset-filter-save-param)
5009 (frameset-filter-restore-param, frameset-filter-iconified):
5010 Add pointer to docstring of frameset-filter-alist.
5011 (frameset-filter-params): Rename filter values to be more meaningful:
5012 :never instead of t, and reverse the meanings of :save and :restore.
5013 (frameset--process-minibuffer-frames): Clarify error message.
5014 (frameset-save): Avoid unnecessary and confusing call to framep.
5015 Use new BOA constructor for framesets.
5016 (frameset--reuse-list): Doc fix.
5017 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5018 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5019 (frameset-minibufferless-first-p): Doc fix.
5020 Rename from frameset-sort-frames-for-deletion.
5021 (frameset-restore): Doc fixes. Use new function names.
5022 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5024 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5026 * desktop.el (desktop-restore-forces-onscreen)
5027 (desktop-restore-reuses-frames): Document :keyword constant values.
5028 (desktop-filter-parameters-alist): Remove, now identical to
5029 frameset-filter-alist.
5030 (desktop--filter-tty*): Remove, moved to frameset.el.
5031 (desktop-save-frameset, desktop-restore-frameset):
5032 Do not pass :filters argument.
5034 * frameset.el (frameset-live-filter-alist)
5035 (frameset-persistent-filter-alist): New variables.
5036 (frameset-filter-alist): Use them. Add autoload cookie.
5037 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5038 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5039 `frameset--id' (it's supposed to be internal to frameset.el).
5040 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5041 (frameset--initial-params): New function.
5042 (frameset--get-frame): Use it. Doc fix.
5043 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5044 Accept :all, not 'all.
5045 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5046 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5047 with fbound symbols. Fix frame id matching, and remove matching ids if
5048 the frame being restored is deleted. Obey :delete.
5050 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5052 * subr.el (macrop): New function.
5053 (text-clone--maintaining): New var.
5054 (text-clone--maintain): Rename from text-clone-maintain. Use it
5055 instead of inhibit-modification-hooks.
5057 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5058 a proxy, so as handle autoloads and redefinitions of the target.
5059 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5061 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5062 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5063 (pcase--mutually-exclusive-p): New function.
5064 (pcase--split-consp): Use it.
5065 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5066 mutually exclusive with the current predicate.
5068 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5069 (edebug-macrop): Remove. Use `macrop' instead.
5070 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5072 * eshell/esh-cmd.el (eshell-macrop):
5073 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5075 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5077 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5078 (advice-mapc): New function, using it.
5079 (advice-function-member-p): New function.
5080 (advice--normalize): Store the cdr in advice--saved-rewrite since
5081 that's the part that will be changed.
5082 (advice--symbol-function): New function.
5083 (advice-remove): Handle removal before the function is defined.
5084 Adjust to new advice--saved-rewrite.
5085 (advice-member-p): Use advice-function-member-p and
5086 advice--symbol-function.
5088 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5090 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5091 (frameset-filter-minibuffer): Doc fix.
5092 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5093 (frameset--set-id, frameset--process-minibuffer-frames)
5094 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5095 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5097 * desktop.el (desktop-clear): Only delete frames when called
5098 interactively and desktop-restore-frames is non-nil. Doc fix.
5099 (desktop-read): Set desktop-saved-frameset to nil.
5101 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5103 * vc/vc.el (vc-ignore): Rewrite.
5104 (vc-default-ignore-completion-table):
5106 (vc--add-line, vc--remove-regexp): New functions.
5108 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5109 (vc-svn-ignore-completion-table): New function.
5111 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5112 (vc-hg-ignore-completion-table):
5113 (vc-hg-find-ignore-file): New functions.
5115 * vc/vc-git.el (vc-git-ignore): Rewrite.
5116 (vc-git-ignore-completion-table):
5117 (vc-git-find-ignore-file): New functions.
5119 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5121 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5122 (vc-bzr-ignore-completion-table):
5123 (vc-bzr-find-ignore-file): New functions.
5125 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5127 * frameset.el (frameset-prop): New function and setter.
5128 (frameset-save): Do not modify frame list passed by the caller.
5130 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5132 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5134 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5136 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5137 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5139 * custom.el (custom-initialize-default, custom-initialize-set)
5140 (custom-initialize-reset, custom-initialize-changed): Affect the
5141 toplevel-default-value (bug#6275, bug#14586).
5142 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5145 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5147 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5148 Add cl-def* expressions.
5150 * frameset.el (frameset-filter-params): Fix order of arguments.
5152 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5154 Move code related to saving frames to frameset.el.
5155 * desktop.el: Require frameset.
5156 (desktop-restore-frames): Doc fix.
5157 (desktop-restore-reuses-frames): Rename from
5158 desktop-restoring-reuses-frames.
5159 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5160 (desktop-clear): Clear frames too.
5161 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5162 (desktop--filter-tty*, desktop-save, desktop-read):
5163 Use frameset functions.
5164 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5165 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5166 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5167 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5168 (desktop--process-minibuffer-frames, desktop-save-frames)
5169 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5170 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5171 (desktop--sort-states, desktop-restoring-frames-p)
5172 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5173 (desktop-restoring-frameset-p, desktop-restore-frameset)
5174 (desktop--check-dont-save, desktop-save-frameset): New functions.
5175 (desktop--app-id): New constant.
5176 (desktop-first-buffer, desktop-buffer-ok-count)
5177 (desktop-buffer-fail-count): Move before first use.
5178 * frameset.el: New file.
5180 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5182 * files.el: Use lexical-binding.
5183 (dir-locals-read-from-file): Remove unused `err' variable.
5184 (hack-dir-local-variables--warned-coding): New var.
5185 (hack-dir-local-variables): Use it to avoid repeated warnings.
5186 (make-backup-file-name--default-function): New function.
5187 (make-backup-file-name-function): Use it as default.
5188 (buffer-stale--default-function): New function.
5189 (buffer-stale-function): Use it as default.
5190 (revert-buffer-insert-file-contents--default-function): New function.
5191 (revert-buffer-insert-file-contents-function): Use it as default.
5192 (insert-directory): Avoid add-to-list.
5194 * autorevert.el (auto-revert-handler): Simplify.
5195 Use buffer-stale--default-function.
5197 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5199 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5201 * whitespace.el (whitespace-ensure-local-variables): New function.
5202 (whitespace-cleanup-region): Call it.
5203 (whitespace-turn-on): Call it.
5205 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5207 Complete file name handlers.
5209 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5210 (tramp-handle-verify-visited-file-modtime)
5211 (tramp-handle-file-notify-rm-watch): New functions.
5212 (tramp-call-process): Do not bind `default-directory'.
5214 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5215 Order alphabetically.
5216 [access-file, add-name-to-file, dired-call-process]:
5217 [dired-compress-file, file-acl, file-notify-rm-watch]:
5218 [file-ownership-preserved-p, file-selinux-context]:
5219 [make-directory-internal, make-symbolic-link, set-file-acl]:
5220 [set-file-selinux-context, set-visited-file-modtime]:
5221 [verify-visited-file-modtime]: Add handler.
5222 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5224 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5225 [file-notify-add-watch, file-notify-rm-watch]:
5226 [set-file-times, set-visited-file-modtime]:
5227 [verify-visited-file-modtime]: Add handler.
5228 (with-tramp-gvfs-error-message)
5229 (tramp-gvfs-handle-set-visited-file-modtime)
5230 (tramp-gvfs-fuse-file-name): Remove.
5231 (tramp-gvfs-handle-file-notify-add-watch)
5232 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5233 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5235 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5236 Order alphabetically.
5237 [file-notify-rm-watch ]: Use default Tramp handler.
5238 [executable-find]: Remove private handler.
5239 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5240 `default-directory'.
5241 (tramp-sh-handle-executable-find)
5242 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5243 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5244 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5245 Do not use `format' in `tramp-message'.
5247 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5248 [file-notify-rm-watch, set-visited-file-modtime]:
5249 [verify-visited-file-modtime]: Add handler.
5250 (tramp-smb-call-winexe): Do not bind `default-directory'.
5252 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5254 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5256 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5258 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5260 (log-view-diff-changeset): Same.
5261 (log-view-diff-common): Call backend command `previous-revision'
5262 to find out the previous revision, in both cases. Swap the
5263 variables `to' and `fr', so that `fr' usually refers to the
5264 earlier revision (Bug#14989).
5266 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5268 * ibuf-ext.el (ibuffer-filter-by-filename):
5269 Make it work with dired buffers too.
5271 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5273 * emacs-lisp/re-builder.el (reb-color-display-p):
5274 * files.el (save-buffers-kill-terminal):
5275 * net/browse-url.el (browse-url):
5276 * server.el (server-save-buffers-kill-terminal):
5277 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5278 Prefer nil to selected-frame for the first arg of frame-parameter.
5280 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5282 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5284 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5286 * minibuffer.el (completion--twq-all): Try and preserve each
5287 completion's case choice (bug#14907).
5289 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5291 * net/network-stream.el (open-network-stream): Mention the new
5292 :nogreeting parameter.
5293 (network-stream-open-starttls): Use the :nogreeting parameter
5296 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5298 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5299 more natural than popping.
5301 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5302 (shr-urlify): Highlight under mouse.
5304 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5306 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5308 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5310 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5313 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5314 point-min==1. Fix search string. Fix parentheses missing.
5316 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5317 assume point-min==1. Fix search string. Fix parentheses missing.
5319 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5321 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5324 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5326 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5327 initial frame is minibuffer-less. (Bug#14841)
5329 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5331 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5334 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5335 (tramp-maybe-open-connection): Use it.
5337 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5339 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5340 minimal set of parameters passed when creating a frame, because
5341 the minibuffer status of a frame cannot be changed later.
5343 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5345 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5346 replace-regexp-in-string and inadvertent omissions in previous change.
5347 (todo-filter-items): Ensure only file names are comma-separated in
5348 name of filtered items buffer.
5350 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5352 * desktop.el: Optionally force offscreen frames back onscreen.
5353 (desktop-restoring-reuses-frames): New option.
5354 (desktop--compute-pos, desktop--move-onscreen): New functions.
5355 (desktop--make-frame): Use desktop--move-onscreen.
5357 2013-07-27 Alan Mackenzie <acm@muc.de>
5359 Fontify a Java generic method as a function.
5360 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5363 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5365 * calendar/todo-mode.el: Add command to rename todo files.
5366 (todo-rename-file): New command.
5367 (todo-key-bindings-t): Add key binding for it. Change the
5368 bindings of todo-filter-regexp-items(-multifile) to use `x'
5369 instead of `r', since the latter is better suited to the new
5372 2013-07-27 Alan Mackenzie <acm@muc.de>
5374 Make Java try-with-resources statement parse properly.
5375 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5376 (c-block-stmt-1-2-key): New language constants/variables.
5377 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5378 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5379 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5380 with c-block-stmt-1-2-key.
5382 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5384 * desktop.el (desktop--make-frame): Apply most frame parameters after
5385 creating the frame to force (partially or totally) offscreen frames to
5386 be restored as such.
5388 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5390 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5393 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5395 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5396 `base' arg of backtrace-frame.
5398 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5400 * simple.el (list-processes): Doc fix.
5402 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5404 * desktop.el (desktop--select-frame):
5405 Try harder to reuse existing frames.
5407 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5409 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5410 (edebug-eval): Use backtrace-eval.
5411 (edebug--display, edebug--recursive-edit): Don't let-bind the
5412 edebug-outer-* vars that keep track of variables we locally let-bind.
5413 (edebug-outside-excursion): Don't restore outside values of locally
5415 (edebug--display): Use user-error.
5416 (cl-lexical-debug, cl-debug-env): Remove.
5418 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5420 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5421 are restored to be sure that they are visible before deleting any
5424 2013-07-26 Matthias Meulien <orontee@gmail.com>
5426 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5427 vc-print-root-log. (Bug#14948)
5429 2013-07-26 Richard Stallman <rms@gnu.org>
5431 Add aliases for encrypting mail.
5432 * epa.el (epa-mail-aliases): New option.
5433 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5434 Bind inhibit-read-only so read-only text doesn't ruin everything.
5435 (epa-mail-default-recipients): New subroutine broken out.
5436 Handle epa-mail-aliases.
5438 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5440 Add support for lexical variables to the debugger's `e' command.
5441 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5442 vars, except for debugger-outer-match-data.
5443 (debugger-frame-number): Move check for "on a function call" from
5444 callers into it. Add `skip-base' argument.
5445 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5446 (debugger-env-macro): Only reset the state stored in non-variables,
5447 i.e. current-buffer and match-data.
5448 (debugger-eval-expression): Rewrite using backtrace-eval.
5449 * subr.el (internal--called-interactively-p--get-frame): Remove.
5450 (called-interactively-p):
5451 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5452 `base' arg of backtrace-frame instead.
5454 2013-07-26 Glenn Morris <rgm@gnu.org>
5456 * align.el (align-regexp): Doc fix. (Bug#14857)
5457 (align-region): Explicit error if subexpression missing/does not match.
5459 * simple.el (global-visual-line-mode):
5460 Do not duplicate the mode lighter. (Bug#14858)
5462 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5464 * window.el (display-buffer): In display-buffer bind
5465 split-window-keep-point to t, bug#14829.
5467 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5469 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5470 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5471 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5472 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5474 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5475 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5477 2013-07-25 Glenn Morris <rgm@gnu.org>
5479 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5481 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5483 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5484 parameter to modify-frame-parameters if the value has not changed;
5485 this is a workaround for bug#14949.
5486 (desktop--make-frame): On cl-delete-if call, check parameter name,
5489 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5491 * vc/vc.el (vc-ignore): New function.
5493 * vc/vc-svn.el (vc-svn-ignore): New function.
5495 * vc/vc-hg.el (vc-hg-ignore): New function.
5497 * vc/vc-git.el (vc-git-ignore): New function.
5499 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5500 (vc-dir-ignore): New function.
5502 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5503 (cvs-append-to-ignore): Move here from pcvs.el.
5505 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5507 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5509 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5511 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5512 (desktop-restore-frames): Warn when deleting an existing frame failed.
5514 2013-07-24 Glenn Morris <rgm@gnu.org>
5516 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5518 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5520 * filenotify.el (file-notify-supported-p):
5521 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5524 * autorevert.el (auto-revert-use-notify):
5525 (auto-revert-notify-add-watch):
5526 * net/tramp.el (tramp-file-name-for-operation):
5527 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5528 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5529 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5530 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5531 Remove `file-notify-supported-p' entry.
5533 2013-07-24 Glenn Morris <rgm@gnu.org>
5535 * printing.el: Replace all uses of deleted ps-windows-system,
5536 ps-lp-system, ps-flatten-list with lpr- versions.
5538 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5540 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5541 checked with memq (bug#14935).
5543 * files.el (revert-buffer-function): Use a non-nil default.
5544 (revert-buffer-preserve-modes): Declare var to
5545 provide access to the `preserve-modes' argument.
5546 (revert-buffer): Let-bind it.
5547 (revert-buffer--default): New function, extracted from revert-buffer.
5549 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5551 * lpr.el: Signal print errors more prominently.
5552 (print-region-function): Don't default to nil.
5553 (lpr-print-region): New function, extracted from print-region-1.
5554 Check lpr's return value and signal an error in case of problem.
5555 (print-region-1): Use it.
5556 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5558 (ps-printer-name): Default to nil.
5559 (ps-printer-name-option): Default to lpr-printer-switch.
5560 (ps-print-region-function): Don't default to nil.
5561 (ps-postscript-code-directory): Simplify default.
5562 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5563 (ps-string-list, ps-eval-switch, ps-flatten-list)
5564 (ps-flatten-list-1): Remove.
5565 (ps-multibyte-buffer): Avoid setq.
5566 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5567 (print-region-function, ps-print-region-function): Don't set them here.
5569 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5571 * ido.el (ido-fractionp):
5572 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5573 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5574 (ido-max-directory-size, ido-max-dir-file-cache)
5575 (ido-decorations): Doc fix.
5577 * ansi-color.el: Fix old URL.
5579 2013-07-23 Michael R. Mauger <michael@mauger.com>
5581 * progmodes/sql.el: Version 3.3
5582 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5583 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5584 (sql-interactive-remove-continuation-prompt): Rewrite, use
5585 functions above. Fix continuation prompt and complete output line
5587 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5588 redirected output buffer.
5589 (sql-mode): Restore deleted code (Bug#13591).
5591 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5593 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5595 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5597 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5599 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5600 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5601 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5603 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5605 * desktop.el (desktop-clear): Simplify; remove useless checks
5606 against invalid buffer names.
5607 (desktop-list*): Use cl-list*.
5608 (desktop-buffer-info, desktop-create-buffer): Simplify.
5610 2013-07-23 Leo Liu <sdl.web@gmail.com>
5612 * bookmark.el (bookmark-make-record): Restore NAME as a default
5615 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5617 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5618 extracted from autoload--insert-text.
5619 (autoload--insert-text): Remove.
5620 (autoload--print-cookie-text): New function, extracted from
5621 autoload--insert-cookie-text.
5622 (autoload--insert-cookie-text): Remove.
5623 (autoload-generate-file-autoloads): Adjust calls accordingly.
5625 * winner.el (winner-hook-installed-p): Remove.
5626 (winner-mode): Simplify accordingly.
5628 * subr.el (add-to-list): Fix compiler-macro when `append' is
5629 not constant. Don't use `cl-member' for the base case.
5631 * progmodes/subword.el: Fix boundary case (bug#13758).
5632 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5634 (subword-backward-regexp): Make it a constant.
5635 (subword-forward-internal): Don't treat a trailing capital as the
5636 beginning of a word.
5638 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5640 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5641 global value of tabulated-list-revert-hook (bug#14930).
5643 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5645 * desktop.el: Require 'cl-lib.
5646 (desktop-before-saving-frames-functions): New hook.
5647 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5648 for frames being saved. Rename from desktop--save-minibuffer-frames.
5649 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5650 Do not save frames with non-nil `desktop-dont-save' parameter.
5651 Filter out deleted frames.
5652 (desktop--find-frame): Use cl-find-if.
5653 (desktop--select-frame): Use cl-(first|second|third) to access values
5655 (desktop--make-frame): Use cl-delete-if.
5656 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5657 (desktop-restore-frames): Use cl-(first|second|third) to access values
5658 of desktop-mini. Look for visible frame at the end, not while
5661 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5662 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5663 Use string-match-p, looking-at-p (bug#14927).
5665 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5667 * desktop.el (desktop-saved-frame-states):
5668 Rename from desktop--saved-states; all users changed.
5669 (desktop-save-frames): Rename from desktop--save-frames.
5670 Do not save state to desktop file.
5671 (desktop-save): Save desktop-saved-frame-states to desktop file
5673 (desktop-restoring-frames-p): New function.
5674 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5675 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5676 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5678 * desktop.el: Correctly restore iconified frames.
5679 (desktop--filter-iconified-position): New function.
5680 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5682 2013-07-20 Glenn Morris <rgm@gnu.org>
5684 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5685 Let `message' do the formatting.
5686 (def-gdb-preempt-display-buffer): Add explicit format.
5688 * image-dired.el (image-dired-track-original-file):
5689 Use with-current-buffer.
5690 (image-dired-track-thumbnail): Use with-current-buffer.
5691 Avoid changing point of wrong window.
5693 * image-dired.el (image-dired-track-original-file):
5694 Avoid changing point of wrong window. (Bug#14909)
5696 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5698 * progmodes/gdb-mi.el (gdb-done-or-error):
5699 Guard against "%" in gdb output. (Bug#14127)
5701 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5703 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5706 * international/mule.el (coding-system-iso-2022-flags): Fix last
5709 2013-07-20 Kenichi Handa <handa@gnu.org>
5711 * international/mule.el (coding-system-iso-2022-flags):
5712 Add `8-bit-level-4'. (Bug#8522)
5714 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5716 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5719 * net/eww.el (eww-process-text-input): Allow inputting when the
5720 point is at the start of the line, as the properties aren't
5723 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5726 2013-07-19 Richard Stallman <rms@gnu.org>
5728 * epa.el (epa-popup-info-window): Doc fix.
5730 * subr.el (split-string): New arg TRIM.
5732 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5734 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5735 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5737 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5739 * filenotify.el (file-notify--library): Rename from
5740 `file-notify-support'. Do not autoload. Adapt all uses.
5741 (file-notify-supported-p): New defun.
5743 * autorevert.el (auto-revert-use-notify):
5744 Use `file-notify-supported-p' instead of `file-notify-support'.
5746 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5748 * net/tramp.el (tramp-file-name-for-operation):
5749 Add `file-notify-supported-p'.
5751 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5753 (tramp-sh-file-name-handler-alist): Add it as handler for
5754 `file-notify-supported-p '.
5756 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5757 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5758 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5759 Add `ignore' as handler for `file-notify-*' functions.
5761 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5763 * simple.el (line-move-partial, line-move): Don't start vscroll or
5764 scroll-up if the current line is not taller than the window.
5767 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5769 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5770 highlight question marks in the method names as strings.
5771 (ruby-block-beg-keywords): Inline.
5772 (ruby-font-lock-keyword-beg-re): Extract from
5773 `ruby-font-lock-keywords'.
5775 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5777 * frame.el (blink-cursor-blinks): New defcustom.
5778 (blink-cursor-blinks-done): New defvar.
5779 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5780 (blink-cursor-timer-function): Check if number of blinks has been
5782 (blink-cursor-suspend, blink-cursor-check): New defuns.
5784 2013-07-15 Glenn Morris <rgm@gnu.org>
5786 * edmacro.el (edmacro-format-keys): Fix previous change.
5788 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5790 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5791 The hack didn't work outside English locales anyway.
5793 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5795 * simple.el (define-alternatives): Rename from alternatives-define,
5796 per RMS' suggestion.
5798 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5800 * desktop.el (desktop-restore-frames): Change default to t.
5801 (desktop-restore-in-current-display): Now offer more options.
5802 (desktop-restoring-reuses-frames): New customization option.
5803 (desktop--saved-states): Doc fix.
5804 (desktop-filter-parameters-alist): New variable, renamed and expanded
5805 from desktop--excluded-frame-parameters.
5806 (desktop--target-display): New variable.
5807 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5808 (desktop--filter-tty*, desktop--filter-*-color)
5809 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5810 (desktop--filter-save-desktop-parm)
5811 (desktop-restore-in-original-display-p): New functions.
5812 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5813 (desktop--save-minibuffer-frames): New function, inspired by a similar
5814 function from Martin Rudalics.
5815 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5816 (desktop--restore-in-this-display-p): Remove.
5817 (desktop--find-frame): Rename from desktop--find-frame-in-display
5818 and add predicate argument.
5819 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5820 (desktop--reuse-list): New variable.
5821 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5823 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5825 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5827 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5829 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5831 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5832 Highlight conversion methods on Kernel.
5834 2013-07-13 Alan Mackenzie <acm@muc.de>
5836 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5837 and comment it out. This out-commenting enables certain C++
5838 declarations to be parsed correctly.
5840 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5842 * international/mule.el (define-coding-system): Doc fix.
5844 * simple.el (default-font-height): Don't call font-info if the
5845 frame's default font didn't change since the frame was created.
5848 2013-07-13 Leo Liu <sdl.web@gmail.com>
5850 * ido.el (ido-read-file-name): Guard against non-symbol value.
5852 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5854 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5857 2013-07-13 Leo Liu <sdl.web@gmail.com>
5859 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5860 ido-set-matches call. (Bug#6852)
5862 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5864 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5865 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5867 (ruby-font-lock-keywords): Distinguish calls to functions with
5868 module-like names from module references. Highlight character
5871 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5873 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5874 (gdb-send): Handle continued commands. (Bug#14847)
5876 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5878 * desktop.el (desktop--v2s): Remove unused local variable.
5879 (desktop-save-buffer): Make defvar-local; adjust docstring.
5880 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5881 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5883 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5885 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5887 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5889 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5892 2013-07-12 Glenn Morris <rgm@gnu.org>
5894 * doc-view.el: Require cl-lib at runtime too.
5895 (doc-view-remove-if): Remove.
5896 (doc-view-search-next-match, doc-view-search-previous-match):
5899 * edmacro.el: Require cl-lib at runtime too.
5900 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5901 (edmacro-mismatch, edmacro-subseq): Remove.
5903 * shadowfile.el: Require cl-lib.
5904 (shadow-remove-if): Remove.
5905 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5908 * wid-edit.el: Require cl-lib.
5909 (widget-choose): Use cl-remove-if.
5910 (widget-remove-if): Remove.
5912 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5913 (ebrowse-delete-if-not): Remove.
5914 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5915 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5916 Use cl-delete-if-not.
5918 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5920 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5921 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5923 2013-07-12 Leo Liu <sdl.web@gmail.com>
5925 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5927 2013-07-11 Glenn Morris <rgm@gnu.org>
5929 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5930 (edebug-gensym-index, edebug-gensym):
5931 Remove reimplementation of cl-gensym.
5932 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5934 * thumbs.el: Require cl-lib at run-time too.
5935 (thumbs-gensym-counter, thumbs-gensym):
5936 Remove reimplementation of cl-gensym.
5937 (thumbs-temp-file): Use cl-gensym.
5939 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5940 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5941 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5942 (ert--union, ert--gensym-counter, ert--gensym-counter)
5943 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5944 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5945 (ert-make-test-unbound, ert--expand-should-1)
5946 (ert--expand-should, ert--should-error-handle-error)
5947 (should-error, ert--explain-equal-rec)
5948 (ert--plist-difference-explanation, ert-select-tests)
5949 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5950 Use cl-lib functions rather than reimplementations.
5952 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5954 * net/tramp.el (tramp-methods): Extend docstring.
5955 (tramp-connection-timeout): New defcustom.
5956 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5957 (with-tramp-progress-reporter): Simplify.
5958 (tramp-process-actions): Improve messages.
5960 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5961 * net/tramp-sh.el (tramp-maybe-open-connection):
5962 Use `tramp-connection-timeout'.
5963 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5966 2013-07-11 Leo Liu <sdl.web@gmail.com>
5968 * ido.el (ido-read-file-name): Conform to the requirements of
5969 read-file-name. (Bug#11861)
5970 (ido-read-directory-name): Conform to the requirements of
5971 read-directory-name.
5973 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5975 * subr.el (delay-warning): New function.
5977 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5979 * simple.el (default-line-height): New function.
5980 (line-move-partial, line-move): Use it instead of computing the
5982 (line-move-partial): Always compute ROWH. If the last line is
5983 partially-visible, but its text is completely visible, allow
5984 cursor to enter such a partially-visible line.
5986 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5988 Improve error messages. (Bug#14808)
5990 * net/tramp.el (tramp-current-connection): New defvar, moved from
5992 (tramp-message-show-progress-reporter-message): Remove, not
5994 (tramp-error-with-buffer): Show message in minibuffer.
5995 Discard input before waiting. Reset connection timestamp.
5996 (with-tramp-progress-reporter): Improve messages.
5997 (tramp-process-actions): Use progress reporter. Delete process in
5998 case of error. Improve messages.
6000 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6001 Call `tramp-error-with-buffer' with vector and buffer.
6002 (tramp-current-connection): Remove.
6003 (tramp-maybe-open-connection): The car of
6004 `tramp-current-connection' are the first 3 slots of the vector.
6006 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6008 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6009 inside continued strings.
6011 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6013 Timestamp fixes for undo (Bug#14824).
6014 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6016 2013-07-10 Leo Liu <sdl.web@gmail.com>
6018 * files.el (require-final-newline): Allow safe local value.
6021 2013-07-09 Leo Liu <sdl.web@gmail.com>
6023 * ido.el (ido-read-directory-name): Handle fallback.
6024 (ido-read-file-name): Update DIR to ido-current-directory.
6026 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6028 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6030 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6031 "autoload". Remove "warn lower camel case" section, previously
6032 commented out. Highlight negation char. Do not highlight the
6033 target in singleton method definitions.
6035 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6037 * faces.el (tty-setup-hook): Declare the hook.
6039 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6040 and detect when a guard/pred depends on local vars (bug#14773).
6041 (pcase--u1): Adjust caller.
6043 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6045 * simple.el (line-move-partial, line-move): Account for
6047 (line-move-partial): Avoid setting vscroll when the last
6048 partially-visible line in window is of default height.
6050 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6052 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6055 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6057 * subr.el (read-quoted-char): Remove unused local variable `char'.
6059 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6061 * ediff.el (ediff-version): Version update.
6062 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6063 (ediff-merge-with-ancestor-command, ediff-directories-command)
6064 (ediff-directories3-command, ediff-merge-directories-command)
6065 (ediff-merge-directories-with-ancestor-command): New functions.
6066 All are command-line interfaces to ediff: to facilitate calling
6067 Emacs with the appropriate ediff functions invoked.
6069 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6070 (viper-save-kill-buffer): Check if buffer is modified.
6072 * viper.el (viper-version): Version update.
6073 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6075 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6077 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6078 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6079 (viper-intercept-ESC-key): Simplify.
6080 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6081 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6082 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6083 (viper-setup-ESC-to-escape): New functions.
6084 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6085 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6087 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6089 * simple.el (default-font-height, window-screen-lines):
6091 (line-move, line-move-partial): Use them instead of
6092 frame-char-height and window-text-height. This makes scrolling
6093 text smoother when the buffer's default face uses a font that is
6094 different from the frame's default font.
6096 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6098 * files.el (write-file): Do not display confirm dialog for NS,
6099 it does its own dialog, which can't be cancelled (Bug#14578).
6101 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6103 * simple.el (line-move-partial): Adjust the row returned by
6104 posn-at-point for the current window-vscroll. (Bug#14567)
6106 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6108 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6109 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6112 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6114 * window.el (window-state-put-stale-windows): New variable.
6115 (window--state-put-2): Save list of windows without matching buffer.
6116 (window-state-put): Remove "bufferless" windows if possible.
6118 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6120 * simple.el (alternatives-define): Remove leftover :group keyword.
6123 2013-07-06 Leo Liu <sdl.web@gmail.com>
6125 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6126 (ido-enable-virtual-buffers): New variable.
6127 (ido-buffer-internal, ido-toggle-virtual-buffers)
6128 (ido-make-buffer-list): Use it.
6129 (ido-exhibit): Support turning on and off virtual buffers
6132 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6134 * simple.el (alternatives-define): New macro.
6136 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6138 * subr.el (read-quoted-char): Use read-key.
6139 (sit-for): Let read-event decode tty input (bug#14782).
6141 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6143 * calendar/todo-mode.el: Add handling of file deletion, both by
6144 mode command and externally. Fix various related bugs.
6145 Clarify Commentary and improve some documentation strings and code.
6146 (todo-delete-file): New command.
6147 (todo-check-file): New function.
6148 (todo-show): Handle external deletion of the file we're trying to
6149 show (bug#14688). Replace called-interactively-p by an optional
6150 prefix argument to avoid problematic interaction with catch form
6151 when byte compiled (bug#14702).
6152 (todo-quit): Handle external deletion of the archive's todo file.
6153 Make sure the buffer that was visiting the archive file is still
6154 live before trying to bury it.
6155 (todo-category-completions): Handle external deletion of any
6156 category completion files.
6157 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6158 of todo files, in case of external deletion.
6159 (todo-add-file): Replace unnecessary setq by let-binding.
6160 (todo-find-archive): Check whether there are any archives.
6161 Replace unnecessary setq by let-binding.
6162 (todo-archive-done-item): Use find-file-noselect to get the
6163 archive buffer whether or not the archive already exists.
6164 Remove superfluous code. Use file size instead of buffer-file-name to
6165 check if the archive is new; if it is, update list of archives.
6166 (todo-default-todo-file): Allow nil to be a valid value for when
6167 there are no todo files.
6168 (todo-reevaluate-default-file-defcustom): Use corrected definition
6169 of todo-default-todo-file.
6170 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6171 (todo-delete-category, todo-show-categories-table)
6172 (todo-category-number): Clarify comment.
6173 (todo-filter-items): Clarify documentation string.
6174 (todo-show-current-file, todo-display-as-todo-file)
6175 (todo-reset-and-enable-done-separator): Tweak documentation string.
6176 (todo-done-separator): Make separator length window-width, since
6177 bug#2749 is now fixed.
6179 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6181 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6182 Support both "gvfs-monitor-dir" and "inotifywait".
6183 (tramp-sh-file-inotifywait-process-filter): Rename from
6184 `tramp-sh-file-notify-process-filter'.
6185 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6186 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6188 2013-07-05 Leo Liu <sdl.web@gmail.com>
6190 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6192 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6194 * frame.el (display-pixel-height, display-pixel-width)
6195 (display-mm-height, display-mm-width): Mention behavior on
6196 multi-monitor setups in docstrings.
6197 (w32-display-monitor-attributes-list): Declare function.
6198 (display-monitor-attributes-list): Use it.
6200 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6202 * filenotify.el: New package.
6204 * autorevert.el (top): Require filenotify.el.
6205 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6207 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6208 (auto-revert-notify-handler): Use `file-notify-*' functions.
6210 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6212 * net/tramp.el (tramp-file-name-for-operation):
6213 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6215 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6216 for `file-notify-add-watch' and `file-notify-rm-watch'.
6217 (tramp-process-sentinel): Improve trace.
6218 (tramp-sh-handle-file-notify-add-watch)
6219 (tramp-sh-file-notify-process-filter)
6220 (tramp-sh-handle-file-notify-rm-watch)
6221 (tramp-get-remote-inotifywait): New defuns.
6223 2013-07-03 Juri Linkov <juri@jurta.org>
6225 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6226 call of `occur-read-primary-args' to interactive spec.
6228 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6229 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6231 2013-07-03 Matthias Meulien <orontee@gmail.com>
6233 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6234 `Buffer-menu-multi-occur'. Add it to the menu.
6235 (Buffer-menu-mode): Document it in docstring.
6236 (Buffer-menu-multi-occur): New command. (Bug#14673)
6238 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6240 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6241 keywords and built-ins.
6243 2013-07-03 Glenn Morris <rgm@gnu.org>
6245 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6247 Make info-xref checks case-sensitive by default
6248 * info.el (Info-find-node, Info-find-in-tag-table)
6249 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6250 Add option for exact case matching of nodes.
6251 * info-xref.el (info-xref): New custom group.
6252 (info-xref-case-fold): New option.
6253 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6255 2013-07-03 Leo Liu <sdl.web@gmail.com>
6257 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6259 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6261 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6262 middle of block statement initially, lower the depth. Remove
6263 FIXME comment, not longer valid. Remove middle of block statement
6264 detection, no need to do that anymore since we've been using
6265 `ruby-parse-region' here.
6267 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6269 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6271 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6273 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6275 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6277 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6278 (desktop-restore-in-current-display): New customization option.
6279 (desktop--excluded-frame-parameters): Add `font'.
6280 (desktop--save-frames): Rename from desktop--save-windows.
6281 (desktop--restore-in-this-display-p): New function.
6282 (desktop--make-full-frame): Remove unwanted width/height from
6283 full(width|height) frames.
6284 (desktop--restore-frames): Rename from desktop--restore-windows.
6285 Obey desktop-restore-current-display. Do not delete old frames or
6286 select a new frame unless we were able to restore at least one frame.
6288 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6290 * files.el (find-file-noselect): Simplify conditional expression.
6292 * remember.el (remember-append-to-file):
6293 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6295 Add `remember-notes' function to store random notes across Emacs
6297 * remember.el (remember-data-file): Add :set callback to affect
6298 notes buffer (if any).
6299 (remember-notes): New command.
6300 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6301 New defcustoms for the `remember-notes' function.
6302 (remember-notes-save-and-bury-buffer): New command.
6303 (remember-notes-mode-map): New variable.
6304 (remember-mode): New minor mode.
6305 (remember-notes--kill-buffer-query): New function.
6306 * startup.el (initial-buffer-choice): Add notes to custom type.
6308 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6310 * bindings.el (right-char, left-char): Don't call sit-for, this is
6311 no longer needed. Use arithmetic comparison only for numerical
6314 * international/mule-cmds.el (select-safe-coding-system):
6315 Handle the case of FROM being a string correctly. (Bug#14755)
6317 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6319 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6320 progression on degenerate tables.
6321 (shr-rescale-image): ImageMagick animated images currently don't work.
6323 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6325 Some fixes and improvements for desktop frame restoration.
6326 It is still experimental and disabled by default.
6327 * desktop.el (desktop--save-windows): Put the selected frame at
6328 the head of the list.
6329 (desktop--make-full-frame): New function.
6330 (desktop--restore-windows): Try to re-select the frame that was
6331 selected upon saving. Do not abort if some frames fail to restore,
6332 just show an error message and continue. Set up maximized frames
6333 so they have default non-maximized dimensions.
6335 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6337 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6338 Don't start heredoc inside a string or comment.
6340 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6342 * bindings.el (visual-order-cursor-movement): New defcustom.
6343 (right-char, left-char): Provide visual-order cursor motion by
6344 calling move-point-visually. Update the doc strings.
6346 2013-06-28 Kenichi Handa <handa@gnu.org>
6348 * international/mule.el (define-coding-system): New coding system
6349 properties :inhibit-null-byte-detection,
6350 :inhibit-iso-escape-detection, and :prefer-utf-8.
6351 (set-buffer-file-coding-system): If :charset-list property of
6352 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6353 appropriate for setting.
6355 * international/mule-cmds.el (select-safe-coding-system):
6356 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6357 multibyte characters, return utf-8 (or one of its siblings).
6359 * international/mule-conf.el (prefer-utf-8): New coding system.
6360 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6363 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6365 * net/shr.el (shr-render-region): New function.
6367 * net/eww.el: Autoload `eww-browse-url'.
6369 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6371 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6372 Adapt to `package-desc-version' being a list.
6373 Use `package--ac-desc-version' to retrieve version from a package
6376 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6378 New experimental feature to save&restore window and frame setup.
6379 * desktop.el (desktop-save-windows): New defcustom.
6380 (desktop--saved-states): New var.
6381 (desktop--excluded-frame-parameters): New defconst.
6382 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6383 (desktop--restore-windows, desktop--save-windows): New functions.
6384 (desktop-save): Call `desktop--save-windows'.
6385 (desktop-read): Call `desktop--restore-windows'.
6387 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6389 * net/shr.el (add-face-text-property): Remove compat definition.
6391 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6393 * info.el (Info-try-follow-nearest-node): Move search for footnote
6394 above search for node name to prevent missing a footnote (bug#14717).
6396 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6398 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6400 2013-06-27 Leo Liu <sdl.web@gmail.com>
6402 * net/eww.el (eww-read-bookmarks): Check file size.
6404 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6406 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6407 advice--pending if newdef is nil or an autoload (bug#13820).
6408 (advice-mapc): New function.
6410 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6412 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6414 (eww-mode-map): Add a menu bar.
6415 (eww-add-bookmark): New command.
6416 (eww-bookmark-mode): New mode and commands.
6417 (eww-add-bookmark): Remove newlines from the title.
6418 (eww-bookmark-browse): Don't bug out if it's the only window.
6420 2013-06-26 Glenn Morris <rgm@gnu.org>
6422 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6423 (hfy-size): Handle ttys. (Bug#14668)
6425 * info-xref.el: Update for Texinfo 5 change in *note format.
6426 (info-xref-node-re, info-xref-note-re): New constants.
6427 (info-xref-check-buffer): Use info-xref-note-re.
6429 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6431 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6433 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6434 nil terminate the loop (bug#14718).
6436 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6438 * net/eww.el: Rework history traversal. When going forward/back,
6439 put these actions into the history, too, so that they can be
6441 (eww-render): Move the history reset to the correct buffer.
6443 2013-06-25 Juri Linkov <juri@jurta.org>
6445 * files-x.el (modify-dir-local-variable): Change the header comment
6446 in the file with directory local variables. (Bug#14692)
6448 * files-x.el (read-file-local-variable-value): Add `default'.
6451 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6453 * net/eww.el (eww-make-unique-file-name): Create a unique file
6454 name before saving to entering `y' accidentally asynchronously.
6456 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6458 * net/eww.el (eww-download): New command and keystroke.
6460 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6462 * net/eww.el (eww-copy-page-url): Change name of command.
6464 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6465 be more consistent with Info and dired.
6467 * net/eww.el (eww-mode-map): Ditto.
6469 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6471 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6472 packages from archives.
6473 (package-archive-contents): Change format; include obsolete packages.
6474 (package-desc): Use `dir' to mark builtin packages.
6475 (package--from-builtin): Set the `dir' field to `builtin'.
6476 (generated-autoload-file, version-control): Declare.
6477 (package-compute-transaction): Change first arg and return value to be
6478 lists of package-descs. Adjust to new package-archive-contents format.
6479 (package--add-to-archive-contents): Adjust to new
6480 package-archive-contents format.
6481 (package-download-transaction): Arg is now a list of package-descs.
6482 (package-install): If `pkg' is a package name, pass it as
6483 a requirement, so it is subject to the usual (e.g. disabled) checks.
6484 (describe-package): Accept package-desc as well.
6485 (describe-package-1): Describe a specific package-desc. Add links to
6486 other package-descs for the same package name.
6487 (package-menu-describe-package): Pass the actual package-desc.
6488 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6490 (package-desc-status): New function.
6491 (package-menu--refresh): New function, extracted
6492 from package-menu--generate.
6493 (package-menu--generate): Use it.
6494 (package-delete): Update package-alist.
6495 (package-menu-execute): Don't call package-initialize.
6497 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6498 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6499 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6500 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6501 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6502 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6504 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6506 * window.el (window--state-get-1): Workaround for bug#14527.
6507 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6509 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6511 * net/eww.el (eww-back-url): Implement the history by stashing all
6512 the data into a list.
6513 (eww-forward-url): Allow going forward in the history, too.
6515 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6517 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6518 for values and use read--expression for expressions (bug#14710).
6519 (read-file-local-variable): Avoid setq.
6520 (read-file-local-variable-mode): Use minor-mode-list.
6522 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6524 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6527 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6529 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6530 Update imenu-support when dialect changes.
6532 2013-06-25 Leo Liu <sdl.web@gmail.com>
6534 * ido.el (ido-read-internal): Allow forward slash on windows.
6536 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6538 * net/eww.el (eww): Start of strings is \\`, not ^.
6540 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6542 * net/shr.el (shr-browse-url): Fix interactive spec.
6544 * net/eww.el (eww): Add a trailing slash to domain names.
6546 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6548 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6550 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6552 * net/shr.el (shr-browse-url): Use an external browser if given a
6555 * net/eww.el (eww-external-browser): Move to shr.
6557 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6559 * net/eww.el (eww): Work more correctly for file: URLs.
6560 (eww-detect-charset): Allow quoted charsets.
6561 (eww-yank-page-url): New command and keystroke.
6563 2013-06-24 Daiki Ueno <ueno@gnu.org>
6565 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6566 file name of gpg executable.
6567 (epg-context-program): New function.
6568 (epg-context-home-directory): New function.
6569 (epg-context-set-program): New function.
6570 (epg-context-set-home-directory): New function.
6571 (epg--start): Use `epg-context-program' instead of
6573 (epg--list-keys-1): Likewise.
6575 2013-06-24 Leo Liu <sdl.web@gmail.com>
6577 * ido.el (ido-read-internal): Fix bug#14620.
6579 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6581 * faces.el (face-documentation): Simplify.
6582 (read-face-attribute, tty-find-type, x-resolve-font-name):
6583 Use `string-match-p'.
6584 (list-faces-display): Use `string-match-p'. Simplify.
6585 (face-spec-recalc): Check face to avoid face alias loops.
6586 (read-color): Use `string-match-p' and non-capturing parenthesis.
6588 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6590 * net/shr.el (shr-rescale-image): Use the new
6591 :max-width/:max-height functionality.
6593 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6595 * net/eww.el (eww-search-prefix): New variable.
6597 (eww-external-browser): New variable.
6598 (eww-mode-map): New keystroke.
6599 (eww-browse-with-external-browser): New command.
6601 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6603 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6605 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6606 Don't skip aligning the next header field when padding is 0;
6607 otherwise, field width is not respected unless the title is as
6610 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6612 * emacs-lisp/package.el (package-el-version): Remove.
6613 (package-process-define-package): Fix inf-loop.
6614 (package-install): Allow symbols as arguments again.
6616 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6618 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6619 add some more keyword-like methods.
6620 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6622 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6624 * bs.el (bs-buffer-show-mark): Make defvar-local.
6625 (bs-mode): Use setq-local.
6627 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6628 (emacs-lock--try-unlocking): Make defvar-local.
6630 2013-06-22 Glenn Morris <rgm@gnu.org>
6632 * play/cookie1.el (cookie-apropos): Minor simplification.
6634 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6636 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6638 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6639 `regexp-opt', it breaks the build during dumping.
6641 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6643 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6644 Highlight keyword-like methods on Kernel and Module with
6645 font-lock-builtin-face.
6646 (auto-mode-alist): Consolidate different entries into one regexp
6647 and add more *file-s.
6649 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6651 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6653 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6654 (diary-entry): Use it in the action of this button type instead of
6657 * calendar/todo-mode.el: New version.
6658 (todo-add-category): Append new category to end of file and give
6659 it the highest number, instead of putting it at the beginning and
6660 giving it 0. Incorporate noninteractive functionality.
6661 (todo-forward-category): Adapt to 1-based category numbering.
6662 Allow skipping over archived categories.
6663 (todo-backward-category): Derive from todo-forward-category.
6664 (todo-backward-item, todo-forward-item): Make noninteractive and
6665 delegate interactive part to new commands. Make sensitive to done items.
6666 (todo-categories): Make value an alist of category names and
6667 vectors of item counts.
6668 (todo-category-beg): Make a defconst.
6669 (todo-category-number): Use 1 instead of 0 as initial value.
6670 (todo-category-select): Make sensitive to overlays, optional item
6671 highlighting and done items.
6672 (todo-delete-item): Make sensitive to overlays and marked and done items.
6673 (todo-edit-item): Make sensitive to overlays and editing of
6674 date/time header optional. Add format checks.
6675 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6676 no-op if point is not on an item. Advertise using todo-edit-quit.
6677 (todo-edit-mode): Make sensitive to new format, font-locking, and
6678 multiple todo files.
6679 (todo-insert-item, todo-insert-item-here): Derive from
6680 todo-basic-insert-item and extend functionality.
6681 (todo-item-end, todo-item-start): Make sensitive to done items.
6682 (todo-item-string): Don't return text properties. Restore point.
6683 (todo-jump-to-category): Make sensitive to multiple todo files and
6684 todo archives. Use extended category completion.
6685 (todo-lower-item, todo-raise-item): Rename to *-priority and
6686 derive from todo-set-item-priority.
6687 (todo-mode): Derive from special-mode. Make sensitive to new
6688 format, font-locking and multiple todo files. Make read-only.
6689 (todo-mode-map): Don't suppress digit keys, so they can supply
6690 prefix arguments. Add many new key bindings.
6691 (todo-prefix): Insert as an overlay instead of file text.
6692 Change semantics from diary date expression to purely visual mark.
6693 (todo-print): Rename to todo-print-buffer. Make buffer display
6694 features printable. Remove option to restrict number of items
6695 printed. Add option to print to file.
6696 (todo-print-function): Rename to todo-print-buffer-function.
6697 (todo-quit): Extend to handle exiting new todo modes.
6698 (todo-remove-item): Make sensitive to overlays.
6699 (todo-save): Extend to buffers of filtered items.
6700 (todo-show): Make sensitive to done items, multiple todo files and
6701 new todo modes. Offer to convert legacy todo file before creating
6702 first new todo file.
6703 (todo-show-priorities): Rename to todo-top-priorities.
6704 Change semantics of value 0.
6705 (todo-top-priorities): Rename to todo-filter-top-priorities,
6706 derive from todo-filter-items and extend functionality.
6707 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6708 and extend functionality to other types of filtered items.
6709 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6710 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6711 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6712 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6713 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6714 (todo-edit-mode-hook, todo-entry-prefix-function)
6715 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6716 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6717 (todo-initials, todo-insert-threshold, todo-item-string-start)
6718 (todo-line-string, todo-menu, todo-mode-hook)
6719 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6720 (todo-print-priorities, todo-remove-separator)
6721 (todo-save-top-priorities-too, todo-string-count-lines)
6722 (todo-string-multiline-p, todo-time-string-format)
6723 (todo-tmp-buffer-name): Remove.
6724 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6725 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6726 (todo-edit-category-diary-inclusion)
6727 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6728 (todo-edit-file, todo-edit-item-date-day)
6729 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6730 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6731 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6732 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6733 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6734 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6735 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6736 (todo-filter-top-priorities-multifile, todo-find-archive)
6737 (todo-find-filtered-items-file, todo-go-to-source-item)
6738 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6739 (todo-jump-to-archive-category, todo-lower-category)
6740 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6741 (todo-move-category, todo-move-item, todo-next-button)
6742 (todo-next-item, todo-padded-string, todo-powerset)
6743 (todo-previous-button, todo-previous-item)
6744 (todo-print-buffer-to-file, todo-raise-category)
6745 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6746 (todo-set-category-number, todo-set-item-priority)
6747 (todo-set-top-priorities-in-category)
6748 (todo-set-top-priorities-in-file, todo-show-categories-table)
6749 (todo-sort-categories-alphabetically-or-numerically)
6750 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6751 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6752 (todo-toggle-item-header, todo-toggle-item-highlighting)
6753 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6754 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6755 (todo-unarchive-items, todo-unmark-category): New commands.
6756 (todo-absolute-file-name, todo-add-to-buffer-list)
6757 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6758 (todo-basic-insert-item, todo-category-completions)
6759 (todo-category-number, todo-category-string-matcher-1)
6760 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6761 (todo-check-format, todo-clear-matches)
6762 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6763 (todo-current-category, todo-date-string-matcher)
6764 (todo-define-insertion-command, todo-diary-expired-matcher)
6765 (todo-diary-goto-entry, todo-diary-item-p)
6766 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6767 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6768 (todo-done-item-section-p, todo-done-separator)
6769 (todo-done-string-matcher, todo-files, todo-filter-items)
6770 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6771 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6772 (todo-insert-category-line, todo-insert-item-from-calendar)
6773 (todo-insert-sort-button, todo-insert-with-overlays)
6774 (todo-insertion-command-name, todo-insertion-key-bindings)
6775 (todo-label-to-key, todo-longest-category-name-length)
6776 (todo-make-categories-list, todo-mode-external-set)
6777 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6778 (todo-modes-set-3, todo-multiple-filter-files)
6779 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6780 (todo-read-category, todo-read-date, todo-read-dayname)
6781 (todo-read-file-name, todo-read-time)
6782 (todo-reevaluate-category-completions-files-defcustom)
6783 (todo-reevaluate-default-file-defcustom)
6784 (todo-reevaluate-filelist-defcustoms)
6785 (todo-reevaluate-filter-files-defcustom)
6786 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6787 (todo-reset-done-separator, todo-reset-done-separator-string)
6788 (todo-reset-done-string, todo-reset-global-current-todo-file)
6789 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6790 (todo-reset-prefix, todo-set-categories)
6791 (todo-set-date-from-calendar, todo-set-show-current-file)
6792 (todo-set-top-priorities, todo-short-file-name)
6793 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6794 (todo-total-item-counts, todo-update-buffer-list)
6795 (todo-update-categories-display, todo-update-categories-sexp)
6796 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6798 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6800 (todo-categories, todo-display, todo-edit, todo-faces)
6801 (todo-filtered): New defgroups.
6802 (todo-archived-only, todo-button, todo-category-string, todo-date)
6803 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6804 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6805 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6806 (todo-add-item-if-new-category, todo-always-add-time-string)
6807 (todo-categories-align, todo-categories-archived-label)
6808 (todo-categories-category-label, todo-categories-diary-label)
6809 (todo-categories-done-label, todo-categories-number-separator)
6810 (todo-categories-todo-label, todo-categories-totals-label)
6811 (todo-category-completions-files, todo-completion-ignore-case)
6812 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6813 (todo-done-separator-string, todo-done-string)
6814 (todo-files-function, todo-filter-done-items, todo-filter-files)
6815 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6816 (todo-initial-category, todo-initial-file, todo-item-mark)
6817 (todo-legacy-date-time-regexp, todo-mode-line-function)
6818 (todo-nondiary-marker, todo-number-prefix)
6819 (todo-print-buffer-function, todo-show-current-file)
6820 (todo-show-done-only, todo-show-first, todo-show-with-done)
6821 (todo-skip-archived-categories, todo-top-priorities-overrides)
6822 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6823 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6825 (todo-category-done, todo-date-pattern, todo-date-string-start)
6826 (todo-diary-items-buffer, todo-done-string-start)
6827 (todo-filtered-items-buffer, todo-item-start)
6828 (todo-month-abbrev-array, todo-month-name-array)
6829 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6830 (todo-top-priorities-buffer): New defconsts.
6831 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6832 (todo-categories-with-marks, todo-category-string-face)
6833 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6834 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6835 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6836 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6837 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6838 (todo-font-lock-keywords, todo-global-current-todo-file)
6839 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6840 (todo-insertion-commands-args)
6841 (todo-insertion-commands-args-genlist)
6842 (todo-insertion-commands-names, todo-insertion-map)
6843 (todo-key-bindings-t, todo-key-bindings-t+a)
6844 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6845 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6846 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6847 (todo-visited): New variables.
6849 2013-06-21 Glenn Morris <rgm@gnu.org>
6851 * play/cookie1.el (cookie-apropos): Add optional display argument.
6852 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6853 (psychoanalyze-pinhead): Use cookie-doctor.
6855 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6857 * emacs-lisp/package.el (tar-get-file-descriptor)
6858 (tar--extract): Declare.
6860 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6862 Extend flymake's warning predicate to be a function (bug#14217).
6863 * progmodes/flymake.el (flymake-warning-predicate): New.
6864 (flymake-parse-line): Use it.
6865 (flymake-warning-re): Make obsolete alias to
6866 `flymake-warning-predicate'.
6868 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6870 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6871 (package-obsolete-list): Remove.
6872 (package-activate): Remove min-version argument. Add `force' argument.
6873 Adjust to new package-alist format.
6874 (package-mark-obsolete): Remove.
6875 (package-unpack): Force reload of the package's autoloads.
6876 (package-installed-p): Check builtins if the installed package is not
6878 (package-initialize): Don't reset package-obsolete-list.
6879 Don't specify which package version to activate.
6880 (package-process-define-package, describe-package-1)
6881 (package-menu--generate): Adjust to new package-alist format.
6883 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6885 * allout-widgets.el (allout-widgets-mode-off)
6886 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6887 (allout-widgets-post-command-business)
6888 (allout-widgets-after-copy-or-kill-function)
6889 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6890 (allout-decorate-item-and-context)
6891 (allout-graphics-modification-handler): Fix typos in docstrings.
6892 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6894 * cmuscheme.el (scheme-start-file): Doc fix.
6895 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6896 (scheme-input-filter): Use `string-match-p'.
6898 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6900 * dired-x.el: Use Dired consistently in docstrings.
6902 * dired.el: Use Dired consistently in docstrings.
6903 (dired-readin, dired-mode): Use `setq-local'.
6904 (dired-switches-alist): Make defvar-local.
6905 (dired-buffers-for-dir): Use `zerop'.
6906 (dired-safe-switches-p, dired-switches-escape-p)
6907 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6908 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6909 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6910 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6911 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6912 (dired-toggle-marks, dired-mark-files-containing-regexp)
6913 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6914 (dired-flag-auto-save-files, dired-flag-backup-files):
6916 (dired-mark-files-regexp, dired-build-subdir-alist):
6917 Use `string-match-p', `looking-at-p'.
6919 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6920 (direct-print-region-helper): Use `string-match-p'.
6922 2013-06-21 Leo Liu <sdl.web@gmail.com>
6924 * comint.el (comint-redirect-results-list-from-process):
6927 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6929 * net/eww.el (eww-update-header-line-format): Quote % characters.
6931 2013-06-21 Glenn Morris <rgm@gnu.org>
6933 * play/cookie1.el (cookie): New custom group.
6934 (cookie-file): New option.
6935 (cookie-check-file): New function.
6936 (cookie): Make it interactive. Make start and end messages optional.
6937 Interactively, display the result. Default to cookie-file.
6938 (cookie-insert): Default to cookie-file.
6939 (cookie-snarf): Make start and end messages optional.
6940 Default to cookie-file. Use with-temp-buffer.
6941 (cookie-read): Rename from read-cookie.
6942 Make start and end messages optional. Default to cookie-file.
6943 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6945 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6946 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6948 2013-06-21 Leo Liu <sdl.web@gmail.com>
6950 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6952 2013-06-21 Glenn Morris <rgm@gnu.org>
6954 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6956 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6957 Daniel Hackney <dan@haxney.org>
6959 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6960 Consolidate the single-file vs tarball code.
6961 (package-desc-suffix): New function.
6962 (package-desc-full-name): Don't bother inlining it.
6963 (package-load-descriptor): Return the new package-desc.
6964 (package-mark-obsolete): Remove unused arg `package'.
6965 (package-unpack): Make it work for single files as well.
6966 Make it update package-alist.
6967 (package--make-autoloads-and-stuff): Rename from
6968 package--make-autoloads-and-compile. Don't compile any more.
6969 (package--compile): New function.
6970 (package-generate-description-file): New function, extracted from
6971 package-unpack-single.
6972 (package-unpack-single): Remove.
6973 (package--with-work-buffer): Add indentation and debugging info.
6974 (package-download-single): Remove.
6975 (package-install-from-archive): Rename from package-download-tar, make
6976 it take a pkg-desc, and make it work for single files as well.
6977 (package-download-transaction): Simplify.
6978 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6979 external tar program.
6980 (package-install-from-buffer): Remove `pkg-desc' argument.
6981 Use package-tar-file-info for tar-mode buffers.
6982 (package-install-file): Simplify accordingly.
6983 (package-archive-base): Change to take a pkg-desc.
6984 * tar-mode.el (tar--check-descriptor): New function, extracted from
6986 (tar-get-descriptor): Use it.
6987 (tar-get-file-descriptor): New function.
6988 (tar--extract): New function, extracted from tar-extract.
6989 (tar--extract): Use it.
6990 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6991 case the summary uses non-ascii. Adjust to new calling convention of
6992 package-tar-file-info.
6994 2013-06-21 Leo Liu <sdl.web@gmail.com>
6996 * comint.el (comint-redirect-results-list-from-process):
6997 Fix random delay. (Bug#14681)
6999 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7001 * profiler.el (profiler-format-number): Use log, not log10.
7003 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7005 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7007 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7009 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7010 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7012 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7013 (AUTOGENEL): ... here.
7014 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7015 (cl--defsubst-expand): Use it.
7017 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7019 * subr.el (log10): Move here from C code, and declare as obsolete.
7020 All uses of (log10 X) replaced with (log X 10).
7022 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7024 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7025 Declare with `defvar-local'.
7026 (tabulated-list-use-header-line, tabulated-list-entries)
7027 (tabulated-list-padding, tabulated-list-printer)
7028 (tabulated-list-sort-key): Declare with `defvar-local'.
7029 (tabulated-list-init-header, tabulated-list-print-fake-header):
7032 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7034 * arc-mode.el (archive-mode): Add `archive-write-file' to
7035 `write-contents-functions' also for remote files. (Bug#14652)
7037 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7039 * cus-edit.el (custom-commands): Fix typos.
7040 (custom-display): Fix tooltip text.
7041 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7042 Fix typos in docstrings.
7043 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7044 (custom-unlispify-menu-entry, custom-magic-value-create)
7045 (custom-add-see-also, custom-group-value-create): Use ?\s.
7046 (custom-guess-type, customize-apropos, editable-field)
7047 (custom-face-value-create): Use `string-match-p'.
7048 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7050 * custom.el (custom-load-symbol): Use `string-match-p'.
7052 * ansi-color.el: Convert to lexical binding.
7053 (ansi-colors): Fix URL.
7054 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7055 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7056 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7058 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7060 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7062 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7064 2013-06-19 Tom Tromey <tromey@redhat.com>
7066 * net/eww.el (eww-top-url): Remove.
7067 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7068 (eww-render): Set new variables. Don't set eww-top-url.
7069 (eww-handle-link): Handle "prev", "home", and "contents".
7070 Downcase the rel text.
7071 (eww-top-url): Choose best top URL.
7073 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7075 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7076 relying in widget.el. Using widget.el leads to too many
7077 user interface inconsistencies.
7078 (eww-self-insert): Implement entering commands in text fields.
7079 (eww-process-text-input): New function to make text input field editing
7081 (eww-submit): Rewrite to use the new-style form methods.
7082 (eww-select-display): Display the correct selected item.
7083 (eww-change-select): Implement changing the select value.
7084 (eww-toggle-checkbox): Implement radio/checkboxes.
7085 (eww-update-field): Fix compilation error.
7086 (eww-tag-textarea): Implement <textarea>.
7088 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7089 we don't shadow mode-specific bindings.
7091 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7094 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7096 2013-06-19 Glenn Morris <rgm@gnu.org>
7098 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7100 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7102 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7105 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7107 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7109 * net/browse-url.el (browse-url-browser-function):
7110 `eww-browse-url' has the right calling signature, `eww' does not.
7112 2013-06-19 Glenn Morris <rgm@gnu.org>
7114 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7115 Only eval autoloaded macros.
7116 (byte-compile-autoload): Only give the macro warning for macros.
7118 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7119 (ps-underlined-faces): Declare.
7121 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7122 (speedbar-add-supported-extension): Declare.
7124 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7125 Don't include a date stamp in the header of the generated file;
7126 it leads to needless differences between output files.
7128 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7130 * net/secrets.el (secrets-struct-secret-content-type):
7131 Replace check of introspection data by a test call of "CreateItem".
7132 Some servers do not offer introspection.
7134 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7136 * electric.el (electric-pair-mode): Improve interaction with
7137 electric-layout-mode.
7138 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7139 (electric-pair-syntax): Use text-mode-syntax-table in comments
7141 (electric-pair--insert): New function.
7142 (electric-pair-post-self-insert-function): Use it and
7143 electric--after-char-pos.
7145 2013-06-19 Leo Liu <sdl.web@gmail.com>
7147 * progmodes/octave.el (octave-help): Fix regexp.
7149 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7151 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7152 (shr-table-horizontal-line): Allow nil as a value, and change the
7154 (shr-insert-table-ruler): Respect the nil value.
7156 2013-06-18 Tom Tromey <tromey@barimba>
7158 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7160 (eww-open-file): New defun.
7161 (eww-render): Initialize new variables.
7162 (eww-display-html): Handle "link" and "a".
7163 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7164 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7165 (eww-back-url): Rename from eww-previous-url.
7166 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7169 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7171 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7172 Distinguish ternary operator tokens from slash symbol and slash
7175 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7177 Convert symbol prettification into minor mode and global minor mode.
7179 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7180 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7181 (prettify-symbols--keywords): Rename from
7182 `prog-prettify-symbols-alist' and make a local defvar.
7183 (prettify-symbols--compose-symbol): Rename from
7184 `prog--prettify-font-lock-compose-symbol'.
7185 (prettify-symbols--make-keywords): Rename from
7186 `prog-prettify-font-lock-symbols-keywords' and simplify.
7187 (prog-prettify-install): Remove.
7188 (prettify-symbols-mode): New minor mode, based on
7189 `prog-prettify-install'.
7190 (turn-on-prettify-symbols-mode): New function.
7191 (global-prettify-symbols-mode): New globalized minor mode.
7193 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7194 * progmodes/cfengine.el (cfengine3-mode):
7195 * progmodes/perl-mode.el (perl-mode): Don't call
7196 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7198 2013-06-18 Juri Linkov <juri@jurta.org>
7200 * files-x.el (modify-file-local-variable-message): New function.
7201 (modify-file-local-variable)
7202 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7203 and call `modify-file-local-variable-message' when it's non-nil.
7204 (add-file-local-variable, delete-file-local-variable)
7205 (add-file-local-variable-prop-line)
7206 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7207 and use it. (Bug#9820)
7209 2013-06-18 Juri Linkov <juri@jurta.org>
7211 * emulation/vi.el (vi-shell-op):
7212 * emulation/vip.el (vip-execute-com, ex-command):
7213 * emulation/viper-cmd.el (viper-exec-bang):
7214 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7215 the call of `shell-command-on-region'. (Bug#14637)
7217 * simple.el (shell-command-on-region): Doc fix.
7219 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7221 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7224 2013-06-18 Glenn Morris <rgm@gnu.org>
7226 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7228 * newcomment.el (comment-search-forward, comment-search-backward):
7229 Doc fix. (Bug#14376)
7231 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7233 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7234 (buffer-face-mode-invoke): Doc fix.
7236 2013-06-18 Matthias Meulien <orontee@gmail.com>
7238 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7239 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7241 2013-06-18 Glenn Morris <rgm@gnu.org>
7243 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7244 Replace obsolete function generic-make-keywords with its expansion.
7246 * progmodes/python.el (ffap-alist): Declare.
7248 * textmodes/reftex.el (bibtex-mode-map): Declare.
7250 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7252 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7253 (package-unpack, package-unpack-single): Return the pkg-dir.
7254 (package-download-transaction): Use it to update package-alist.
7256 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7258 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7261 2013-06-17 Juri Linkov <juri@jurta.org>
7263 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7265 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7267 * emacs-lisp/package.el (package-load-descriptor):
7268 Remove `with-syntax-table' call, `read' doesn't need it.
7269 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7271 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7273 * startup.el (command-line): Expand package name returned by
7274 `package--description-file' (bug#14639).
7276 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7278 * emacs-lisp/package.el (package-load-descriptor): Do not call
7279 `emacs-lisp-mode', just use its syntax table.
7281 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7283 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7284 `font-lock-extra-managed-props' if any prettifying keyword is added.
7285 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7286 (prog-mode): Use `setq-local'.
7288 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7290 * international/characters.el (standard-case-table): Set syntax of ?»
7291 and ?« to punctuation.
7293 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7295 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7296 Save relevant match data before calling `syntax-ppss' (bug#14595).
7298 2013-06-15 Juri Linkov <juri@jurta.org>
7300 * files-x.el (modify-file-local-variable-prop-line): Add local
7301 variables to the end of the existing comment on the first line.
7302 Use `file-auto-mode-skip' to skip interpreter magic line,
7303 and also skip XML declaration.
7305 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7307 * startup.el (package--builtin-versions): New var.
7308 (package-subdirectory-regexp): Remove.
7309 (package--description-file): Hard code its value instead.
7311 * emacs-lisp/package.el: Don't activate packages older than builtin.
7312 (package-obsolete-list): Rename from package-obsolete-alist, and make
7313 it into a simple list of package-desc.
7314 (package-strip-version): Remove.
7315 (package-built-in-p): Use package--builtin-versions.
7316 (package-mark-obsolete): Simplify.
7317 (package-process-define-package): Mark it obsolete if older than the
7319 (package-handle-response): Use line-end-position.
7320 (package-read-archive-contents, package--download-one-archive):
7322 (package--add-to-archive-contents): Skip if older than the builtin or
7324 (package-menu-describe-package): Fix last change.
7325 (package-list-unversioned): New var.
7326 (package-menu--generate): Use it.
7328 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7329 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7330 (autoload-builtin-package-versions): New variable.
7331 (autoload-generate-file-autoloads): Use them.
7332 Remove the list of autoloaded functions/macros from the
7333 (autoload...) comments.
7335 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7337 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7339 * simple.el (line-move-partial): Don't jump to the next screen
7340 line as soon as it becomes visible. Instead, continue enlarging
7341 the vscroll until the portion of a tall screen line that's left on
7342 display is about the height of the frame's default font.
7345 2013-06-15 Glenn Morris <rgm@gnu.org>
7347 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7348 compilation-error-regexp-alist void, or local while let-bound.
7350 * progmodes/make-mode.el (makefile-mode-syntax-table):
7351 Treat "=" as punctuation. (Bug#14614)
7353 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7355 * help-fns.el (describe-variable):
7356 Add extra line for permanent-local variables.
7358 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7360 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7361 Add export, import, library. (Bug#9164)
7362 (library): Set indent function.
7364 2013-06-14 Glenn Morris <rgm@gnu.org>
7366 * term/xterm.el (xterm--query):
7367 Stop after first matching handler. (Bug#14615)
7369 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7371 Add support for dired in saveplace.
7372 * dired.el (dired-initial-position-hook): New variable.
7373 (dired-initial-position): Call hook to place cursor position.
7374 * saveplace.el (save-place-to-alist): Add dired position.
7375 (save-place-dired-hook): New function.
7377 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7379 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7380 through a symbol rather than letrec.
7382 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7383 (package-desc): Add `dir' field.
7384 (package-desc-full-name): New function.
7385 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7386 (package-maybe-load-descriptor): Remove.
7387 (package-load-all-descriptors): Just call package-load-descriptor.
7388 (package--disabled-p): New function.
7389 (package-desc-vers, package-desc-doc): Remove aliases.
7390 (package--dir): Remove function.
7391 (package-activate): Check if a package is disabled.
7392 (package-process-define-package): New function, extracted from
7394 (define-package): Turn into a place holder.
7395 (package-unpack-single, package-tar-file-info):
7396 Use package--description-file.
7397 (package-compute-transaction): Use package--disabled-p.
7398 (package-download-transaction): Don't call
7399 package-maybe-load-descriptor since they're all loaded anyway.
7400 (package-install): Change argument to be a pkg-desc.
7401 (package-delete): Use a single pkg-desc argument.
7402 (describe-package-1): Use package-desc-dir instead of package--dir.
7403 Use package-desc property instead of package-symbol.
7404 (package-install-button-action): Adjust accordingly.
7405 (package--push): Rewrite.
7406 (package-menu--print-info): Adjust accordingly. Change the ID format
7408 (package-menu-describe-package, package-menu-get-status)
7409 (package-menu--find-upgrades, package-menu-mark-upgrades)
7410 (package-menu-execute, package-menu--name-predicate):
7412 * startup.el (package--description-file): New function.
7413 (command-line): Use it.
7414 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7415 Use package-desc-version.
7417 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7418 (byte-compile-preprocess): Use it.
7419 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7420 can't quite recognize.
7421 (byte-compile-add-to-list): Remove.
7422 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7423 (cconv-closure-convert): Add assertion.
7425 * emacs-lisp/map-ynp.el: Use lexical-binding.
7426 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7427 Factor out some repeated code.
7429 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7431 * subr.el (with-eval-after-load): New macro.
7432 (eval-after-load): Allow form to be a function.
7433 take advantage of lexical-binding.
7434 (do-after-load-evaluation): Use dolist and adjust to new format.
7435 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7437 2013-06-13 Juri Linkov <juri@jurta.org>
7439 * replace.el (perform-replace): Display "symbol " and other search
7440 modes from `isearch-message-prefix' in the *Help* buffer.
7442 * isearch.el (isearch-query-replace): Add " symbol" and other
7443 possible search modes from `isearch-message-prefix' to the prompt.
7444 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7445 when reading a regexp to collect.
7447 2013-06-13 Juri Linkov <juri@jurta.org>
7449 * isearch.el (word-search-regexp): Match whitespace if the search
7450 string begins or ends in whitespace. The LAX arg is applied to
7451 both ends of the search string. Use `regexp-quote' and explicit
7452 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7453 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7454 boundaries are replaced with symbol boundaries, and characters
7455 between symbols match non-word non-symbol syntax. (Bug#14602)
7457 2013-06-13 Juri Linkov <juri@jurta.org>
7459 * isearch.el (isearch-del-char): Don't exceed the length of
7460 `isearch-string' by the prefix arg. (Bug#14563)
7462 2013-06-13 Juri Linkov <juri@jurta.org>
7464 * isearch.el (isearch-yank-word, isearch-yank-line)
7465 (isearch-char-by-name, isearch-quote-char)
7466 (isearch-printing-char, isearch-process-search-char):
7467 Add optional count prefix arg. (Bug#14563)
7469 * international/isearch-x.el
7470 (isearch-process-search-multibyte-characters):
7471 Add optional count prefix arg.
7473 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7475 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7476 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7479 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7481 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7483 2013-06-13 Glenn Morris <rgm@gnu.org>
7485 * startup.el (tty-handle-args):
7486 Don't just discard "--" and anything after. (Bug#14608)
7488 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7490 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7492 Implement changes in Secret Service API. Make it backward compatible.
7493 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7494 (secrets-create-item): Use it. Prefix properties with interface.
7496 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7498 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7499 (term-emulate-terminal): Respect term-suppress-hard-newline.
7501 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7503 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7504 Only remove a `thumb-file' overlay. (Bug#14548)
7506 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7508 * mail/reporter.el (reporter-submit-bug-report):
7509 Handle missing package-name. (Bug#14600)
7511 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7513 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7514 (reftex-citation-prompt, reftex-default-bibliography)
7515 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7516 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7517 (reftex-bib-sort-author, reftex-bib-sort-year)
7518 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7519 (reftex-extract-bib-entries-from-thebibliography)
7520 (reftex-get-bibkey-default, reftex-get-bib-names)
7521 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7522 (reftex-format-bib-entry, reftex-parse-bibitem)
7523 (reftex-format-bibitem, reftex-do-citation)
7524 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7525 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7526 (reftex-insert-bib-matches, reftex-format-citation)
7527 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7528 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7529 existing comments into docstrings.
7531 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7533 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7535 2013-06-12 Andreas Schwab <schwab@suse.de>
7537 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7538 for auto-save files.
7540 2013-06-12 Glenn Morris <rgm@gnu.org>
7542 * ido.el (ido-delete-ignored-files): Remove.
7543 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7544 Go back to calling ido-ignore-item-p directly.
7546 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7548 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7550 * ido.el (ido-delete-ignored-files): New function,
7551 split from ido-make-file-list-1.
7552 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7553 (ido-make-file-list-1): Use ido-delete-ignored-files.
7555 2013-06-12 Leo Liu <sdl.web@gmail.com>
7557 * progmodes/octave.el (inferior-octave-startup)
7558 (inferior-octave-completion-table)
7559 (inferior-octave-track-window-width-change)
7560 (octave-eldoc-function-signatures, octave-help)
7561 (octave-find-definition): Use single quoted strings.
7562 (inferior-octave-startup-args): Change default value.
7563 (inferior-octave-startup): Do not hard code "-i" and
7564 "--no-line-editing".
7565 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7566 (inferior-octave-directory-tracker): Use it.
7567 (octave-goto-function-definition): Robustify.
7568 (octave-help): Support highlighting operators in 'See also'.
7569 (octave-find-definition): Find subfunctions only in Octave mode.
7571 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7573 * help-fns.el (help-fns--compiler-macro): If the handler function is
7574 named, then put a link to it.
7575 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7576 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7578 (cl-eval-when): Simplify debug spec.
7579 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7580 compiler-macro function instead of setting `compiler-macro-file'.
7582 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7584 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7585 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7587 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7588 Daniel Hackney <dan@haxney.org>
7590 First part of Daniel Hackney's patch to package.el.
7591 * emacs-lisp/package.el: Use defstruct.
7592 (package-desc): New, main struct.
7593 (package--bi-desc, package--ac-desc): New structs, used to describe the
7594 format in external files.
7595 (package-desc-vers): Replace with package-desc-version accessor.
7596 (package-desc-doc): Replace with package-desc-summary accessor.
7597 (package-activate-1): Remove `package' arg since the pkg-vec now
7599 (define-package): Use package-desc-from-define.
7600 (package-unpack-single): Change file-name arg to be a symbol.
7601 (package--add-to-archive-contents): Use package-desc-create and new
7602 accessor functions to package--ac-desc.
7603 (package-buffer-info, package-tar-file-info): Return a package-desc.
7604 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7605 arg to be a package-desc.
7606 (package-install-file): Adjust accordingly. Use \' to match EOS.
7607 (package--from-builtin): New function.
7608 (describe-package-1, package-menu--generate): Use it.
7609 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7610 (package-generate-autoloads): Idem and return the name of the file.
7611 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7612 Change pkg-info arg to be a package-desc.
7613 Use package-make-ac-desc.
7614 (package-upload-file): Use \' to match EOS.
7615 * finder.el (finder-compile-keywords): Use package-make-builtin.
7617 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7619 * vc/vc.el (vc-deduce-fileset): Change error message.
7620 (vc-read-backend): New function.
7621 (vc-next-action): Use it.
7623 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7625 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7626 (prolog-font-lock-keywords): Use regexp-opt instead.
7627 Don't manually highlight strings.
7628 (prolog-mode-variables): Simplify comment-start-skip.
7629 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7631 * emacs-lisp/generic.el (generic--normalise-comments)
7632 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7633 (generic-mode-set-comments): Use them.
7634 (generic-bracket-support): Use setq-local.
7635 (generic-make-keywords-list): Declare obsolete.
7637 2013-06-11 Glenn Morris <rgm@gnu.org>
7639 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7640 Prettify after setting font-lock-defaults. (Bug#14574)
7642 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7644 * replace.el (query-replace, occur-read-regexp-defaults-function)
7646 * subr.el (declare-function, number-sequence, local-set-key)
7647 (substitute-key-definition, locate-user-emacs-file)
7648 (with-silent-modifications, split-string, eval-after-load):
7649 Fix typos, remove unneeded backslashes and reflow some docstrings.
7651 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7653 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7654 default for Elisp files.
7656 2013-06-11 Glenn Morris <rgm@gnu.org>
7658 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7659 although define-derived-mode was doing this anyway. (Bug#14583)
7661 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7663 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7664 Fix make-variable-buffer-local call to refer to the correct variable.
7666 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7668 * eshell/em-term.el (eshell-visual-commands)
7669 (eshell-visual-subcommands, eshell-visual-options):
7670 Add summary line to docstrings. Add cross-references.
7672 2013-06-10 Glenn Morris <rgm@gnu.org>
7674 * epa.el (epa-read-file-name): New function. (Bug#14510)
7675 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7677 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7679 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7680 output redirection to be ignored with visual commands.
7682 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7684 * eshell/em-term.el (eshell-visual-command-p): New function.
7685 (eshell-term-initialize): Move long lambda to separate function
7686 eshell-visual-command-p.
7687 * eshell/em-dirs.el (eshell-dirs-initialise):
7688 * eshell/em-script.el (eshell-script-initialize):
7689 Add missing #' to lambda.
7691 2013-06-08 Leo Liu <sdl.web@gmail.com>
7693 * progmodes/octave.el (octave-add-log-current-defun): New function.
7694 (octave-mode): Set add-log-current-defun-function.
7695 (octave-goto-function-definition): Do not move point if not found.
7696 (octave-find-definition): Enhance to try subfunctions first.
7698 2013-06-08 Glenn Morris <rgm@gnu.org>
7700 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7701 (byte-compile-backward-char, byte-compile-backward-word):
7702 Improve previous change, to handle non-explicit nil.
7704 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7706 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7707 (smie--opener/closer-at-point): New function.
7708 (smie--matching-block-data): Use it. Don't match from right after an
7709 opener or right before a closer. Obey smie-blink-matching-inners.
7710 Don't signal a mismatch for repeated inners like "switch..case..case".
7712 2013-06-07 Leo Liu <sdl.web@gmail.com>
7714 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7716 (octave-function-header-regexp): Fix. (Bug#14570)
7717 (octave-help-mode-finish-hook, octave-help-mode-finish):
7718 Remove. Just use temp-buffer-show-hook.
7720 * newcomment.el (comment-search-backward): Revert last change.
7723 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7725 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7727 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7728 through xargs, to avoid failure due to MS-Windows limitations on
7729 command-line length.
7731 2013-06-06 Glenn Morris <rgm@gnu.org>
7733 * font-lock.el (lisp-font-lock-keywords-2):
7734 Treat user-error like error.
7736 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7737 (byte-compile-backward-char, byte-compile-backward-word):
7738 Handle explicit nil arguments. (Bug#14565)
7740 2013-06-05 Alan Mackenzie <acm@muc.de>
7742 * isearch.el (isearch-allow-prefix): New user option.
7743 (isearch-other-meta-char): Don't exit isearch when a prefix
7744 argument is typed whilst `isearch-allow-prefix' is non-nil.
7747 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7749 * autorevert.el (auto-revert-notify-handler): Use memq.
7750 Hide assertion failure.
7752 * skeleton.el: Use cl-lib.
7753 (skeleton-further-elements): Use defvar-local.
7754 (skeleton-insert): Use cl-progv.
7756 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7758 * progmodes/prog-mode.el (prog-prettify-symbols)
7759 (prog-prettify-install): Update docstrings.
7761 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7763 * simple.el: Move all the prog-mode code to prog-mode.el.
7764 * progmodes/prog-mode.el: New file.
7765 * loadup.el: Add prog-mode.el.
7767 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7769 * simple.el (prog-prettify-symbols): Add version.
7770 (prog-prettify-install): Add convenience function to prettify symbols.
7772 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7773 (perl--augmented-font-lock-keywords-1)
7774 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7775 variables and use it.
7777 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7778 (cfengine3-mode): Remove unneeded variable and use it.
7780 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7781 (lisp--augmented-font-lock-keywords-1)
7782 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7783 Remove unneeded variables and use it.
7785 2013-06-05 João Távora <joaotavora@gmail.com>
7787 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7788 to point when opening the connection. (Bug#14380)
7790 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7792 * subr.el (load-history-regexp, load-history-filename-element)
7793 (eval-after-load, after-load-functions, do-after-load-evaluation)
7794 (eval-next-after-load, display-delayed-warnings)
7795 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7796 definition of save-match-data.
7797 (overriding-local-map): Remove accidental obsolescence declaration.
7799 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7801 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7803 Generalize symbol prettify support to prog-mode and implement it
7804 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7805 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7806 (prog--prettify-font-lock-compose-symbol)
7807 (prog-prettify-font-lock-symbols-keywords): New variables and
7808 functions to support symbol prettification.
7809 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7810 (lisp--augmented-font-lock-keywords-1)
7811 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7812 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7813 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7814 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7815 Implement prettify of -> => :: strings.
7816 * progmodes/perl-mode.el (perl-prettify-symbols)
7817 (perl--font-lock-compose-symbol)
7818 (perl--font-lock-symbols-keywords): Move to prog-mode.
7819 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7820 (perl-font-lock-keywords-1)
7821 (perl-font-lock-keywords-2): Remove explicit prettify support.
7822 (perl--augmented-font-lock-keywords)
7823 (perl--augmented-font-lock-keywords-1)
7824 (perl--augmented-font-lock-keywords-2, perl-mode):
7825 Implement prettify support.
7827 2013-06-05 Leo Liu <sdl.web@gmail.com>
7829 Re-implement smie matching block highlight using
7830 show-paren-data-function. (Bug#14395)
7831 * emacs-lisp/smie.el (smie-matching-block-highlight)
7832 (smie--highlight-matching-block-overlay)
7833 (smie--highlight-matching-block-lastpos)
7834 (smie-highlight-matching-block)
7835 (smie-highlight-matching-block-mode): Remove.
7836 (smie--matching-block-data-cache): New variable.
7837 (smie--matching-block-data): New function.
7838 (smie-setup): Use smie--matching-block-data for
7839 show-paren-data-function.
7841 * progmodes/octave.el (octave-mode-menu): Fix.
7842 (octave-find-definition): Skip garbage lines.
7844 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7846 Fix compilation error with simultaneous dynamic+lexical scoping.
7847 Add warning when a defvar appears after the first let-binding.
7848 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7849 (byte-compile-close-variables): Initialize it.
7850 (byte-compile--declare-var): New function.
7851 (byte-compile-file-form-defvar)
7852 (byte-compile-file-form-define-abbrev-table)
7853 (byte-compile-file-form-custom-declare-variable): Use it.
7854 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7855 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7856 (byte-compile-bind): Handle dynamic bindings that shadow
7858 (byte-compile-unbind): Make arg non-optional.
7859 (byte-compile-let): Simplify.
7860 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7861 (cconv--analyse-function, cconv-analyse-form): Populate it.
7862 Protect byte-compile-bound-variables to limit the scope of defvars.
7863 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7864 Remove unneeded rule for `declare'.
7866 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7867 so as to avoid depending on cl-adjoin at run-time.
7868 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7870 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7871 (macroexp--warn-and-return): Use it.
7873 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7875 * lisp/subr.el: Convert to lexical binding.
7876 (overriding-local-map): Make obsolete.
7877 (add-to-list): Doc fix. Add compiler macro.
7878 (read-key): Swap values of local maps.
7880 2013-06-05 Leo Liu <sdl.web@gmail.com>
7882 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7884 2013-06-04 Leo Liu <sdl.web@gmail.com>
7886 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7887 (compilation-auto-jump): Suppress the "Mark set" message to give
7888 way to exit message.
7890 2013-06-04 Alan Mackenzie <acm@muc.de>
7892 Remove faulty optimisation from indentation calculation.
7893 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7894 search limit based on 2000 characters back from indent-point.
7896 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7898 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7900 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7902 * emacs-lisp/lisp.el: Use lexical-binding.
7903 (lisp--local-variables-1, lisp--local-variables): New functions.
7904 (lisp--local-variables-completion-table): New var.
7905 (lisp-completion-at-point): Use it complete let-bound vars.
7907 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7908 eagerly (bug#14422).
7910 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7912 * autorevert.el (auto-revert-notify-enabled)
7913 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7914 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7915 (auto-revert-notify-handler): Handle also gfilenotify.
7917 * subr.el (file-notify-handle-event): New defun. Replacing ...
7918 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7921 2013-06-03 Juri Linkov <juri@jurta.org>
7923 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7924 `M-s h .'. (Bug#14427)
7926 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7927 command `hi-lock-face-symbol-at-point'.
7928 (hi-lock-face-symbol-at-point): New command.
7929 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7930 (hi-lock-menu): Add `highlight-symbol-at-point'.
7931 (hi-lock-mode): Doc fix.
7933 * isearch.el (isearch-forward-symbol-at-point): New command.
7934 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7935 (isearch-highlight-regexp): Add a regexp which matches
7936 words/symbols for word/symbol mode.
7938 * subr.el (find-tag-default-bounds): New function with the body
7939 mostly moved from `find-tag-default'.
7940 (find-tag-default): Move most code to `find-tag-default-bounds',
7941 call it and apply `buffer-substring-no-properties' afterwards.
7943 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7945 * eshell/em-term.el (eshell-term-initialize):
7946 Use `cl-intersection' rather than `intersection'.
7948 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7950 * vc/log-view.el: Doc fix.
7951 (log-view-mode-map): Copy keymap from `special-mode-map'.
7953 2013-06-02 Eric Ludlam <zappo@gnu.org>
7955 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7956 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7957 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7958 (eieio-unbound, eieio-default-superclass)
7959 (eieio--define-field-accessors, method-static, method-before)
7960 (method-primary, method-after, method-num-lists)
7961 (method-generic-before, method-generic-primary)
7962 (method-generic-after, method-num-slots)
7963 (eieio-specialized-key-to-generic-key)
7964 (eieio--check-type, class-v, class-p)
7965 (eieio-class-name, define-obsolete-function-alias)
7966 (eieio-class-parents-fast, eieio-class-children-fast)
7967 (same-class-fast-p, class-constructor, generic-p)
7968 (generic-primary-only-p, generic-primary-only-one-p)
7969 (class-option-assoc, class-option, eieio-object-p)
7970 (class-abstract-p, class-method-invocation-order)
7971 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7972 (eieio-class-un-autoload, eieio-defclass)
7973 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7974 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7975 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7976 (eieio-defgeneric-reset-generic-form)
7977 (eieio-defgeneric-form-primary-only)
7978 (eieio-defgeneric-reset-generic-form-primary-only)
7979 (eieio-defgeneric-form-primary-only-one)
7980 (eieio-defgeneric-reset-generic-form-primary-only-one)
7981 (eieio-unbind-method-implementations)
7982 (eieio--defmethod, eieio--typep)
7983 (eieio-perform-slot-validation, eieio-validate-slot-value)
7984 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7985 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7986 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7987 (eieio-slot-name-index, eieio-class-slot-name-index)
7988 (eieio-set-defaults, eieio-initarg-to-attribute)
7989 (eieio-attribute-to-initarg, eieio-c3-candidate)
7990 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7991 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7992 (eieio-class-precedence-list, eieio-generic-call-methodname)
7993 (eieio-generic-call-arglst, eieio-generic-call-key)
7994 (eieio-generic-call-next-method-list)
7995 (eieio-pre-method-execution-functions, eieio-generic-call)
7996 (eieio-generic-call-primary-only, eieiomt-method-list)
7997 (eieiomt-optimizing-obarray, eieiomt-install)
7998 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7999 (eieio-generic-form, eieio-defmethod, make-obsolete)
8000 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8001 (defclass): Remove `eval-and-compile' from macro.
8002 (call-next-method, shared-initialize): Instead of using
8003 `scoped-class' variable, use new eieio--scoped-class, and
8004 eieio--with-scoped-class.
8005 (initialize-instance): Rename local variable 'scoped-class' to
8006 'this-class' to remove ambiguitity from old global.
8008 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8010 (eieio--scoped-class-stack): New variable.
8011 (eieio--scoped-class): New fcn.
8012 (eieio--with-scoped-class): New scoping macro.
8013 (eieio-defclass): Use pushnew instead of add-to-list.
8014 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8015 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8016 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8017 `scoped-class' variable, use new eieio--scoped-class, and
8018 eieio--with-scoped-class.
8020 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8022 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8024 * eshell/esh-ext.el (eshell-external-command): Pass args to
8025 `eshell-find-interpreter'.
8026 (eshell-find-interpreter): Add new second parameter ARGS.
8028 * eshell/em-script.el (eshell-script-initialize): Add second arg
8029 to the function added as MATCH to `eshell-interpreter-alist'.
8031 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8032 the function added as MATCH to `eshell-interpreter-alist'.
8034 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8035 (eshell-visual-options): New defcustom.
8036 (eshell-escape-control-x): Adapt docstring.
8037 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8038 `eshell-visual-options' in addition to `eshell-visual-commands'.
8039 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8041 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8043 * progmodes/python.el (python-indent-block-enders): Add break,
8044 continue and raise keywords.
8046 2013-06-01 Glenn Morris <rgm@gnu.org>
8048 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8050 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8051 * progmodes/cc-cmds.el (delete-forward-p):
8052 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8053 * progmodes/cc-engine.el (buffer-syntactic-context):
8054 * progmodes/cc-fonts.el (face-property-instance):
8055 * progmodes/cc-mode.el (set-keymap-parents):
8056 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8057 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8058 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8059 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8060 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8062 * progmodes/cc-vars.el (other): Emacs has this widget since
8063 at least 21.1, so don't (re)define it.
8065 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8066 Replace the obsolete alias pcomplete-arg-quote-list.
8068 2013-06-01 Leo Liu <sdl.web@gmail.com>
8070 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8072 (inferior-octave-minimal-columns)
8073 (inferior-octave-last-column-width): New variables.
8074 (inferior-octave-track-window-width-change): New function.
8075 (inferior-octave-mode): Adjust column width so that Octave output,
8076 for example from 'ls', can fit into the window nicely.
8078 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8080 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8081 Highlight expansions inside regexp literals.
8083 2013-05-31 Glenn Morris <rgm@gnu.org>
8085 * obsolete/sym-comp.el (symbol-complete):
8086 Replace obsolete completion-annotate-function.
8088 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8090 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8092 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8093 New function, checks if point is inside a literal that allows
8094 expression expansion.
8095 (ruby-syntax-propertize-expansion): Use it.
8096 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8099 2013-05-30 Juri Linkov <juri@jurta.org>
8101 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8103 (isearch-invisible): New variable.
8104 (isearch-forward): Doc fix.
8105 (isearch-mode): Set `isearch-invisible'
8106 to the value of `search-invisible'.
8107 (isearch-toggle-case-fold): Doc fix.
8108 (isearch-toggle-invisible): New command.
8109 (isearch-query-replace): Let-bind `search-invisible'
8110 to the value of `isearch-invisible'.
8111 (isearch-search): Use `isearch-invisible' instead of
8112 `search-invisible'. Let-bind `search-invisible'
8113 to the value of `isearch-invisible'. (Bug#11378)
8115 2013-05-30 Juri Linkov <juri@jurta.org>
8117 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8118 call when `query-flag' is nil and `search-invisible' is non-nil.
8121 2013-05-30 Glenn Morris <rgm@gnu.org>
8123 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8125 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8126 (cc-require): Suppress spurious "noruntime" warnings.
8127 (cc-require-when-compile): Use fboundp, for sake of compiler.
8129 * progmodes/cc-mode.el: Move load of cc-vars before that of
8130 cc-langs (which in turn loads cc-vars), to quieten compiler.
8132 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8134 * paren.el: Simplify the code.
8135 (show-paren-mode): Always start the timer.
8136 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8137 (show-paren--overlay, show-paren--overlay-1): Rename from
8138 show-paren-overlay and show-paren-overlay-1, and initialize to an
8139 overlay rather than to nil.
8140 (show-paren-function): Misc cleanup and simplifications.
8142 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8144 * paren.el (show-paren-data-function): New hook.
8145 (show-paren--default): New function, extracted from show-paren-function.
8146 (show-paren-function): Use show-paren-data-function.
8148 2013-05-30 Glenn Morris <rgm@gnu.org>
8150 * ielm.el (ielm-map, ielm-complete-symbol):
8151 Use completion-at-point rather than obsolete functions.
8152 (inferior-emacs-lisp-mode): Doc fix.
8153 Set completion-at-point-functions, rather than
8154 comint-dynamic-complete-functions.
8156 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8157 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8158 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8160 * image.el (image-animated-p): Tweak definition.
8162 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8163 (rlogin-process-connection-type): Tweak default. Add set-after.
8164 (rlogin-host): Doc fix.
8165 (rlogin): Tweak prompt.
8166 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8168 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8169 * progmodes/tcl.el (inferior-tcl-mode-map):
8170 Use completion-at-point rather than obsolete alias.
8172 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8174 * minibuffer.el (read-file-name-completion-ignore-case):
8175 Move before completion--in-region, for eager macro expansion.
8177 2013-05-29 Juri Linkov <juri@jurta.org>
8179 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8180 for total count of matching lines. Add `global-matches' for total
8181 count of matches. Rename `matches' to `lines' for count of
8182 matching lines. Add `matches' for count of matches.
8183 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8184 to `prev-line' for line number of prev match endpt.
8185 Increment `matches' for every match. Print the number of
8186 matching lines in the header.
8187 (occur-context-lines): Rename `lines' to `curr-line'.
8188 Rename `prev-lines' to `prev-line'. (Bug#14017)
8190 2013-05-29 Juri Linkov <juri@jurta.org>
8192 * replace.el (perform-replace): Add `skip-read-only-count',
8193 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8194 Increment them for corresponding conditions and report the number
8195 of skipped occurrences in the final message. (Bug#11746)
8196 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8197 (replace-string, replace-regexp): Doc fix.
8199 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8201 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8203 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8204 prog-mode-map (bug#14504).
8206 2013-05-29 Leo Liu <sdl.web@gmail.com>
8208 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8209 (octave-help): Small simplification.
8211 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8212 off the highlight first.
8214 2013-05-29 Glenn Morris <rgm@gnu.org>
8216 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8217 Handle idlwave-last-system-routine-info-cons-cell being nil.
8219 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8220 (idlwave-write-paths): Simplify via with-temp-buffer.
8222 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8223 * emulation/cua-rect.el: Also load cua-base at run time.
8225 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8226 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8227 (cperl-imenu-on-info): Require imenu.
8229 2013-05-28 Alan Mackenzie <acm@muc.de>
8231 Handle "capitalised keywords" correctly.
8232 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8234 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8236 * eshell/em-unix.el: Add -r option to cp.
8238 2013-05-28 Glenn Morris <rgm@gnu.org>
8240 * vc/vc-arch.el (vc-exec-after): Declare.
8241 (vc-switches): Autoload.
8242 * vc/vc-bzr.el: No need to require vc when compiling.
8243 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8244 (vc-resynch-buffer, vc-dir-refresh): Declare.
8245 (vc-setup-buffer, vc-switches): Autoload.
8246 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8247 (vc-resynch-buffer): Declare.
8248 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8249 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8250 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8251 (grep-read-regexp, grep-read-files, grep-expand-template)
8252 (vc-dir-refresh): Declare.
8253 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8254 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8255 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8256 * vc/vc-mtn.el (vc-exec-after): Declare.
8257 (vc-switches): Autoload.
8258 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8259 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8260 (vc-file-tree-walk): Declare.
8261 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8262 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8263 (vc-tag-precondition, vc-rename-master): Autoload.
8264 * vc/vc-svn.el (vc-exec-after): Declare.
8265 (vc-switches, vc-setup-buffer): Autoload.
8266 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8268 (vc-resynch-buffer): Declare.
8270 * obsolete/fast-lock.el (byte-compile-warnings):
8271 Don't warn about obsolete features in this obsolete file.
8273 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8274 Move definition before use.
8276 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8277 (dun-unix-verbs): Remove dun-zippy.
8278 (dun-zippy): Remove function.
8280 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8282 2013-05-27 Juri Linkov <juri@jurta.org>
8284 * replace.el (replace-search): New function with code moved out
8285 from `perform-replace'.
8286 (replace-highlight, replace-dehighlight): Move function definitions
8287 up closer to `replace-search'. (Bug#11746)
8289 2013-05-27 Juri Linkov <juri@jurta.org>
8291 * replace.el (perform-replace): Ignore invisible matches.
8292 In addition to checking `query-replace-skip-read-only', also
8293 filter out matches by calling `run-hook-with-args-until-failure'
8294 on `isearch-filter-predicates', and also check `search-invisible'
8295 for t or call `isearch-range-invisible'.
8296 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8298 2013-05-27 Juri Linkov <juri@jurta.org>
8300 * isearch.el (isearch-filter-predicates): Rename from
8301 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8302 (isearch-message-prefix): Display text from the property
8303 `isearch-message-prefix' of the currently active filters.
8304 (isearch-search): Don't compare `isearch-filter-predicate' with
8305 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8306 on `isearch-filter-predicates'. Also check `search-invisible' for t
8307 or call `isearch-range-invisible'.
8308 (isearch-filter-visible): Make obsolete.
8309 (isearch-lazy-highlight-search):
8310 Call `run-hook-with-args-until-failure' on
8311 `isearch-filter-predicates' and use `isearch-range-invisible'.
8313 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8314 `isearch-filter-predicates' instead of `funcall'ing
8315 `isearch-filter-predicate'.
8316 (Info-mode): Set `Info-isearch-filter' to
8317 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8319 * dired-aux.el (dired-isearch-filter-predicate-orig):
8321 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8322 (dired-isearch-filenames-end): Add and remove
8323 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8324 instead of changing the value of `isearch-filter-predicate'.
8325 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8326 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8327 Put property `isearch-message-prefix' to "filename " on
8328 `dired-isearch-filter-filenames'.
8330 * wdired.el (wdired-change-to-wdired-mode):
8331 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8332 locally instead of changing `isearch-filter-predicate'.
8333 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8335 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8337 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8338 return the commit hash (Bug#14459). Also set the
8339 `vc-git-detached' property.
8340 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8341 (vc-git-mode-line-string): Use the same help-echo format whether
8342 in detached mode or not, because we know the actual revision now.
8343 When in detached mode, shorten the revision to 7 chars.
8345 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8347 * emacs-lisp/easy-mmode.el (define-minor-mode):
8348 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8349 mode hook and provide a docstring.
8351 2013-05-27 Alan Mackenzie <acm@muc.de>
8353 Remove spurious syntax-table text properties inserted by C-y.
8354 * progmodes/cc-mode.el (c-after-change): Also clear hard
8355 syntax-table property with value nil.
8357 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8359 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8360 when reading the events; the buffer layout shall not be changed.
8362 2013-05-27 Leo Liu <sdl.web@gmail.com>
8364 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8366 (inferior-octave-directory-tracker): Automatically re-sync
8368 (octave-help): Improve handling of 'See also'.
8370 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8372 * doc-view.el: Minor naming convention tweaks.
8373 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8375 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8376 even if there's no `display' property yet (bug#14435).
8378 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8380 * subr.el (unmsys--file-name): Rename from reveal-filename.
8382 * Makefile.in (custom-deps, finder-data, autoloads)
8383 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8384 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8385 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8387 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8389 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8390 error-completion on the first 2 args of condition-case (bug#14446).
8393 2013-05-25 Leo Liu <sdl.web@gmail.com>
8395 * comint.el (comint-previous-matching-input): Do not flood the
8396 *Messages* buffer with trivial messages.
8398 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8400 * progmodes/flymake.el (flymake-nop): Don't return a string.
8401 (flymake-set-at): Fix typo.
8403 * simple.el (read--expression): New function, extracted from
8404 eval-expression. Set completion-at-point-functions (bug#14465).
8405 (eval-expression, eval-minibuffer): Use it.
8407 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8409 * progmodes/flymake.el (flymake-save-buffer-in-file)
8410 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8411 (flymake-selected-frame, flymake-log, flymake-ins-after)
8412 (flymake-set-at, flymake-get-buildfile-from-cache)
8413 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8414 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8415 Refine the doc string.
8416 (flymake-get-file-name-mode-and-masks): Reformat.
8417 (flymake-get-real-file-name-function): Fix a minor bug.
8419 2013-05-24 Juri Linkov <juri@jurta.org>
8421 * progmodes/grep.el (grep-mode-font-lock-keywords):
8422 Support =linenumber= format used by git-grep for lines with
8423 function names. (Bug#13549)
8425 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8427 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8428 0 after a semi-colon; it works better for smie-auto-fill.
8429 (octave--indent-new-comment-line): New function.
8430 (octave-indent-new-comment-line): Use it (indirectly).
8431 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8432 modify comment-line-break-function.
8434 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8435 (smie-setup): Use add-function to set it.
8437 2013-05-24 Sam Steingold <sds@gnu.org>
8439 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8440 argument (before the `interactive' argument).
8442 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8444 * image-mode.el (image-mode-winprops): Add winprops to
8445 image-mode-winprops-alist before running
8446 image-mode-new-window-functions.
8447 * doc-view.el (doc-view-new-window-function): Don't delay
8448 doc-view-goto-page via timers (bug#14435).
8450 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8452 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8453 (doc-view-desktop-save-buffer): New function.
8454 (doc-view-restore-desktop-buffer): New function.
8455 (desktop-buffer-mode-handlers):
8456 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8458 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8459 `desktop-save-buffer' function.
8461 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8463 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8464 (tramp-gvfs-file-name-handler): Raise a user error when
8465 `tramp-gvfs-enabled' is nil.
8466 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8467 Do not raise a user error when loading package. (Bug#14447)
8469 * net/xesam.el: Move to obsolete/.
8471 2013-05-24 Glenn Morris <rgm@gnu.org>
8473 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8475 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8477 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8478 (Info-find-node, Man-getpage-in-background): Declare.
8480 * mail/unrmail.el (unrmail):
8481 Replace obsolete detect-coding-with-priority.
8483 * net/socks.el (socks-split-string): Use this rather than split-string.
8484 (socks-nslookup-host): Update for above change.
8485 (dynamic-choice, s5-dynamic-choice-match)
8486 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8487 Comment out unused code.
8489 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8490 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8491 (gud-tooltip-echo-area): Make obsolete.
8492 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8494 * progmodes/js.el (js--optimize-arglist): Declare.
8496 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8498 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8499 (ediff-window-C): Declare.
8501 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8502 Tweak requires to silence compiler.
8504 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8505 (he-search-string, he-tried-table, he-expand-list)
8506 (he-init-string, he-string-member, he-substitute-string)
8507 (he-reset-string): Declare.
8509 * obsolete/options.el (list-options): Use custom-variable-p,
8510 rather than obsolete alias.
8512 2013-05-23 Sam Steingold <sds@gnu.org>
8514 * simple.el (shell-command-on-region): Pass the `replace' argument
8515 down to `call-process-region' to comply with the doc as reported on
8516 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8518 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8520 * emacs-lisp/smie.el (smie-indent-forward-token)
8521 (smie-indent-backward-token): Handle string tokens (bug#14381).
8523 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8525 * ielm.el (ielm-menu): New menu.
8526 (inferior-emacs-lisp-mode): Set comment-start.
8528 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8530 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8531 Fix deactivate action.
8533 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8534 Add cleveref macros.
8536 * lisp/textmodes/reftex-parse.el
8537 (reftex-locate-bibliography-files): Accept options for
8538 bibliography commands.
8539 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8540 Add addbibresource. Basic Biblatex support.
8542 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8544 * net/tramp-gvfs.el (top):
8545 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8546 when loading package. (Bug#14447)
8548 2013-05-23 Glenn Morris <rgm@gnu.org>
8550 * progmodes/js.el: No need to load comint when compiling.
8551 (ring-insert, comint-send-string, comint-send-input)
8552 (comint-last-input-end, ido-chop): Declare.
8554 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8555 * vc/ediff-mult.el: Adjust requires.
8556 (ediff-directories-internal, ediff-directory-revisions-internal)
8557 (ediff-patch-file-internal): Declare.
8558 * vc/ediff-ptch.el: Adjust requires.
8559 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8560 (ediff-find-file): Autoload.
8561 * vc/ediff-util.el: No need to load ediff when compiling.
8562 (ediff-regions-internal): Declare.
8563 * vc/ediff-wind.el: Adjust requires.
8564 (ediff-compute-toolbar-width): Define when compiling.
8565 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8566 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8567 (dired-get-filename, dired-get-marked-files)
8568 (ediff-last-dir-patch, ediff-patch-default-directory)
8569 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8570 (ediff-patch-buffer-internal): Declare.
8572 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8573 (ispell-process, ispell-buffer-local-words, lm-summary)
8574 (lm-section-start, lm-section-end): Declare.
8575 (checkdoc-ispell-init): Simplify.
8577 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8578 (he-string-member, he-reset-string, he-substitute-string): Declare.
8580 * eshell/em-ls.el: Adjust requires.
8581 (eshell-glob-regexp): Declare.
8582 * eshell/em-tramp.el: Adjust requires.
8583 (eshell-parse-command): Autoload.
8584 * eshell/em-xtra.el: Adjust requires.
8585 (eshell-parse-command): Autoload.
8586 * eshell/esh-ext.el: Adjust requires.
8587 (eshell-parse-command, eshell-close-handles): Autoload.
8588 * eshell/esh-io.el: Adjust requires.
8589 (eshell-output-filter): Autoload.
8590 * eshell/esh-util.el: No need to load tramp when compiling.
8591 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8593 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8594 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8595 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8596 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8597 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8598 * eshell/esh-opt.el, eshell/esh-proc.el:
8599 * eshell/esh-var.el: Adjust requires.
8600 * eshell/eshell.el: Do not require esh-util twice.
8601 (eshell-add-input-to-history): Declare.
8602 (eshell-command): Check history module is active before using it.
8604 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8606 2013-05-22 Leo Liu <sdl.web@gmail.com>
8608 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8610 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8612 * autorevert.el (auto-revert-notify-add-watch)
8613 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8614 it indicates changes in file modification time.
8616 2013-05-22 Glenn Morris <rgm@gnu.org>
8618 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8619 Always delete the autoloaded function from the noruntime and
8620 unresolved functions lists.
8622 * allout.el: No need to load epa, epg, overlay when compiling.
8623 (epg-context-set-passphrase-callback, epg-list-keys)
8624 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8625 (epg-key-user-id-list): Declare.
8627 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8628 (viper-set-parsing-style-toggling-macro)
8629 (viper-set-emacs-state-searchstyle-macros):
8630 Use called-interactively-p on Emacs.
8631 (viper-looking-back): Make it an obsolete alias. Update callers.
8632 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8633 Use looking-back rather than viper-looking-back.
8634 (viper-tmp-insert-at-eob, viper-enlarge-region)
8635 (viper-read-string-with-history, viper-register-to-point)
8636 (viper-append-to-register, viper-change-state-to-vi)
8637 (viper-backward-char-carefully, viper-forward-char-carefully)
8638 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8639 (viper-change-state-to-emacs): Declare.
8640 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8641 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8642 * emulation/viper-mous.el: Do not load viper-cmd.
8643 (viper-backward-char-carefully, viper-forward-char-carefully)
8644 (viper-forward-word, viper-adjust-window): Declare.
8646 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8648 * progmodes/idlw-help.el (idlwave-help-fontify):
8649 Use called-interactively-p.
8651 * term/w32console.el (w32-get-console-codepage)
8652 (w32-get-console-output-codepage): Declare.
8654 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8655 Remove unnecessary declarations.
8656 (dframe-message): Doc fix.
8658 * info.el (dframe-select-attached-frame, dframe-current-frame):
8661 * speedbar.el (speedbar-message): Make it an obsolete alias.
8663 (speedbar-with-attached-buffer)
8664 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8665 (speedbar-with-writable): Use backquote.
8666 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8667 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8668 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8669 rather than speedbar- aliases.
8670 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8671 (speedbar-make-specialized-keymap, speedbar-insert-button)
8672 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8673 (speedbar-do-function-pointer): Declare.
8674 (rmail-speedbar-button, rmail-speedbar-find-file)
8675 (rmail-speedbar-move-message):
8676 Use dframe-with-attached-buffer rather than speedbar- alias.
8677 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8678 (dframe-message, speedbar-make-specialized-keymap)
8679 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8680 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8681 (speedbar-insert-button, dframe-select-attached-frame)
8682 (dframe-maybee-jump-to-attached-frame)
8683 (speedbar-change-initial-expansion-list)
8684 (speedbar-previously-used-expansion-list-name): Declare.
8685 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8686 Use dframe-message, dframe-with-attached-buffer rather than
8688 (gud-sentinel): Silence compiler.
8689 * progmodes/vhdl-mode.el (speedbar-refresh)
8690 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8691 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8692 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8693 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8694 (speedbar-file-lists, speedbar-make-tag-line)
8695 (speedbar-line-directory, speedbar-goto-this-file)
8696 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8697 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8698 (speedbar-make-button, speedbar-reset-scanners)
8699 (speedbar-files-item-info, speedbar-line-text)
8700 (speedbar-find-file-in-frame, speedbar-set-timer)
8701 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8702 (speedbar-with-writable): Do not (re)define it.
8703 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8704 rather than speedbar- alias.
8706 2013-05-21 Leo Liu <sdl.web@gmail.com>
8708 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8710 (octave-mode): Tweak fill-nobreak-predicate.
8711 (inferior-octave-startup): Check process to avoid infinite loop.
8712 (inferior-octave): Pop to buffer first to show abornmal process
8715 2013-05-21 Glenn Morris <rgm@gnu.org>
8717 * printing.el (pr-menu-bar): Define when compiling.
8719 2013-05-21 Leo Liu <sdl.web@gmail.com>
8721 * progmodes/octave.el (octave-auto-fill): Remove.
8722 (octave-indent-new-comment-line): Improve.
8723 (octave-mode): Use auto fill mode through
8724 comment-line-break-function and fill-nobreak-predicate.
8725 (octave-goto-function-definition): Support DEFUN_DLD.
8726 (octave-beginning-of-defun): Small tweak.
8727 (octave-help): Show parent directory.
8729 2013-05-21 Glenn Morris <rgm@gnu.org>
8731 * files.el (dired-unmark):
8732 * progmodes/gud.el (gdb-input): Update declarations.
8734 * calculator.el (electric, ehelp): No need to load when compiling.
8735 (Electric-command-loop, electric-describe-mode): Declare.
8737 * doc-view.el (doc-view-current-converter-processes): Move before use.
8739 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8740 Move MODE-set-explicitly definition before use.
8742 * international/mule-diag.el (mule-diag):
8743 Don't use obsolete window-system-version.
8745 * mail/feedmail.el (smtpmail): No need to load when compiling.
8746 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8748 * mail/mail-utils.el (rfc822): No need to load when compiling.
8749 (rfc822-addresses): Autoload it.
8750 (mail-strip-quoted-names): Trivial simplification.
8752 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8753 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8755 * net/snmp-mode.el (tempo): Don't duplicate requires.
8757 * progmodes/prolog.el (info): No need to load when compiling.
8758 (comint): Require before shell requires it.
8759 (Info-goto-node): Autoload it.
8760 (Info-follow-nearest-node): Declare.
8761 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8763 * textmodes/artist.el (picture-mode-exit): Declare.
8765 * textmodes/reftex-parse.el (reftex-parse-from-file):
8766 Trivial rewrite so the compiler can parse it better.
8768 2013-05-20 Leo Liu <sdl.web@gmail.com>
8770 * progmodes/octave.el (octave-help-mode-map)
8771 (octave-help-mode-finish-hook): New variables.
8772 (octave-help-mode, octave-help-mode-finish): New functions.
8773 (octave-help): Use octave-help-mode.
8775 2013-05-20 Glenn Morris <rgm@gnu.org>
8777 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8779 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8781 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8782 start at point, so that expansion starting right after opening
8783 slash in a regexp is recognized.
8784 (ruby-syntax-before-regexp-re): New defvar, extracted from
8785 ruby-syntax-propertize-function. Since the value of this regexp
8786 is looked up at runtime now, we should be able to turn
8787 `ruby-syntax-methods-before-regexp' into a defcustom later.
8788 (ruby-syntax-propertize-function): Split regexp matching into two
8789 parts, for opening and closing slashes. That allows us to skip
8790 over string interpolations and support multiline regexps.
8791 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8792 for them, which calls `ruby-syntax-propertize-expansion'.
8793 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8794 call to `ruby-syntax-propertize-function'.
8795 (ruby-syntax-propertize-expansion): Extracted from
8796 `ruby-syntax-propertize-expansions'. Handles one expansion.
8797 (ruby-syntax-propertize-percent-literal): Leave point right after
8798 the percent symbol, so that the expression expansion rule can
8799 propertize the contents.
8800 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8802 (ruby-syntax-propertize-expansions): Remove.
8804 2013-05-18 Juri Linkov <juri@jurta.org>
8806 * man.el (Man-default-man-entry): Remove `-' from the end
8807 of the default value. (Bug#14400)
8809 2013-05-18 Glenn Morris <rgm@gnu.org>
8811 * comint.el (comint-password-prompt-regexp):
8812 Allow "password for XXX" where XXX contains colons (eg https://...).
8814 2013-05-18 Leo Liu <sdl.web@gmail.com>
8816 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8817 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8818 (octave-source-directories): Don't check process.
8819 (octave-source-directories, octave-find-definition): Doc fix.
8821 2013-05-18 Glenn Morris <rgm@gnu.org>
8823 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8824 Remove backspace/delete bindings. (Bug#14392)
8826 * cus-dep.el (custom-make-dependencies): Sort the output.
8827 (custom-versions-load-alist): Convert comment to doc.
8829 2013-05-17 Leo Liu <sdl.web@gmail.com>
8831 * newcomment.el (comment-search-backward): Stricter in finding
8832 comment start. (Bug#14303)
8834 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8835 (octave-comment-start-skip): Properly anchored.
8837 2013-05-17 Leo Liu <sdl.web@gmail.com>
8839 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8840 Clean up when turned off. (Bug#14395)
8841 (smie--highlight-matching-block-overlay): No longer buffer-local.
8842 (smie-highlight-matching-block): Adjust.
8844 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8846 Doc string fix for "nanoseconds" (Bug#14406).
8847 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8848 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8850 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8852 * calc/calc-units.el (math-extract-units): Preserve powers
8855 2013-05-17 Leo Liu <sdl.web@gmail.com>
8857 * subr.el (delete-consecutive-dups): New function.
8858 * ido.el (ido-set-matches-1): Use it.
8859 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8860 * ido.el (ido-remove-consecutive-dups): Remove.
8862 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8864 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8865 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8866 regexp-opt's `words'.
8868 2013-05-16 Leo Liu <sdl.web@gmail.com>
8870 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8871 (smie--highlight-matching-block-overlay)
8872 (smie--highlight-matching-block-lastpos)
8873 (smie--highlight-matching-block-timer): New variables.
8874 (smie-highlight-matching-block): New function.
8875 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8876 (smie-setup): Conditionally enable smie-blink-matching-open.
8878 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8880 Sync with upstream verilog-mode r840.
8881 * progmodes/verilog-mode.el (verilog-mode-version)
8882 (verilog-mode-release-date): Update.
8883 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8884 (verilog-sig-tieoff): Fix string error on
8885 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8886 (verilog-read-decls): Fix parameters confusing
8887 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8889 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8891 * subr.el (reveal-filename): New function.
8893 * loadup.el: Compute Emacs executable versions on MS-Windows,
8894 where executables have the .exe extension. Add a hard link
8895 emacs-XX.YY.ZZ.exe on MS-Windows.
8897 * Makefile.in (XARGS_LIMIT): New variable.
8898 (custom-deps, finder-data, autoloads)
8899 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8900 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8901 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8902 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8904 2013-05-16 Leo Liu <sdl.web@gmail.com>
8906 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8907 (octave-mode-menu, octave-mode-map): Remove its uses.
8909 2013-05-16 Reto Zimmermann <reto@gnu.org>
8911 Sync with upstream vhdl mode v3.34.2.
8912 * progmodes/vhdl-mode.el: Use `push' throughout.
8913 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8914 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8915 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8916 (vhdl-actual-generic-name): New option to derive actual generic name.
8917 (vhdl-port-paste-signals): Replace formal by actual generics.
8918 (vhdl-beautify): New name for old group vhdl-align. Update users.
8919 (vhdl-beautify-options): New option.
8920 (vhdl-last-input-event): New compat alias. Use throughout.
8921 (vhdl-goto-line): Replace user level function `goto-line'.
8922 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8923 vhdl-fix-statement-buffer.
8924 (vhdl-create-mode-menu): Add some entries.
8925 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8926 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8927 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8928 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8929 to force statements on one line.
8930 (vhdl-remove-trailing-spaces-region):
8931 New, split from vhdl-remove-trailing-spaces.
8932 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8933 Respect vhdl-beautify-options.
8934 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8935 (vhdl-update-sensitivity-list): Not add with index if exists without.
8936 Not include array index with signal. Ignore keywords in comments.
8937 (vhdl-get-visible-signals): Regexp tweaks.
8938 (vhdl-template-component-inst): Handle empty library.
8939 (vhdl-template-type): Add template for 'enum' type.
8940 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8941 Use vhdl-replace-string.
8942 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8943 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8944 (vhdl-speedbar-initialize): Update for above name change.
8945 (vhdl-compose-wire-components): Fix in handling of constants.
8946 (vhdl-error-regexp-emacs-alist): New variable.
8947 (vhdl-error-regexp-add-emacs): New function;
8948 adds support for new compile.el (Emacs 22+)
8949 (vhdl-generate-makefile-1): Change target order for single lib. units.
8950 Allow use of absolute file names.
8952 2013-05-16 Leo Liu <sdl.web@gmail.com>
8954 * simple.el (prog-indent-sexp): Indent enclosing defun.
8956 2013-05-15 Glenn Morris <rgm@gnu.org>
8958 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8959 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8960 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8961 (whitespace-highlight): Move to whitespace group.
8963 * comint.el (comint-source):
8964 * pcmpl-linux.el (pcmpl-linux):
8965 * shell.el (shell-faces):
8966 * eshell/esh-opt.el (eshell-opt):
8967 * international/ccl.el (ccl): Remove empty custom groups.
8969 * completion.el (dynamic-completion-mode):
8970 * jit-lock.el (jit-lock-debug-mode):
8971 * minibuffer.el (completion-in-region-mode):
8972 * type-break.el (type-break-mode-line-message-mode)
8973 (type-break-query-mode):
8974 * emulation/tpu-edt.el (tpu-edt-mode):
8975 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8976 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8977 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8979 * term/xterm.el (xterm): Change parent group to terminals.
8981 * master.el (master): Remove empty custom group.
8982 (master-mode): Remove unused :group argument.
8983 * textmodes/refill.el (refill): Remove empty custom group.
8984 (refill-mode): Remove unused :group argument.
8986 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8988 * cus-dep.el: Provide a feature.
8989 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8990 Don't mistakenly ignore files whose basenames match a basename
8991 from preloaded-file-list (eg cedet/ede/simple.el).
8992 Add a fallback method for getting :group.
8994 2013-05-15 Juri Linkov <juri@jurta.org>
8996 * isearch.el (isearch-char-by-name): Rename from
8997 `isearch-insert-char-by-name'. Doc fix.
8998 (isearch-forward): Mention `isearch-char-by-name' in
8999 the docstring. (Bug#13348)
9001 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9002 `exit-minibuffer' instead of
9003 `isearch-nonincremental-exit-minibuffer'.
9004 (isearch-edit-string): Remove mention of
9005 `isearch-nonincremental-exit-minibuffer' from docstring.
9006 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9007 (isearch-forward-exit-minibuffer)
9008 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9010 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9012 * loadup.el: Just use unversioned DOC.
9014 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9015 literals as extending to EOB.
9016 (nxml-last-fontify-end): Remove unused variable.
9017 (nxml-after-change1): Use with-silent-modifications.
9018 (nxml-extend-after-change-region): Simplify.
9019 (nxml-extend-after-change-region1): Remove function.
9020 (nxml-after-change1): Don't adjust for dependent regions.
9021 (nxml-fontify-matcher): Simplify.
9022 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9023 (xmltok-add-dependent): Remove function.
9024 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9025 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9026 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9027 unclosed <[[, <?, comment, and other literals as extending to EOB.
9028 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9029 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9031 (rng-do-some-validation-1): Don't mark dependent regions.
9032 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9033 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9034 (nxml-clear-dependent-regions): Remove functions.
9035 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9036 (nxml-ensure-scan-up-to-date):
9037 Don't clear&mark dependent regions.
9039 2013-05-15 Leo Liu <sdl.web@gmail.com>
9041 * progmodes/octave.el (octave-goto-function-definition):
9042 Improve and fix callers.
9044 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9046 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9047 the setter (bug#14387).
9049 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9050 surrounding group (bug#14402).
9052 2013-05-14 Juri Linkov <juri@jurta.org>
9054 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9057 2013-05-14 Glenn Morris <rgm@gnu.org>
9059 * progmodes/f90.el (f90-imenu-generic-expression):
9060 Fix typo in 2013-05-08 change. (Bug#14402)
9062 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9064 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9065 Remove signals for which replies are never received.
9067 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9069 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9070 (gdb-handler-alist, gdb-handler-number): Remove variables.
9071 (gdb-handler-list): New variable.
9072 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9073 (gdb-pending-handler-p, gdb-handle-reply)
9074 (gdb-remove-all-pending-triggers): New functions.
9075 (gdb-discard-unordered-replies): New defcustom.
9076 (gdb-handler): New defstruct.
9077 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9078 instead of gdb-pending-triggers. Update docstring.
9079 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9080 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9081 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9082 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9083 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9084 (gdb-frame-handler): Pending triggers are now automatically managed.
9085 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9087 (gdb-input): Automatically handles pending triggers. Update docstring.
9088 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9089 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9091 (gdb-done-or-error): Now use gdb-handle-reply.
9093 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9095 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9098 2013-05-14 Glenn Morris <rgm@gnu.org>
9100 * subr.el (user-emacs-directory-warning): New option.
9101 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9103 2013-05-14 Leo Liu <sdl.web@gmail.com>
9105 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9107 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9108 (octave-font-lock-texinfo-comment): Fix invalid search bound
9109 error: wrong side of point.
9111 2013-05-14 Glenn Morris <rgm@gnu.org>
9113 * progmodes/flymake.el (flymake-xml-program): New option.
9114 (flymake-xml-init): Use it.
9116 * term/xterm.el: Provide a feature.
9118 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9120 2013-05-13 Glenn Morris <rgm@gnu.org>
9122 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9123 Add compat aliases as a hack workaround. (Bug#14384)
9125 2013-05-13 Leo Liu <sdl.web@gmail.com>
9127 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9129 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9131 (octave-comment-start-skip): Include %!.
9132 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9134 2013-05-12 Leo Liu <sdl.web@gmail.com>
9136 * progmodes/octave.el (inferior-octave-startup): Store the value
9137 of __octave_srcdir__ for octave-source-directories.
9138 (inferior-octave-check-process): New function refactored out of
9139 inferior-octave-send-list-and-digest.
9140 (octave-source-directories)
9141 (octave-find-definition-filename-function): New variables.
9142 (octave-source-directories)
9143 (octave-find-definition-default-filename): New functions.
9144 (octave-find-definition): Improve to find functions implemented in C++.
9146 2013-05-12 Glenn Morris <rgm@gnu.org>
9148 * calendar/diary-lib.el (diary-outlook-format-1):
9149 Don't include dayname in the output. (Bug#14349)
9151 2013-05-11 Glenn Morris <rgm@gnu.org>
9153 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9155 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9156 Treat cc-provide like provide.
9158 2013-05-11 Kevin Ryde <user42@zip.com.au>
9160 * cus-dep.el (custom-make-dependencies):
9161 Use generated-autoload-load-name for the sake of files such
9162 such cedet/semantic/bovine/c.el, where the base file name
9163 is not in load-path. (Bug#5277)
9165 2013-05-11 Glenn Morris <rgm@gnu.org>
9167 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9170 2013-05-11 Leo Liu <sdl.web@gmail.com>
9172 * progmodes/octave.el (octave-indent-comment): Improve.
9173 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9174 (octave-eldoc-function-signatures, octave-eldoc-function):
9176 (octave-mode, inferior-octave-mode): Add eldoc support.
9178 2013-05-11 Richard Stallman <rms@gnu.org>
9180 * epa.el (epa-decrypt-file): Take output file name as argument
9181 and read it using `interactive'.
9183 2013-05-11 Leo Liu <sdl.web@gmail.com>
9185 * progmodes/octave.el (octave-beginning-of-line)
9186 (octave-end-of-line): Check before using up-list because it jumps
9187 out of more syntactic contructs since moving to smie.
9188 (octave-indent-comment): New function.
9189 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9190 (octave-begin-keywords, octave-end-keywords)
9191 (octave-reserved-words, octave-smie-bnf-table)
9192 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9194 2013-05-11 Glenn Morris <rgm@gnu.org>
9196 * faces.el (internal-face-x-get-resource):
9197 * frame.el (ns-display-monitor-attributes-list):
9198 * calc/calc-aent.el (math-to-radians-2):
9199 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9202 * calc/calc-menu.el: Make it loadable in isolation.
9204 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9205 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9206 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9207 (eudc-bbdb-query-internal): Require 'bbdb.
9209 * lpr.el (lpr-headers-switches):
9210 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9212 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9214 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9216 * term.el (term-set-escape-char): Make it idempotent.
9218 2013-05-10 Leo Liu <sdl.web@gmail.com>
9220 * progmodes/octave.el (inferior-octave-completion-table):
9221 No longer a function and all uses changed. Use cache to speed up
9222 completion due to bug#11906.
9223 (octave-beginning-of-defun): Re-write to be more general.
9225 2013-05-10 Glenn Morris <rgm@gnu.org>
9227 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9229 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9231 * comint.el (comint-redirect-send-command-to-process): Use :around
9232 rather than :override for comint-redirect-filter.
9233 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9234 Call it instead of comint-redirect-original-filter-function (which
9235 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9237 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9239 * frame.el (display-monitor-attributes-list): Add NS case.
9240 (ns-display-monitor-attributes-list): Declare.
9242 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9244 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9246 2013-05-09 Glenn Morris <rgm@gnu.org>
9248 * international/fontset.el (vertical-centering-font-regexp):
9251 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9253 * bookmark.el (bookmark-search-delay):
9254 * cus-start.el (vertical-centering-font-regexp):
9255 * ps-mule.el (ps-mule-font-info-database-default):
9256 * ps-print.el (ps-default-fg, ps-default-bg):
9257 * type-break.el (type-break-good-break-interval):
9258 * whitespace.el (whitespace-indentation-regexp)
9259 (whitespace-space-after-tab-regexp):
9260 * emacs-lisp/testcover.el (testcover-1value-functions)
9261 (testcover-noreturn-functions, testcover-progn-functions)
9262 (testcover-prog1-functions):
9263 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9264 * eshell/em-glob.el (eshell-glob-translate-alist):
9265 * play/tetris.el (tetris-tty-colors):
9266 * progmodes/cpp.el (cpp-face-default-list):
9267 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9268 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9269 (idlwave-help-browser-generic-args):
9270 * progmodes/make-mode.el (makefile-special-targets-list):
9271 * progmodes/python.el (python-shell-virtualenv-path):
9272 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9273 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9274 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9275 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9276 * textmodes/reftex-vars.el (reftex-format-label-function):
9277 * textmodes/remember.el (remember-diary-file): Fix custom types.
9279 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9282 2013-05-09 Leo Liu <sdl.web@gmail.com>
9284 * progmodes/octave.el (inferior-octave-completion-at-point):
9285 Restore file completion. (Bug#14300)
9286 (inferior-octave-startup): Fix incorrect highlighting for the
9289 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9291 * progmodes/ruby-mode.el: First cut at SMIE support.
9292 (ruby-use-smie): New var.
9293 (ruby-smie-grammar): New constant.
9294 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9295 (ruby-smie--forward-token, ruby-smie--backward-token)
9296 (ruby-smie-rules): New functions.
9297 (ruby-mode-variables): Setup SMIE if applicable.
9299 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9301 * simple.el (line-move-visual): Signal beginning/end of buffer
9302 only if vertical-motion moved less than it was requested. Avoids
9303 silly incorrect error messages when there are display strings with
9304 multiple newlines at EOL.
9306 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9308 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9309 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9310 (prolog-char-quote-workaround):
9311 * progmodes/cperl-mode.el (cperl-under-as-char):
9312 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9314 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9316 (vhdl-mode-syntax-table-init): Remove.
9318 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9321 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9323 (ld-script-font-lock-keywords):
9324 Change regexps to use things like \_< and \_>.
9326 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9327 Change all regexps to use things like \_< and \_>.
9329 * progmodes/autoconf.el (autoconf-definition-regexp)
9330 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9331 Handle a _ with symbol syntax.
9332 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9334 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9335 Consolidate declaration.
9336 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9338 (ada-create-syntax-table): Remove.
9339 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9340 already has the right syntax nowadays.
9341 (ada-goto-next-word): Don't change the syntax of "_".
9343 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9346 2013-05-08 Sam Steingold <sds@gnu.org>
9348 * thingatpt.el (thing-at-point): Accept optional second argument
9349 NO-PROPERTIES to strip the text properties from the return value.
9350 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9351 to `thing-at-point' instead of stripping the properties ourselves.
9352 Also, when `thing-at-point' fails to find a url, prepend "http://"
9353 to the filename at point on the assumption that the user is
9354 pointing at something like gnu.org/gnu.
9356 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9358 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9359 * faces.el (crm-separator):
9360 Silence byte-compiler.
9362 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9363 (tool-bar-map): Remove unneeded defvars.
9365 2013-05-08 Leo Liu <sdl.web@gmail.com>
9367 Re-work a fix for bug#10994 based on Le Wang's patch.
9368 * ido.el (ido-remove-consecutive-dups): New helper.
9369 (ido-completing-read): Use it.
9370 (ido-chop): Revert fix for bug#10994.
9372 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9374 * cus-edit.el (custom-save-variables):
9375 Pretty-print long values. (Bug#14187)
9377 2013-05-08 Glenn Morris <rgm@gnu.org>
9379 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9380 (m4-mode-syntax-table): Init in the defvar.
9381 (m4-mode-abbrev-table): Let define-derived-mode define it.
9383 2013-05-08 Tom Tromey <tromey@redhat.com>
9385 * progmodes/m4-mode.el (m4-mode-syntax-table):
9386 Do not treat "_" as word constituent. (Bug#14167)
9388 2013-05-07 Glenn Morris <rgm@gnu.org>
9390 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9391 Remove explicit eshell-isearch-cancel-map.
9393 * progmodes/f90.el (f90-smart-end-names): New option.
9394 (f90-smart-end): Doc fix.
9395 (f90-end-block-optional-name): New constant.
9396 (f90-block-match): Respect f90-smart-end-names.
9398 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9400 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9401 about implicit semi-colons (bug#14218).
9403 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9405 * frame.el (display-monitor-attributes-list)
9406 (frame-monitor-attributes): New functions.
9408 2013-05-06 Leo Liu <sdl.web@gmail.com>
9410 * progmodes/octave.el (octave-syntax-propertize-function): Change
9411 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9412 (octave-font-lock-keywords): Use octave-operator-regexp.
9413 (octave-completion-at-point): Rename from
9414 octave-completion-at-point-function.
9415 (inferior-octave-directory-tracker): Robustify.
9416 (octave-text-functions): Remove and fix its uses. No such things
9419 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9421 * emacs-lisp/trace.el (trace--display-buffer): New function.
9422 (trace-make-advice): Use it.
9424 2013-05-06 Juri Linkov <juri@jurta.org>
9426 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9427 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9429 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9430 in the help string. (Bug#12985)
9432 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9434 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9436 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9438 * progmodes/perl-mode.el: Add support for here documents.
9439 (perl-syntax-propertize-function): Match here-doc markers.
9440 (perl-syntax-propertize-special-constructs): Find their end.
9441 (perl-imenu-generic-expression): Use [:alnum:].
9443 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9444 (advice--add-function): Refresh the advice if already present
9447 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9449 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9451 2013-05-06 Glenn Morris <rgm@gnu.org>
9453 * w32-fns.el (w32-charset-info-alist): Declare.
9455 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9456 of its defcustom properties.
9457 (eshell-cmpl-initialize): No need to load pcomplete.
9459 * generic-x.el: No need to require comint when compiling.
9461 * net/eudc-export.el: Make it loadable without bbdb.
9462 (top-level): Use require rather than load-library.
9463 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9464 (eudc-batch-export-records-to-bbdb)
9465 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9468 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9470 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9471 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9472 some tweaks, instead.
9474 2013-05-05 Leo Liu <sdl.web@gmail.com>
9476 * progmodes/octave.el (octave-font-lock-keywords)
9477 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9478 (inferior-octave-send-list-and-digest): Improve error message.
9479 (octave-mode, inferior-octave-mode): Use setq-local.
9480 (octave-help): Set info-lookup-mode.
9482 2013-05-05 Richard Stallman <rms@gnu.org>
9484 * vc/compare-w.el (compare-windows-whitespace):
9485 Treat no-break space as whitespace.
9487 * mail/rmailsum.el (rmail-summary-rmail-update):
9488 Detect empty summary and don't change selected message.
9489 (rmail-summary-goto-msg): Likewise.
9491 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9492 Doc fixes, rename args.
9494 2013-05-05 Alan Mackenzie <acm@muc.de>
9496 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9498 2013-05-05 Juri Linkov <juri@jurta.org>
9500 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9501 to not add the length of the summary segment to the return value.
9504 2013-05-05 Leo Liu <sdl.web@gmail.com>
9506 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9507 (inferior-octave-output-filter): Remove.
9508 (octave-send-region, inferior-octave-startup): Fix callers.
9509 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9510 (octave-binary-file-extensions): New user variable.
9511 (octave-find-definition): Confirm if opening binary files.
9512 (octave-help-file): Use octave-find-definition to get the binary
9514 (octave-help): Adjust for octave-help-file change.
9516 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9518 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9519 Merge the two entries that handle function definitions.
9520 (pascal--syntax-propertize): New const.
9521 (pascal-mode): Use it. Use setq-local.
9523 2013-05-04 Glenn Morris <rgm@gnu.org>
9525 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9526 (diary-from-outlook): Respect diary-from-outlook-function.
9528 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9530 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9531 Move the declaration from C.
9532 (read-minibuffer, eval-minibuffer): Move from C.
9533 (completion-setup-function): Avoid minibuffer-completion-contents.
9535 2013-05-03 Leo Liu <sdl.web@gmail.com>
9537 * progmodes/octave.el (octave-font-lock-keywords): Do not
9538 dehighlight 'end' in comments or strings.
9539 (octave-completing-read, octave-goto-function-definition):
9541 (octave-help-buffer): New user variable.
9542 (octave-help-file, octave-help-function): New button types.
9543 (octave-help): New command and bind it to C-h ;.
9544 (octave-find-definition): New command and bind it to M-.
9545 (user-error): Alias to error if not defined.
9547 2013-05-02 Leo Liu <sdl.web@gmail.com>
9549 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9551 (octave-font-lock-keywords): Include [ and {.
9553 2013-05-02 Leo Liu <sdl.web@gmail.com>
9555 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9556 (inferior-octave): Remove calling comint-mode and return the buffer.
9557 (inferior-octave-startup): Cosmetic changes.
9559 2013-05-02 Leo Liu <sdl.web@gmail.com>
9561 * progmodes/octave.el (octave-syntax-propertize-function):
9562 Include the case when ' is at line beginning. (Bug#14336)
9564 2013-05-02 Glenn Morris <rgm@gnu.org>
9566 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9567 * desktop.el (vc-dir-mode): Just autoload it here.
9569 2013-05-02 Alan Mackenzie <acm@muc.de>
9571 Eliminate variable c-standard-font-lock-fontify-region-function.
9572 * progmodes/cc-mode.el
9573 (c-standard-font-lock-fontify-region-function): Remove.
9574 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9576 2013-05-01 Leo Liu <sdl.web@gmail.com>
9578 * progmodes/octave.el: Compatible with older emacs-24 releases.
9579 (inferior-octave-has-built-in-variables): Remove. Built-in
9580 variables were removed from Octave in 2007.
9581 (inferior-octave-startup): Fix uses.
9582 (comint-line-beginning-position): Remove compatibility code for
9585 2013-05-01 Juri Linkov <juri@jurta.org>
9587 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9589 2013-05-01 Juri Linkov <juri@jurta.org>
9591 * comint.el (comint-previous-matching-input): Don't print message
9592 "History item: %d" when `isearch-mode' is active.
9593 (comint-history-isearch-message): Print message "History item: %d"
9594 when `comint-input-ring-index' is not empty and this function is
9595 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9597 2013-05-01 Leo Liu <sdl.web@gmail.com>
9599 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9600 definitions. Use completion-at-point to insert keywords.
9601 (octave-abbrev-start): Remove.
9602 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9604 2013-04-30 Leo Liu <sdl.web@gmail.com>
9606 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9609 2013-04-30 Alan Mackenzie <acm@muc.de>
9611 Handle arbitrarily long C++ member initialisation lists.
9612 * progmodes/cc-engine.el (c-back-over-member-initializers):
9614 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9615 (most) member init lists.
9617 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9619 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9622 2013-04-30 Leo Liu <sdl.web@gmail.com>
9624 * progmodes/octave.el (octave-variables): Remove. No builtin
9625 variables any more. All converted to functions.
9626 (octave-font-lock-keywords, octave-completion-at-point-function):
9628 (octave-font-lock-texinfo-comment): New user variable.
9629 (octave-texinfo-font-lock-keywords): New variable for texinfo
9631 (octave-function-comment-block): New face.
9632 (octave-font-lock-texinfo-comment): New function.
9633 (octave-mode): Font lock texinfo comment block.
9635 2013-04-29 Leo Liu <sdl.web@gmail.com>
9637 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9638 indexing expression.
9639 (octave-continuation-string): Do not use \.
9640 (inferior-octave-complete-impossible): Remove.
9641 (inferior-octave-completion-table)
9642 (inferior-octave-completion-at-point): Remove its uses.
9643 (inferior-octave-startup): completion_matches was introduced to
9644 Octave in 1996 so safe to assume it.
9645 (octave-function-file-comment): Improve to follow how Octave does it.
9646 (octave-update-function-file-comment): Tweak.
9648 2013-04-29 Leo Liu <sdl.web@gmail.com>
9650 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9651 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9652 (octave-function-file-comment): Fix typo.
9653 (octave-sync-function-file-names): Use read-char-choice.
9655 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9657 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9658 to t for the less important warnings.
9660 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9662 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9664 2013-04-27 Glenn Morris <rgm@gnu.org>
9666 * vc/log-view.el (log-view-current-entry):
9667 Treat "---" separator lines as part of the following rev. (Bug#14169)
9669 2013-04-27 Juri Linkov <juri@jurta.org>
9671 * subr.el (read-number): Doc fix about using it by interactive
9672 code letter `n'. (Bug#14254)
9674 2013-04-27 Juri Linkov <juri@jurta.org>
9676 * desktop.el (desktop-auto-save-timeout): New option.
9677 (desktop-file-checksum): New variable.
9678 (desktop-save): Add optional arg `auto-save' and don't auto-save
9680 (desktop-auto-save-timer): New variable.
9681 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9682 (after-init-hook): Call `desktop-auto-save-set-timer'.
9683 Suggested by Reuben Thomas <rrt@sc3d.org> in
9684 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9686 2013-04-27 Leo Liu <sdl.web@gmail.com>
9688 * progmodes/octave.el (octave-function-file-p)
9689 (octave-skip-comment-forward, octave-function-file-comment)
9690 (octave-update-function-file-comment): New functions.
9691 (octave-mode-map): Bind C-c ; to
9692 octave-update-function-file-comment.
9693 (octave-mode-menu): Add octave-update-function-file-comment.
9694 (octave-mode, inferior-octave-mode): Fix doc-string.
9695 (octave-insert-defun): Conform to Octave's coding convention.
9698 * files.el (basic-save-buffer): Don't let errors in
9699 before-save-hook prevent saving buffer.
9701 2013-04-20 Roland Winkler <winkler@gnu.org>
9703 * faces.el (read-face-name): Use completing-read if arg multiple
9706 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9708 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9709 displayed, move point to after the totals line.
9710 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9713 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9715 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9716 Add current dir to the load-path.
9717 (package-generate-autoloads): Don't rely on
9718 autoload-ensure-default-file.
9720 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9722 * textmodes/remember.el (remember-store-in-files): Document that
9723 the file name format is passed to `format-time-string'.
9725 2013-04-26 Leo Liu <sdl.web@gmail.com>
9727 * progmodes/octave.el (octave-sync-function-file-names): New function.
9728 (octave-mode): Use it in before-save-hook.
9730 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9732 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9735 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9736 \n and comment, even if it's not an implicit ; (bug#14218).
9738 2013-04-26 Glenn Morris <rgm@gnu.org>
9740 * subr.el (read-number): Once more use `read' rather than
9741 `string-to-number', to trap non-numeric input. (Bug#14254)
9743 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9745 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9746 Use `syntax-multiline' text property consistently instead of
9747 `font-lock-multiline'. (Bug#14237)
9749 2013-04-26 Glenn Morris <rgm@gnu.org>
9751 * emacs-lisp/shadow.el (list-load-path-shadows):
9752 No longer necessary to check for duplicate simple.el, since
9753 2012-07-07 change to init_lread to not include installation lisp
9754 directories in load-path when running uninstalled. (Bug#14270)
9756 2013-04-26 Leo Liu <sdl.web@gmail.com>
9758 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9759 (octave-mode, inferior-octave-mode): Use setq-local.
9760 (octave-not-in-string-or-comment-p): Rename to
9761 octave-in-string-or-comment-p.
9762 (octave-in-comment-p, octave-in-string-p)
9763 (octave-in-string-or-comment-p): Replace defsubst with defun.
9765 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9767 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9769 2013-04-25 Bastien Guerry <bzg@gnu.org>
9771 * textmodes/remember.el (remember-data-directory)
9772 (remember-directory-file-name-format): Fix custom types.
9774 2013-04-25 Leo Liu <sdl.web@gmail.com>
9776 * progmodes/octave.el (octave-completion-at-point-function):
9777 Make use of inferior octave process.
9778 (octave-initialize-completions): Remove.
9779 (inferior-octave-completion-table): New function.
9780 (inferior-octave-completion-at-point): Use it.
9781 (octave-completion-alist): Remove.
9783 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9785 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9786 (opascal-mode-syntax-table): New var.
9787 (opascal-literal-kind, opascal-is-literal-end)
9788 (opascal-literal-token-at): Rewrite.
9789 (opascal--literal-start-re, opascal-font-lock-keywords)
9790 (opascal--syntax-propertize): New constants.
9791 (opascal-font-lock-defaults): Adjust.
9792 (opascal-mode): Use them. Set comment-<foo> variables as well.
9793 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9794 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9795 (delphi-other-face, opascal-other-face): Remove face variables.
9796 (opascal-save-state): Remove macro.
9797 (opascal-fontifying-progress-step): Remove constant.
9798 (opascal--ignore-changes): Remove var.
9799 (opascal-set-token-property, opascal-parse-next-literal)
9800 (opascal-is-stable-literal, opascal-complete-literal)
9801 (opascal-is-literal-start, opascal-face-of)
9802 (opascal-parse-region, opascal-parse-region-until-stable)
9803 (opascal-fontify-region, opascal-after-change)
9804 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9805 (opascal-debug-parse-region, opascal-debug-parse-window)
9806 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9807 (opascal-debug-fontify-buffer): Remove.
9808 (opascal-debug-mode-map): Adjust accordingly.
9810 2013-04-25 Leo Liu <sdl.web@gmail.com>
9812 Merge octave-mod.el and octave-inf.el into octave.el with some
9814 * progmodes/octave.el: New file renamed from octave-mod.el.
9815 * progmodes/octave-inf.el: Merged into octave.el.
9816 * progmodes/octave-mod.el: Renamed to octave.el.
9818 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9820 * textmodes/reftex-vars.el
9821 (reftex-label-ignored-macros-and-environments): New defcustom.
9823 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9825 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9827 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9828 (smie-indent-keyword): Improve the check to ensure that the next
9829 comment is really on the same line.
9830 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9832 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9833 semi-colons if the line is not otherwise empty (bug#14218).
9835 2013-04-25 Glenn Morris <rgm@gnu.org>
9837 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9839 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9841 * progmodes/opascal.el (opascal-set-token-property): Rename from
9842 opascal-set-text-properties and only set `token' (bug#14134).
9843 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9844 (opascal-literal-text-properties): Remove.
9845 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9848 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9850 * textmodes/remember.el (remember-handler-functions): Add an
9851 option for a new handler `remember-store-in-files'.
9852 (remember-data-directory, remember-directory-file-name-format):
9854 (remember-store-in-files): New function to store remember notes
9855 as separate files within a directory.
9857 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9859 * progmodes/compile.el (compilation-next-error-function):
9860 Pass "formats" to compilation-find-file (bug#11777).
9862 2013-04-24 Glenn Morris <rgm@gnu.org>
9864 * vc/vc-bzr.el (vc-bzr-print-log):
9865 * vc/vc-hg.el (vc-hg-print-log):
9866 * vc/vc-svn.el (vc-svn-print-log):
9867 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9869 * vc/vc-bzr.el (vc-bzr-print-log):
9870 * vc/vc-cvs.el (vc-cvs-print-log):
9871 * vc/vc-git.el (vc-git-print-log):
9872 * vc/vc-hg.el (vc-hg-print-log):
9873 * vc/vc-mtn.el (vc-mtn-print-log):
9874 * vc/vc-rcs.el (vc-rcs-print-log):
9875 * vc/vc-sccs.el (vc-sccs-print-log):
9876 * vc/vc-svn.el (vc-svn-print-log):
9877 * vc/vc.el (vc-print-log-internal): Doc fixes.
9879 2013-04-23 Glenn Morris <rgm@gnu.org>
9881 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9882 Remove venerable code attempting to avoid substitute-command-keys.
9884 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9886 * textmodes/reftex-vars.el (reftex-label-regexps):
9887 Call `reftex-compile-variables' after changes to this variable.
9889 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9891 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9892 Use lexical-binding.
9893 (jit-lock-force-redisplay): Use markers, check buffer's continued
9894 existence and beware narrowed buffers.
9895 (jit-lock-fontify-now): Adjust call accordingly.
9897 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9899 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9900 to avoid misleading the user.
9902 2013-04-22 Leo Liu <sdl.web@gmail.com>
9904 * info-look.el: Prefer latex2e.info. (Bug#14240)
9906 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9908 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9910 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9911 * net/tramp.el (tramp-call-process): ... here.
9912 (tramp-set-completion-function, tramp-parse-putty):
9913 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9914 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9915 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9916 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9917 (tramp-call-local-coding-command): Use `tramp-call-process'
9918 instead of `tramp-compat-call-process'.
9920 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9921 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9922 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9923 (tramp-find-inline-compress): Improve traces.
9924 (tramp-maybe-send-script): Check for Perl binary.
9925 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9927 2013-04-22 Daiki Ueno <ueno@gnu.org>
9929 * epg.el (epg-context-pinentry-mode): New function.
9930 (epg-context-set-pinentry-mode): New function.
9931 (epg--start): Pass --pinentry-mode option to gpg command.
9933 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9935 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9936 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9937 `completion-at-point'. (Bug#13774)
9939 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9940 default key binding for `describe-distribution' has been moved to
9941 `C-h C-o'. (Bug#13970)
9943 2013-04-21 Glenn Morris <rgm@gnu.org>
9945 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9947 (vc-print-log): Clarify interactive prompt.
9949 2013-04-20 Glenn Morris <rgm@gnu.org>
9951 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9952 No longer include timestamp etc information.
9954 2013-04-20 Roland Winkler <winkler@gnu.org>
9956 * faces.el (read-face-name): Bug fix, return just one face if arg
9957 multiple is nil. (Bug#14209)
9959 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9961 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9962 (remove-function): Autoload.
9964 * comint.el (comint-redirect-original-filter-function): Remove.
9965 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9966 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9967 (vc-cvs-annotate-command):
9968 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9969 * progmodes/prolog.el (prolog-consult-compile):
9970 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9971 Use add/remove-function instead.
9972 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9973 (gud-tooltip-process-output, gud-tooltip-tips):
9974 Use add/remove-function instead.
9975 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9976 (scheme-interaction-mode, exit-scheme-interaction-mode):
9977 Use add/remove-function instead.
9979 * vc/vc-dispatcher.el: Use lexical-binding.
9980 (vc--process-sentinel): Rename from vc-process-sentinel.
9981 Change last arg to be the code to run. Don't use vc-previous-sentinel
9982 and vc-sentinel-commands any more.
9983 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9984 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9986 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9988 * progmodes/sh-script.el (sh-imenu-generic-expression):
9989 Handle function names with a single character. (Bug#14111)
9991 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9993 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9994 for subroutines defined in an eval (bug#14182).
9996 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9998 * bookmark.el (bookmark-completing-read): Improve handling of empty
10001 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10003 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10005 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10007 New faster Imenu implementation (bug#14058).
10008 * progmodes/python.el:
10009 (python-imenu-prev-index-position):
10010 (python-imenu-format-item-label-function)
10011 (python-imenu-format-parent-item-label-function)
10012 (python-imenu-format-parent-item-jump-label-function):
10014 (python-imenu-format-item-label)
10015 (python-imenu-format-parent-item-label)
10016 (python-imenu-format-parent-item-jump-label)
10017 (python-imenu--put-parent, python-imenu--build-tree)
10018 (python-imenu-create-index, python-imenu-create-flat-index)
10019 (python-util-popn): New functions.
10020 (python-mode): Set imenu-create-index-function to
10021 python-imenu-create-index.
10023 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10025 * winner.el (winner-active-region): Use region-active-p, activate-mark
10026 and deactivate-mark (bug#14225).
10028 * simple.el (deactivate-mark): Don't inline it.
10030 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10032 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10034 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10036 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10037 file extensions from the archive-mode entry in order to prefer
10038 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10040 2013-04-18 Leo Liu <sdl.web@gmail.com>
10042 * bindings.el (help-event-list): Add ?\?.
10044 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10046 * subr.el (with-wrapper-hook): Declare obsolete.
10047 * simple.el (filter-buffer-substring-function): New hook.
10048 (filter-buffer-substring): Use it.
10049 (filter-buffer-substring-functions): Mark obsolete.
10050 * minibuffer.el (completion-in-region-function): New hook.
10051 (completion-in-region): Use it.
10052 (completion-in-region-functions): Mark obsolete.
10053 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10054 * abbrev.el (abbrev-expand-function): New hook.
10055 (expand-abbrev): Use it.
10056 (abbrev-expand-functions): Mark obsolete.
10057 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10058 and :filter-return.
10060 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10062 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10063 and do not care about match data.
10065 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10067 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10068 completion tables when completing error conditions and
10069 `declare' arguments.
10070 (lisp-complete-symbol, field-complete): Mark as obsolete.
10071 (check-parens): Unmatched parens are user errors.
10072 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10074 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10076 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10077 command changed buffer (ie. `flyspell-pre-buffer' is not current
10078 buffer), which prevents making decisions based on invalid value of
10079 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10080 cause an error when `flyspell-pre-point' was nil after switching
10082 (flyspell-post-command-hook): No longer needs to change buffers when
10083 checking pre-word. While at it remove unnecessary progn.
10085 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10087 * textmodes/ispell.el (ispell-add-per-file-word-list):
10088 Fix `flyspell-correct-word-before-point' error when accepting
10089 words and `coment-padding' is an integer by using
10090 `comment-normalize-vars' (Bug #14214).
10092 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10094 New defun movement commands.
10095 * progmodes/python.el (python-nav--syntactically)
10096 (python-nav--forward-defun, python-nav-backward-defun)
10097 (python-nav-forward-defun): New functions.
10099 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10101 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10102 (python-syntax-context): Use named compiler-macro for backwards
10103 compatibility with Emacs 24.x.
10105 2013-04-17 Leo Liu <sdl.web@gmail.com>
10107 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10108 octave-hide-process-buffer.
10110 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10112 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10115 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10117 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10118 Fix adjustment of offset when receiving incomplete responses from GDB
10121 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10123 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10124 python-mode-abbrev-table.
10125 (python-skeleton-define): Adjust accordingly.
10126 (python-mode-abbrev-table): New table that inherits from it so that
10127 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10129 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10130 (abbrev-symbol): Use it.
10131 (abbrev--before-point): Use it since we already handle inheritance.
10133 2013-04-16 Leo Liu <sdl.web@gmail.com>
10135 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10136 binding to info-lookup-symbol.
10138 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10140 * minibuffer.el (completion--twq-all):
10141 * term/ns-win.el (ns-initialize-window-system):
10142 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10144 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10146 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10149 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10151 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10153 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10154 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10156 (ruby-end-of-defun): Remove the unused arg, change the docstring
10157 to reflect that this function is only used as the value of
10158 `end-of-defun-function'.
10159 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10160 to reflect an earlier change that beginning/end-of-defun functions
10161 jump between methods in a class definition, as well as top-level
10164 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10166 * minibuffer.el (minibuffer-complete): Don't just scroll
10167 a *Completions* that's been iconified.
10168 (minibuffer-force-complete): Make sure repetitions do cycle when going
10169 through completion-in-region -> minibuffer-complete.
10171 2013-04-15 Alan Mackenzie <acm@muc.de>
10173 Correct the placement of c-cpp-delimiters when there're #s not at
10176 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10177 place a submatch around the #.
10178 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10179 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10182 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10184 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10185 (advice--member-p): New arg `name'.
10186 (advice--add-function, advice-member-p): Use it (bug#14202).
10188 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10190 Reformulate java imenu-generic-expression.
10191 The old expression contained ill formed regexps.
10193 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10194 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10195 (cc-imenu-java-method-arg-regexp): New defconsts.
10196 (cc-imenu-java-build-type-args-regex): New defun.
10197 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10198 handling of spaces in the regexp.
10200 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10202 * textmodes/ispell.el (ispell-command-loop): Remove
10203 flyspell highlight of a word when ispell accepts it (bug #14178).
10205 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10207 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10208 uses code from the previous `ange-ftp-run-real-handler'.
10209 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10210 only in case that function exist. This is needed for proper
10211 unloading of Tramp.
10213 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10215 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10217 * textmodes/reftex.el (reftex-compile-variables): Use it.
10219 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10221 * files.el (normal-mode): Only use default major-mode if no other mode
10224 * emacs-lisp/trace.el (trace-values): New function.
10226 * files.el: Allow : in local variables (bug#14089).
10227 (hack-local-variable-regexp): New var.
10228 (hack-local-variables-prop-line, hack-local-variables): Use it.
10230 2013-04-13 Roland Winkler <winkler@gnu.org>
10232 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10233 data before it gets modified by bibtex-beginning-of-entry.
10235 2013-04-13 Roland Winkler <winkler@gnu.org>
10237 * textmodes/bibtex.el (bibtex-url): Doc fix.
10239 2013-04-13 Roland Winkler <winkler@gnu.org>
10241 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10242 does not visit a BibTeX file, exclude it from the list of buffers
10243 returned by bibtex-initialize.
10245 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10247 * window.el (split-window): Remove interactive form, since as a
10248 command this function is a special case of split-window-below.
10249 Correct doc string.
10251 2013-04-12 Roland Winkler <winkler@gnu.org>
10253 * faces.el (read-face-name): Do not override value of arg default.
10254 Allow single faces and strings as default values. Remove those
10255 elements from return value that are not faces.
10256 (describe-face): Simplify.
10257 (face-at-point): New optional args thing and multiple so that this
10258 function can provide the same functionality previously provided by
10260 (make-face-bold, make-face-unbold, make-face-italic)
10261 (make-face-unitalic, make-face-bold-italic, invert-face)
10262 (modify-face, read-face-and-attribute): Use face-at-point.
10264 * cus-edit.el (customize-face, customize-face-other-window)
10265 * cus-theme.el (custom-theme-add-face)
10266 * face-remap.el (buffer-face-set)
10267 * facemenu.el (facemenu-set-face): Use face-at-point.
10269 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10271 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10273 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10275 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10276 off leading { and trailing } from field values.
10278 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10280 * emacs-lisp/timer.el (timer--check): New function.
10281 (timer--time, timer-set-function, timer-event-handler): Use it.
10282 (timer-set-idle-time): Simplify.
10283 (timer--activate): CSE.
10284 (timer-event-handler): Give more info in error message.
10285 (internal-timer-start-idle): New function, moved from C.
10287 * mpc.el (mpc-proc): Add `restart' argument.
10288 (mpc-proc-cmd): Use it.
10289 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10290 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10293 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10295 * progmodes/sh-script.el: Implement `sh-mode' own
10296 `add-log-current-defun-function' (bug#14112).
10297 (sh-current-defun-name): New function.
10298 (sh-mode): Use the function.
10300 2013-04-09 Bastien Guerry <bzg@gnu.org>
10302 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10304 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10306 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10308 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10311 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10313 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10316 2013-04-07 Leo Liu <sdl.web@gmail.com>
10318 * pcmpl-x.el: New file.
10320 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10322 Do not set x-display-name until X connection is established.
10323 This is needed to prevent from weird situation described at
10324 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10325 * frame.el (make-frame): Set x-display-name after call to
10326 window system initialization function, not before.
10327 * term/x-win.el (x-initialize-window-system): Add optional
10328 display argument and use it.
10329 * term/w32-win.el (w32-initialize-window-system):
10330 * term/ns-win.el (ns-initialize-window-system):
10331 * term/pc-win.el (msdos-initialize-window-system):
10332 Add compatible optional display argument.
10334 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10336 * files.el (normal-backup-enable-predicate): On MS-Windows and
10337 MS-DOS compare truenames of temporary-file-directory and of the
10338 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10339 don't fail comparison by compare-strings. Also, compare file
10340 names case-insensitively on MS-Windows and MS-DOS.
10342 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10344 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10345 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10347 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10349 * whitespace.el (whitespace-color-on, whitespace-color-off):
10350 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10352 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10354 * ispell.el (ispell-set-spellchecker-params):
10355 Really set `ispell-args' for all equivs.
10357 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10359 * ido.el (ido-completions): Use extra elements of ido-decorations
10361 (ido-decorations): Update docstring.
10363 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10365 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10366 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10367 nil during initialization, in order not to miss changes since the
10368 file was opened. (Bug#14140)
10370 2013-04-05 Leo Liu <sdl.web@gmail.com>
10372 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10374 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10376 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10378 2013-04-04 Glenn Morris <rgm@gnu.org>
10380 * electric.el (electric-pair-inhibit-predicate): Add :version.
10382 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10384 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10385 when a package is required several times (bug#14082).
10387 2013-04-04 Roland Winkler <winkler@gnu.org>
10389 * faces.el (read-face-name): Behave as promised by the docstring.
10390 Assume that arg default is a list of faces.
10391 (describe-face): Call read-face-name with list of default faces.
10393 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10395 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10396 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10397 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10399 (bookmark-exit-hook-internal): Save even if list is empty.
10401 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10403 * emacs-lisp/package.el (package-pinned-packages): New var.
10404 (package--add-to-archive-contents): Obey it (bug#14118).
10406 2013-04-03 Alan Mackenzie <acm@muc.de>
10408 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10409 Also adapt to the new values of element 7 of a parse state.
10411 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10412 parameter `not-in-delimiter'. Handle being inside comment opener.
10413 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10414 character in case we're typing a '*' after a '/'.
10415 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10416 instead by passing the parameter to c-state-pp-to-literal.
10418 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10419 for elt. 7 of a parse state.
10421 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10423 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10424 * international/latin1-disp.el, international/mule-util.el:
10425 * language/cyril-util.el, language/european.el, language/ind-util.el:
10426 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10427 * language/tibetan.el, language/viet-util.el:
10428 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10430 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10432 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10433 (electric-pair-post-self-insert-function): Use it.
10434 (electric-pair-default-inhibit): New function, extracted from
10435 electric-pair-post-self-insert-function.
10437 2013-03-31 Roland Winkler <winkler@gnu.org>
10439 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10441 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10443 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10445 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10447 Un-indent after "pass" and "return" statements (Bug#13888)
10448 * progmodes/python.el (python-indent-block-enders): New var.
10449 (python-indent-calculate-indentation): Use it.
10451 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10453 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10454 defun. Defining it as defalias could introduce too eager
10455 byte-compiler optimization. (Bug#14030)
10457 2013-03-30 Chong Yidong <cyd@gnu.org>
10459 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10461 2013-03-30 Leo Liu <sdl.web@gmail.com>
10463 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10464 (kmacro-execute-from-register): Pass the keyboard macro to
10465 kmacro-call-macro or repeating won't work correctly.
10467 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10469 * progmodes/subword.el: Back to using `forward-symbol'.
10471 * subr.el (forward-whitespace, forward-symbol)
10472 (forward-same-syntax): Move from thingatpt.el.
10474 2013-03-29 Leo Liu <sdl.web@gmail.com>
10476 * kmacro.el (kmacro-to-register): New command.
10477 (kmacro-execute-from-register): New function.
10478 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10480 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10482 * mpc.el: Use defvar-local and setq-local.
10483 (mpc--proc-connect): Connection failures are not bugs.
10484 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10485 (mpc-volume-map): Bind to the up-events.
10487 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10489 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10490 instead of `forward-symbol'.
10492 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10494 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10495 (edebug--recursive-edit): Use it.
10496 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10497 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10499 2013-03-28 Leo Liu <sdl.web@gmail.com>
10501 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10503 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10505 * facemenu.el (list-colors-callback): New defvar.
10506 (list-colors-redisplay): New function.
10507 (list-colors-display): Install list-colors-redisplay as the
10508 revert-buffer-function. (Bug#14063)
10510 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10512 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10513 and suffixes don't overlap (bug#14061).
10515 * case-table.el: Use lexical-binding.
10516 (case-table-get-table): New function.
10517 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10519 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10521 * progmodes/subword.el: Add `superword-mode' to do word motion
10522 over symbol_words (parallels and leverages `subword-mode' which
10523 does word motion inside MixedCaseWords).
10525 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10527 * eshell/em-unix.el: Move su and sudo to...
10528 * eshell/em-tramp.el: ...Eshell tramp module.
10530 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10532 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10533 Change return value to be a sexp. Delay `get-buffer' to after
10534 restoring the desktop (bug#13951).
10536 2013-03-26 Leo Liu <sdl.web@gmail.com>
10538 * register.el: Move semantic tag handling back to
10539 cedet/semantic/senator.el. (Bug#14052)
10541 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10543 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10544 into the prompt either (bug#13963).
10546 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10548 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10549 part of "(error-foo)".
10551 2013-03-24 Juri Linkov <juri@jurta.org>
10553 * replace.el (list-matching-lines-prefix-face): New defcustom.
10554 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10555 `occur-engine' if `face-differs-from-default-p' returns t.
10556 (occur-engine): Add `,' inside backquote construct to evaluate
10557 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10558 Pass `prefix-face' to the functions `occur-context-lines' and
10559 `occur-engine-add-prefix'.
10560 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10561 `prefix-face' and propertize the prefix with `prefix-face'.
10564 2013-03-24 Leo Liu <sdl.web@gmail.com>
10566 * nxml/rng-valid.el (rng-validate-while-idle)
10567 (rng-validate-quick-while-idle): Guard against deleted buffer.
10570 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10571 is the last entry in kill-buffer-hook.
10573 * files.el (kill-buffer-hook): Doc fix.
10575 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10577 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10578 Make it safe-local.
10580 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10582 2013-03-23 Leo Liu <sdl.web@gmail.com>
10584 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10587 * nxml/rng-valid.el (rng-validate-mode)
10588 (rng-after-change-function, rng-do-some-validation):
10589 * nxml/rng-maint.el (rng-validate-buffer):
10590 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10591 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10592 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10593 (nxml-extend-after-change-region): Use with-silent-modifications.
10595 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10598 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10599 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10600 timer-idle-list. (Bug#13999)
10602 2013-03-23 Juri Linkov <juri@jurta.org>
10604 * info.el (info-index-match): New face.
10605 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10606 main pattern and add text properties with the new face to matches
10607 in index entries relative to the beginning of the index entry.
10610 2013-03-21 Eric Ludlam <zappo@gnu.org>
10612 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10613 Inhibit read only while inserting objects.
10615 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10617 * progmodes/cfengine.el: Update docs to mention
10618 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10619 symbol motion. Remove "_" from the word syntax.
10621 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10623 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10624 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10626 2013-03-20 Juri Linkov <juri@jurta.org>
10628 * info.el (Info-next-reference-or-link)
10629 (Info-prev-reference-or-link): New functions.
10630 (Info-next-reference, Info-prev-reference): Use them.
10631 (Info-try-follow-nearest-node): Handle footnote navigation.
10632 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10634 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10636 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10637 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10639 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10641 Suppress unnecessary non-ASCII chatter during build process.
10642 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10643 (batch-skkdic-convert): Suppress most of the chatter.
10644 It's not needed so much now that machines are faster,
10645 and its non-ASCII component was confusing; see Dmitry Gutov in
10646 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10648 2013-03-20 Leo Liu <sdl.web@gmail.com>
10650 * ido.el (ido-chop): Fix bug#10994.
10652 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10654 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10656 (whitespace-color-on, whitespace-color-off):
10657 Use `font-lock-fontify-buffer' (Bug#13817).
10659 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10661 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10662 remapping in mode-line.
10663 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10665 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10667 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10668 value for `whitespace-line' face (Bug#13875).
10669 (whitespace-font-lock-keywords): Change description.
10670 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10671 the constructed keywords instead.
10672 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10674 2013-03-19 Leo Liu <sdl.web@gmail.com>
10676 * progmodes/compile.el (compilation-display-error): New command.
10677 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10680 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10682 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10684 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10686 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10688 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10690 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10692 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10693 * net/tramp-gvfs.el (top):
10694 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10695 (tramp-handle-shell-command): Use it.
10696 (tramp-dissect-file-name): Raise an error when hostname is a
10697 method name, and neither method nor user is specified.
10699 * net/trampver.el: Update release number.
10701 2013-03-18 Leo Liu <sdl.web@gmail.com>
10703 Make sure eldoc can be turned off properly.
10704 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10706 (eldoc-display-message-p): Revert last change.
10707 (eldoc-display-message-no-interference-p)
10708 (eldoc-print-current-symbol-info): Tweak.
10710 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10712 * doc-view.el (doc-view-new-window-function): Check the new window
10713 overlay's display property instead the char property of the
10714 buffer's first char. Use `with-selected-window' instead of
10715 `save-window-excursion' with `select-window'.
10716 (doc-view-document->bitmap): Check the current doc-view overlay's
10717 display property instead the char property of the buffer's first char.
10719 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10721 Automate the build of ja-dic.el (Bug#13984).
10722 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10723 from the input, rather than assume that it's been done for us by the
10724 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10725 the current date into a ja-dic.el comment, as that complicates
10726 regression testing.
10728 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10730 * whitespace.el: Fix double evaluation.
10731 (whitespace-space, whitespace-hspace, whitespace-tab)
10732 (whitespace-newline, whitespace-trailing, whitespace-line)
10733 (whitespace-space-before-tab, whitespace-indentation)
10734 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10736 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10737 (whitespace-color-on): Use a single font-lock-add-keywords call.
10738 Fix double-evaluation of face variables.
10740 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10742 * net/tramp-adb.el (tramp-adb-parse-device-names):
10743 Use `start-process' instead of `call-process'. Otherwise, the
10744 function might be blocked under MS Windows. (Bug#13299)
10746 2013-03-17 Leo Liu <sdl.web@gmail.com>
10748 Extend eldoc to display info in the mode-line. (Bug#13978)
10749 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10750 (eldoc-mode-line-string): New variable.
10751 (eldoc-minibuffer-message): New function.
10752 (eldoc-message-function): New variable.
10753 (eldoc-message): Use it.
10754 (eldoc-display-message-p)
10755 (eldoc-display-message-no-interference-p):
10756 Support eldoc-post-insert-mode.
10758 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10759 (eval-expression): Run it.
10761 2013-03-17 Roland Winkler <winkler@gnu.org>
10763 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10764 strings in the list of return values.
10766 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10768 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10769 radix before checking for HMS forms.
10771 2013-03-16 Leo Liu <sdl.web@gmail.com>
10773 * progmodes/scheme.el: Add indentation and font-locking for λ.
10776 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10778 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10779 token before point (bug#13942).
10781 2013-03-16 Leo Liu <sdl.web@gmail.com>
10783 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10785 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10787 * startup.el (command-line-normalize-file-name): Fix handling of
10788 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10789 <xfq.free@gmail.com> in
10790 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10792 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10794 Sync with Tramp 2.2.7.
10796 * net/trampver.el: Update release number.
10798 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10800 * doc-view.el: Fix bug#13887.
10801 (doc-view-insert-image): Don't modify overlay associated to
10802 non-live windows, and implement horizontal centering of image in
10803 case it's smaller than the window.
10804 (doc-view-new-window-function): Force redisplay of new windows on
10807 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10809 * saveplace.el (save-place-alist-to-file): Don't sort
10810 `save-place-alist', just pretty-print it (bug#13882).
10812 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10814 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10815 Check whether `default-file-name-coding-system' is bound.
10816 It isn't in XEmacs.
10818 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10820 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10821 backquotes for `obsolete' (bug#13929).
10823 * international/mule.el (find-auto-coding): Include file name in
10824 obsolescence warning (bug#13922).
10826 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10828 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10829 for CFEngine 3-specific indentation.
10830 (cfengine3-indent-line): Use it. Fix up category regex.
10831 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10833 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10835 * type-break.el (type-break-file-name):
10836 * textmodes/remember.el (remember-data-file):
10837 * strokes.el (strokes-file):
10838 * shadowfile.el (shadow-initialize):
10839 * saveplace.el (save-place-file):
10840 * ps-bdf.el (bdf-cache-file):
10841 * progmodes/idlwave.el (idlwave-config-directory):
10842 * net/quickurl.el (quickurl-url-file):
10843 * international/kkc.el (kkc-init-file-name):
10844 * ido.el (ido-save-directory-list-file):
10845 * emulation/viper.el (viper-custom-file-name):
10846 * emulation/vip.el (vip-startup-file):
10847 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10848 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10850 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10852 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10853 * language/thai-word.el: Switch to UTF-8.
10855 See ChangeLog.16 for earlier changes.
10857 ;; Local Variables:
10861 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10863 This file is part of GNU Emacs.
10865 GNU Emacs is free software: you can redistribute it and/or modify
10866 it under the terms of the GNU General Public License as published by
10867 the Free Software Foundation, either version 3 of the License, or
10868 (at your option) any later version.
10870 GNU Emacs is distributed in the hope that it will be useful,
10871 but WITHOUT ANY WARRANTY; without even the implied warranty of
10872 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10873 GNU General Public License for more details.
10875 You should have received a copy of the GNU General Public License
10876 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.